Installation & Setup | LZW42 | RGBW (Multi-Color) A19 Bulb | Home Assistant (Hass.io)

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

  1. Click on the "Supervisor" link in the left hand "sidebar".



  2. Click on the "Add-on store" tab at the top.



  3. Click on the "Search" text field and type ssh & hit Enter. You should see the "Terminal & SSH" add-on appear. 



  4. Now click on the add-on and hit "Install".



  5. Once the install is finished, click on "START" and "Show in sidebar".



  6. You are done with this section!

Downloading the Config Files

  1. 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.



  2. In the terminal window type the following ind hit "Enter".
    cd config
  3. Download the latest open-zwave config files with the following command:
    git clone https://github.com/OpenZWave/open-zwave
  4. 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

  1. Type the following command into the terminal:
    nano open-zwave/config/manufacturer_specific.xml
  2. 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)
  3. 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"/>
  4. Now save the file by pressing Ctrl+X, then Y (for yes), and hit Enter. 

Edit the Home Assistant Config File

  1. Open the configuration file for editing with:
    nano configuration.yaml
  2. Add the following configuration into your configuration file:
    zwave:
      usb_path: /dev/ttyUSB0
      config_path: /config/open-zwave/config


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

Now that the config files are in place, we can initiate the inclusion in Home Assistant.
  1. First, navigate to your Home Assistant home page and click on "Configuration".



  2. Next, scroll down to the bottom and click on "Z-Wave". This will bring you to the Z-wave management screen.



  3. From here you need to click on either "ADD NODE SECURE" or "ADD NODE". In some networks adding the device secure may impact network performance. If you are having issues, you may want to try to just "ADD NODE".



  4. At this point you can turn the bulb off and then on again. Wait for a minute or so and the device should show up in your node list.



  5. From here you can edit the configuration options or go back to the "Overview" page to view the device in action.


Troubleshooting

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.