Explain how to get the device running when running hass in docker (#8258)

* Explain how to get the device running when running hass in docker

* Minor changes
This commit is contained in:
bforbird 2019-01-24 23:30:03 +01:00 committed by Fabian Affolter
parent 92fb95d4ca
commit 008993a199

View File

@ -119,16 +119,22 @@ or
[HASSbian](/getting-started/installation-raspberry-pi-image/) users have to give dialout permission to the user `homeassistant`:
```
```bash
$ sudo usermod -a -G dialout homeassistant
```
and after that you need to reboot!
```
```bash
$ sudo reboot
```
Docker users have to allow Docker access to the device by adding `--device /dev/ttyUSB21:/dev/ttyUSB21` to the run command:
```hass
$ docker run --device /dev/ttyUSB0:/dev/ttyUSB0 -d --name="home-assistant" -v /home/USERNAME/hass:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant
```
### {% linkable_title Technical overview %}
DSMR is a standard to which Dutch smartmeters must comply. It specifies that the smartmeter must send out a 'telegram' every 10 seconds (every second for DSMR 5.0 devices) over a serial port.