kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
116 stars 37 forks source link

Ignoring Lights Which Don't Respond #140

Open DMor1 opened 1 year ago

DMor1 commented 1 year ago

Usually when I use homekit with dozens of Wiz lights, I commonly say "turn off all lights", "turn on all lights", "Set all lights to 100%", etc.

One issue I have is that most of my Wiz A19 bulbs are hooked up to toggle power switches (not smart switches) so the power to these lights is usually cut completely if someone turns off the lights.

What happens is that if I say "Turn off all lights", half will turn off if the switch happens to be on, then there will be a pause for a minute and Siri will say "20 devices not responding".

I was interested in anyone else's experience with this issue, and adding an option to treat devices that don't respond as a noop so that siri wouldn't give me an error when I try to do this. Basically treating all Wiz lights as a best-effort to turn on or off.

Currently in the process of figuring out how, and where to add this option. Open to any tips since it's bugged me enough up to this point