Installation & Setup | LZW45 | Red Series Smart LED Strip | 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 and 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/lzw45.xml https://raw.githubusercontent.com/InovelliUSA/OpenZWave/master/config/inovelli/lzw45.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="000a" id="0001" name="LZW45 Light Strip" config="inovelli/lzw45.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" press the config button (A) 3 times. After the exclusion is complete, you can proceed with the inclusion as stated in these instructions.