mattford1 Posted June 4, 2008 Posted June 4, 2008 Hi there- Can you have a button on a keylinc pad trigger a program? I've not had any luck getting it to work. Thanks! Matt
MikeB Posted June 4, 2008 Posted June 4, 2008 Sure. What problems are you having? First thing would be sure that the ISY is seeing the KPL button presses. Go to the ISY's Administrative Console, and try pressing the button ON and OFF. Does the ISY see the status changes? Can you post the program you are trying to have run?
mattford1 Posted June 5, 2008 Author Posted June 5, 2008 Hi there. I guess the more specific question: how would you code this. Would you have the buttons set to toggle or not. Would you do any scene assignment? What is the cleanest way? Thanks! Matt
aLf Posted June 5, 2008 Posted June 5, 2008 mattford: Just set them as toggle. I'd write the program as follows; PROGRAM 1 IF: KPL 1 is on THEN: (Run program A) PROGRAM 2 IF: KPL1 is off THEN: (turn off program A) aLf
Sub-Routine Posted June 5, 2008 Posted June 5, 2008 Any Insteon controller can run a program. You do not have to be in non-toggle mode. Here is an example. These programs are in a folder that is only true between a logical midnight and a logical dawn. Folder Conditions for 'When Midnight' Add conditions to limit when programs in this folder are allowed to run. If From 11:00:00PM To 4:44:00AM (next day) And Program 'Vacation On' is False Or From 11:59:00PM To 5:14:00AM (next day) And Program 'Vacation On' is True Then Allow the programs in this folder to run. When someone turns on the backyard light between midnight and dawn the first program turns on all the outside lights. Backyard Fast On If Control 'Backyard' is switched Fast On Then Set Scene 'Outside Lights' Fast On Else - No Actions - (To add one, press 'Action') When they turn off the backyard light between midnight and dawn this program will override that behavior and turn the light on to a dim level. Backyard Off If Control 'Backyard' is switched Off Or Control 'Backyard' is switched Fast Off Then Set 'Backyard' 49% Run Program 'All Off OL Dark' (Then Path) Else - No Actions - (To add one, press 'Action') Then it resets all the outside lights to their midnight levels. All Off OL Dark If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set Scene 'Outside Lights - Evening' On Wait 3 minutes Wait 2 minutes (Random) Set Scene 'Outside Lights - Midnight' On Else - No Actions - (To add one, press 'Action') I have similar programs set up for all our outside light switches. Rand
mattford1 Posted June 6, 2008 Author Posted June 6, 2008 Perfect explanation. Thanks for taking the time to post the examples. Cheers, Matt
Scottmichaelj Posted June 13, 2008 Posted June 13, 2008 So how would one use a KPL secondary button to run a program? For example in my master bedroom I want KPL button B to run the program "all off" to turn all insteon lights off. I have the button in nontoggle mode so it doesnt stay lit when I hit it but having a hard time getting the program to run properly each time. Heres what I have is this correct or is there a better way? IF KPL MB-B is switched on or KPL MB-B is switched off THEN Set scene 'My Lighting' Fast off ELSE No actions Thanks in advance!
MikeB Posted June 13, 2008 Posted June 13, 2008 That looks fine. I would take the button out of non-toggle mode, hit it a bunch of times on/off, and make sure the Administrative Console recognizes your button presses. You may have a communication issue between the KPL and your ISY.
Recommended Posts