Zigbee2MQTT: Difference between revisions

From KG7QIN's Wiki
Jump to navigation Jump to search
(Created initial page)
 
(Added category)
 
Line 1: Line 1:
[[Category:Home Automation]]
Information on a Dockerized Zigbee2MQTT setup:
Information on a Dockerized Zigbee2MQTT setup:



Latest revision as of 02:35, 12 April 2024

Information on a Dockerized Zigbee2MQTT setup:

Setup

docker-compose.yml

version: '3.8'
services:
  # uncomment to include mqtt server as well in container
  #  mqtt:
  #    image: eclipse-mosquitto:2.0
  #    restart: unless-stopped
  #    volumes:
  #      - "./mosquitto-data:/mosquitto"
  #    ports:
  #      - "1883:1883"
  #      - "9001:9001"
  #    command: "mosquitto -c /mosquitto-no-auth.conf"

  zigbee2mqtt:
    container_name: zigbee2mqtt
    restart: unless-stopped
    image: koenkk/zigbee2mqtt
    volumes:
      - ./zigbee2mqtt-data:/app/data
      - /run/udev:/run/udev:ro
    ports:
      - 8080:8080
    environment:
      - TZ=America/Los_Angeles
    devices:
      - /dev/ttyACM0:/dev/ttyACM0