Default setting timeout after DDP stops
Closed this issue · 1 comments
I have my bulb (soon to be plural, I just ordered 5 more from Amazon) set to be controlled by WLED via DDP. It's awesome and thanks for this great product.
Is there a way to have the bulb return to a default setting after DDP packets stop being sent? I have my WLED controller and string on a basic mains timer. My kauf bulb is plugged into a socket with mains voltage all the time. I'd like for the kauf bulb to return to a default setting after a certain amount of time after WLED has stopped sending packets to control it.
I know WLED has the ability to turn on and off by timer, but it's more complex than just controlling them via an on/off timer.
Thanks!
I inadvertently answered my own question. My bulb was rebooting itself and I found an issue here in GitHub where the solution for rebooting was to turn on the no hass option. Since I'm not using home assistant my bulb was rebooting itself with the "no client connected to API" message printed in the logs. Leaving that option off works in my favor because the bulb reboots itself periodically and boots into the power on state selected in the settings.
Now I just wish it would not reboot while receiving DDP packets, but that isn't a deal breaker for me, just a minor inconvenience. The bulb will reboot into the power on state but quickly change as as soon as DDP packets are received.