From 1247a72051b00dcc338805b49e5f2df85202ca62 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Feb 2018 21:02:30 +0100 Subject: [PATCH] Minor updates --- source/_docs/z-wave/installation.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_docs/z-wave/installation.markdown b/source/_docs/z-wave/installation.markdown index 4031738a7d2..b110e34863e 100644 --- a/source/_docs/z-wave/installation.markdown +++ b/source/_docs/z-wave/installation.markdown @@ -189,7 +189,7 @@ Security Z-Wave devices require a network key before being added to the network An easy script to generate a random key: ```bash -cat /dev/urandom | tr -dc '0-9A-F' | fold -w 32 | head -n 1 | sed -e 's/\(..\)/0x\1, /g' -e 's/, $//' +$ cat /dev/urandom | tr -dc '0-9A-F' | fold -w 32 | head -n 1 | sed -e 's/\(..\)/0x\1, /g' -e 's/, $//' ``` ```yaml @@ -213,7 +213,7 @@ The first run after adding a device is when the `zwave` component will take time 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: ```bash -ls -l /dev/ttyAMA0 +$ ls -l /dev/ttyAMA0 ``` You should then see something like this: @@ -225,15 +225,15 @@ 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: ```bash -sudo chgrp dialout /dev/ttyAMA0 -sudo chmod g+rw /dev/ttyAMA0 +$ sudo chgrp dialout /dev/ttyAMA0 +$ sudo chmod g+rw /dev/ttyAMA0 ``` ### {% linkable_title Device path changes %} If your device path changes when you restart, see [this guide](http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/) on fixing it. -### {% linkable_title Unable to install python_openzwave %} +### {% linkable_title Unable to install Python Openzwave %} If you're getting errors like: