Please login or register.

Login with username, password and session length
Advanced search  

News:

The X10Hub (PiX10Hub) is here! Created by the Community, for the Community.:)% #:)

Author Topic: Email on sensor closed  (Read 9557 times)

jdolina

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Email on sensor closed
« 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
Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Email on sensor closed
« Reply #1 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.
Logged

jdolina

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Email on sensor closed
« Reply #2 on: March 17, 2007, 10:34:39 PM »

Thanks for the response.

Setting a flag would require smart macro's.
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.