Open fermentfan opened 4 years ago
Hi @DennisVonDerBey,
Thanks for the detailed bug report!
Sounds like the issue is the LED controller behaves strangely when the "on" and "color" commands are sent in rapid succession. Am I understanding correctly? A quick way to confirm would be to enable the mqtt_update_topic_pattern
setting and inspect the log of commands sent.
If this is the case, it's going to be a bit tricky to solve without introducing issues elsewhere. It's dangerous to ignore the state
command. If we're told to turn the bulb on, we should always make an attempt to turn it on. Even if the internal state suggests the bulb should be off, state could be out of sync.
Describe the bug
When sending an already turned on milight RGBW light strip controller (currently in RGB mode) the following payload, to change the color:
The light strip will only update its brightness level & sporadically switch to white color if repeated
The same payload works with RGBW bulbs. The culprit I found is the
state
parameter. If I leave it out it changes the color:Steps to reproduce
Just send the payload to a Milight RGBW light strip controller
Expected behavior
Just for the color to change
Setup information
Firmware version
1.9.2 & 1.10.5 tested
Output of http://milight-hub.local/about
Output of http://milight-hub.local/settings