Rule 4.0 help with notify on door left open for x minutes

I'm trying to get notified if I leave a door open for more than 30 minutes but it's notifying me 30 minutes later even with the door closed, I know it's something wrong with my delay and cancel delay but not sure what. I originally had a cancel on the delay but that did the same thing. Any ideas?

app:8812019-09-16 08:42:59.844 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Paused
app:8812019-09-16 08:42:45.118 pm errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5600 (delayedActs)
app:8812019-09-16 08:42:45.109 pm infoAction: Cancel Delayed Actions (skipped)
app:8812019-09-16 08:42:45.108 pm infoAction: ELSE (skipping)
app:8812019-09-16 08:42:44.345 pm infoAction: Notify Pushover All Low Priority and Speak on Family Room Google Home, Media Room Chrome Cast, Bedroom Google Home, Office Google Home, Living Room Google Home, Shop Google Home Display: 'The Garage Service Door got left open for more than 30 minutes.'
app:8812019-09-16 08:42:44.308 pm infoDelay Over:     Delay 0:30:00
app:8812019-09-16 08:42:18.163 pm errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5600 (delayedActs)
app:8812019-09-16 08:42:18.132 pm infoAction: Cancel Delayed Actions (skipped)
app:8812019-09-16 08:42:18.129 pm infoAction: ELSE (skipping)
app:8812019-09-16 08:42:17.000 pm infoAction: Notify Pushover All Low Priority and Speak on Family Room Google Home, Media Room Chrome Cast, Bedroom Google Home, Office Google Home, Living Room Google Home, Shop Google Home Display: 'The Garage Service Door got left open for more than 30 minutes.'
app:8812019-09-16 08:42:16.953 pm infoDelay Over:     Delay 0:30:00
app:8812019-09-16 08:40:42.064 pm errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5600 (delayedActs)
app:8812019-09-16 08:40:42.002 pm infoAction: Cancel Delayed Actions (skipped)
app:8812019-09-16 08:40:42.000 pm infoAction: ELSE (skipping)
app:8812019-09-16 08:40:39.270 pm infoAction: Notify Pushover All Low Priority and Speak on Family Room Google Home, Media Room Chrome Cast, Bedroom Google Home, Office Google Home, Living Room Google Home, Shop Google Home Display: 'The Garage Service Door got left open for more than 30 minutes.'
app:8812019-09-16 08:40:39.210 pm infoDelay Over:     Delay 0:30:00
app:8812019-09-16 08:13:00.246 pm infoAction: END-IF
app:8812019-09-16 08:13:00.226 pm infoAction:     Cancel Delayed Actions
app:8812019-09-16 08:13:00.223 pm infoAction: ELSE (do actions)
app:8812019-09-16 08:13:00.215 pm infoAction:     Notify Pushover All Low Priority and Speak on Family Room Google Home, Media Room Chrome Cast, Bedroom Google Home, Office Google Home, Living Room Google Home, Shop Google Home Display: 'The Garage Service Door got left open for more than 30 minutes.' (skipped)
app:8812019-09-16 08:13:00.169 pm infoAction:     Delay 0:30:00 (skipped)
app:8812019-09-16 08:13:00.159 pm infoAction: IF (Small Garage Door open(F) [FALSE]) THEN (skipping)
app:8812019-09-16 08:12:59.958 pm infoNotify if the Garage Service Door gets left open for > 30 minutes Triggered
app:8812019-09-16 08:12:59.866 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Small Garage Door contact closed
app:8812019-09-16 08:12:44.168 pm infoAction:     Delay 0:30:00
app:8812019-09-16 08:12:44.164 pm infoAction: IF (Small Garage Door open(T) [TRUE]) THEN
app:8812019-09-16 08:12:44.047 pm infoNotify if the Garage Service Door gets left open for > 30 minutes Triggered
app:8812019-09-16 08:12:43.966 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Small Garage Door contact open
app:8812019-09-16 08:12:20.648 pm infoAction: END-IF
app:8812019-09-16 08:12:20.635 pm infoAction:     Cancel Delayed Actions
app:8812019-09-16 08:12:20.630 pm infoAction: ELSE (do actions)
app:8812019-09-16 08:12:20.621 pm infoAction:     Notify Pushover All Low Priority and Speak on Family Room Google Home, Media Room Chrome Cast, Bedroom Google Home, Office Google Home, Living Room Google Home, Shop Google Home Display: 'The Garage Service Door got left open for more than 30 minutes.' (skipped)
app:8812019-09-16 08:12:20.569 pm infoAction:     Delay 0:30:00 (skipped)
app:8812019-09-16 08:12:20.566 pm infoAction: IF (Small Garage Door open(F) [FALSE]) THEN (skipping)
app:8812019-09-16 08:12:20.472 pm infoNotify if the Garage Service Door gets left open for > 30 minutes Triggered
app:8812019-09-16 08:12:20.434 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Small Garage Door contact closed
app:8812019-09-16 08:12:16.899 pm infoAction:     Delay 0:30:00
app:8812019-09-16 08:12:16.872 pm infoAction: IF (Small Garage Door open(T) [TRUE]) THEN
app:8812019-09-16 08:12:16.683 pm infoNotify if the Garage Service Door gets left open for > 30 minutes Triggered
app:8812019-09-16 08:12:15.840 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Small Garage Door contact open
app:8812019-09-16 08:11:39.500 pm infoAction: END-IF
app:8812019-09-16 08:11:39.477 pm infoAction:     Cancel Delayed Actions
app:8812019-09-16 08:11:39.474 pm infoAction: ELSE (do actions)
app:8812019-09-16 08:11:39.469 pm infoAction:     Notify Pushover All Low Priority and Speak on Family Room Google Home, Media Room Chrome Cast, Bedroom Google Home, Office Google Home, Living Room Google Home, Shop Google Home Display: 'The Garage Service Door got left open for more than 30 minutes.' (skipped)
app:8812019-09-16 08:11:39.442 pm infoAction:     Delay 0:30:00 (skipped)
app:8812019-09-16 08:11:39.422 pm infoAction: IF (Small Garage Door open(F) [FALSE]) THEN (skipping)
app:8812019-09-16 08:11:39.147 pm infoNotify if the Garage Service Door gets left open for > 30 minutes Triggered
app:8812019-09-16 08:11:39.079 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Small Garage Door contact closed
app:8812019-09-16 08:10:39.080 pm infoAction:     Delay 0:30:00
app:8812019-09-16 08:10:39.065 pm infoAction: IF (Small Garage Door open(T) [TRUE]) THEN
app:8812019-09-16 08:10:38.758 pm infoNotify if the Garage Service Door gets left open for > 30 minutes Triggered
app:8812019-09-16 08:10:38.665 pm infoNotify if the Garage Service Door gets left open for > 30 minutes: Small Garage Door contact open
--- Loading Past Logs... ---
1 Like

Your delay has not been flagged as cancelable.

2 Likes

Change your else to

ELSE IF small garage door closed then
Cancel delayed actions

Thanks, it looks like it's working! I didn't realize the cancel option now just makes it so it can be cancelled.

1 Like

Yeah. I wish @bravenel would change that text from "cancel" to "cancelable".

2 Likes

move delay before if

similar problem explained here

like this?

You will need to change your trigger to *Changed and the If to (Time between 20:00 and 06:00) and (His Garage Door, Her Garage Door any open) otherwise the else-if won't ever take place.

man this is powerful, yet so confusing

You want your If to be (Time between 20:00 and 06:00) and (His Garage Door, Her Garage Door any open) Then
but you want the Else to be any closed like it was

Thanks everyone. It was actually easier than I thought it would be for RM. You're able to import a basic rule so it sets up most of it to begin with. I need to start getting more familiar with RM!

How often will it send the notification in RM? Is there an easy way to make it not notify again for say 30 minutes?

Check out the Notifications app; you'd find it easier to not notify again for some period.

2 Likes

Oh yeah. I forgot all about the notifier app. Thank you

1 Like

Ugh. I'm sorry. I had a few windows open learning about rules and didn't realize I was responding to this 5 year old thread.