In ND I have a sequence setup to notify my iphone when motion is detected from my camera. The problem is EVERY TIME motion is detected I get the notification…. This can be very annoying with multiple motion alerts within a short time frame. I want it to send me an alert when motion is detected BUT do not send the next motion alert if its within 5 minutes of the first alert.
This has to be possible but I cannot seem to figure it out.
oh my gawd thats it, a delay at the end! brilliant and simple
thanks man… i never thought of that. The other way sounds a bit more elegant. Ill start with the first and investigate the second. Thanks again!!
Cheers
ahh i spoke to soon… even with the delay running, motion triggers my first node in the sequence - Event:state noted. When that first node gets re-triggered it just starts the sequence over again which notifies my phone… was a good thought
You want to take that delay node and move it to right after the motion detected node
Change the delay options to “limit” (top option that is a drop down), set the time to five minutes and check the checkbox about dropping messages. Any motion detected in that 5 minute window will not be passed down the flow
That Delay node set as a limit is also SUPER useful if you have a node spit out an array of messages.
Say for instance you have a “goodnight” node that does 10 different things. You’d output them through a single output as an array of messages, put a Delay node on that output, set it to delay to limit every second and uncheck the “drop messages” option. Now it’s a friendly bunch of calls to HA (or MQTT broker) since it’s mot blasting a bunch of messages at the exact same time