This article describes the setup of the Z-Stick 10 Pro in Home Assistant using ZWaveJS to MQTT; it forms part of the larger Z-Stick 10 Pro user guide. Setting up Home Assistant with Z-Stick 10 Pro lets you build a Z-Wave automation network utilizing Z-Wave 800 series / Gen8 technologies.
Requirements.
- Home Assistant OS: https://www.home-assistant.io/installation/
- Z-Stick 10 Pro
If using Windows, follow the steps here to get a Virtual Machine running Home Assistant OS: Setup Home Assistant in Windows
If you're installing Z-Wave JS to MQTT on a fresh installation.
These steps assume that you have a fresh install of Home Assistant and have not yet installed Z-WaveJS UI. Make sure to delete ZWaveJS integration and follow the steps below.
If you have a fresh install, you may follow the steps below to fully install Z-Wave JS UI.
- Open Home Assistant, http://homeassistant.local:8123/
- Click Setting -> Add-on
- Search for "ZWave"
- Click Z-Wave JS UI
- Click Install, then wait about 2 to 3 minutes for the installation to complete
- Click Start, takes about 24 seconds.
- Wait 1 minute for HASS to boot up Z-Wave JS UI
- Click "Open Web UI"
- Click Menu (hamburger icon) -> Settings
- Click Zwave
- Click Serial port and select /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F4C829-if01-port0
You may also use /dev/ttyUSB1 (assuming this is the only USB Serial adapter you have plugged in).
(The other port is for Zigbee) - Next to Network Key, click the refresh button to add a random security key for S0 Legacy, S2 Authenticated, S2 Unauthenticated, and S2 Access control.
Do the same for the Long Range security keys as well. - Click Save
- Click 4 box icon (Control Panel), and see if the driver boots up properly. If it does, the controller will appear as the first device.
- Click Settings -> Devices & Services
- Click + Add Integrations
- Search ZWave
- Click Z-Wave JS
- Uncheck "Use the Z-Wave JS Supervisor add-on"
- Click Submit
- Copy and Paste "ws://a0d7b954-zwavejs2mqtt:3000"
- Click Submit
- Set your devices to the areas they are installed in, then click Finish
Pairing your first Z-Wave device.