Take a UUID for the device also, to avoid duplicates