techwitheddie

docker zigbee2mqtt

Mar 24th, 2021 (edited)
1,085
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. # MQTT configuration file update
  2. allow_anonymous true
  3. listener 1883
  4.  
  5. # Zigbee2MQTT Docker Terminal Command
  6. sudo docker run -itd --name="Zigbee2MQTT" --net=host -e TZ=America/Sao_Paulo --device=/dev/ttyACM0 --restart=always -v /volume1/docker/zigbee2mqtt/data:/app/data koenkk/zigbee2mqtt:latest
  7.  
  8. # Add to configuration.yaml
  9. serial:
  10.   port: /dev/ttyACM0
  11.   adapter: deconz
  12.  
  13. frontend:
  14.   # Optional, default 8080 or you can use your own as well.
  15.   port: 8080
  16.   # IP address of the device running Zigbee2MQTT
  17.   host: 192.168.86.12
Add Comment
Please, Sign In to add comment