PDA

View Full Version : How do I trigger a HCA program from a KeypadLinc button press?


HCA Admin
Sep 01, 2009, 01:22 PM
The first step is to add the KeypadLinc to your design. To add a KeypadLinc select from the menu New - Device. On step 3 of the Wizard select as the manufacturer "Insteon" and the type one of the KeypadLinc models.
52

Once you complete the wizard open it's properties. Right-click on the KeypadLinc icon in the right pane or right-click on the device name in the left pane. Select the Linking tab.
51

There are two sections in this dialog. The upper section lets you create links in the KeypadLinc so that when a button is pressed HCA gets notified. The lower section is so that HCA can send commands that turn on and off the button LEDs.

To build the link from, for example, the C button to HCA, press the C button. This dialog appears:
53

Press the Start button. HCA sends commands over the powerline to the KeypadLinc to update its linking table. When complete, the Linking tab shows button C linked to HCA.
54

If later you decide you no longer want HCA linked to that button, open the dialog, select the linking tab and press the button again:
55

But building the link was only half of the question. The question was to have HCA start a program when the button was pressed. Now that the link has been built, open the properties dialog for the program you want to start and select the Triggers tab.
56


Double-click on the "Add New..." branch of the tree to dstart adding a new trigger.


57

Select the controller sending the command - in this example the KeypadLinc - and the button and command. Close the dialog with OK.

Now when the KeypadLinc button C buttons is pressed, HCA will receive the message and start your program.