ZHA non fonctionnel sur ma config
je suis reparti avec une configuration de base
[11:04:43] INFO: Preparing to start...
[11:04:43] INFO: Socat not enabled
[11:04:44] INFO: Starting Zigbee2MQTT...
[2024-05-12 11:04:45] info: z2m: Logging to console, file (filename: log.log)
[2024-05-12 11:04:45] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-12 11:04:45] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-12 11:04:45] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
[2024-05-12 11:04:55] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-05-12 11:04:56] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:108:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
at Zigbee.start (/app/lib/zigbee.ts:62:27)
Donc si tu as deux clés, une type P et une type E, garde la type P pour Z2M. Pour ta type E, tu peux la flasher en routeur pour l’utiliser en tant que tel avec Z2M ou alors, tu peux l’utiliser en coordinateur avec ZHA (mais ça c’est une autre histoire).
Pour info j’ai eu la même erreur après une coupure de courant de mon PC sous Proxmox/HAOS:
la clé Sonoff, initiallement sur ttyACM0, se retrouve sur ttyACM1, et dans l’inventaire matériel sous HA, on a une clé sur 0 et une sur 1. J’ai juste changé le 0 en 1 dans la config Z2M « port: /dev/ttyACM1 », ça remarche. Je précise que j’ai uniquement cette clé sur un port USB, les autres sont libres.
Connaissez-vous ne solution pour « geler » le port, je ne voudrais pas devoir reconfigurer après chaque coupure
Merci. Mais si la clé sonoff fonctionne sur ACM1, mais elle est toujours apparente sur ACM0, cf copie d’écran, c’est comme si j’avais 2 clés identiques.
Après c’est peut être parce que j’utilise Proxmox qui ajoute une couche entre le matériel réel et HAOS ?