biddster / node-red-contrib-schedex

Scheduler for node-red which allows you to enter on/off times as 24hr clock (e.g. 01:10) or suncalc events (e.g. goldenHour). It also allows you to offset times and randomise the time within the offset.
22 stars 17 forks source link

Future request: Schedule On time / Of time received via input #15

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, I need a scheduler where the on/off time can be injected via the input, maybe variable names:

I want to store the variables in a file, and be able to change them via the node red dashboard UI. Then, with an event feed them into your node, for your node to save the on and off times, until another feed of different times, for your node to then trigger events.

Is this something you would want to add to your node?

biddster commented 7 years ago

Yeah - I'll consider this. I think that increasingly, being able to configure via an event will be useful for recomposition within UI outside of the standard NR dash.

There's another request pending for suspend to be done in the same way so I'll probably do both that the same time.

biddster commented 7 years ago

This is in testing at the moment, should be released next week.

siburny commented 7 years ago

It would great if we were able to adjust on/off offset as well. Example: I want my entrance lights to come on at sunset. If it's not sunny, I would want to adjust offset of "on" event by 30 minutes or so.

vielleicht commented 7 years ago

This would be a very interesting feature for me too. It would help me to implement a variable buzzer, which can be set by an UI.

biddster commented 7 years ago

Fixed in release 0.8.0, please see the readme for details of programmatic control.