You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if node-lifx could emit an event when a user changes the state of a light using the mobile app for example. Right now this is not possible as far as I know. I know polling could be used but that is rather undesired.
I have tried to cook up something myself, however I could not really read the incoming traffic and check whether the needed information was actually broadcasted.
The text was updated successfully, but these errors were encountered:
It seems the iOS app does receive broadcasts from the bulb when I change its state externally, so all properties as color, temperature, onoff, seem to be broadcasted. If the library could pick this up and emit events that would be great.
RobinBol
changed the title
Create event for state changed of light
Create event for state changed of bulb
Dec 7, 2016
This is something not yet documented by LIFX. I read in a forum post that this is realized by polling but If you saw the broadcast events before we can have a look at these packets. In magicmonkey/lifxjs#46 somebody wrote a new wireshark dissector which might show this package then. I have not had the time to test that yet but feel free to do so. The other question is why and when these messages are broadcasted then. I don't know of any flag settings this behavior.
I personally only own an android device which I can check then.
It would be great if node-lifx could emit an event when a user changes the state of a light using the mobile app for example. Right now this is not possible as far as I know. I know polling could be used but that is rather undesired.
I have tried to cook up something myself, however I could not really read the incoming traffic and check whether the needed information was actually broadcasted.
The text was updated successfully, but these errors were encountered: