Jump to content

Garage door sensor not turning off lights


awzulich

Recommended Posts

Posted

I have a program where, if the garage door is opened at night, lights will go on, wait five minutes, then shut off.

Here is the program as written:

Garage sensor lites - [ID 0020][Parent 0001]

If
        From    Sunset  - 20 minutes
        To      Sunrise + 20 minutes (next day)
    And Control 'garage sensor-Sensor' is switched On
 
Then
        Set Scene 'Sc Garage Lights' 100%
        Set Scene 'Sc Front Floods' 100%
        Set 'LR Desk Lamp' 100%
        Wait  5 minutes
        Set Scene 'Sc Front Floods' Off
        Set Scene 'Sc Garage Lights' Off
        Wait  5 minutes
        Set 'LR Desk Lamp' Off
 
Else
   - No Actions - (To add one, press 'Action')

 

Here's my problem.  When the garage door opens at night, the lights go on as expected.  However, they do not go off after 5 minutes, whether the garage door is closed or left open. Hopefully, I'm missing something simple. Using IO Linc 2450 v41 if that makes a difference.  Thanks!!
 

 

Posted

One possible cause could be line noise frome the lights. Once turned on the line noise interferes with comms. Had this issue a couple of times. Try removing two of the three lights from the program to see if which one is the problem. If you use incandescents line noise is less likley.

Posted

If the lights are not incandescent, then line noise is possible. The first troubleshooting test is to right click on the program and select "Run Then." What's the result? BTW, closing the garage door prior to 5 minutes will end the program.

Posted
2 hours ago, stusviews said:

If the lights are not incandescent, then line noise is possible. The first troubleshooting test is to right click on the program and select "Run Then." What's the result? BTW, closing the garage door prior to 5 minutes will end the program.

Stu

All lights are LED, but I have not seen any line noise issues when running the scenes at other times. In fact, the whole house is LED.  Sounds like I have a hotbed of line noise.

Run Then - lights operated correctly. They turned on and off. I did not trigger the garage door, so it was closed throughout.

Keeping the garage door open for more than 5 minutes is not an attractive option if we are leaving for the evening.  Any suggestions how I can modify the program to get around this (assuming I can solve the other problem)?

Thanks for all your input!!

Posted

If you check the Program Summary how long does the program run when the sensor triggers it?
If less than 5 minutes it is turning False.

Just in case you close the door before the 5 minute waits, copy the actions under the Wait commands from the Then clause to the Else clause.

Posted (edited)

If something is changing during the Wait that causes the If to become False, then the program will cancel. A safer approach is to use two programs.

Program 1

If
        From    Sunset  - 20 minutes
        To      Sunrise + 20 minutes (next day)
    And Control 'garage sensor-Sensor' is switched On

 Then
        Set Scene 'Sc Garage Lights' 100%
        Set Scene 'Sc Front Floods' 100%
        Set 'LR Desk Lamp' 100%
       Run Program 2 (Then Path)

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

Program 2 (disabled)

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
         Wait  5 minutes
        Set Scene 'Sc Front Floods' Off
        Set Scene 'Sc Garage Lights' Off
        Wait  5 minutes
        Set 'LR Desk Lamp' Off

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

Edited by stusviews
Posted

Stusviews approach of splitting the program into two is probably good.  I am not convinced, however, that this has been the cause of your problems.  The only thing I see that could interrupt your wait statement (short of being triggered by another program) is the sunrise condition.  (Closing the door should not trigger or interrupt the program, (assuming ON is OPEN)).

Definitely check the program logs.  If, after five minutes, the lights remain on (and it is not sunrise) check the status of the program.  Is it true or false?  False would be an indication that your program was interrupted.  True would suggest a comm problem.

 

Posted
10 hours ago, Sub-Routine said:

If you check the Program Summary how long does the program run when the sensor triggers it?
If less than 5 minutes it is turning False.

Just in case you close the door before the 5 minute waits, copy the actions under the Wait commands from the Then clause to the Else clause.

 

13 hours ago, stusviews said:

If the lights are not incandescent, then line noise is possible. The first troubleshooting test is to right click on the program and select "Run Then." What's the result? BTW, closing the garage door prior to 5 minutes will end the program.

Success .. I checked the Program Summary, and the Program is operating as expected.  Closing the door does not terminate the program.

But, I finally had the opportunity to check for line noise by dissecting the scenes.  I found one light that the Program definitely did not like. Turns out it was also screwing up a KPL indicator light I was trying to resolve.  I removed the offending light from the program, and all is well with the world.

A big Thank You to all of you for helping me out!!

Guest
This topic is now closed to further replies.

×
×
  • Create New...