KaufHA/kauf-rgbww-bulbs

Turn bulb back on after DDP packets stop being sent

Opened this issue · 3 comments

I am using these bulbs in my Christmas light show, and when the show is over the bulbs sit in an 'off' state (powered on but no light). Is there a command I can send from Falcon Player at end of show to trigger the bulb to go back to standard 'on' mode or does it require the light switch to be toggled? If this is not a current option can it be added as a future enhancement request?

I have a beta of this working. If you add the following to your local config in ESPHome dashboard it should time out after 10s of not receiving a DDP packet and return to the previously set value. Let me know if it works I haven't been able to test it yet.

On a similar note, when the bulb is in an off state and a DDP packet is received the bulb will light up but remains in an off state both in the UI and HA.

I've got a WLED controller on a timer that runs from 5-10pm. I don't mind the bulbs staying on all night in their last DDP commanded color but wanted to have HA turn the bulbs off at sunrise. HA thinks they're off because the bulbs reports it is off.