diff --git a/atom.xml b/atom.xml index 5755e531d0..cbd8e42a43 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
c
(character special)
$ ls /dev/cu.usbmodem*
To enable Z-Wave, plug your Z-Wave USB stick into your Raspberry Pi 3 and add the following to your configuration.yaml
:
zwave:
+ usb_path: /dev/ttyACM0
+
+For some devices the /dev/ttyAMA0
device is not detected by udev and is therefore not mapped by Docker. To explicitly set this device for mapping to Home-Assistant, execute the following command using the ssh add-on:
$ curl -d '{"devices": ["ttyAMA0"]}' http://hassio/homeassistant/options
+
+After that, you need to change usb_path
to /dev/ttyAMA0
.
Security Z-Wave devices require a network key before being added to the network using the Add Secure Node button in the Z-Wave Network Management card. You must set the network_key configuration variable to use a network key before adding these devices.
An easy script to generate a random key:
@@ -207,6 +218,23 @@ The device type isc
(character special)
Ensure you keep a backup of this key. If you have to rebuild your system and don’t have a backup of this key, you won’t be able to reconnect to any security devices. This may mean you have to do a factory reset on those devices, and your controller, before rebuilding your Z-Wave network.
Upon first run, the zwave
component will take time to initialize entities and entities may appear with incomplete names. Running a network heal may speed up this process.
Sometimes the device may not be accessible and you’ll get an error message upon startup about not being able to set up Z-Wave. Run the following command for your device path:
+ls -l /dev/ttyAMA0
+
+You should then see something like this:
+crw-rw---- 1 root dialout 204, 64 Apr 1 12:34 /dev/ttyAMA0
+
+The important pieces are the first piece crw-rw----
and the group dialout
. If those are different then, for your device path, run:
sudo chgrp dialout /dev/ttyAMA0
+sudo chmod g+rw /dev/ttyAMA0
+
+If your device path changes when you restart, see this guide on fixing it.