Garage Door Alert Never Stops Repeating

Hey all, I looked at some examples before building my rule to alert me when my garage door contact sensor opens. It then repeats to let me know it is still open and should cancel if the garage door contact closes. I have tested for a while now and I just do not get why it doesn't cancel. The logic in the code makes sense. Hoping it is an easy gotcha. Thanks!

Logs:
app:1712021-05-17 11:17:59.376 pm infoAction: END-REP (waiting for next)
app:1712021-05-17 11:17:59.362 pm infoAction: Notify Justin Phone : 'Garage Door Left Open'
app:1712021-05-17 11:17:59.343 pm infoGarageDoorOpen: Repeating Actions
app:1712021-05-17 11:17:35.781 pm infoAction: END-IF
app:1712021-05-17 11:17:35.770 pm infoAction: Cancel Delayed Actions
app:1712021-05-17 11:17:35.767 pm infoAction: Stop Repeating Actions
app:1712021-05-17 11:17:35.764 pm infoAction: ELSE-IF (Garage Door Sensor closed(T) [TRUE]) THEN
app:1712021-05-17 11:17:35.746 pm infoAction: END-REP (skipped)
app:1712021-05-17 11:17:35.743 pm infoAction: Notify Justin Phone : 'Garage Door Left Open' (skipped)
app:1712021-05-17 11:17:35.740 pm infoAction: Repeat every 0:01:00 (skipped)
app:1712021-05-17 11:17:35.737 pm infoAction: Delay 0:02:00 (skipped)
app:1712021-05-17 11:17:35.734 pm infoAction: IF (Garage Door Sensor open(F) [FALSE]) THEN (skipping)
app:1712021-05-17 11:17:35.694 pm infoGarageDoorOpen Triggered
app:1712021-05-17 11:17:35.686 pm infoGarageDoorOpen: Garage Door Sensor contact closed
dev:2992021-05-17 11:17:35.556 pm infoGarage Door Sensor was closed
dev:3362021-05-17 11:17:26.455 pm infoGarage Door was turned off
dev:3362021-05-17 11:17:23.089 pm infoGarage Door was turned on
app:1712021-05-17 11:16:59.119 pm infoAction: END-REP (waiting for next)
app:1712021-05-17 11:16:59.109 pm infoAction: Notify Justin Phone : 'Garage Door Left Open'
app:1712021-05-17 11:16:59.091 pm infoGarageDoorOpen: Repeating Actions
app:1712021-05-17 11:15:58.943 pm infoAction: END-REP (waiting for next)
app:1712021-05-17 11:15:58.926 pm infoAction: Notify Justin Phone : 'Garage Door Left Open'
app:1712021-05-17 11:15:58.901 pm infoGarageDoorOpen: Repeating Actions
app:1712021-05-17 11:15:58.858 pm infoDelay Over: Delay 0:02:00
dev:3362021-05-17 11:14:00.709 pm infoGarage Door was turned off
app:1712021-05-17 11:13:58.758 pm infoAction: Delay 0:02:00
app:1712021-05-17 11:13:58.755 pm infoAction: IF (Garage Door Sensor open(T) [TRUE]) THEN
app:1712021-05-17 11:13:58.690 pm infoGarageDoorOpen Triggered
app:1712021-05-17 11:13:58.680 pm infoGarageDoorOpen: Garage Door Sensor contact open
dev:2992021-05-17 11:13:58.533 pm infoGarage Door Sensor was opened
dev:3362021-05-17 11:13:57.065 pm infoGarage Door was turned on

Make your repeat stopable and your delay cancelable.

I think that might do it.

1 Like

You might also look into the Notifications app. It can do this pretty easily as well.

1 Like

See my post in this thread. You can do this with the built-in Notifications app.

1 Like

As others said, the notifications app might be easier. Here is mine which sends me a notification if its been open for 10 minutes and then repeats every 30 minutes until closed. So far it has been working great.

1 Like

Thanks! Making my repeat stopable and delay cancelable worked perfectly and makes sense now that you say it. And thanks to everyone who mentioned notification app, I was kind of using this to learn the rules engine and want to expand it with a little more logic but needed the notfiicaiton to work first.