Closed setempler closed 1 year ago
Hi, did you find time to check the feature? Thank you
Hello @nfarina , any plans to merge my PR? Thx
Hey sorry I missed this before! Somehow I didn't get notified. I like your implementation - what's your use-case for random shutoffs?
Hi, thanks a lot for catching up.
A use case is to make it a part of a home security system, where after motion a randomly delayed light turns on to scare off. Another one is to randomize light-on periods when away to imitate presence.
Gotcha, sorry for my slow responses here, I haven't looked at this plugin for quite a while! But this change seems good and is also nicely isolated so I am OK with merging!
Hi,
Thank you for the very useful plugin. Using timed/non-stateful switches now in automations regularly, I found a randomized timer is very helpful, too. With this PR I implemented a simple switch in the options to allow random delays for non-stateful switches.
Figure with the review of the settings in homebridge UI for a random timing enabled switch:
Figure with the preview of the log entry in homebridge UI when a randomized delay is enabled:
I hope you find this feature helpful and merge it into any upcoming release.
Thanks, Sven