X10 Community Forum

🖥️ActiveHome Pro => Smart Macros => Plug-ins => User-Designed Working Macros => Topic started by: KDR on October 25, 2007, 06:01:27 AM

Title: Security Sensor Email Macro Using Conditions
Post by: KDR 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.

(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)----KDR
Title: Re: Security Sensor Email Macro Using Conditions
Post by: mike on November 11, 2008, 12:26:02 PM
Why do you do 3 macros instead of just 1 to send the email?
Title: Re: Security Sensor Email Macro Using Conditions
Post by: mike 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?
Title: Re: Security Sensor Email Macro Using Conditions
Post by: JMac 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".
Title: Re: Security Sensor Email Macro Using Conditions
Post by: ihs2day 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!
Title: Re: Security Sensor Email Macro Using Conditions
Post by: JMac 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.