chendo / lifx-http

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

not compatible with firmware 2.0? #27

Open CWempe opened 9 years ago

CWempe commented 9 years ago

I guess I knew this would happen. But I installed the new firmware 2.0 anyway. :) Now lifx-http does not work anymore. :(

  1. I suggest you put a warning in the readme that lifx-http does not support the new firmware.
  2. Is there any hope for a fix?

Do we even need this application anymore? I was hoping we could talk to the bulbs (or the cloud) directly now. But I cannot find any documentation about that.

bozman2021 commented 9 years ago

Strange thing I'm on the new 2.0 firmware and it works fine, but there are some strange issues. I installed the lifx-http for the first time yesterday and I found that http://ip:56780/lights.json didn't work but http://ip:56780/lights worked fine...

ngreatorex commented 9 years ago

Since the upgrade I've found that the "all" selector doesn't work (i.e. http://lifx-http.local:56700/lights/all/on) but addressing individual lights by their ID works.

chendo commented 9 years ago

We have a beta API at https://api.lifx.com/ which allows you to control them through the cloud. If you want to try it out, log into https://cloud.lifx.com/ and you should be able to generate a token via " -> Settings" menu.

zzarbi commented 9 years ago

I have some issues as well! For instance it says all my lights are on even when it's off. The id selector works well to turn light on/off but it's not reporting the status correctly.

@chendo I can't use api.lifx.com because it would add way too much delays to my setup. I'm using this library to connect my smartthing hub to LIFX bulb. So since it's on the same network it's pretty quick. If I use api.lifx.com, my Hub need to go to the cloud, the cloud need to go to my bulbs and then all the way back.

chendo commented 9 years ago

I probably won't have time to update this for a while unfortunately.

@zzarbi If you're in the US, the latency on the HTTP API is actually not that bad at all. I'm in Australia and the HTTP API is responsive enough for me

triphius commented 9 years ago

I upgraded to 2.0 on my bulbs too and lost reliable control via lifx-http. I've had fairly good luck so far using the IFTTT channel as an interim solution until I can get API access.

The way I figure it, if I can send the commands directly to the API instead of relying on IFTTT triggers, I should be able to get an acceptable response time.

mbainrot commented 9 years ago

I am on version 2.0 and it seems to be working O.K. though toggle is a bit temperamental so my stateless home automation system will have to become a bit more stateful so it can manually control the lights

chendo commented 9 years ago

We have better documentation up at http://developer.lifx.com/ now for those interested