Jump to content

Garage Door Control and Status Kit


UD2)17rrh

Recommended Posts

Posted

Hello,

I have the I/O Linc Garage Door Control and Status Kit set up to sense the status of the garage door: open or closed.  At night, I am seeking to trigger lights to turn off (for if we arrive home and the outside lights are off for example).  Do you know why this code fails to turn on any lights if they are off?  Many thanks.

 

Garage Door/Outside Lights

If
        Status  'Garage / Garage Sensor' is Off
    And Status 'Outside / House Front (load)' is switched Off
    And From    Sunset
        To      Sunrise (next day)
 
Then
        Set 'Outside / House Front (load)' On
        Wait  15 minutes
        Set 'Outside / House Front (load)' Off
 
Else
        Set 'Outside / House Front (load)' Off
 

 

Posted

Hmmm.  So this above programming does something: it turns the requested light on and off every ~ second.  Looks like I am trying to raise the neighbors attention.

Posted (edited)

Hi

Its working as designed, if you are checking status. Its hard to tell, however something is wrong here, this line isn't possible with the ISY editor

And Status 'Outside / House Front (load)' is switched Off

Its either status or control... status and switched can't be in the same program line. 

Assuming the program is using status, the reason its flashing is that your program is checking the status of the light, and the "then" part turns the same light on and off. As soon as that happens, the "If" is reevaluated the "else" becomes true and the light goes off... and it starts over.

This will need to be split into several programs.The best way is to move the contents of the "then" into another program and use the program statement to run it. The second program doesn't have any conditions to become false like the light status, and will run until its done.

Get rid of the off statement in the else, its not going to work. Also, I believe one of the triggering conditions is the garage door going up which is sensed by the sensor being switched off... that's how mine works with this kit.

Garage Door/Outside Lights

If
        'Garage / Garage Sensor' is Switched Off
    And Status 'Outside / House Front (load)' is Off
    And From    Sunset
        To      Sunrise (next day)
 
Then
        Run Program 'Outside Lights'
Else
	    No Actions      

 

Outside lights

If
        No Conditions
Then
        Set 'Outside / House Front (load)' On
        Wait  15 minutes
        Set 'Outside / House Front (load)' Off
Else
        No Actions

I'd start with this but I could be wrong about some assumptions I've made

Paul

 

Edited by paulbates
Posted

Thanks for taking the time to reply and I will try your suggestion. 

Yes, I edited the line wrong in my forum post. It read in the admin console "And Status  'Garage / Garage Sensor' is Off".  Sorry for the confusion.

 

Posted (edited)

Np. The program re-triggering and switched vs status took me some getting used to. You're definitely on the right track.

Paul

Edited by paulbates
Posted (edited)

I would try this:

If

        From    Sunset

        To      Sunrise (next day)

And

       (

        Status 'Outside / House Front (load)' is Off

        And Status  'Garage / Garage Sensor' is Switched Off

        )

This will limit the check to only the desired time and only if the load is off.

Edited by markv58
Guest
This topic is now closed to further replies.

×
×
  • Create New...