[quote=“MNB, post:8, topic:188159”]@JoeTomasone,
Is it possible for to share your PLEG report so others might gain insight into how you solved your door open and locking your door. It seems that a lot of folks are off solving aspects of their home automation problem but getting insight into possible solutions, new techniques and general usage that isn’t always apparent can go a long way. thanxs in advance Mike
[quote=“JoeTomasone, post:7, topic:188159”]I actually have two door-related PLEG conditions:
One notifies me if any door is open for more than 5 minutes. More than once that has made my wife turn around to properly close a door that the kids didn’t properly close as they left the house.
The other locks the door 5 minutes after it has been closed.
I also have a “goodnight” scene that shuts off all of the lights except the outside porch light, locks all the doors, and arms their sensors.[/quote][/quote]
Sure:
Triggers
Name Description
FrontDoorOpen Whenever Front Door is opened whether is armed or disarmed
FrontDoorUnlocked Front Door Lock is opened
GarageDoorOpen Whenever Inside Garage Door is opened whether is armed or disarmed
GarageDoorUnlocked Garage Door Lock is opened
OutsideGarageDoorOpen1 Whenever Outside Garage Door detects motion whether is armed or disarmed
RearDoorOpen Whenever Rear Door is opened whether is armed or disarmed
Conditions
Name Repeat Expression
DoorOpen5Mins No (FrontDoorOpen and (FrontDoorOpen; Now > 300)) OR (RearDoorOpen and (RearDoorOpen; Now > 300)) OR (GarageDoorOpen and (GarageDoorOpen; Now > 300))
FrontDoorUnlocked5Mins No (FrontDoorUnlocked and !FrontDoorOpen and (FrontDoorUnlocked; Now > 300))
GarageDoorUnlocked5Mins No (GarageDoorUnlocked and !GarageDoorOpen and (GarageDoorUnlocked; Now > 300))
GarageDoorUp5Mins No (OutsideGarageDoorOpen1 and (OutsideGarageDoorOpen1; Now > 300))
Actions
Actions for Condition: DoorOpen5Mins
Device Actions:
Immediate
Device Action Arguments
VeraAlerts SendAlert Message=A door has been open for more than 5 minutes. Recipients=tomasone
Actions for Condition: FrontDoorUnlocked5Mins
Device Actions:
Immediate
Device Action Arguments
Front Door Lock SetTarget newTargetValue=1
Actions for Condition: GarageDoorUp5Mins
Device Actions:
Immediate
Device Action Arguments
VeraAlerts SendAlert Message=The Garage Door has been up for 5 minutes. Recipients= HouseModeMask=
Notifications
Name Description Users Last Sent
DoorOpen5Mins PLEG Automation has satisfied condition: DoorOpen5Mins undefined
DoorAutoLocked PLEG Automation has satisfied condition: FrontDoorUnlocked5Mins undefined
GarageDoorAutoLocked PLEG Automation has satisfied condition: GarageDoorUnlocked5Mins undefined
GarageDoorUp5Mins PLEG Automation has satisfied condition: GarageDoorUp5Mins undefined