Hey, I have just set up a pleg script. I want it to send an alert after the garage door has been open for x minutes. Here is what it looks like:
[code]Scenes
Left Garage Door Open manual scene sends alert
Right Garage Door Open manual scene sends alert
Triggers
tGarageOpenLeft Device Is Opened
tGarageOpenRight Device Is Opened
Schedule
sGarageTimer On = self re-trigger, off = interval at 30 min.
Conditions
cGarageOpenLeft tGarageOpenLeft
(Action using advanced Tab, Select PLEG Device, Action is StartTimer, Timer is GarageTimer)
cGarageOpenRight
(Action using advanced Tab, Select PLEG Device, Action is StartTimer, Timer is GarageTimer)
cGarageWarningLeft tGarageOpenLeft and (tGarageOpenLeft; !sGarageTimer)
Actions
cGarageOpenLeft Start timer
cGarageOpenRight Start timer
(Actions using Advanced tab, Select PLEG Device, Action is StartTimer, Timer is GarageTimer)
cGarageWarningLeft Send alert
(Action using Advanced tab, Select PLEG Device, Action is RunScene, scene is Left Garage Door Open)
cGarageWarningRight Send alert
(Action using Advanced tab, Select PLEG Device, Action is RunScene, scene is Right Garage Door Open)[/code]
Can anyone tell me why this isn’t working? All I can add is that the sensors are sending notifications to the log file that the doors are opened or closed.