Skip to content

Commit 4cb7964

Browse files
authored
Merge pull request #264 from raivisdejus/config-fix
Zigbee2mqtt update
2 parents 1e21de1 + 3d2481d commit 4cb7964

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.templates/zigbee2mqtt/service.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ zigbee2mqtt:
55
- ./volumes/zigbee2mqtt/data:/app/data
66
devices:
77
- /dev/ttyAMA0:/dev/ttyACM0
8+
#- /dev/ttyUSB0:/dev/ttyACM0 # Electrolama zig-a-zig-ah! (zzh!) maybe other as well
89
restart: unless-stopped
910
network_mode: host

docs/Containers/Zigbee2MQTT.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@
55

66
After starting the stack check to see if there is an error due to missing device. This is because the devices are mapped differently on the Pi. If your device is not showing in the container then you can also follow the followings steps.
77

8-
If you get a startup failure open the docker-compose.yml file and under zigbee2mqtt change this:
8+
If you get a startup failure open the docker-compose.yml file and under zigbee2mqtt change device to map to container (uncomment one of alternatives):
99

1010
```yml
1111
devices:
1212
- /dev/ttyAMA0:/dev/ttyACM0
1313
#- /dev/ttyACM0:/dev/ttyACM0
14-
```
15-
16-
to
17-
18-
```yml
19-
devices:
20-
#- /dev/ttyAMA0:/dev/ttyACM0
21-
- /dev/ttyACM0:/dev/ttyACM0
14+
#- /dev/ttyUSB0:/dev/ttyACM0 # Electrolama zig-a-zig-ah! (zzh!) maybe other as well
2215
```
2316

2417
and run docker-compose up -d again
@@ -27,8 +20,8 @@ If the container starts then run `docker logs zigbee2mqtt` so see the log output
2720

2821
To edit the configuration file `sudo nano volumes/zigbee2mqtt/data/configuration.yaml` you many need to restart the container for changes to take affect `docker-compose restart zigbee2mqtt`
2922

30-
Unfortunately I don't own a zigbee device and cannot offer support on the setup you will need to follow the website instructions for further instructions https://www.zigbee2mqtt.io/
23+
Please follow instructions on https://www.zigbee2mqtt.io/
3124

3225
## terminal access
3326

34-
to access the terminal run `docker exec -it zigbee2mqtt /bin/sh` or select `/bin/sh
27+
To access the terminal run `docker exec -it zigbee2mqtt /bin/sh`

0 commit comments

Comments
 (0)