5 ms·
I've been wanting to build something like your light system. What smart lights do you use?
by ryanchants 5y ago
I've been wanting to build something like your light system. What smart lights do you use?
- jffry 4y agoHue bulbs, the kind that talk to a central bridge over, I believe, ZigBee. The bridge just hooks up over ethernet and provides a locally accessible no-nonsense REST api that is surprisingly well documented (sadly requires logging in with a free account: https://developers.meethue.com/develop/hue-api/ https://developers.meethue.com/develop/hue-api/ ). Authentication is simple. Press the big button on the bridge, hit an API endpoint within 30 seconds, and you get an auth token. The only other requests I needed were a GET to list the id and status of all bulbs, and a POST per bulb that is on to change its color temperature (you cannot set color temp of a bulb that is off).