J’ai supprimé zha pour installer z2m et mosquitto. J’ai une erreur 502 bad gateway.
Les logs de mosquitto sont nickels.
Ceux de z2m comportent des erreurs
[17:53:33] INFO: Preparing to start...
[17:53:35] INFO: Socat not enabled
[17:53:40] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-10-11 17:53:53] info: z2m: Logging to console, file (filename: log.log)
[2024-10-11 17:53:53] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-11 17:53:53] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-11 17:53:54] error: zh:zstack:znp: Failed to determine if path is valid: 'Error: spawn udevadm ENOENT'
[2024-10-11 17:53:54] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyAMA0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-10-11 17:53:54] info: zh:zstack:znp: Serialport opened
[2024-10-11 17:53:54] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-10-11 17:53:56] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-10-11 17:54:14] error: z2m: Error while starting zigbee-herdsman
[2024-10-11 17:54:14] error: z2m: Failed to start zigbee
[2024-10-11 17:54:14] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-10-11 17:54:14] error: z2m: Exiting...
[2024-10-11 17:54:15] error: z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:161:27)
at start (/app/index.js:154:5
Oui, je suis certain d’avoir une pizigate v1 branchée sur mon raspberry pi.
Après, je ne sais pas ce que signifie CC2531. Mais je ne remets pas en cause ce que tu dis.
Je me doute que tu connais le matériel. Par contre ça ne semble pas être ce que tu as configuré… Pour moi z2m considère qu’il doit fonctionner avec une cc2531