nfarina / homebridge-dummy

Dummy switches for Homebridge: https://github.com/nfarina/homebridge
277 stars 83 forks source link

Switch not triggering automations #6

Open Tiger519 opened 7 years ago

Tiger519 commented 7 years ago

I've had a rather consistent (but not 100%) issue where the stateless dummy switch fails to activate my automations when called via Siri. One of these automations is to lock all my Kevo locks, which are also controlled through Homebridge. So in that case, I can see the switch status being set to "1" then back to "False" without any command (via the automation) reaching the Kevo plugin. I was able to fix this by changing the timout to 5000 (5 seconds). Not sure if this is just some weird issue with my setup or if this is something others are experiencing when using these switches for automations. Might be worthwhile to set this via variable like Stateful and Reverse?

mkz212 commented 1 year ago

If You don't want to switch the state by itself, You had to disable the timer - set "stateful" in the settings. If you want more options see #84