-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LiFX 2.0 Protocol #34
Comments
You can still use 0x15, but the proto changes to 0x14 |
Hi, I use kayno project, but from aps lifx2.0 it's not working anymore. Is there a chance to ge a modified library? |
Apologies for the delay, I've been having some trouble with my bulbs since the firmware upgrade. I'll look into it this weekend and see where I can get. |
@angeloxx Were you able to fix this? Can you provide any code diffs? |
Here Le 2 mars 2015 à 13:33, Markus Rautopuro [email protected] a écrit : @angeloxx Were you able to fix this? Can you provide any code diffs? — |
👍 |
@ipa64 Sorry for a stupid question, but how does your link show a correction to this node.js library? |
Apologies it's taking me a while to get to this, it took me longer than expected to get the new firmware working with the proper Lifx apps let alone the little nodeJS library. I intend to merge the PRs, test it, then issue an update to the npm package; I just need to get the time to do it... hopefully in the next few days (although I thought that a few days ago). |
(Meanwhile, check this out: it seems that this fork https://github.com/stormboy/lifxjs works with LIFX 2.0.) |
Thanks @fitch - I tried the stormboy/lifxjs repo, but I wasn't able to get it to discover, or to control my bulbs (which are running the 2.0 firmware). |
Ok, maybe it's still incomplete. I have 3 bulbs with 2.0 firmware and running this with https://github.com/stormboy/lifxjs works:
(Lights turn on and off :), and I can set the color also.) |
MY BAD - my firewall was blocking port 56700 |
Thanks all, I've just got some time and merged a bunch of pending pull requests, and also pulled stormboy/master. Some quick testing suggests that it still works with my bulbs, I'll roll an NPM release later if I don't find any problems. |
I didn't manage to control individual bulbs with stormboy/master and commit c1e346d. I'm trying to pass the bulb address (as a hex string like |
angeloxx suggestion of using protocol 0x14 for setLightColour seems to have done the trick for me as per my branch: https://github.com/wiegraff13/lifxjs |
It appears that packet 0x65 no longer causes the light to respond with a 0x6b packet. Correction: My issue was actually in the code above the lifx.js. The requestStatus function works on 2.0 as is. |
There are now official documentations for version 2.0 |
LiFX 2.0 firmware upgrade broke the protocol.
The On/Off command changes to: proto=0x14, packettype=0x75 with the same payload, The SetColor command changes to proto=0x14, same packettype and payload.
The text was updated successfully, but these errors were encountered: