PLEG garage door announcement

Hello,

I have a linear garage door opener on my VeraPlus. I wanted to have my around door bell chime when the garage door opens. What happens is that it chimes regularly while the door is open, I think when polling happens. We tend to leave the garage door open all day on the weekends so that’s a no-go.

I tried to use the # timestamps but couldn’t come up with something that made sense. What I want is a test make sure the garage door has closed since the last time the chime sounded before it chimes again.

Anyone have any hints?

You can create a trigger when the door opens, and use that trigger in a Condition. I use this to send a notification when the door is opened, and, to set a 10 minute timer. Every 10 minutes, I get a notification the door is still open. Instead of a notification, you can sound a chime.

That’s my problem. I only want it to chime when it opens, not while it is open. We leave it open when home on the weekend as it is the fastest way to the barn. Having that chime every couple of minutes is maddening.

Do this without setting the timer.

Don’t do this part.

Do this without setting the timer.

Don’t do this part.[/quote]
Perhaps you can help me if you don’t mind. Been learning about PLEG all day, and I am a bit stuck.

I am trying to get an alert when my garage door has been left open for a period of time (say 30 minutes). However I seem to be getting alerts every time I open and close my garage door. Any advice as to what I have done wrong? I have attached my logic report in case that helps.

Looks like you need a condition when the timer reaches 0, so you can then set the notification that door is still open. And you want a condition to turn off the time when then the door is closed.

I wasn’t sure how to do that, so I went a different route using PLEG Following this example: http://forum.micasaverde.com/index.php/topic,13874.0.html

However, I don’t seem to be receiving any notifications after it has been left open for 5 minutes or more. All of my other notifications work fine.

Could you post the status report instead of the logic report? I wanted to see when it was last true.

Here is my status report - then I realized I have mine set up as scenes using the countdown timer app - doh.

I have 1 scene when the door opens, it runs an iPhone check scene, and starts a 10 minute timer.
Another scene sends an alert when the timer reaches 0 and reset the timer. I keep getting alerts every 10 minutes until the door is closed.
A third scene turns off the timer when the door is closed.

[quote=“Don Phillips, post:8, topic:196687”]Could you post the status report instead of the logic report? I wanted to see when it was last true.

Here is my status report - then I realized I have mine set up as scenes using the countdown timer app - doh.

I have 1 scene when the door opens, it runs an iPhone check scene, and starts a 10 minute timer.
Another scene sends an alert when the timer reaches 0 and reset the timer. I keep getting alerts every 10 minutes until the door is closed.
A third scene turns off the timer when the door is closed.[/quote]

I looked at your attachment and that is a whole different level! One day I hope to get there. As for my own status report, when I go into the Editor Option drop down (UI17) and select status report I get a little blue box saying “Current Status Updated!” but nothing else. I took a screenshot of the conditions if that helps.

I highlighted how to generate the report.

Apparently my browser blocked the pop up. Attached now :slight_smile:

I do not see any actions. Actions execute when a condition is true, including sending notifications. The trigger may send a message but I have not used PLEG this way.

And you may want to create some properties to monitor the door being up or down. Sometimes LUUP will restart and if your door is already open, it will not trigger, but the property true if open and that could set a condition true, which would execute an action.

Lastly, I think the leftopen and leftopenrepeat are kinda redundant. I think if you create a timer in the schedules, and turn repeats on, it can be used in a condition to send you a notification until the door is closed. I have not used timers in this way but I think that is how that works.

You are on the right track and there are others WAY MORE advanced than me and my little pea brain.

You also have to enable popup in the browser.

Sent from my SAMSUNG-SM-G935A using Tapatalk