Here is a scenario where I plan to associate two switches, SW1 and SW2. My objective is to have SW2 command SW1.
Pertinent details about the switches.
SW1:
Device Network ID = 2C
Association groups
1 Lifeline, 5 associations
SW2:
Device Network ID = 30
Association groups
1 Lifeline, 1 association
2 Switch (on/off), 5 associations
The Association Command Class code is 85.
The Association Set command code is 01.
The organization of the Association Set command for this situation is:
Command Class: 85
Set command: 01
Association Group: 02 (of the source device)
Device Network ID: 2C (of the device to be controlled)
So the code string becomes: 8501022C
This is sent to SW2 from the Advanced feature the its driver edit page.
Notice the association group is chosen from the list of groups available on the device you are send the association command to, NOT the device it will be controlling. The Association groups for SW1 are irrelevant for setting the association in SW2. The group is all about what command SW2 is authorized to send directly to SW1.
Let me know if you have any questions.
p.s., If youโre patient, you can learn how to construct other commands too.