Cannot get zigbee running
Posted: Monday 03 February 2025 20:34
I have MQTT, Zigbee and Zwave running in a single container. I get Zigbee started but I cant get it running. Can anyone help?
services:
eclipse-mosquitto:
container_name: myMosquitto
image: 'eclipse-mosquitto:latest'
restart: always
volumes:
- /home/hjz/docker/mosquitto/conf/mosquitto.conf:/mosquitto.conf
- /home/hjz/docker/mosquitto/data:/mosquitto/data
- /home/hjz/docker/mosquitto/log:/mosquitto/log
ports:
- '1883:1883'
- '9001:9001'
command: "mosquitto -c /mosquitto-no-auth.conf"
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- /home/hjz/docker/zigbee2mqtt/data:/app/data
- /home/hjz/docker/zigbee2mqtt/run/udev:/run/udev:ro
ports:
# Frontend port
- '8085:8085'
environment:
- TZ=Europe/Amsterdam
devices:
# Make sure this matched your adapter location
- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f87384e6086bef1181b697adc169b110-if00-port0
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mysupersecretkey
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time and dates to match your timezone instead of UTC
# Available at https://en.wikipedia.org/wiki/List_of_t ... time_zones
- TZ=Europe/Amsterdam
networks:
- zwave
devices:
# Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
# Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'
volumes:
- /home/hjz/docker/zwjs/store:/usr/src/app/store
ports:
- '8091:8091' # port for web interface
- '3001:3001' # port for Z-Wave JS websocket server
networks:
zwave:
volumes:
zwave-config:
name: zwave-config
And my config file
version: 4
homeassistant: true
permit_join: true
frontend:
enabled: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://192.168.2.71:1883
serial:
port: /dev/ttyUSB0
#port: /dev/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f87384e6086bef1181b697adc169b110-if00-port0
#adapter: zstack
advanced:
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
device_options:
legacy: false
hjz@debian:~/docker$ docker compose up -d
[+] Running 3/0
✔ Container myMosquitto Running 0.0s
✔ Container zwave-js-ui Running 0.0s
✔ Container zigbee2mqtt Started
services:
eclipse-mosquitto:
container_name: myMosquitto
image: 'eclipse-mosquitto:latest'
restart: always
volumes:
- /home/hjz/docker/mosquitto/conf/mosquitto.conf:/mosquitto.conf
- /home/hjz/docker/mosquitto/data:/mosquitto/data
- /home/hjz/docker/mosquitto/log:/mosquitto/log
ports:
- '1883:1883'
- '9001:9001'
command: "mosquitto -c /mosquitto-no-auth.conf"
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- /home/hjz/docker/zigbee2mqtt/data:/app/data
- /home/hjz/docker/zigbee2mqtt/run/udev:/run/udev:ro
ports:
# Frontend port
- '8085:8085'
environment:
- TZ=Europe/Amsterdam
devices:
# Make sure this matched your adapter location
- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f87384e6086bef1181b697adc169b110-if00-port0
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mysupersecretkey
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time and dates to match your timezone instead of UTC
# Available at https://en.wikipedia.org/wiki/List_of_t ... time_zones
- TZ=Europe/Amsterdam
networks:
- zwave
devices:
# Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
# Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'
volumes:
- /home/hjz/docker/zwjs/store:/usr/src/app/store
ports:
- '8091:8091' # port for web interface
- '3001:3001' # port for Z-Wave JS websocket server
networks:
zwave:
volumes:
zwave-config:
name: zwave-config
And my config file
version: 4
homeassistant: true
permit_join: true
frontend:
enabled: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://192.168.2.71:1883
serial:
port: /dev/ttyUSB0
#port: /dev/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f87384e6086bef1181b697adc169b110-if00-port0
#adapter: zstack
advanced:
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
device_options:
legacy: false
hjz@debian:~/docker$ docker compose up -d
[+] Running 3/0
✔ Container myMosquitto Running 0.0s
✔ Container zwave-js-ui Running 0.0s
✔ Container zigbee2mqtt Started