Open Sawtaytoes opened 5 years ago
Which LIFX lights are in question BTW? There's for example differences between the supported Kelvin ranges between Original and Mini Color bulbs.
Actually, 3rd gen A19s and BR30s support 1500K now. I tested via the LIFX app recently.
The issues I was having were tested on 3rd gen A19 and BR30 bulbs.
This image best describes the issue:
Looks at the receiving and sending values.
I added logging in lifx-lan-client where the send and receives were occurring.
@Sawtaytoes I read this again and remembered I've noticed similar issues with brightness values. It didn't bother me that much as the difference was too small to notice on the actual lights. But it definitely seems either the light firmware has an issue or there's a bug in the packet creation or interpretation. Have you checked if you can reproduce the issue with other libraries?
I have not tried other libraries.
I was working on sending the command myself with a UDP packet to see if that would also show the issue. Then I could send this to the LIFX devs since there's a potential firmware flaw.
This affects me because I toggle scenes. I can't toggle scenes if the values of the lights are different from the saved values in the HTTP API.
Reference: https://twitter.com/Sawtaytoes/status/1135765147425918978
The issue I'm having is that sending
12743
sets it to12544
. Sending anything up to, but not including12800
sets it to12544
. The only way I got it to change the hue was by passing12800
.Word from the LIFX Devs: