*** THIS GUIDE IS CURRENTLY UNDER CONSTRUCTION ***
This guide is for switching from OpenZwave (Beta) to ZwaveJS2MQTT & Zwave JS Integration.
Click here for the docker image install
Preparation
In home assistant.
-
Browse to Developer Tools.
-
Click on the template tab
-
Paste the following code into the template section.
{%- for node, zstates in states | selectattr('attributes.node_id', 'in', range(1000)) | groupby('attributes.node_id') %} {{ node }}: {%- for s in zstates %} - {{ s.name }} {{ s.entity_id }} {% endfor %} {%- endfor %}
-
Copy the results and paste them to a text file for safe keeping. You’ll reference this at a later time.
Migration
-
Install ZwaveJS2MQTT addon.
-
Copy device and network_key from OpenZwave configuration.
device - This is the path for the USB Stick
network_key - This is the key used when adding a secure node. -
Stop OpenZwave (beta) addon, turn off Start on Boot and Watchdog.
-
Delete OpenZwave Integration.
-
Start ZwaveJS2MQTT addon.
-
Open the Web UI
-
Paste information into ZwaveJS2MQTT configuration area.
-
Watch the device list and wait for the last node to be found.
-
Fix all ‘unknown’ devices by waking them up. No need for a refresh node, just wake them up.
NOTE: This will require you to wake the devices up phsycially. Meaning you have to go to the device and wake it yourself. Most zwave devices have a periodic wakeup period where they wake up once a day. If you don’t want to walk around the house and wake devices, you can simply wait for the device to wake itself. Just be warned, it may take a day or 2 for this to happen.
-
Install Zwave JS integration. You should have a list of devices that matches devices in the ZwaveJS2MQTT control panel.
-
Rename Devices using the text file as a reference from the Preparation #4 step. This is the most time consuming step