chendo / lifx-http

A HTTP API for controlling LIFX devices.
MIT License
91 stars 13 forks source link

Request - Please fix LIFX-HTTP so it works with the latest firmware :) #30

Open autolog opened 9 years ago

autolog commented 9 years ago

Can you give any indication as to when LIFX-HTTP will be updated to handle the latest firmware. It is (was) a great facility and I am using it to link in with my home automation system. I am now getting a lot of grief because the LIFX lamps don't work like they used to ;)

If I had been pre-warned by LIFX that this facility wouldn't work, I wouldn't have upgraded the firmware.

Thanks for considering :)

chendo commented 9 years ago

I'll be fixing this when I have the time. In the meantime, have a look at the official HTTP API at api.lifx.com. You can get a token by logging into cloud.lifx.com and generate a personal access token via Settings.

plakna commented 9 years ago

This is how you use the token: https://api.lifx.com/v1beta1/lights.json?access_token=TOKEN

autolog commented 9 years ago

The thing is I haven't linked my LIFX lamps to the cloud and I don't want to. The advantage of using LIFX-HTTP was that it can run inside a private network that isn't exposed to the internet.

jfkahn commented 9 years ago

My current ISP blocks the lifx cloud ports so I don't think I can use the official api... Any thoughts?

sidjohn1 commented 9 years ago

The api works over port 443 (https). If your ISP is blocking port 443, it's time for a new ISP as all your data is being transmitted in clear text.

chendo commented 9 years ago

@jfkahn which ISP do you have?

madllama commented 9 years ago

Its neat and all to have cloud access, but its never really going to compare to a local solution. There's just too many external variables to get in the way.

I experimented with IFTT, but half of the time it didn't work and then eventually stopped working all together.

Had I known that the firmware update would of broken lifx-http then I wouldn't of upgraded either. I don't suppose that there is a way to downgrade firmware.

I love this solution that Chendo put together, it provides a really accessible platform for folk to hack together all kinds of things with their LIFX bulbs. Hopefully there is a good solution for everyone soon.

LeZuse commented 9 years ago

@chendo Could you point me in some direction? I could find some time to look at it.

petrklus commented 9 years ago

@chendo any updates on this? I have tried the cloud solution, which works fine some time, however, my internet is just not good enough to compare anywhere near to the local solution. Sometimes it can take up to 10s for the command to go through, which just does not cut it. Please, give the community a working API for the newest firmware!