Z-Wave Associations with Home Assistant
This is an update to Z-Wave associations with Vera UI.
Introduction
Z-Wave associations lets you control slave devices from a master device without the Z-Wave controller or Hub.
For this to really work the master device sending commands must support this functionality. This varies from device to device, so you must look up the documentation of the master device and find the supported associations groups. In a nutshell, you look-up what each association group is for, and then you add to that group the slave devices that will receive the Z-wave commands from the master.
See this article for more information on associations.
In Home Assistant, Z-Wave support is provided by add-ons. There are two add-ons available:
- Z-Wave JS : from the official Add On store
- Z-Wave JS UI : from the Community Add Ons
Both are based on the Z-Wave JS project. However the Z-Wave JS UI Add On from the Community store, exposes the Z-Wave JS control panel, where as the official Z-Wave JS Add on does NOT.
Home assistant by default does not expose the functionality and UI interface to modify Z-Wave group associations. That is why Z-Wave JS UI Add On is required.
Configuring associations
Open the Z-Wave JS UI user interface by using the sidebar link (if enabled in the addon settings page) or from the settings addon page, using the link OPEN WEB UI.
Select control panel from the tab menu.
Find the master device from the list of devices, and open its properties. Click on the GROUPS tab.
Setting associations
To create a new association click on the ADD option.
Complete the form:
- Node Endpoint : Simply select from the list. Usually Root Endpoint
- Group : Select the group. Usually the group refers to the event that will be used. For example, it could be a button group.
- Target Node : Select from the list the slave device that we want to control.
- Target Endpoint : Leave blank unless the slave device has multiple controls (for example a double switch).
Removing associations
Simply click on the red trashcan icon next to the association you want to delete.
Last words
Note that some associations are always available by default and can not be changed. These are used to report the device state to the Z-Wave Controller/Hub.