Hereâs a working example setup:
- The âallowâ inject node represents the âactionâ node that turns off the
input_boolean
. Set the output properties of this node to msg.payload = "allow"
, which opens the âtrafficâ node.
- The âdataâ inject node represents the âtimeâ node. When the traffic node is open, and itâs 15 minutes before your alarm, it triggers and passes through the âtrafficâ node to the âdebugâ node, continuing the flow.
- The âchangeâ node named âblockâ sets the âtrafficâ node back to the blocking state after the data passes through.

[{"id":"abd086c3ab8e5f97","type":"traffic","z":"c89d915bdff0f798","name":"","property_allow":"payload","filter_allow":"allow","ignore_case_allow":false,"negate_allow":false,"send_allow":false,"property_stop":"payload","filter_stop":"block","ignore_case_stop":false,"negate_stop":false,"send_stop":false,"default_start":false,"differ":false,"x":810,"y":848,"wires":[["e4e1390f67abb8b5","7341db5cfdda18ae"]]},{"id":"dc55187da5be824a","type":"inject","z":"c89d915bdff0f798","name":"allow","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"allow","payloadType":"str","x":626,"y":848,"wires":[["abd086c3ab8e5f97"]]},{"id":"e4e1390f67abb8b5","type":"debug","z":"c89d915bdff0f798","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":980,"y":848,"wires":[]},{"id":"4422749035e827ad","type":"inject","z":"c89d915bdff0f798","name":"data","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":626,"y":896,"wires":[["abd086c3ab8e5f97"]]},{"id":"7341db5cfdda18ae","type":"change","z":"c89d915bdff0f798","name":"block","rules":[{"t":"set","p":"payload","pt":"msg","to":"block","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":974,"y":896,"wires":[["abd086c3ab8e5f97"]]}]