First Time using Private Boolean

This is my first attempt at using private booleans. I want this rule to log an event and send a notification when this motion sensor becomes active. Subsequent triggers less than 5 minutes apart should not log the event or send the notification. Any trigger more than 5 minutes after the last event should log and notify. Do I have this correct?

That should work! This assumes you want to wait 5 minutes after any "motion active" event before sending another notification, not just 5 minutes after the first notification was sent--which it sounds like you do (but to anyone else reading this who might find this by a search and doesn't want to do that, a trigger event will cancel any in-progress waits, so that is the question here, and a "delay" with some modifications would be the workaround).

1 Like

Correct... as long as they are 4:59 seconds apart or less, I only want to be notified once, even if there are dozens of triggers. Thanks for confirming my rule structure.