bruhautomation / ESP-MQTT-JSON-Digital-LEDs

(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
https://youtu.be/9KI36GTgwuQ
Apache License 2.0
513 stars 268 forks source link

Fading the leds #30

Open eldoner opened 7 years ago

eldoner commented 7 years ago

When I try JSON, for example something like this:

{"entity_id":"light.porch_strip",
"brightness":150,
"color_name":"blue",
"transition":"2"
}

The transition does not take 2 seconds, but a lot more. I think that maybe the esp is too slow? Maybe it should increase brightness by 10, or 5? Additionally, you cant see it on video, but the transition is not fully smooth. EDIT: And sometimes loop continues with:

Setting LEDs:
r: 0, g: 0, b: 0

several dozen, or even hundred times.

TheJulianJES commented 7 years ago

https://github.com/corbanmailloux/esp-mqtt-rgb-led/issues/6