esp-mqtt-rgb-led
esp-mqtt-rgb-led copied to clipboard
Brightness transitions can overshoot.
If I have a light set to brightness: 255 and color: 33, 255, 19, and then I fade it to brightness: 40 with a transition of 1, it seems to overshoot and I end up with a very dim purple.
If I send the same request again, the lights set to the correct value.
I would think that this is caused by something with the comparison here. I haven't looked into it yet, but maybe the lastLoop isn't being set correctly for short transition times.
https://github.com/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/15