Zigbee2Mqtt ne démarre pas avec une Combee II, help! svp

Bonjour à tous.
Je sors d’une ancienne installation d’une dizaine d’années (environ une cinquantaine 50 modules, tous en 433Mz) sur Zibase puis sur Jeedom.

J’ai décidé de franchir le pas en repartant complètement à zéro avec autre chose, dont du seulement du Zigbee, un RPI5 8go avec Conbee2 et sur HA.
Je vous avoue que je galère grave !

En fait, tout allait bien pour intégrer mes capteurs et modules avec ZHA, scène etc… jusqu’aux intégrations des modules pour le système d’alarme (Alarmo) comme la sirène, les détecteurs de fumée, etc, ils sont reconnus par ZHA mais aucun moyen de les intégrer dans Alarmo.
J’ai donc voulu passer sur Zigbee2Mqtt (les boules, j’avais déjà installé une bonne trentaine de modules) j’y ai passé des heures et des heures et là je suis à deux doigt de tout abandonner.
j’ai bien désinstallé ZHA, mais Impossible de démarrer ce foutu Z2M.
J’ai regardé des dizaines et des dizaines de tutos, j’ai scruté les forums de part en part suivi les procédures, et chaque fois en vain.
Je le répète encore une fois, je suis complètement novice dans HA (même au niveau des forums d’ailleurs)

Pouvez-vous m’aider ?

Voici le journal Z2M:

[2024-09-19 18:23:18] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:23:19] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:23:19] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:23:19] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:23:19] error: 	z2m: Failed to start zigbee
[2024-09-19 18:23:19] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:23:19] error: 	z2m: Exiting...
[2024-09-19 18:23:19] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[18:23:19] INFO: Preparing to start...
[18:23:20] INFO: Socat not enabled
[18:23:20] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-19 18:23:22] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:23:22] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:23:22] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:23:22] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:23:22] error: 	z2m: Failed to start zigbee
[2024-09-19 18:23:22] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:23:22] error: 	z2m: Exiting...
[2024-09-19 18:23:22] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[18:23:23] INFO: Preparing to start...
[18:23:23] INFO: Socat not enabled
[18:23:24] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-19 18:23:26] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:23:26] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:23:26] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:23:26] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:23:26] error: 	z2m: Failed to start zigbee
[2024-09-19 18:23:26] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:23:26] error: 	z2m: Exiting...
[2024-09-19 18:23:26] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[18:23:26] INFO: Preparing to start...
[18:23:27] INFO: Socat not enabled
[18:23:27] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-19 18:23:29] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:23:29] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:23:29] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:23:29] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:23:29] error: 	z2m: Failed to start zigbee
[2024-09-19 18:23:29] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:23:29] error: 	z2m: Exiting...
[2024-09-19 18:23:29] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[18:23:30] INFO: Preparing to start...
[18:23:30] INFO: Socat not enabled
[18:23:31] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-19 18:23:33] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:23:33] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:23:33] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:23:33] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:23:33] error: 	z2m: Failed to start zigbee
[2024-09-19 18:23:33] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:23:33] error: 	z2m: Exiting...
[2024-09-19 18:23:33] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[18:23:34] INFO: Preparing to start...
[18:23:34] INFO: Socat not enabled
[18:23:34] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-19 18:23:36] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:23:36] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:23:36] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:23:36] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:23:36] error: 	z2m: Failed to start zigbee
[2024-09-19 18:23:36] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:23:36] error: 	z2m: Exiting...
[2024-09-19 18:23:36] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[18:30:21] INFO: Preparing to start...
[18:30:21] INFO: Socat not enabled
[18:30:22] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-19 18:30:24] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-19 18:30:24] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-19 18:30:24] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-19 18:30:24] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-19 18:30:24] error: 	z2m: Failed to start zigbee
[2024-09-19 18:30:24] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-19 18:30:24] error: 	z2m: Exiting...
[2024-09-19 18:30:24] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

Bonjour,
il faut supprimer ZHA, redémarrer HA. Puis ignorer ZHA , qui te proposera une nouvelle installation. Si tu l’ignores pas, il monopolise la clé Zigbee quand même et bloque le lancement de Z2M.

Montre ta configuration du serial pour Z2M ?

Ta lu ce tutorial ?

1 « J'aime »

Comme le dit @WarC0zes et les logs ta clé est déjà utilisé donc par zha qu’il faut surtout bien ignorer

Bonsoir et merci pour ta réponse.

Oui, j’ai bien déinstallé ZHA, redémarré et j’ai vu qu’il était inactif mais toujours visible alors j’ai bien cliqué sur ignorer.

Oui, au final, je suis tombé justement sur ce tutoriel (excellent d’ailleurs) que j’ai vraiment suivi à la lettre, mais en vain…

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://core-mosquitto:1883
  user: mqtt
  password: mqtt
serial:
  serial:
    port: >-
      /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2424831-if00
    adapter: deconz

saisissez ou collez du code ici

tu as deux fois serial:

faut que ca soit comme telle :

serial:
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2424831-if00
  adapter: deconz

Oh purée, ça fonctionne enfin ! 1000 merci à toi !

2 « J'aime »

Si c’est bon pour toi, passe ton sujet en résolu en cochant la case solution sur le message qui l’apporte.
L’icône image