After a bit of digging this is what I did to get it working.
I used MQTT Explore
publish an event to topic “OpenZWave/1/command/addassociation/”
“node” - uint8: The NodeID to test
“group” - uint8: The Association Group you wish to add a member to
“target” - string: The Target Node you wish to send notifications to for this group.
most of the info I got from this.
"node" is the number of the node that is controlling, i.e. sending messages.
"group" is the group number of the controlling node.
"target" would be the node that is the target of the commands (hence the name “target”), i.e. the one that is being controlled and receiving messages.
If you want node 21 to send Basic Set commands to node 29, then the payload would be:
If you want to send Switch Multilevel Set commands instead, you would use group…
in my case, my node had 3 devices. so I had to look at the group related to my switch(Switch2) which was group 3. you can see all this in MQTTExplorer under associations.
Hope this helps. Let me know if something is not clear