Jump to content

Help with simple program


born2dive

Recommended Posts

Posted

I am new to ISY...Installed it yesterday.

 

I created a simple program to turn on the garage lights when one of my garage doors open and turn them off 10 mins after that.  Code is below:

 

If
        Status  'Garage / Garage Left-Sensor' is Off
     Or Status  'Garage / Garage Right-Sensor' is Off
 
Then
        Set 'Garage / Gararage Lights' On
        Wait  10 minutes 
        Set 'Garage / Gararage Lights' Off
 
Else
   - No Actions - (To add one, press 'Action')
 
I have 2 garage doors with Insteon Garage Kit (sensors) installed and an no/off light switch.  My sensors are set to be "Off" when the door is open.
 
When I open one of the garage doors, the lights come on as expected.  But they stay on indefinitely and don't turn off after 10 mins.
 
Is my syntax incorrect?  Any help is greatly appreciated.
 
Thanks.
 
 
Posted

The program stops running when the sensor turns back to on. Move the lines in the then part to a separate program and run that program instead.

 

Sent from my Nexus 7 using Tapatalk

Thanks.

Posted

For something this simple, you could also try using "control" rather than "status" for the two sensors.  This would allow keeping in a single program.

Guest
This topic is now closed to further replies.

×
×
  • Create New...