-
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
Can't target single bulb to change hue #35
Comments
Yeah, I too have seemed to have a hard time targeting on bulb for specific changes. What am I missing? bulbs gives me an object:
I imagined that passing the key EDIT: Awe. So then I read the code, and learned that you can dump in all of the above. herm... still having troubles targeting a single bulb though... |
I have too found the same issue. I can call lightsOn using lightsOn() and individually turn lights on. However if I turn one light on with one set of properties and then turn a second one on using a different set of properties using LightsColour, the first light will change to the second set of properties. It seems that lightsColour works globally and there is no way of have lamps with different levels of luminance. |
Does anyone found a solution on that ? |
The problem is that the packet headers are not implemented completely, they use some generic values that work in most cases. The problem is that a targeting of a single bulb is not possible with this generic values. These to seem to work for me: |
Thank you very much for your answer, i'll try your libs ! |
I confirm : node-lifx is working properly. |
Modify the function as shown below. (lifx.js)
}; |
@JungSungHeeK Thank you! That's working for me. |
Using lightsColour to set a bulb on or off works, when the last parameter is a bulb object. However, when changing the hue, it does not change. Omitting the bulb parameter (thus targeting all), the color changes.
The text was updated successfully, but these errors were encountered: