X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => OnAlert => Topic started by: jdolina on March 17, 2007, 08:15:58 PM

Title: Email on sensor closed
Post by: jdolina on March 17, 2007, 08:15:58 PM
I have setup a macro to email when a door window sensor is opened and than another one when it is closed. I currently have 3 setup and the problem is that I get phantom emails about 1 an hour for the sensors saying closed. The sensor was never triggered open? Is this a keep alive? How can I set a macro to only send the closed email after an open? thanks
Title: Re: Email on sensor closed
Post by: Puck on March 17, 2007, 10:03:18 PM
Yes this ~ hourly sensor closed signal is the check in.

What you will have to do is have the sensor open macro set a flag and have the sensor close macro check for that flag to be set in order to send an email.

Just make sure the sensor closed macro also clears that flag so it doesn't execute hourly.
Title: Re: Email on sensor closed
Post by: jdolina on March 17, 2007, 10:34:39 PM
Thanks for the response.

Setting a flag would require smart macro's.