PowerHome2 & Elk M1 Gold Manual

13
Replace ELK above with the ID of the controller you assigned to your Elk within
Powerhome2.
4.2 Who Armed or Disarmed the Elk?
To find out who armed or disarmed your Elk set up a PowerHome trigger (PowerHome
Explorer/PowerHome/Triggers).
Define the “Trigger Type” as “Generic Controller”.
Define the “Trigger Id” as the ELK controller name you assigned to your Elk within
PowerHome2.
Define the “Trigger Id Number” as “Command 1”.
Define the “Trigger Value” as “Option1”
Leave the Boolean field as “1”.
The Trigger can fire a macro, turn on a light or basically do anything you can do with
PowerHome2’s macros and formulas.
If you set the trigger to fire a macro the following values are available within the macro:
[Temp2] = the Elk user number from the Elk.
[Temp5] = four digit value “1173” which corresponds to ‘area armed’ or ‘1174’ which
corresponds to ‘area disarmed’.
[Temp10] = Date and Time of Trigger fire.
[Temp4] = Elk area number.
4.3 Send a Text Message when the Elk is Armed or Disarmed
To send a text message (or email) when your Elk is armed or disarmed set up a
PowerHome macro and trigger The trigger fires when the Elk is armed or disarmed and
builds on the information used in example 4.2 above.
First define the PowerHome2 Macro (PowerHome Explorer/PowerHome/Macros).
1. Right Click on a blank area of the screen and click “Insert” to add a blank line to
the list of macros.
2. Name you macro “Elk Email” and add a description. The rest of the line you can
leave at its default values.
3. Click on the left most column to open the macro detail screen.
4. The macro consists of 4 lines. Each line is added by right clicking a blank
portion of the screen and clicking “Insert” to add a blank line. The lines are
automatically numbered in increments of 10.
5. There are 7 columns in the Macro Detail Screen. You are going to fill in only 4
of those columns detailed here:
Seq Command Value Send Keys…Formulas
10 Jump if(ph_getvar_n(2,5)=1174,1,3)
20 Formula Post
ph_sendsmtpemail("outgoing.verizon.net",25,("Your account name at Your ProviderYour optional
account Id,Your optional password"),
"Your Email Address or Text Address","ELK is Disarmed","HOME ACTIVITY at "+today()+
"~r.The Elk is DISarmed by User "+ph_getvar_s(2,2))
30 Jump 999
40 Formula Post ph_sendsmtpemail("outgoing.verizon.net",25,("Your account name at Your ProviderYour optional
account Id,Your optional password"),
"Your Email Address or Text Address","ELK is ARMED","HOME ACTIVITY:~r.The Elk was Armed
at"+today()+" by User " +ph_getvar_s(2,2 ))