You login to their cloud and generate a token, then every time you want to talk to the REST API, you just supply the token and it provides details for your lights, like listing lights, turning them on or off, color, fade, breath effect, etc.
I’ve just ordered my first ST Hub so am waiting for it to arrive but I’m amazed not many; if any people using Lifx.
I know they have been really slow to develop an API that was reachable outside of the home network, but it seems its finally here and works!
I’m not sure if something changed on the platform. but i can not control my LiFx bulbs any more.
I have had no issues with these but now they won’t respond at all.
I am getting the following in the logs:
___exception: javax.net.ssl.SSLException: hostname in certificate didn't match: <api.lifx.com> != <*.lifx.co> OR <*.lifx.co> OR <lifx.co>
Think i found the issue, they renewed their SSL certificate today, the new certificate is allocated to *.lifx.com
Perhaps ST doesnt like a wildcard cert? Not sure if the previous cert was api.lifx.com or *.lifx.com
If it was a simple renewal, perhaps its just a timezone issue and the new cert isnt active yet
It’s mostly working and kinda acting as “one” bulb so everything you can do with one bulb you can do with one group… However the syncing between group and bulb might be delayed a bit. What this mean is, if you turn a group on, it will turn the lights on however their respective device on Smartthings won’t be on until, the poll request get call which happen every 5 minutes. The syncing is a bit more complicated…
If you guys have some feedback that would be great also I was thinking of integrating scenes but I’m not sure how yet.
Oh yeah it was an outage on their part http://status.lifx.com they seem to have fixed it. @icepicknz There is no way to control them via the LAN, the protocol used by LIFX is a bit complicated and the HUB can’t handle it… At least not this version of the hub.