Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: macro help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 22 2010 at 19:19 | IP Logged Quote smogman

ok this has to be very simple but for some reason I can not figure it out. I have found the macro's posted for ezflora but for the life of me I can not figure out how to actually input them. step by step please.
also I have not figured out the kpl programing yet. in insteon explorer it has button 1-6 and toggle/on/off and led on/off. what is this? how do I make letter A on kpl to control switchlinc? I love this software but very technically challenging. I feel like a 10 yr old trying to fly the space shuttle.
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 22 2010 at 19:44 | IP Logged Quote grif091

KeypadLincs operate in 6 button mode (large ON/OFF buttons top and bottom with 4 small secondary buttons in the middle) or 8 button mode where there are 8 small buttons. If the KeypadLinc has 8 buttons go to KPL Config tab under Insteon Explorer and set the Buttons: field to 8 and Save. KeypadLincs can be ordered in 6 or 8 button mode as the default but each KPL can be configured to operate in either mode.

Once the KPL has been configured to match the actual number of buttons installed, under the Links tab double click on the KeypadLinc device entry making it the "Current Device". Then drag/drop the SwitchLinc into the "Responder (of Current Device)" section. The Blue column headings in the Responder section represent information associated with the Current Device, the Green columns represent information associated with the Responder Device. The Blue Group column identifies which KPL button is associated with the link. Group 1 = A, Group 2 = B, Group 3 = C, and so on for a KPL in 8 button mode.

Then click on the word Save to save the changes in the PowerHome database. The Enable Pending option must be checked for the actual link definition to be rolled out to the KPL and SwitchLinc in a Powerhome background task. When that background activity completes the button that is associated specified Group should now control the SwitchLinc.

I’ll have to look at Dave’s macro to see what input parameters it is expecting. I’m pretty sure Dave documented that in one of his posts.

Below the actual macro itself Dave has examples for controlling individual valves (zones) which is where I suggest you start. You can move on the PGMs once you have mastered individual valve control.

Edited by grif091 - April 22 2010 at 19:52


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 22 2010 at 20:53 | IP Logged Quote smogman

I'm catching on now. so a few questions. I did exactly as you said. and everything say's verified but it does not work. I tried 2 different kpl's and same thing. ctlr sort is blank, group 1 and button 0. The macro question was purtaining to actually inputting them into PH. I see where it say's macro/formula but I don't know how this works in anyway.
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 22 2010 at 21:00 | IP Logged Quote smogman

One more question. The on button of one kpl controlled by the on button of another kpl. is this possible?
And can you please explain the KPL configure tab.

Edited by smogman - April 22 2010 at 21:12
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 22 2010 at 21:16 | IP Logged Quote grif091

Yes, KPL1 button A as a controller can be linked to KPL2 button A as a Responder. KPL1 button A will turn On/Off KPL2 button A. Normally you cross link the buttons so that if you physically press KPL2 button A, KPL1 button A will turn On but this is not an Insteon requirement. My living room lights can be controlled from two different KPL button As and two different ICON switches. Pressing On at any of the four locations brings the living room lights On and the On status is reflected in both KPLs and both ICON switches. This is standard Insteon cross linking which can be done under Powerhome or done with Set button linking.

Can you post the Link tab definition with the KPL as the Controller and the SwitchLinc as the Responder. This is a basic link definition and should work if it shows verified in both columns.

Use Powerhome Multi Editor (in SQL mode). Copy/Paste the macro lines from the forum post into the Editor and then "Execute" the pasted SQL statements which will create the Macro.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 23 2010 at 01:39 | IP Logged Quote smogman

ok I understand the macro's now. thank you. I understand the kpl to kpl link but what about the kpl on/off. so my kpl#1 controls a light with the on/off and other insteon light's with a/b/c/d. and the kpl#2 does the same thing. can kpl #2 "on button" control kpl #1 on button. not the a/b/c/d's but the on/off part of the switch. kind of confusing the way I explained it but I hope you get it. So if it's 1-6 for the group for a/b/c/d, then what is on and off? I'm trying to control the circuit the kpl is hooked to from a different kpl. also what about the kpl config tab. can you explain this function?
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 23 2010 at 02:58 | IP Logged Quote smogman

ok I answered my last kpl complicated question. I messed around with it till I figured it out. except for the simplest part.
so I put group 1/button 1 and was able to link the on/off buttons of the kpl. But, when I try to control a switchlinc from a kpl a/b/c/d it will not work. I got the keypadlinc to work with the on/off butttons but not the a/b/c/d buttons. I have used group 1-4 and nothing. I tryed to change the "button" number to other than 0 but it will not save. I also tryed selecting the switchlinc and adding the kpl to controller and vice versa. and nothing. You did not say anything about the button number but I'm asuming it's because you can only select 0 anyways? When I get this part fixed I'll tackle the macro's. Thank you.

Edited by smogman - April 23 2010 at 03:01
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 23 2010 at 03:29 | IP Logged Quote smogman

ok now I have new information to my problem. I went and manually linked the 2 kpl's to one switchlinc and this is what I got. a bunch of link status' say checking and some say link not found. group 3 button 3 one on link. and the switchlinc is configured on button "A" on the kpl. but all the kpl's work and so do the switchlinc's.
I also have some links that have 2 I.D.'s. One is group3 and has kpl and switchlinc on group 3. I think this might be normal but just putting the info out there. but now that the kpl's and switchlinc's work how they should, P/H show's "link not found" and "checking". is there a way to save the info to P/H and then it read correctly? I don't know? sorry for all the confusion.
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 23 2010 at 04:26 | IP Logged Quote grif091

The Blue Group number column reflects the Group number that the hardware device uses when the button/paddle is pressed. For a 6 button KPL the large ON/OFF buttons use Group 1 when either is pressed. The large ON button sends a Group 1 On when pressed (command is not important when discussing links) and the large OFF button sends a Group 1 Off command when pressed. The 4 small secondary buttons A,B,C,D use Group 3,4,5,6 respectively. Pressing small button A causes the device to send Group 3 On, then Group 3 Off with subsequent press (assuming button is operating in Toggle mode, which is the default). To complete the Controller side of the picture a SwitchLinc top paddle press sends a Group 1 On and a bottom paddle press sends a Group 1 Off. The four small center secondary buttons on an 8 button KPL, Buttons labeled C,D,E,F use the same Group numbers, 3,4,5,6 respectively. In other words the 4 small secondary buttons in the middle of a KPL, regardless of whether a 6 button KPL or an 8 button KPL all use Groups 3,4,5,6. Only the external button label changes. In the beginning the 4 center secondary buttons were labeled C,D,E,F regardless of whether a 6 button KPL or an 8 button KPL.   Smartlabs did a survey asking users about this an apparently enough users said they preferred the 4 center secondary buttons labeled A,B,C,D in six button mode and C,D,E,F in 8 button mode.   I think this way is actually confusing particularly when the hardware uses Group 3,4,5,6 for these buttons regardless of how they are labeled.

The Green Button column in the "Responder (of Current Device)" section reflects the output unit that is to be controlled. For almost all Insteon devices, including the SwitchLinc, the Responder Green Button value is 0. A KeypadLihc is the exception, when a Responder with the Green Button column being the same number as the Group number used by the button when pressed.

So for a 6 button mode KPL1 ON/OFF button to control 6 button mode KPL2 ON/OFF button , the Blue Group number for KPL1 will be 1 (assuming KPL1 is Current Device) and the Green KPL2 ON/OFF Button number is 1 (assuming at this point KPL2 has been dragged to the Responders (of Current Device) section) reflecting that the KPL2 output unit to respond is the ON/Off buttons and therefore also the load connected to KPL2. There is no requirement for a load to be physically connected to either KPL1 or KPL2 for the button LEDs to respond.   In my case where 2 KPLs and 2 ICON switches control the Living Room lights, on one of the ICON switches is actually connected to the Living Room lights. The Red load wire on the 2 KPLs and the other ICON switch are all capped off.

I have stayed away from using the "Controllers (of Current Device") section choosing to make the Current Device the Controller and Drag/Drop the Responder device to the “Responder (of Current Device)” section. In practice it is very common to define entries in both the Controllers (of Current Device) and Responders (of Current Device) sections which allows easy cross linking of devices to keep the KPL button LEDs and SwitchLinc status LEDs in sync. Just keep in keep in mind the Blue columns reflect the information related to the Current Device. Devices dragged to the Controllers (of Current Device) reverse the orientation when thinking about information. When filling in information in the “Controllers (of Current Device) section, the Current Device is functioning as a Responder, when filling in information in the “Responders (of Current Device)” section the Current Device is a Controller.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 23 2010 at 04:57 | IP Logged Quote grif091

Hardware knows what it needs so using the Set button to establish links will always work. When you use PowerHome to define the links, although much easier because it is all done at the keyboard, the information entered in Group and Button columns especially have to be what hardware requires or the links written will not work.

However, now you have a new set of problems because Powerhome keeps track of where it writes each link record. This can create conflicts with link records written by hardware using the Set button method.   There are various ways to clean this up but I think the easiest way is to delete the KPLs and SwitchLinc devices and re-add them to Powerhome. PH will read the link database of each device and since the links are functional the information in the various columns will be correct. You can see what valid link definitions look like. Not a good idea to establish links through Powerhome and also with the Set button. There are ways to make that work but for now do all the links one way or the other.   That is, all with Powerhome or all manually with the Set button.


Edited by grif091 - April 23 2010 at 04:58


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 24 2010 at 01:54 | IP Logged Quote smogman

ok now I have a lot better grasp on this. I think I got the linking section down. can you explain the "KPL CONFIG" option?
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 24 2010 at 12:31 | IP Logged Quote grif091

The KPL Config tab manages configuration specific to KeypadLinc devices. Things like the number of buttons, local On level and Ramp Rate and X10 address. Each KPL button can operate in one of three modes, Toggle (default), non-Toggle On, non-Toggle-Off.   All of this KPL function is described in the User Guide for the KPL.   The line of 1-8 LED On LED Off check boxes are associated with linking KPL buttons within the same KPL.   There is a glitch in this area when working with the later levels of KPL firmware and I would suggest using the procedures in the KPL User Guide if you want to link KPL buttons within the same KPL.   This has nothing to do with linking a KPL button to/from another Insteon device which is handled with the Link tab.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
smogman
Newbie
Newbie
Avatar

Joined: April 20 2010
Online Status: Offline
Posts: 14
Posted: April 24 2010 at 14:08 | IP Logged Quote smogman

Thank you so much for all your help and time. I'm now going to work on the control center. I'll do some search's first then ask some questions on a new thread.
Back to Top View smogman's Profile Search for other posts by smogman Visit smogman's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum