Security Sensor Email Macro Using Conditions

Started by KDR, October 25, 2007, 06:01:27 AM

Previous topic - Next topic

KDR

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
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

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

mike

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

JMac

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".

ihs2day

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!

JMac

#5
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.

SMF spam blocked by CleanTalk