From 3fbdede104606e8985a698c7325e2234726ec9c6 Mon Sep 17 00:00:00 2001 From: Jonathan Christison Date: Sun, 8 Oct 2023 18:15:24 +0100 Subject: [PATCH] Initial Commit --- data/configuration.yaml | 32 ++++++++++++++++++++++++++++++++ docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 data/configuration.yaml create mode 100644 docker-compose.yml diff --git a/data/configuration.yaml b/data/configuration.yaml new file mode 100644 index 0000000..634d6da --- /dev/null +++ b/data/configuration.yaml @@ -0,0 +1,32 @@ +# Home Assistant integration (MQTT discovery) +homeassistant: false + +# allow new devices to join +permit_join: true + +frontend: true + +# MQTT settings +mqtt: + # MQTT base topic for zigbee2mqtt MQTT messages + base_topic: zigbee2mqtt + # MQTT server URL + server: 'mqtt://mqtt.blu3cat' + user: openhab + password: Hl3Yr6cT2mgSp1eW + # MQTT server authentication, uncomment if required: + # user: my_user + # password: my_password + +# Serial settings +serial: + # Location of CC2531 USB sniffer + port: /dev/ttyACM0 + baudrate: 115200 + +frontend: + port: 8080 + host: 0.0.0.0 + +advanced: + output: attribute diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1de0ecf --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.8' +services: + zigbee2mqtt: + container_name: zigbee2mqtt + image: koenkk/zigbee2mqtt + restart: unless-stopped + volumes: + - ./data:/app/data + - /run/udev:/run/udev:ro + ports: + # Frontend port + - 8080:8080 + environment: + - TZ=Europe/London + devices: + # Make sure this matched your adapter location + - /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 +