nfarina / homebridge-dummy

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

Auto turn off after X seconds #3

Closed CooperCGN closed 7 years ago

CooperCGN commented 7 years ago

Thanks for this very helpful plugin, I'm already using it for many connected scenes. Now I have a case where I want some kind of delay. How about adding a parameter e.g. seconds to specify the time before the switch turns off again?

ToddGreenfield commented 7 years ago

@CooperCGN Check out https://www.npmjs.com/package/homebridge-delay-switch This does exactly what you are looking for I believe.

CooperCGN commented 7 years ago

Thanks, I searched, don't know why I haven't found that one. It's exactly what I'm looking for

rasgeek commented 7 years ago

Thanks This Is Awesome for gate opener solution with demo