Author |
|
traviskleckner Senior Member
Joined: February 26 2007 Location: United States
Online Status: Offline Posts: 118
|
Posted: November 30 2009 at 14:49 | IP Logged
|
|
|
Hello.
I've got a garage door kit now that illuminates a button
to indicate that the door is open...what I would like is
a method to text me (which I can get via sending an e-
mail) if the door is open for more than an hour.
Any thoughts on how to accomplish that? My thoughts so
far are:
1) write a variable every time the garage door opens (or
maybe one that says open/closed and one that's a time.
Or it's a time when open and blank when closed) and then
have a timed event that runs every 1/2 hour to check it
(I realize this could possibly mean the door is open
longer than an hour, but that's not the important part)
2) Write a timed event that actually checks the status
(not sure if that's just generating unneeded PL traffic
and if that's a bad thing or not).
Anyone have a better idea?
Thanks in advance.
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: November 30 2009 at 16:49 | IP Logged
|
|
|
With Powerhome there are generally many ways to accomplish a result. An approach is to define a Trigger that fires on the Inteon Group In On that turns on status LED. The Trigger invokes a Macro which stores current time in a temp variable and waits for 1 hour. A second Trigger fires from the Insteon Group In Off when the door closes and issues a ph_killmacrowait which brings the macro out of its wait. After the wait the macro compares current time against the time stored in the temp variable. If less than an hour the macro exits without further processing. If an hour has elapsed an email is issued.
Sometimes I pick functions in Powerhome I have not used before to do something just to play with a new function. I'm sure something with Timed Events would also work. Create a timed event when the door opens that fires in 1 hour. Change the timed event when the door closes to fire immediately. If an hour has elapsed issue the email. I'm sure that the folks with more experience will have other ideas.
__________________ Lee G
|
Back to Top |
|
|
MrGibbage Super User
Joined: October 23 2006 Location: United States
Online Status: Offline Posts: 513
|
Posted: December 02 2009 at 20:52 | IP Logged
|
|
|
Using my elk and PH I have quite a lot going on with my
garage door. I am quite paranoid about the garage door,
so I have automated every aspect of the garage door.
1. Using the elk, I have one of the keypad f-buttons set
to mirror the state of the garage door. If the door is
open, the f-button lights up. I can the press the button
to close the garage door. I purposely set it up so I
cannot open the garage door remotely. I saw no need to
ever want to do that.
2. Again using only the elk, I have it set up to make a
voice announcement every hour if the garage door is left
open. It's easy: start a timer when the door opens and
whenever one hour elapses make the announcement and reset
the timer back to zero (but keep it going). So, every
hour the door is open I get an announcement in the house
that says "Garage door is open".
3. Using PH, check to see if the garage door is close
six minutes after the alarm system is armed. If it is
not, send a text message and email to me.
4. Using the powerhome control center, I wrote a webpage
that fits perfectly on my cell phone screen (t-mobile
G1). The web page displays the status of the garage door
and has a big button to close the door (but again cannot
open the door).
5. I'm about to install a webcam in there too so I can
"see" if the door is open or closed too.
Paranoid? Yes. But I never, ever leave my garage door
open any more.
If you need details on any of these solutions, please let
me know.
|
Back to Top |
|
|