PowerHome™2 & Elk M1Gold Guide Empower Your Home™ With PowerHome Copyright © 1999,2008 PowerHome Automation, LLC PowerHome™ and Empower Your Home™ are Trademarks of PowerHome Automation, LLC Web: http://www.power-home.com Email: support@power-home.com Revision 2.1.
TABLE OF CONTENTS INTRODUCTION ........................................................................................................................................ 3 POWERHOME2 & ELK............................................................................................................................. 4 1 USING POWERHOME2 TO DOWNLOAD INSTEON LINKS TO ELK M1XSP............................................ 4 1.1 Connecting Your PC to the Elk M1XSP .....................................................
Introduction PowerHome2 and the Elk M1Gold work together in two ways. First, you can use PowerHome2 to download Insteon device information to the Elk-M1XSP Lighting Interface. Without PowerHome2 the user has to manually ‘tap’ link each Insteon device into the M1XSP. PowerHome2 replaces this awkward process, allowing easy and fast Insteon linking to the Elk.
PowerHome2 & Elk 1 Using PowerHome2 to Download Insteon Links to ELK M1XSP To use Elk M1G to control Insteon devices you need an ELK M1XSP Serial Port Expander ‘flashed’ with a special firmware version that only supports Insteon. The current firmware version as of this writing is 50.0.28 and is available from Elk. You also need an Insteon Powerlinc Serial Controller V2 (2414S). The Insteon 2414S Controller is attached to the M1XSP via an RS232 cable supplied with the controller.
1.2 Using PowerHome2 to transfer Insteon information 1.2.1 In PowerHome2 open Insteon Explorer and navigate to the Elk M1XSP tab. 1.2.2 Type in the COM port that you're using to communicate to the M1XSP. If the COM port being used is the same COM port used by any PowerHome2 Controller, then you must first uncheck "Controller Connected" in the File menu before continuing. 1.2.3 The first sub- tab, “PowerHome”, will show you all of the devices that are defined within PowerHome2.
1.2.6 When done, just disconnect the cable from PowerHome2 and reconnect the Powerlinc to the M1XSP and you are ready to control Insteon devices from the Elk. **Note: If the Elk does not seem to track Insteon status properly when it is locally controlled, you will need to program the Insteon Device ID’s into your 2414S as well. This procedure is outlined in the Appendix. 1.
2 Interfacing PowerHome2 and ELK M1G While section 1 detailed some integration of PowerHome2 and your Elk M1XSP, complete integration of the ELK M1 panel and accessory boards is available using the Elk M1 Gold as a PowerHome2 controller. PowerHome provides support for all aspects of the Elk M1 Gold. The Elks lighting devices (X10, Insteon, etc.) are available as X10 devices in PowerHome.
2.1.3 Right Click on a blank portion of the screen to create a new blank line. 2.1.4 Give the Elk an ID such as “ELK”. 2.1.5 The controller type can either be Elk M1 Gold (Serial) or Elk M1 Gold (Ethernet), as appropriate. 2.1.6 Click the ‘Active’ button. 2.1.7 If the Controller Type was set to Serial, click the ‘Settings’ button to define the COM port . If the Controller Type was set to Ethernet, click the ‘Settings button’ to define the IP address and Port.
2.2 Defining Elk Inputs and Outputs in PowerHome2 In order for PowerHome to work properly with the above Elk controls, you MUST first use the Elk RP configuration software to setup each control appropriately. This cannot be done from within PowerHome since the protocol for this configuration is proprietary and is not made available to developers. If your Elk is already up and running you have already done this.
2.2.3 Fill in the blank line as appropriate (see graphic). When defining digital outputs, digital inputs, and analog inputs, the controller will be the ID of the Elk controller, the unit will be the board number from 1 to 13 (1 is used for the controls onboard the Elk), and the point will be the individual device number on the board from 1 to 16. Temperature inputs will have a unit of 1 for temperature probes, 2 for keypads, and 3 for thermostats.
3 Manipulating Elk data in PowerHome2 3.1 PowerHome2 and Elk - Triggers PowerHome supports standard triggers for the analog and digital Elk control types. When a digital output changes state either from programming internal to the Elk or from PowerHome control, a digital output trigger will be fired. Similarly, when a Elk input changes state, a PowerHome MultiState Input trigger will automatically be fired. When an analog input changes, a PowerHome Analog Input trigger will be fired.
Request ASCII String Text Descriptions - 290. Type in parm1, Textnum in parm2. Data returned in ret3. Request Thermostat Data - 300. Thermostat in parm1. Temp returned in ret1, Flags returned in ret2, CoolSP in ret3, HeatSP in ret4. Request Temperature Format - 310. Type in parm1, Device in parm2. Temp returned in ret1. Request Temperature Data - 312. No parms. Data returned in ret3. Request Valid User Code Areas - 320. Usercode in parm3.
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”.
6. Line 10 evaluates the temporary variable 5 to see if it is equal to 1174. 1174 corresponds to “Area is Disarmed” and is received by temporary variable 5 when the trigger you create below is fired. 7. If temporary variable 5 is equal to 1174 than the macro proceeds to the next line (line 20) and executes line 20. If temporary variable 5 is not equal to 1174 then the macro jumps to the 3rd line after the line it is on (i.e. line 40) and executes line 40. 8.
Now, each time your Elk is armed or disarmed the trigger will fire, the macro will execute and you will receive a text message (or email). 4.4 Using a PowerHome2 formula to Open/Close an Elk Relay Use the following formula to control close output 13 on the Elk. ph_setotherdigitalout ("ELK", 1, 1, 13, 1) The formula can be explained as followed: ph_setotherdigitalout ( controller, type, unit, point, status ) Argument Description controller The ID of the controller. type The type of the Digital point.
3111111100000000 with the 3 meaning that zone 1 is "Armed with Exit Timer working". Consequently, if you this arming was done as "Arm Away", then [TEMP5] will look like this: 10000000 indicating that zone 1 is set for "Armed Away" and that zones 2 thru 8 are "Disarmed".
Appendix Loading the TimerCoreApp into the 2414S from PowerHome The TimerCoreApp application must be present in the 2414S in order for the Elk M1XSP to communicate with the 2414S. Although this application is pre-installed in many 2414S, apparently it is not installed in all 2414S that have been shipped. PowerHome2 can install this application into the 2414S for you. To do this you add the 2414S as an Insteon Controller in PowerHome2. 1. Connect the 2414S (PLC) to a serial port on your PC and an AC outlet.