Have any of you successfully set up direct associations with a RFWC5 5-button controller using Home Assistant?
These controllers have a proprietary sequence of standard association commands used to store scenes in the controller and associate them with buttons. They worked OK when I used to use HomeSeer, and I’m having trouble under Home Assistant.
I know that I can make them send events back to Home Assistant, but I explicitly don’t want to do that. I want it to direct control. It’s required in some cases for code compliance, and I want certain things to work 100% even when the central computer is down for whatever reason.
The process in the PDF is as follows:
Association Remove All (for a new scene)
Association_Remove, Grouping Identifier (1, 2, 3, 4, or 5 for Button 1 - 5), empty node ID list
For non scene capable devices:
Association Command Class, Association Set (with group ID and node IDs)
Association_Set, Grouping Identifier (1, 2, 3, 4, or 5 for Button 1 - 5), Node ID list (for all nodes that have the SAME level
value in the scene. The levels can be 0x00, 0x01 - 0x63, or 0xFF)
Configuration Command Class, Configuration Set (the value is applied to the list of node IDs in the previous association
set)
Configuration_Set, Parameter Number (1, 2, 3, 4, or 5 for Button 1 - 5), Configuration Value 1 (this value, 0x00, 0x01 -
0x63, or 0xFF, is the level value for all the nodes listed in the previous Association_Set command)
Repeat sending association/configuration sets as required for nodes of different level values. The first
Association_Set command is for all devices with some given level. The second Association_Set command is for all
devices with another level. The third Association_Set command is for all devices with yet another level. And so on. There
will be as many Association/Configuration pairs as there are different levels in the scene.
The above is followed by this for scene capable devices:
Scene Controller Configuration Command Class Set (with Group ID and Scene ID)
Scene_Controller_Conf_Set, Group ID (1, 2, 3, 4, or 5 for Button 1 - 5), Scene ID, Dimming Duration
Association Set
Association_Set, Grouping Identifier (1, 2, 3, 4, or 5 for Button 1 - 5), Node ID list for all scene-capable nodes in the scene.
If I do a factory reset of the device, and then I run through that process in some javascript that I paste into the ‘Driver function’ action in ZWaveJS2mqtt, it partially works. But only if I set a different level for the devices associated with each button. If I set every button to devices at level 0xFF, every button controls every device. The other issue I have is that it only works once for each button after a factory reset. I don’t know the correct sequence of commands to send to clear out the scenes for a button. If I want to make any changes I have to factory reset the device and re-program all of the buttons.