mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
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:
parent
92fb95d4ca
commit
008993a199
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user