You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the schedex node to schedule my heating to come on 45mins before the first wake up alarm in the house. However if no one is home, and so no alarms are set, the schedex node is not updated with a new schedule time, and so it will continue to emit at the same time the next day (and the next).
The result is that, if no one is home our heating has still been turning on.
Is there an easy way to make the schedex node emit only once per input?
Otherwise I will use a delay node on the output looping back to the input with msg.payload.suspended=True and then pass msg.payload.suspended=False with each alarm time.
I use the schedex node to schedule my heating to come on 45mins before the first wake up alarm in the house. However if no one is home, and so no alarms are set, the schedex node is not updated with a new schedule time, and so it will continue to emit at the same time the next day (and the next).
The result is that, if no one is home our heating has still been turning on.
Is there an easy way to make the schedex node emit only once per input?
Otherwise I will use a delay node on the output looping back to the input with
msg.payload.suspended=True
and then passmsg.payload.suspended=False
with each alarm time.This is my current, quite inelegant solution:
Subflow JSON Code
The text was updated successfully, but these errors were encountered: