Re:Investing in lighting did great things for my mental and ...
by SR2Z on Friday May 27, 2022 @09:58PM
(#31536953)
Phillips Hue bulbs are locally controllable and expose a REST API through their bridge.
[ Parent
| on HN ]
Re:Investing in lighting did great things for my mental and ...
by dbttdft on Saturday May 28, 2022 @12:31AM
(#31537623)
The last thing I want to know about my lightbulb is that it has a REST API. Now, hearing that it is "smart" is just inconceivable.
Re:Investing in lighting did great things for my mental and ...
by m34 on Saturday May 28, 2022 @03:00AM
(#31538206)
It is the bridge that provides the REST API, not the bulbs.
Having a REST API means the complete setup is easier to tinker with through a defined protocol and not having to resort to hack with the bulbs or any zigbee/low-level things.
I used this to play a bed time indication sequence on multiple bulbs in the living room from MIDI notes.
Re:Investing in lighting did great things for my mental and ...
by lynndotpy on Friday May 27, 2022 @10:19PM
(#31537044)
Oh wow! Consider me sold. I looked into smartbulbs a few years back and these details eluded me. That checks all my boxes.
Re:Investing in lighting did great things for my mental and ...
by sampo on Saturday May 28, 2022 @12:15AM
(#31537565)
Also LIFX bulbs (a competitor to Phillips Hue) you can control by sending them UDP packets over your wlan.
https://lan.developer.lifx.com/docs
But the API provided by the Phillips Hue bridge is maybe more high level.
Re:Investing in lighting did great things for my mental and ...
by RandomThrow321 on Friday May 27, 2022 @10:27PM
(#31537072)
Oh wow, I've been using them for a while and had no idea. This is great, thanks for the tip!