Hello,
I have two garage doors - names 'Garage Door 1' and 'Garage Door 2' that are monitored.
If either of these doors open and it is after dark, I would like the front port light 'Front Porch Light' and the entry way light 'Garage Entry' to come one and stay on for 5 minutes. However, if either is on already, it should remain on after the 5 minutes.
I have two programs that I am running to try to achieve this:
I am not sure how to cut/paste from the console, so I will pseudo write it best I can.
Program 'Garage-Entry'
If (
status 'Garage Door 1 - sensor' is On
or 'Garage Door 2 - sensor' is On
)
and (
From Sunset
To Sunrise (next day)
)
and status 'Garage Entry' is Off
Then
Set 'Garage Entry' on
Wait 5 minutes
Set 'Garage Entry' off
else
- no Actions
Program 'Garage-FrontDoor' is just like this one, but it reflects the Front Door Light instead.
The issue I am having is that the if seems to work fine and only turns on the light after dark, but it seems to exit immediately after that. Watching it in the console, the program doesn't seem to wait the 5 minutes and the light never turns off.
it doesn't seem to matter if the garage door is left open or is shut again quickly, the program just seems to exit.
I am fairly new to doing any in depth programming on the ISY and could use some guidance.
Thoughts?