benzman81 / homebridge-http-webhooks

A http plugin with support of webhooks for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
180 stars 55 forks source link

Add "off" delay for push button #174

Open Quintin9801 opened 1 year ago

Quintin9801 commented 1 year ago

I use this plugin for remote starting my car through its API. Using the pushbutton module seems to start my car and immediately shut it off. The API does not differentiate the "on" and "off" commands and only supports "toggling". My car runs for 25 mins and then shuts itself off, but does not report the "off" event back. If I could add a delay for when the HomeKit switch goes back to the "off" position, that would be perfect. The delay should probably be in seconds for more universal applications, I'm not sure if 25 mins is too long of a duration.

benzman81 commented 1 year ago

Feel free to contribute ;-)