Sonoff Zigbee Dongle P not seen by Zigbee2Mqtt

Good day

I am running zigbee2mqtt inside a docker compose file (below) with this configuration (also below). I installed the latest firmware from Z-Stack-firmware/coordinator/Z-Stack_3.x.0/bin at master · Koenkk/Z-Stack-firmware · GitHub (the launchpad firmware)

I proceeded to flash the dongle with the TI tool and subsequently also using the Python method. In both instances the dongle is not seen by the Zigbee2Mqtt web interface, but, Home Assistant does see the dongle. But, I dont want to use ZHA, and from what I remember you then have to just ignore that message in Home Assistant. (even when I click on the “configure” button to see what happens, I get the message"Failed to probe the USB device")

Docker Compose

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /opt/homeassistant/config:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
  mosquitto:
    depends_on:
      - homeassistant
    container_name: mosquitto
    image: eclipse-mosquitto:latest
    volumes:
      - /opt/homeassistant/mosquitto/config:/mosquitto/config/
      - /opt/homeassistant/mosquitto/log:/mosquitto/log/
      - /opt/homeassistant/mosquitto/data:/mosquitto/data/
    ports:
      - 1883:1883
      - 9001:9001
    restart: unless-stopped
  zigbee2mqtt:
    container_name: zigbee2mqtt
    depends_on:
      - mosquitto
    image: koenkk/zigbee2mqtt
    volumes:
      - /opt/homeassistant/zigbee2mqtt/data:/app/data
      - /run/udev:/run/udev:ro
    ports:
      - 8080:8080
    devices:
      - /dev/ttyUSB0:/dev/ttyACM0
    restart: unless-stopped
    privileged: true 

Zigbee2Mqtt config

homeassistant: true
permit_join: true
frontend: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://mosquitto
  user: hauser
  password: testpass
serial:
  port: /dev/ttyACM0
advanced:
  log_level: debug

ls -l /dev/serial/by-id/ Output

lrwxrwxrwx 1 root root 13 Mar  6 10:59 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7ee499da85c9eb119c4b8f4f1d69213e-if00-port0 -> ../../ttyUSB0 

ls -l /dev/ttyUSB0 Output

crw-rw---- 1 root dialout 188, 0 Mar  6 10:59 /dev/ttyUSB0

I did test my permissions with test -w /dev/ttyUSB0 && echo success || echo failure and it all is good.

My setup is as follows:

  • Intel NUC
  • Docker version 20.10.12, build 20.10.12-0ubuntu4
  • docker-compose version 1.29.2, build unknown

I will appreciate any assistance. Let me know if I need to pull logs or the like. Here are some logs but it doesnt look like there are any errors or warnings in there.

Using '/app/data' as data directory
Zigbee2MQTT:debug 2023-03-06 08:58:28: Can't load state from file /app/data/state.json (doesn't exist)
Zigbee2MQTT:info  2023-03-06 08:58:28: Logging to console and directory: '/app/data/log/2023-03-06.08-58-28' filename: log.txt
Zigbee2MQTT:debug 2023-03-06 08:58:28: Removing old log directory '/app/data/log/2023-03-06.08-17-10'
Zigbee2MQTT:info  2023-03-06 08:58:29: Starting Zigbee2MQTT version 1.30.2 (commit #cdf62ea)
Zigbee2MQTT:info  2023-03-06 08:58:29: Starting zigbee-herdsman (0.14.96)
Zigbee2MQTT:debug 2023-03-06 08:58:29: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'
Zigbee2MQTT:info  2023-03-06 08:58:45: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-03-06 08:58:45: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:debug 2023-03-06 08:58:45: Zigbee network parameters: {"channel":11,"extendedPanID":"0x00124b0024c0a835","panID":6754}
Zigbee2MQTT:info  2023-03-06 08:58:45: Currently 0 devices are joined:
Zigbee2MQTT:warn  2023-03-06 08:58:45: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2023-03-06 08:58:45: Allowing new devices to join.
Zigbee2MQTT:warn  2023-03-06 08:58:45: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2023-03-06 08:58:45: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-03-06 08:58:45: Connecting to MQTT server at mqtt://mosquitto
Zigbee2MQTT:debug 2023-03-06 08:58:45: Using MQTT login with username: hauser
Zigbee2MQTT:info  2023-03-06 08:58:46: Connected to MQTT server
Zigbee2MQTT:info  2023-03-06 08:58:46: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-03-06 08:58:46: Started frontend on port 0.0.0.0:8080
Zigbee2MQTT:debug 2023-03-06 08:58:46: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"cdf62ea","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0024c0a835","panID":6754},"permit_join":true,"version":"1.30.2"}'
Zigbee2MQTT:info  2023-03-06 08:58:46: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"cdf62ea","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0024c0a835","panID":6754},"permit_join":true,"version":"1.30.2"}'
Zigbee2MQTT:info  2023-03-06 08:58:46: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-03-06 08:58:46: Zigbee2MQTT started!
Zigbee2MQTT:error 2023-03-06 08:59:32: Adapter disconnected, stopping
Zigbee2MQTT:debug 2023-03-06 08:59:32: Saving state to file /app/data/state.json
Zigbee2MQTT:info  2023-03-06 08:59:32: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'offline'
Zigbee2MQTT:info  2023-03-06 08:59:32: Disconnecting from MQTT server
Zigbee2MQTT:info  2023-03-06 08:59:32: Stopping zigbee-herdsman...
Zigbee2MQTT:error 2023-03-06 08:59:32: Failed to stop Zigbee2MQTT
Using '/app/data' as data directory
Zigbee2MQTT:debug 2023-03-06 08:59:59: Loaded state from file /app/data/state.json
Zigbee2MQTT:info  2023-03-06 08:59:59: Logging to console and directory: '/app/data/log/2023-03-06.08-59-59' filename: log.txt
Zigbee2MQTT:debug 2023-03-06 08:59:59: Removing old log directory '/app/data/log/2023-03-06.08-17-45'
Zigbee2MQTT:info  2023-03-06 08:59:59: Starting Zigbee2MQTT version 1.30.2 (commit #cdf62ea)
Zigbee2MQTT:info  2023-03-06 08:59:59: Starting zigbee-herdsman (0.14.96)
Zigbee2MQTT:debug 2023-03-06 08:59:59: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'
Zigbee2MQTT:info  2023-03-06 09:00:04: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-03-06 09:00:04: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:debug 2023-03-06 09:00:04: Zigbee network parameters: {"channel":11,"extendedPanID":"0x00124b0024c0a835","panID":6754}
Zigbee2MQTT:info  2023-03-06 09:00:04: Currently 0 devices are joined:
Zigbee2MQTT:warn  2023-03-06 09:00:04: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2023-03-06 09:00:04: Allowing new devices to join.
Zigbee2MQTT:warn  2023-03-06 09:00:04: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2023-03-06 09:00:04: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-03-06 09:00:05: Connecting to MQTT server at mqtt://mosquitto
Zigbee2MQTT:debug 2023-03-06 09:00:05: Using MQTT login with username: hauser
Zigbee2MQTT:info  2023-03-06 09:00:05: Connected to MQTT server
Zigbee2MQTT:info  2023-03-06 09:00:05: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-03-06 09:00:05: Started frontend on port 0.0.0.0:8080
Zigbee2MQTT:debug 2023-03-06 09:00:05: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"cdf62ea","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0024c0a835","panID":6754},"permit_join":true,"version":"1.30.2"}'
Zigbee2MQTT:info  2023-03-06 09:00:05: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"cdf62ea","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0024c0a835","panID":6754},"permit_join":true,"version":"1.30.2"}'
Zigbee2MQTT:info  2023-03-06 09:00:05: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-03-06 09:00:05: Zigbee2MQTT started!

I passed through the Zigbee USB Dongle using the /dev/tty as well as /dev/serial/by-id methods. I also changed ACM0 in Zigbee2Mqtt to USB0 but this also did not make a difference.

Seems I did do everything correctly, I just did not remember exactly how things should behave and several sensor batteries have drained hence they did not show up.
The Zigbee Dongle Plus does not show up under devices, only the sensors do.