In the List Lights endpoint, I noticed that each light has an id
(e. g. d3b2f2d97452
) and a uuid
(e. g. 8fa5f072-af97-44ed-ae54-e70fd7bd9d20
). The id
is what is used in selectors. Is the uuid
used for anything, or should we just ignore it?
The id
value is set by the factory when the bulb is manufactured, and the uuid
value is set by our cloud when the bulb is connected to the cloud. This means that a factory reset may result in a changed uuid
value, but the id
will always be the same.
I’ll let you decide when to use each one depending on the use case of your application.
1 Like