LIFX Developer Zone

Issues with ID selector


#1

Hi,

I’m currently developing a bespoke control panel and have been trying to integrate with a LifX light using the HTTP API.

I’m having issues with timeouts. However these only seem to occur when using the ‘id’ selector, if I use the ‘all’ selector its fine.

Tried with both the PUT ‘set state’ and the POST ‘toggle power’ endpoints. I could botch it an use the ‘all’ selector as this currently works for my purposes. But this prevents me expanding my LifX usage into other rooms and locations.