Jump to content

quick program to sent notification when garage door is left


pyroman175@yahoo.com

Recommended Posts

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')

Link to comment

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')

Link to comment
  • 2 months later...

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!
Link to comment
  • 2 weeks later...
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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...