sync usb_path to other docs (#4439)

* sync usb_path to other docs

The hassio zwave documents reference usb_path: /dev/ttyACM0, so this document should be in sync. After some discussion it appears that this could be variable, in which case there should be a good way to figure out the CORRECT answer rather than using a guess as example code without stating it as such. Possibly linking back to the linux "how to find" section?

* Removed manual set language per suggestion
This commit is contained in:
Guyanthalas 2018-01-25 12:50:43 -08:00 committed by Franck Nijhof
parent 04400a3553
commit f7c2c1af03

View File

@ -159,17 +159,9 @@ To enable Z-Wave, plug your Z-Wave USB stick into your Raspberry Pi 3 and add th
```yaml
zwave:
usb_path: /dev/ttyAMA0
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:
```bash
$ curl -d '{"devices": ["ttyAMA0"]}' http://hassio/homeassistant/options
```
After that, you need to change `usb_path` to `/dev/ttyAMA0`.
### {% linkable_title RancherOS %}
If you're using RancherOS for containers, you'll need to ensure you enable the kernel-extras service so that the `USB_ACM` module (also known as `cdc_acm`) is loaded: