esp-mqtt-rgb-led icon indicating copy to clipboard operation
esp-mqtt-rgb-led copied to clipboard

Brightness transitions can overshoot.

Open corbanmailloux opened this issue 9 years ago • 2 comments

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.

corbanmailloux avatar Nov 07 '16 19:11 corbanmailloux

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.

corbanmailloux avatar Oct 24 '17 13:10 corbanmailloux

https://github.com/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/15

eldoner avatar Oct 31 '17 20:10 eldoner