Zigbee2mqtt + dongle SONOFF version P = z2m: Error while starting zigbee-herdsman

Hello le forum,

Comme beaucoup, je rencontre un problème de paramétrage de zigbee2mqtt avec le dongle SONOFF version P.

Voici les caractéristiques de ma configuration :

System Information

version core-2025.1.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.62-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 916.2 GB
disk_used 5.9 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.4.1), Zigbee2MQTT (2.0.0-2), File editor (5.8.0)
  1. Mosquitto Broket :
    => Voici la configuration :

=> Voici le journal :

  1. Zigbee2mqtt :
    => Voici la configuration :

=> Voici la configuration yaml :

version: 4
homeassistant:
  enabled: true
advanced:
  network_key:
    - 94
    - 159
    - 21
    - 172
    - 172
    - 86
    - 121
    - 242
    - 23
    - 167
    - 23
    - 156
    - 130
    - 31
    - 38
    - 141
  pan_id: 20198
  ext_pan_id:
    - 94
    - 124
    - 253
    - 249
    - 64
    - 93
    - 8
    - 60
mqtt:
  server: mqtt://core-mosquitto:1883
  user: mqtt_adm
  password: xxxxxxxxx
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_6a7237dfa039ef119ae05ef454516304-if00-port0
  adapter: zstack
[22:43:50] INFO: e[32mPreparing to start...e[0m
[22:43:50] INFO: e[32mSocat not enablede[0m
[22:43:50] INFO: e[32mStarting Zigbee2MQTT...e[0m
Starting Zigbee2MQTT without watchdog.
[2025-01-07 22:43:52] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2025-01-07 22:43:52] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-07 22:43:52] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-07 22:43:52] e[32minfoe[39m: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_6a7237dfa039ef119ae05ef454516304-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-07 22:43:52] e[32minfoe[39m: 	zh:zstack:znp: Serialport opened
[2025-01-07 22:43:52] e[32minfoe[39m: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-01-07 22:43:53] e[32minfoe[39m: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Failed to start zigbee-herdsman
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Exiting...
[2025-01-07 22:44:12] e[31merrore[39m: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/zigbee-herdsman@3.2.1/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
    at Controller.start (/app/node_modules/.pnpm/zigbee-herdsman@3.2.1/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:142:13)
    at start (/app/index.js:161:5)

J’ai récupéré l’ID du dongle dans le matériel :

Etant newbie, j’ai du faire une boulette quelque part mais pas moyen de trouver la solution. J’ai tenté un redémarrage de HA mais rien ne change :frowning:

Merci d’avance pour votre aide. Bonne soirée et bonne nuit

Bah non c’est la version E qui normalement pose des soucis :rofl:

Salut,
c’est surement que tu n’as pas ignoré l’installation de ZHA ( Zigbee home automation ), qui est proposé automatiquement quand tu branches la clé zigbee. Si tu ne l’ignores pas, elle monopolise la clé Zigbee et empêche Z2M de démarrer.

Une petite lecture de l’article pour installer Z2M:

Bonjour,

c’est bien d’avoir mis la déclaration de ta clef (sérial) dans le fichier configuration.yaml, mais il faut aussi la déclarer ici