Please login or register.

Login with username, password and session length

Author Topic: Security Sensor Email Macro Using Conditions  (Read 24808 times)

KDR

  • Hero Member
  • *****
  • Helpful Post Rating: 53
  • Posts: 758
    • Home Automation Chat
Security Sensor Email Macro Using Conditions
« on: October 25, 2007, 06:01:27 AM »

Narrative:
AHP 3.206
Utilizes 3 separate macros, needed to use conditionals with security sensors.
Macro 1 (M12) is triggered by my Door/Window sensor. Macro 1 turns on a dummy appliance module (L12) which is set to the same house/unit code as macro 2 (L12). Macro 1 must be run from the PC.
Macro 2 is triggered by macro 1 and macro 2 contains the conditionals. Macro 2 must be marked "Store in Interface". Macro 2 also turns on a dummy appliance module (K12) if the conditionals are met. This dummy appliance module has the same House/Unit code as Macro 3 (K12).
Macro 3 contains the email command and must be run from the PC.

Macro 1 Name:
Man Door Email 1 (M12)

Trigger:
Door/Window Sensor Open (M12)

Action:
Turn L12 On

-----------------------------------------------------------------------------
Macro 2 Name:
Man Door Email 2 (L12)

Action and Conditionals:
Trigger conditions L12 On and
The day of the week is MON, TUE, WED, THU, FRI and
The time is between 7:00 am and 5:00 pm
End trigger conditions
Turn K12 On

----------------------------------------------------------------------------
Macro 3 Name:
Man Door Email 3 (K12)

Action:
Send Email Notification - youremailaddress@youremail.com - The garage man door was opened.

Additional notes:
You must have the OnAlert and MyHouse plug-ins to use this setup.

----------------KDR
« Last Edit: October 25, 2007, 06:11:29 AM by KDR »
Logged
Note: "Guests" may read the X10 forum , but you must register to post!

When I'm online you can find me in the Home Automation Chat Room!

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Security Sensor Email Macro Using Conditions
« Reply #1 on: November 11, 2008, 12:26:02 PM »

Why do you do 3 macros instead of just 1 to send the email?
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Security Sensor Email Macro Using Conditions
« Reply #2 on: November 11, 2008, 12:36:35 PM »

I know about not being able to store in CM15 if using security thing but still seems redundant to me?
Logged

JMac

  • Hero Member
  • *****
  • Helpful Post Rating: 23
  • Posts: 462
Re: Security Sensor Email Macro Using Conditions
« Reply #3 on: November 11, 2008, 03:34:22 PM »

I don't understand the thing either, but for some reason the time conditionals have to be in a separate macro.  First macro for the security conditionals, second macro for time conditionals (store in interface), and third macro for action to be taken[EMail, etc.](run from PC).  I've tried other methods with no luck and this one works for me.  Thanks to "KDR".
Logged

ihs2day

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: Security Sensor Email Macro Using Conditions
« Reply #4 on: November 24, 2010, 10:11:58 PM »

OK, so I can do the workaround for getting emails sent using a time condition, but what about a Armed Away condition. I would like to receive an email stating a sensor triggered only when the system is in an Armed Away state. Is this possible. I need help!
Logged

JMac

  • Hero Member
  • *****
  • Helpful Post Rating: 23
  • Posts: 462
Re: Security Sensor Email Macro Using Conditions
« Reply #5 on: November 24, 2010, 11:01:54 PM »

Yes - In the First Macro.  Just select "Exactly" - "Armed Away".  If you do a search under "OnAlert and Time Conditionals", you will find KDR's explanation and graphic description.  I assume this will work the same with the new versions of AHP.  I'm using 3.228.
« Last Edit: November 24, 2010, 11:15:33 PM by JMac »
Logged
 

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