Cannot use my SkyConnect USB key with Docker and HA

Hi all…
I have received my SkyConnect USB key today…

I’m trying to configure it using Docker…

this is my docker-compose:

  zigbee2mqtt:
    container_name: zigbee2mqtt
    image: koenkk/zigbee2mqtt
    volumes:
    - "/opt/docker_ha/zigbee2mqtt:/app/data"
    devices:
    - "/dev/ttyUSB0"
    environment:
    - "TZ=Europe/Rome"
    network_mode: host
    privileged: true
    restart: always

and this is my configuration file for the zigbee2mqtt

homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://192.168.1.3'
  user: dpsoftwaremqtt
  password: mypwd
  version: 5
  include_device_information: true
serial:
  port: /dev/ttyUSB0
  adapter: ezsp
advanced:
  log_directory: /var/log
experimental: {}
frontend:
  port: 8069
ota:
  update_check_interval: 10
disable_automatic_update_check: false

container seems to starts correctly

root@smartstar:/opt/docker_ha# docker logs zigbee2mqtt
Using '/app/data' as data directory
Zigbee2MQTT:info  2023-11-29 18:00:00: Logging to console and directory: '/var/log' filename: log.txt
Zigbee2MQTT:info  2023-11-29 18:00:00: Starting Zigbee2MQTT version 1.33.2 (commit #9996c93)
Zigbee2MQTT:info  2023-11-29 18:00:00: Starting zigbee-herdsman (0.21.0)
Zigbee2MQTT:info  2023-11-29 18:00:03: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-11-29 18:00:03: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"1","product":9,"revision":"7.1.1.0 build 273"},"type":"EZSP v9"}'
Zigbee2MQTT:info  2023-11-29 18:00:03: Currently 0 devices are joined:
Zigbee2MQTT:info  2023-11-29 18:00:03: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2023-11-29 18:00:03: Connecting to MQTT server at mqtt://192.168.1.3
Zigbee2MQTT:info  2023-11-29 18:00:03: Connected to MQTT server
Zigbee2MQTT:info  2023-11-29 18:00:03: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-11-29 18:00:03: Started frontend on port 0.0.0.0:8069
Zigbee2MQTT:info  2023-11-29 18:00:03: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"9996c93","coordinator":{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"1","product":9,"revision":"7.1.1.0 build 273"},"type":"EZSP v9"},"log_level":"info","network":{"channel":11,"extendedPanID":221,"panID":6754},"permit_join":false,"version":"1.33.2"}'
Zigbee2MQTT:info  2023-11-29 18:00:03: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-11-29 18:00:03: Zigbee2MQTT started!

but then when I try to add the SkyConnect integration I get this error:

and the logs shows a new error:

Error: Reset error: Error: {"sequence":-1} after 10000ms
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
    at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

any help would be really appreciated :slight_smile:

There is no “SkyConnect” integration.

HA has auto detected the SkyConnect stick and is just prompting you to set it up with ZHA.

You can’t run both ZHA and z2m with a single dongle.

If you want z2m, then just “ignore” the ZHA prompt.

2 Likes