Jump to content

Garage door open program made easy?


dpierre

Recommended Posts

Posted

OK, so I have a program that during the time of sunset to sunrise the next day when the garage door opens it turns on lights and sends a notification that the door has been opened.  No problem works fine.    The issue is, that we tend to leave our garage door open all evening after work, until a set time when another program closes it automatically.  That programs works fine.  The rub being.... When sunset hits it triggers the open program to execute (Because the condition of the door is open), causing the lights to come on and  the notification to be sent out.  My question is.... How do I only make these chain of events happen when when I actually open the door OR Not execute if the door has been open for some period of time?  I thought about installing another I/O linc to monitor the open door status and making condition to be met or not, before turning on lights and sending out the notification.  But figured there's got to be an easier way.  Thanks 

 

 

 

Posted

It just hit me.... To correct this I think all I have to do is make another condition,  for the program to look at the status of the garage sensor when in the open condition.  If open, don't launch the program. 

Posted
4 hours ago, dpierre said:

How do I only make these chain of events happen when when I actually open the door OR Not execute if the door has been open for some period of time? 

You left out some details (are you using an IOLinc sensor for status?  Is ON=OPEN?  Posting your programs?)

Remember, also, that for most Insteon devices, there is a difference between a "control" condition and a "status" condition.  These two conditions trigger a program differently.  

For your situation, a program a simple as:

if

time is from sunset to sunrise (next day)

and control 'garage door' is set on

then

turn on lights

send notification

else nothing

Posted

Hi Oberkc,

I'm out of town at the moment, so can't test any of this.  You're absolutely right, simple program.  But the issue is .... that we leave the garage door open all day.  Then when sunset hits it executes the program that turns on the lights and sends a notification.   I want to prevent it from doing this if the door is already open.  I only want this program to execute at the actual time I open the door.

I have never worked with variables.  But was thinking that if I could have some sort of timer sequence to launch after the door opened (say 3 seconds), and the program could ONLY be executed within that window, that inturn would prevent the program to execute at any other time, like when tho door is left open all day and sunset triggers it.  But if you could think of something else that would give the same result, I'd sure appreciate some advise.  Are you savvy with variables?

Posted

Feel free to try my suggested program, or not.  Yes, a variable solution could work, but this will add additional layers of complication and programs that (in my mind) are likely unnecessary.  Yes, I understand your problem, and it is my hope that the use of "control" condition would solve this problem.  Your description leads me to believe that your program is based upon a "status" condition.  Of course, you have not posted your program, so this is all assumption.

Another feature you have not mentioned is whether you want the lights to automatically turn off and under what conditions.  I did not address this in my suggested program.

Posted

How about creating a program that disabled the program that turns the lights on if the door is opened during daylight hours? When the door is finally closed, enable the program that turns the lights on.

Posted (edited)

Are you using status or control on your open program? Without seeing the program it is hard to say but I have used status and it has bit me on things like this. If you use control it only executes when the condition is met. If I'm saying that right. 

Posting the program may help with others to look at.. 

Edit:

Sorry.. looks like Oberck was ahead of me after reading more. 

Edited by sdynak
Posted

I think you guys are probably right... The more I ponder this I bet it's set up as a STATUS condition  and NOT control.  I'll take a look see when I get home.  I appreciate all the feedback from everyone, I'll let you know the outcome when I get back home.  Cheers!

  • Like 1
  • 2 weeks later...
Posted

Hi guys.... Well I got home and go figure.  Had it setup as status and not control.  Works like a charm.  Really appreciate all of the input from everyone.  Thanks!

Guest
This topic is now closed to further replies.

×
×
  • Create New...