niklaswall / node-red-contrib-light-scheduler

Light Scheduler is a node-red node that provides a weekly schedule mainly focused on controlling light in home automation scenarios.
Apache License 2.0
41 stars 15 forks source link

Randomize timer #9

Closed dionmes closed 6 years ago

dionmes commented 6 years ago

Really want to use this timer, it has some features I really would like to use like minutely and the 'auto' input. But for me preventing to use it, is the absence of a randomise feature. So the on and off times can be triggered with a random delay for example between 0 and 30 minutes. Besides that, the best looking timer.

niklaswall commented 6 years ago

Interesting idea... is it enough to have this up to 15 minutes?

dionmes commented 6 years ago

Well, it would be enough although 30-1 hour would be preferable to simulate someones presence which I would use It for. But 15 minutes would be enough for me to start using it.

niklaswall commented 6 years ago

Ok, I will look into this when I have some time over :-)

niklaswall commented 6 years ago

I have now added randomization to the schedule (not published to NPM yet). The schedule can be randomized with up to +/- 60 minutes. I hope this solves your need! :-)

dionmes commented 6 years ago

Awesome! Thx m8. Thats really quick, gonna implement this asap.

dionmes commented 6 years ago

Hi,

Everything allright?

I was wondering should I install your node update with randomisation from the GitHub or can I wait for the NPM release? Maybe I am just lazy but I like to update from the node-red ‘manage palette’ manager.

Kind regards, Dion

On 11 Dec 2017, at 13:04, Niklas Wall notifications@github.com wrote:

I have now added randomization to the schedule (not published to NPM yet). The schedule can be randomized with up to +/- 60 minutes. I hope this solves your need! :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/niklaswall/node-red-contrib-light-scheduler/issues/9#issuecomment-350705667, or mute the thread https://github.com/notifications/unsubscribe-auth/AILJUSEw5bUM3IXEooNLU7RmWRH3O4WMks5s_RpYgaJpZM4Q5O2F.