I have two hue outdoor sensors that I want to use for security at night..
The issue I have is that sometimes they can be triggered by ghosts.. to combat this I want a rule like the below:
If movement is detected on either sensor then
If in the next 30 seconds there is another movement detected (on either sensor) or if at the 30 seconds mark either sensor is still "active" then trigger alerts at whichever is first..
I just can't figure out how to do it and any help would be appreciated.
Additional Question: If I have a delay in a rule, does that keep running as an instance before executing the following lines, even if the rule is re-triggered? (assuming no cancel timers is called)
Thanks, I didn't know about this, but I think from what I've just read that it wouldn't trigger if only one sensor was active (both sensors cover two different nearby areas)
Just realised dropping in another alert with a delay at the end wouldn't work.. as it would trigger regardless of the state still being active on any sensor.. I'll give my rule a go, but realised mine doesn't cancel the timer and if I swap the rule around the else-if can just be an if..
Edit: This is what I have ended up with, will have to test it tomorrow now..
Thanks, I guess Iāll still need to add the second if to check the current state of the sensors like in mine though, although in mine Iāve put the Boolean reset in the wrong place too! Will update this morning and test it