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

Behaviour on inputs #103

Open klaus1956 opened 9 months ago

klaus1956 commented 9 months ago

When I set the node to "when state changes + startup" or "when state changes" and send a "schedule-only" to the input it only changes if tht last output of the node was different. - I think there should be an option or general behaviour to send the according output independent of the prior status. My usecase: I use the node to switch may herting between day and night temperature. In case of open windows the heatint is stopped by a separate routine. When window is closed I send a "schedule-only" to come back to schedule, but as the node still remembers the old "ON" it does not send an new output.

niklaswall commented 9 months ago

You have the minutely output that can be used if you want to continously send out the state... but in this case it sounds like you actually should send and override into the node "on", "off" or "auto" instead of overriding the flow in any other way.