Added further notes about dialout group (#5163)

Added note about checking the account is in the dialout group, and how to add it if not

Added note about the device path being an example
This commit is contained in:
DubhAd 2018-04-12 21:06:56 +01:00 committed by Fabian Affolter
parent b8870424cd
commit c962dee84d

View File

@ -205,7 +205,7 @@ The first run after adding a device is when the `zwave` component will take time
### {% linkable_title Component could not be set up %}
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:
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 (here we're using `/dev/ttyAMA0` for our Razberry board):
```bash
$ ls -l /dev/ttyAMA0
@ -224,6 +224,18 @@ $ sudo chgrp dialout /dev/ttyAMA0
$ sudo chmod g+rw /dev/ttyAMA0
```
Check too that the account you're running Home Assistant as is in the `dialout` group. For instance, if you're using `homeassistant`:
```bash
$ groups homeassistant
```
That should include `dialout`, if it doesn't then:
```bash
$ sudo usermod -G dialout homeassistant
```
### {% 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.