I am sure this will be really usefull.
It is possible to make that type of logic on HomeSeer..... but with a LOT of events.
There is so many possibilities with this package.
node-red-contrib-join-wait (node) - Node-RED
It is possible to make that type of logic on HomeSeer..... but with a LOT of events.
There is so many possibilities with this package.
node-red-contrib-join-wait (node) - Node-RED
Description
This node waits for messages from all items in the Paths (Wait) array, which must be received inside of a designated time window.
If all of the messages are received in that interval, a merged output is sent to the success output. Otherwise, any expired messages are sent to the timeout output. Either output can be optionally connected for further processing.
In the event of multiple messages, the time window is adjusted as needed to continue evaluation on subsequent messages. This node has several potential applications, including home automation. For instance, to handle a case where the light turning on/off is also triggering a motion sensor: IF a) light turned OFF, b) motion sensor activated, c) light turned ON all occur within 10 seconds, then turn light OFF.
Memory is managed to delete objects after they reach the Timeout.
This node waits for messages from all items in the Paths (Wait) array, which must be received inside of a designated time window.
If all of the messages are received in that interval, a merged output is sent to the success output. Otherwise, any expired messages are sent to the timeout output. Either output can be optionally connected for further processing.
In the event of multiple messages, the time window is adjusted as needed to continue evaluation on subsequent messages. This node has several potential applications, including home automation. For instance, to handle a case where the light turning on/off is also triggering a motion sensor: IF a) light turned OFF, b) motion sensor activated, c) light turned ON all occur within 10 seconds, then turn light OFF.
Memory is managed to delete objects after they reach the Timeout.
Comment