diff --git a/services/zigbee2mqtt/config/configuration.example.yaml b/services/zigbee2mqtt/config/configuration.example.yaml new file mode 100644 index 0000000..02d82c3 --- /dev/null +++ b/services/zigbee2mqtt/config/configuration.example.yaml @@ -0,0 +1,20 @@ +homeassistant: true +permit_join: false + +mqtt: + base_topic: zigbee2mqtt + server: mqtt://mosquitto:1883 + +serial: + port: tcp://SLZB_IP:6638 + adapter: zstack + +frontend: + enabled: true + port: 8080 + +advanced: + network_key: GENERATE + pan_id: GENERATE + ext_pan_id: GENERATE + log_level: info diff --git a/services/zigbee2mqtt/docker-compose.yml b/services/zigbee2mqtt/docker-compose.yml index 9046958..5f517d6 100644 --- a/services/zigbee2mqtt/docker-compose.yml +++ b/services/zigbee2mqtt/docker-compose.yml @@ -5,10 +5,7 @@ services: restart: unless-stopped volumes: - /opt/homelab/data/zigbee2mqtt/data:/app/data - - /run/udev:/run/udev:ro ports: - - 8080:8080 - devices: - - /dev/ttyACM0:/dev/ttyACM0 + - "8080:8080" environment: - - TZ=Europe/Stockholm + - TZ=Europe/Warsaw