Jump to content

quick program to sent notification when garage door is left


Recommended Posts

Posted

here is my program that alerts me when garage door is left open for more than 30 minutes. I know a lot of you guys already know this, but i know there are guys like me who would love to see a program written out so it can be copied. I would sure like to see a section with nothing but programs so we can see how things work, instead of going through hundreds of threads trying to discover them. hope this helps someone

 

If
       Status  'garage door sensor' is On

Then
       Wait  30 minutes 
       Send Notification to 'text' content 'garage door open'

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

Posted

in my case i work in my garage for long periods of time with the door open, so i have a program that only sends me a text message when motion is detect with the door open and alarm armed (arms automatically at night)

Posted

When I saw this thread I figured I would share mine as well. I started with a simple notify system then expanded it to include an autoclose. It's actually 2 programs:

 

Garage.CheckOpen

If
       Status  'Outside - Garage / Garage-Sensor' is On
   And $GarageHold is not 1

Then
       Wait  30 minutes 
       Set 'Outside - Garage / Garage Toggle' 10 (Beep Duration)
       Send Notification to 'xxxx - Cell' content 'Garage Close Warning'
       Send Notification to 'xxxx - Cell' content 'Garage Close Warning'
       Wait  9 minutes and 50 seconds
       Repeat 10 times
          Set 'Outside - Garage / Garage Toggle' 10 (Beep Duration)
          Wait  1 second
       Repeat 1 times
          Set 'Outside - Garage / Garage Toggle' On
          Send Notification to 'xxxx - Cell' content 'Garage Close'
          Send Notification to 'xxxx - Cell' content 'Garage Close'
          Wait  30 seconds
          Send Notification to 'xxxx - Cell' content 'Garage Close Failure'
          Send Notification to 'xxxx - Cell' content 'Garage Close Failure'

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

 

Hold Garage 2 Hours

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       $GarageHold  = 1
       Wait  2 hours 
       $GarageHold  = 0

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

  • 2 months later...
Posted

Thanks for sharing both garage programs, just finished installing my sensor and am setting up a notification - this is very helpful!

 

I would sure like to see a section with nothing but programs so we can see how things work, instead of going through hundreds of threads trying to discover them.
Agreed!
Posted
I would sure like to see a section with nothing but programs so we can see how things work, instead of going through hundreds of threads trying to discover them.

Is that not the current section "how are you using the ISY"?

  • 2 weeks later...
Posted

Quick question on nuttycomputer's code. Don you need another program to stop your program when he garage closes so it doesn't always run to completion?

 

Bet,

Joe

Posted
Quick question on nuttycomputer's code. Don you need another program to stop your program when he garage closes so it doesn't always run to completion?

 

No. If the status of the sensor changes, the program will trigger an evaluation (false). At the end of the next wait period, it wil halt execution and run the "else" path.

Guest
This topic is now closed to further replies.

×
×
  • Create New...