Author |
|
craw Newbie
Joined: October 31 2009 Location: United States
Online Status: Offline Posts: 4
|
Posted: October 31 2009 at 20:25 | IP Logged
|
|
|
I'm having trouble getting my Insteon keypadlinc buttons to trigger macros. I have powerhome connected to a PLC and I've successfully triggered macros with global variable changes and motion detection.
So below are my links. I stripped out a bunch of links to isolate the problem, so here is one to the motion detector and button 3 on the keypadlinc.
Below are my triggers. TESTOFF and TESTON are the triggers I am having trouble with.
Since the TESTMOTION AND TESTSOUND triggers work, I know the SOUND macro works. Also when I push the "scene A" button (button 3) on the keypadlinc, I notice that the Event Log says it received the on and off message from the keypadlinc.
What am I missing?? Also, can someone explain to me what the difference is between button and group in the linking tab? Doesn't a group map to a button?
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: October 31 2009 at 22:17 | IP Logged
|
|
|
My PLC died last week, the replacement from Smarthome was DOA and the cross-ship replacement has not arrived so I cannot confirm the next comments but I believe them to be accurate.
The Insteon Group In you are using in your trigger is looking for a Group Broadcast from the trigger device. There is no Group Broadcast in the Event Log you posted. This is normally the result of a missing link record in the PLC/PLM. The Group Cleanup Direct is received because that message has a To address of the PLC. The Group Broadcast message has no specific To address, therefore without the link the PLC does not pass the Group Broadcast message on to PH. I would use the PLC tab, Clear and then reload the links in the PLC (despite the fact that the Links tab says the link is Verified).
You can also try changing the trigger from Insteon Group In to Insteon Device Chg or Insteon Direct In.
For a KeypadLinc in 8 button mode, button numbers 1-8 use Group numbers 1-8. Whether in 6 button or 8 button mode the 4 small center buttons use Group numbers 3-6. In 6 button mode, the large ON and OFF buttons use Group 1.
You have to look at Group and Button columns with respect to how they are used. For a Controller link record the Group number is the button number. For single button devices (paddle/toggle etc) like SwitchLincs the Group number is 1. For KPL controllers the Group number is 1-8 reflecting the KPL button number. For a Responder link that represents a KPL as the Responder the Button number column is the Group (button) number. For all other Responder devices that I have worked with the button number column starts with zero (0). That is, the first (or only) output device is numbered 00 (except the KPL which starts with 1).
EDIT: this is what the Group messsage sequence should look like when the correct links are in place. A Group Broadcast followed by a Group Cleanup Direct.
EDIT2: I can confirm that it is the Group Broadcast that fires a Trigger defined with Insteon Group In. See the following event log showing Trigger and Macro activation after Group Broadcast. The Group Cleanup Direct comes after the Trigger and Macro execution.
Edited by grif091 - November 01 2009 at 13:36
__________________ Lee G
|
Back to Top |
|
|
craw Newbie
Joined: October 31 2009 Location: United States
Online Status: Offline Posts: 4
|
Posted: November 01 2009 at 20:35 | IP Logged
|
|
|
Changing the trigger from "Insteon Group In" to "Insteon Device Chg" worked.
For the KPL, is there any advantage in using "Insteon Group In" over "Insteon Device Chg?"
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: November 01 2009 at 21:27 | IP Logged
|
|
|
The Insteon Device Chg is being triggered from the Group Cleanup Direct command which is retried by the Controller (KPL in this case) if the Responder device does not ACK the command. There is no command retry associated with a Group Broadcast command because it is not directed at any specific Responder device. The Trigger will be fired twice when using the Insteon Device Chg, first from the Group Broadcast and then by the Group Cleanup Direct. This may or may not have to be considered depending on the activity performed by the Trigger.
__________________ Lee G
|
Back to Top |
|
|
craw Newbie
Joined: October 31 2009 Location: United States
Online Status: Offline Posts: 4
|
Posted: November 07 2009 at 11:22 | IP Logged
|
|
|
Thanks Lee for all your help, I have Group Broadcasts now.
I was stuck on the following comment for a little bit.
Quote:
Clear and then reload the links in the PLC |
|
|
But I eventually figured it out. Just in case, anybody else is a newbie like me:
1) In the Insteon Explorer's Setup tab, clear the PLM/PLC Database with the Clear button.
2) In the Insteon Explorer's Setup tab, add PowerHome's Insteon ID's back to the PLC/PLM by the "Add Min" or "Add Full button."
Obvious now that I look back, but wasn't completely apparent at first.
|
Back to Top |
|
|
craw Newbie
Joined: October 31 2009 Location: United States
Online Status: Offline Posts: 4
|
Posted: November 07 2009 at 11:23 | IP Logged
|
|
|
Thanks Lee for all your help, I have Group Broadcasts now.
I was stuck on the following comment for a little bit.
Quote:
Clear and then reload the links in the PLC |
|
|
But I eventually figured it out. Just in case anybody else is a newbie like me:
1) In the Insteon Explorer's Setup tab, clear the PLM/PLC Database with the Clear button.
2) In the Insteon Explorer's Setup tab, add PowerHome's Insteon ID's back to the PLC/PLM by the "Add Min" or "Add Full button."
Obvious now that I look back, but wasn't completely apparent at first.
|
Back to Top |
|
|