LIFX Developer Zone

LIFX Cloud API: getting undefined values in a few of the product info fields


#1

Hi Team,

I faced some issue related to linking of Lifx device and on debugging we found that we are receiving undefined values in a few of the product info fields.

Is there any reason/conditions on which fields come as undefined?

Below is the device details for your debugging purpose:

Porch Light(improper)

id: d073d52c22e5

(uuid: "0270b1dc-e385-44a6-bf73-4ea11589b9be”)

Response: “name”: “Unknown”,

“identifier”: “unknown”,

“company”: “Unknown”

Dining Room (proper response)

id: d073d537fd57
(uuid: “02d5bef9-bd74-4bfc-bce9-fed874e2c2b2”)

“name”: “LIFX Mini White”,

“identifier”: “lifx_mini_white”,

“company”: “LIFX”


#2

Hi,

Was the light recently claimed to the cloud when you got the undefined values?

Those values are populated by the cloud asking the device for information after it connects. So for a couple minutes after you claim the device those fields don’t have values.


#3

Hi @delfick, I can still see the values coming as undefined and I’ve noticed this issue with A19+ models.


#4

weird, I take it you retried after a few minutes and it was still undefined? if they are still undefined, please dm me the serial of the devices(s).