From fc8b41ce557000332abe5027afc46bcd5cbccd05 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Fri, 22 Apr 2016 03:09:49 -0400 Subject: [PATCH] Make sure the 'hass' user is in the right group (#414) In order to access the USB Z-Wave controller, the newly created user needs to be in the 'dialout' group (on Debian) --- source/getting-started/installation-virtualenv.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/getting-started/installation-virtualenv.markdown b/source/getting-started/installation-virtualenv.markdown index ec1acce3ebe..2f4f5895cb5 100644 --- a/source/getting-started/installation-virtualenv.markdown +++ b/source/getting-started/installation-virtualenv.markdown @@ -32,6 +32,12 @@ sudo adduser --system hass Home Assistant stores its config in `$HOME/.homeassistant` by default, so in this case, it would be in `/home/hass/.homeassistant` +If you plan to use a Z-Wave controller, you will need to add this user to the `dialout` group + +```bash +sudo usermod -G dialout -a hass +``` + ## Step 2: Create a directory for Home Assistant This can be anywhere you want, but I generally put stuff related to servers in /srv. You also need to change the ownership of the directory to the user you created above (if you created one) @@ -123,4 +129,4 @@ Finally, get and install python-openzwave (hass)$ git checkout python3 (hass)$ PYTHON_EXEC=`which python3` make build (hass)$ PYTHON_EXEC=`which python3` make install -``` \ No newline at end of file +```