
Setting Up ZWave on Home Assistant
ZWave is wireless technology used in home automation products like lights, switches, sensors, and more. It works by pairing ZWave devices to a ZWave controller. This article describes how to setup ZWave on Home Assistant (setup the controller, pair devices, control devices, and renaming devices).
Parts:
- Aeon Labs Aeotec Z-Wave Z-Stick, Gen5 (ZW090)
-
Home Assistant (HA) server
Connecting the Z-Stick:
The following are quick steps. See the HA ZWave setup documentation for full information.
- Connect the Z-Stick to your HA server
- Find and copy your Z-Stick USB path by running “ls /dev/ttyACM*” (on Raspberry Pi’s) or “ls /dev/ttyUSB*”
- Add the following in your configuration.yaml file:
12zwave:usb_path: Paste_Your_Z-Stick_USB_Path_Here - Restart HA
Pairing a ZWave Light Switch:
- Unplug the Z-Stick and walk it within 3 feet of the switch
- Press the Z-Stick button to start pairing (button will flash)
- Start pairing on your switch (I simply had to tap or double tap my switch)
- The Z-Stick should briefly flash quickly indicated pairing completion
- Connect the Z-Stick back to and reboot your HA server
Controlling a ZWave Light Switch:
- Open HA’s menu and click the second icon under Developer Tools (“States”).
- Find your ZWave light switches name (ex. light.__level_4, light.evolve_guest_controls_lrmas_wall_dimmer_500w_level_4)
- Add the name to an HA group, restart HA, and turn the light on and off
- Reboot HA and see if your light’s name changed (mine went from the short name above to the longer name above). If so, repeat steps 2-4.
Renaming your ZWave Light Switch:
- After you’ve performed the steps above, open HA’s menu and click the first icon under Developer Tools (“Services”)
- Under “Available Services”, click on “zwave/rename_node” (if it doesn’t appear, refresh the web page)
- Paste the following in the “Service Data” section and click on “Call Service”:
1234{"entity_id": "Paste_Your_Current_Name_Here","name": "Paste_Your_New_Name_Here"} - Restart HA and then open HA’s menu and click the second icon under Developer Tools (“States”).
- Find your ZWave light switches new name (should look like light.YourNewName_level_4)