kbrashears5 / typescript-homebridge-schedule

Scheduled, repeatable triggers for Homebridge automation with HomeKit
https://github.com/kbrashears5/typescript-homebridge-schedule#readme
MIT License
57 stars 10 forks source link

Added new optional config option 'enabledDuration' to customize switch enabled duration #197

Closed tomrund closed 1 year ago

tomrund commented 1 year ago

In my personal HomeKit setup I tried to utilize typescript-homebridge-schedule but after some troubleshooting, I noticed that my HomeKit bridge was too sluggish to notice the typescript-homebridge-schedule switches turning on and off most of the time. Unsure if this is due to the number of accessories in my home, or the signal strength of my current primary bridge or the fact that I have 20 HomeKit bridges.

Either way, I believe adding a configuration option to allow users to customize how long the typescript-homebridge-schedule switches stay enabled will resolve this issue and allow me to use typescript-homebridge-schedule switches reliably.

I was having some issues installing dependencies so I didn't get to test this, but it's fairly straightforward.

tomrund commented 1 year ago

@kbrashears5 thank you, happy to help! Do you mind making a release that includes this when you have a chance?