Installation & Setup | LZW42 | RGBW (Multi-Color) A19 Bulb | Home Assistant (Hass.io)
There are countless ways that you can setup Home Assistant so these steps may vary slightly. These instructions are specifically written for using the Hass.io SD card image. Hopefully the steps outlined below will provide the information needed for you to get things up and running!
Setting Up SSH Terminal Add-On
- Click on the "Supervisor" link in the left hand "sidebar".
- Click on the "Add-on store" tab at the top.
- Click on the "Search" text field and type ssh & hit Enter. You should see the "Terminal & SSH" add-on appear.
- Now click on the add-on and hit "Install".
- Once the install is finished, click on "START" and "Show in sidebar".
- You are done with this section!
Downloading the Config Files
- Click on the new "Terminal" option in the left hand "sidebar". This will bring up a black console screen that allows you to do some advanced Home Assistant configuration.
- In the terminal window type the following ind hit "Enter".
- Download the latest open-zwave config files with the following command:
git clone https://github.com/OpenZWave/open-zwave
- Download the appropriate device config file by entering this into the terminal:
curl -o open-zwave/config/inovelli/lzw42.xml https://raw.githubusercontent.com/InovelliUSA/OpenZWave/master/config/inovelli/lzw42.xml
Edit open-zwave Config File
- Type the following command into the terminal:
- Find the section for "Inovelli" that has a manufacturer id of 031E. A shortcut (in nano) is to press Ctrl+Shift+- to go to a line number. At the time of the publication of this article the line number was 994)
- After the last device in the "Inovelli" section, add the following line:
<Product type="0005" id="0001" name="LZW42 Multi-Color Bulb" config="inovelli/lzw42.xml"/>
- Now save the file by pressing Ctrl+X, then Y (for yes), and hit Enter.
Edit the Home Assistant Config File
- Open the configuration file for editing with:
- Add the following configuration into your configuration file:
The path of your USB Z-Wave device may be different than /dev/ttyUSB0. If this is the case, please make sure you put the correct location here.
Restart Home Assistant
You can easily do this from the terminal with the following command:
ha core restart
Include The Device
If for some reason the switch is not including, first make sure you are within range. Next, try an exclusion of the device before trying an inclusion. For an exclusion, the steps are the same as above except that on the Z-wave management page, you click on "Remove Node" instead of adding it. After clicking on "Remove Node" turn the bulb off and then on again. After the exclusion is complete, you can proceed with the inclusion as stated in these instructions.