Je souhaite passer du plugin zigbee à jeezigbee, le serveur local mqtt fonctionne bien mais après quelques secondes le démon jeezigbee s’arrête et voici le log du débug :
zigbee2mqtt@1.39.1 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-08-07 12:10:26] e[31merrore[39m: z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-08-07 12:10:26] e[31merrore[39m: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-08-07 12:10:26] e[31merrore[39m: z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-08-07 12:10:37] e[31merrore[39m: z2m: Error while starting zigbee-herdsman
[2024-08-07 12:10:37] e[31merrore[39m: z2m: Failed to start zigbee
[2024-08-07 12:10:37] e[31merrore[39m: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-08-07 12:10:37] e[31merrore[39m: z2m: Exiting...
[2024-08-07 12:10:37] e[31merrore[39m: z2m: Error: get network parameters Error:TIMEOUT
at DeconzAdapter.getNetworkParameters (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:1153:35)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:538:9)
at processTimers (node:internal/timers:512:7)
at Controller.getNetworkParameters (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:394:44)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:135:31)
at Zigbee.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/zigbee.ts:63:27)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/controller.ts:139:27)
at start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:154:5)
Informations Jeedom
Core : 4.4.9 (V4-stable)
DNS Jeedom : non
Plugin : JeeZigbee
Version : 2024-08-05 09:04:43 (stable)
Statut Démon : Stoppé - (2024-08-07 12:19:48)
Comme ça ne fonctionnait pas, j’ai refait une installation toute propre jeedom et je n’ai que ce plugin + mqtt, j’ai bien relancé les dépendances aussi plusieurs fois.
J’utilise une clé conbee 2 comme passerelle zigbee. J’ai aussi reflashé la clé avec des nouvelles et des anciennes versions mais rien ne permet de lancer le démon.
Je pense que le problème est dans ce message de debug
z2m: Failed to load external converter file ‹ /var/www/html/plugins/z2m/core/class/…/config/converters/Danfoss/icon.js › (Cannot find module ‹ zigbee-herdsman-converters/lib/extend ›
/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:264
var er = new ERR_STREAM_WRITE_AFTER_END();
^
Error: write after end
at writeAfterEnd (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:264:12)
at DerivedLogger.Writable.write (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:300:21)
at DerivedLogger.log (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/lib/winston/logger.js:231:12)
at Logger.log (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/util/logger.ts:189:25)
at Logger.debug (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/util/logger.ts:210:14)
at Driver.processQueue (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:489:24)
at Timeout._onTimeout (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:169:22)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
Non le soucis ne vient pas de la tout le monde a cette erreur c’est normal. La ton soucis c’est que la clef renvoi pas les informations du réseau zigbee. Essaye de voir si le firmware est bien à jour sur la clef vérifie le port usb ainsi que le baudrate. Et si ça marche toujours pas c’est que la clef a un soucis il faut la changer.