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

Change dusk/dawn threshold from other node #50

Open fredrikjohnsson opened 4 years ago

fredrikjohnsson commented 4 years ago

It would be useful if it was possible to change the dusk/dawn threshold from another node, for example setting msg.threshold to a numeric value.

niklaswall commented 4 years ago

That shouldn't be that hard to fix.

May I ask what use-case you have where you need that?

//Niklas

fredrikjohnsson commented 4 years ago

My use-case is that I'm gonna try to use the weather forecast to check if it's cloudy and change the threshold to make lights go on earlier if so.