Jump to content

INSTEON 74551 GARAGE DOOR CONTROL & STATUS KIT


JerseyJohn

Recommended Posts

Hello

 

I'd like the garage to stay on for 5 minutes after the garage door opens and then turn off so, I've created the program below. The problem is that the light comes on when the door opens but doesn't turn off. The events are door opens; light comes on; door closes; light continues to stay on indefinitely. Any ideas?

 

If

     Status "Garage Door-Sensor' is On

Then

     Set 'Garage Near' On

     Wait 5 minutes

     Set 'Garage Near' Off

Else

   - No Actions - (To add one, press 'Action')

 

 

Thanks,

 

John

Link to comment

The problem is that the light comes on when the door opens but doesn't turn off. The events are door opens; light comes on; door closes; light continues to stay on indefinitely. Any ideas?

The problem is that when "Garage Door-Sensor' changes status to Off while the wait is in progress;  this event immediately causes the program to be re-evaluated.  Because it is false, it stops the wait and the program is ended before it can get to the "Off" command.

 

 

Here's a quick-and-dirty workaround to ensure the light gets turned off:

If
     Status "Garage Door-Sensor' is On

Then
     Set 'Garage Near' On
     Wait 5 minutes
     Set 'Garage Near' Off

Else
     Wait 5 minutes
     Set 'Garage Near' Off
There are cleaner ways to accomplish exactly what you want, but all the approaches I know of require creating a second program.
Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...