My First PLEG :-)

So I finally got around to trying PLEG and wanted to check if I did it right :slight_smile:
I want to be notified if we leave the garage door open at night or if the garage door is opened at night. Attached is a screenshot of what I did.

Thanks for any input!

I also have a reminder if I leave the garage door open for more than 10 minutes;

I have a schedule … On is self re-trigger, off is an interval of 10:00 minutes … Name is GarageTimer

I have two conditions:

GarageOpened Garage_Status
Action using advanced Tab, Select PLEG Device, Action is StartTimer, Timer is GarageTimer
GarageWarning Garage_Status and (Garage_Status; !GarageTimer)
Action send an alert.

My Night action is to just CLOSE the garage door.
Actually I send a LOCK command 3 times to the Garage door separated by 45 seconds.
Only one should be needed … but sometimes the door sensor does not detect the garage closing … so the second lock actually opens the garage and the third lock closes it again. If it detects the lock properly … the second two lock commands do not do anything. Some people do not like to automatically close the door. I have plenty of safeties on my door.