KaufHA / kauf-rgbww-bulbs

Files for the KAUF RGBWW Smart Bulbs
42 stars 18 forks source link

Turn bulb back on after DDP packets stop being sent #47

Open rsather70 opened 10 months ago

rsather70 commented 10 months ago

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?

bkaufx commented 10 months ago

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.

rsather70 commented 10 months ago

I don’t use esphome.  My smart home setup is Hubitat so these bulbs aren’t integrated.  I do have home assistant spun up that I’m just playing with I could try it there especially if it helps you test since I’m about to do this daily with my Christmas show - no setting on the bulb itself though?-Ryan SatherPlease excuse my typos from my mobile device Sent from my iPhoneOn Nov 15, 2023, at 4:31 PM, Brian Kaufman @.***> wrote: 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.

source: type: git url: https://github.com/bkaufx/kauf-rgbww-bulbs refresh: always

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

bulldozer2003 commented 10 months ago

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.