Jump to content

Program Question....Garage Lights


jmed999

Recommended Posts

Posted

Ok I have the Elk M1G, an Insteon motion detector in the garage, and the garage Insteon relay kit.

 

-I would like to turn the garage lights on for 10 minutes when either the garage is opened, or when the door to my house from the garage is open (may use the motion detector and/or the door sensor on the entry door). How would a program to do this look?

 

-I also want the ISY to send me a text when the garage motion is detected and when the M1G is armed away or stay. The problem here is when we leave we arm the M1G then walk out to the garage and get int he car and leave. I don't want a notification then. I only want it later after we leave. I also don't want the notification when we arrive, open the garage door and pull in the driveway. How would I program this?

 

Thanks guys!

Posted

I think this should work for your second question. I don't have a motion detector but I will take a guess that they work like a switch when triggered and used a "control on" terminology. I also believe that all of the Elk armed states are triggers when they become those states. So when you leave, there is an exit timer. When the exit timer finishes, the house becomes armed away or whatever so until the exit timer finishes, the program is false. After that, any motion detector activity triggers the program to true.

 

It then waits 2 minutes before sending the email. This allows time for the program to terminate if it retriggers to false. This will happen if the system is disarmed and prevent an email from sending when you arrive home and turn it off prior to 2 minutes.

 


If
       Control 'motion detector' is switched On
   And (
            Elk Area 'Main House' 'Armed State' is Armed Away
         Or Elk Area 'Main House' 'Armed State' is Armed Stay
         Or Elk Area 'Main House' 'Armed State' is Armed Night
         Or Elk Area 'Main House' 'Armed State' is Armed Vacation
       )
   And Elk Area 'Main House' 'Armed State' is not Disarmed

Then
       Wait  2 minutes 
       Send Notification to 'lou gmail'

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


 

 

For the first question, I already do this with the door contacts. They are designed to turn the light on if they are already off. If they are already on, this program does not do anything. I assume if the light is already on, I have it on for a reason, and don't want someone opening the door to cause it to shut off in a few minutes. I also have it set up with over to programs so that if someone pushes the "on" button while the program is running, the program terminates and the light does not shut off. It also beeps at you 30 seconds before turning off to warn you.

 

If
       Program 'Dark Outside' is True
   And Elk Zone 'Back Door' is Violated
   And Status  'Garage / Third Garage-Coach L' is Off
   And Status  'Garage / Third Garage-Breez L' is Off

Then
       Run Program 'back door 2' (Else Path)

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


Back Door 2

If
       Control 'Back Hall / Back Hall Ext Dr-Coach' is switched On
    Or Control 'Back Hall / Back Hall Ext Door-Breezway' is switched On

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

Else
       Set Scene 'Coach Lt S' On
       Set Scene 'Breezway S' On
       Wait  5 minutes 
       Set 'Back Hall / Back Hall Ext Door-Breezway' 250 (Beep Duration)
       Wait  30 seconds
       Set Scene 'Breezway S' Off
       Set Scene 'Coach Lt S' Off




Guest
This topic is now closed to further replies.

×
×
  • Create New...