Instabilité réseau avec clé POP ELELABS ELU013

Bonjour,

Tout d’abord afin de poser un minimum de contexte voici ma page santé :

ainsi que ma page de config du plugin actuel


J’utilise une rallonge USB pour ma clé (pour éviter les interférences avec le DD en USB3) que j’ai changer pour savoir si le problème ne venait pas de là mais sans changement notable (clé connecté sur port USB2. (j’ai aussi changé de port USB2)

J’ai donc des soucis de stabilité réseau Zigbee (73 équipements dont 42 routeurs) avec ma clé pop Elelabs ELU013 :

  • En EZSP avec dernier firmware offciel 6.10.3.0 build 297 et avec la version de Zigbee2MQTT en 1.40.2, le démon redémarre souvent et j’ai également des pertes de capteurs (end point devices) mais aussi des pertes de modules sur secteur (routeurs) sur mon réseau.
    voici le log Z2md qui a tenu 20min. (sans redémarrage auto du démon)
    EDIT : Désolé, j’ai oublié de le mettre en débug :disappointed:
[2024-10-29 00:05:48] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:05:48] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:06:27] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:06:27] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:08:08] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:08:09] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:08:49] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:08:49] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:11:49] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:11:49] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:12:50] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:12:50] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:15:39] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:15:39] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:17:50] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:17:50] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:20:26] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":6} after 4000ms
[2024-10-29 00:20:26] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (6)
[2024-10-29 00:20:26] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (5,5,0): 4d0001340000731a04010000010100010000b7b80518190b0a00
[2024-10-29 00:20:31] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":6} after 4000ms
[2024-10-29 00:20:31] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (6)
[2024-10-29 00:20:31] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (5,5,1): 4d0001340000731a04010000010100010000b7b80518190b0a00
[2024-10-29 00:20:33] e[31merrore[39m: 	z2m: Failed to read state of 'Ch ami chevet G' after reconnect (ZCL command 0x00124b00232cf5e0/11 lightingColorCtrl.read(["colorMode","currentX","currentY","enhancedCurrentHue","currentSaturation","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (sendZclFrameToEndpointInternal error))
[2024-10-29 00:20:35] e[31merrore[39m: 	z2m: Failed to read state of 'ch ami lit' after reconnect (ZCL command 0x00124b00232ceb04/11 lightingColorCtrl.read(["colorMode","currentX","currentY","enhancedCurrentHue","currentSaturation","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (sendZclFrameToEndpointInternal error))
[2024-10-29 00:20:39] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:20:39] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
[2024-10-29 00:25:28] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":3} after 4000ms
[2024-10-29 00:25:28] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (3)
[2024-10-29 00:25:28] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (2,6,0): 5a00010500
[2024-10-29 00:25:32] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":3} after 4000ms
[2024-10-29 00:25:32] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (3)
[2024-10-29 00:25:32] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (2,6,1): 5a00010500
[2024-10-29 00:25:32] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[90,0,1,5,0]}
[2024-10-29 00:25:39] e[31merrore[39m: 	zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
[2024-10-29 00:25:39] e[31merrore[39m: 	zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped
> zigbee2mqtt@1.40.2 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-10-29 00:30:24] 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-10-29 00:30:24] 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-10-29 00:30:24] 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

image

  • J’ai essayé de mettre le firmware en Ember via la config du plugin (install firmware OK) sans succès et réseau très instable qui redémarre sans cesse ou plante sans redémarrage auto.
    image
    et le log Z2md
    EDIT : Désolé, j’ai oublié de le mettre en débug :disappointed:
Starting Zigbee2MQTT without watchdog.
[2024-10-28 17:05:53] 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-10-28 17:05:53] 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-10-28 17:05:53] 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-10-28 17:20:22] e[31merrore[39m: 	zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2024-10-28 17:20:25] e[31merrore[39m: 	zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2024-10-28 17:20:25] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 17:20:25] e[31merrore[39m: 	zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2024-10-28 17:20:25] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 17:20:26] e[31merrore[39m: 	zh:ember: NOT_CONNECTED
[2024-10-28 17:20:26] e[31merrore[39m: 	zh:ember: NOT_CONNECTED
[2024-10-28 17:20:26] e[31merrore[39m: 	zh:ember: NOT_CONNECTED
[2024-10-28 17:20:27] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.40.2 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-10-28 17:25:32] 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-10-28 17:25:32] 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-10-28 17:25:32] 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-10-28 17:50:29] e[31merrore[39m: 	zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=232 Len=7].
[2024-10-28 17:50:29] e[31merrore[39m: 	zh:ember: Adapter fatal error: ASH_ERROR_TIMEOUTS
[2024-10-28 17:50:31] e[31merrore[39m: 	zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2024-10-28 17:50:31] e[31merrore[39m: 	zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2024-10-28 17:50:31] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 17:50:31] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.40.2 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-10-28 17:55:31] 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-10-28 17:55:31] 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-10-28 17:55:31] 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-10-28 18:03:25] e[31merrore[39m: 	z2m: Publish 'set' 'state' to 'Terrasse veranda' failed: 'Error: ZCL command 0x842e14fffe0fcc39/1 genLevelCtrl.moveToLevelWithOnOff({"level":254,"transtime":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '46385'.)'
[2024-10-28 18:03:25] e[31merrore[39m: 	z2m: Publish 'set' 'state' to 'Terrasse Pot portique ' failed: 'Error: ZCL command 0x842e14fffe0fcc1e/1 genLevelCtrl.moveToLevelWithOnOff({"level":254,"transtime":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '45855'.)'
[2024-10-28 18:10:54] e[31merrore[39m: 	zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:10:55] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:10:56] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.40.2 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-10-28 18:15:36] 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-10-28 18:15:36] 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-10-28 18:15:36] 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-10-28 18:35:24] e[31merrore[39m: 	zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2024-10-28 18:35:26] e[31merrore[39m: 	zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2024-10-28 18:35:26] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:35:26] e[31merrore[39m: 	zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2024-10-28 18:35:26] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:35:27] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.40.2 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-10-28 18:40:31] 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-10-28 18:40:31] 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-10-28 18:40:31] 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-10-28 18:50:25] e[31merrore[39m: 	zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2024-10-28 18:50:26] e[31merrore[39m: 	zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2024-10-28 18:50:26] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:50:26] e[31merrore[39m: 	zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2024-10-28 18:50:26] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:50:26] e[31merrore[39m: 	zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2024-10-28 18:50:27] e[31merrore[39m: 	z2m: Adapter disconnected, stopping

NB : j’ai une charge CPU qui varie fortement et qui, je pense, est liée à cette instabilité du réseau (ou l’inverse ?)

Du coup, dois-je changer de clé ?
Est-ce un problème d’interférence ? (ah oui j’utilise le canal 11 en Zigbee et canal 11 en Wifi (donc pas d’interférences de ce côté)
D’autres idées ou REX avec des conf similaires ?
Je suis prêt a faire des essais et fournir d’autres infos bien sûr !
David

Bonjour,

Nickel pour les informations fournies.
En principe RPi4B, Debian 11.11, Jeedom 4.4.19, clé popp usb2 rallonge , canal 11, firmware 7.4.3, type de contrôleur Ember, zigbee2mqtt 1.40.2 devrait fonctionner.
Toutefois la clé elelabs popp n’est pas dans la liste zigbee2mqtt Ember recommandée : EmberZNet adapters (Silicon Labs) | Zigbee2MQTT

Peut être as-tu trop d’équipements ou certains dysfonctionnement.

Quelles sont les autres clés usb connectées sur le Pi ?

Peux tu tester avec port du contrôleur correspondant à Elelabs/Popp :
/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0

akenad :slight_smile:

Bonjour,

Merci Akenad pour ce retour et pour tes nombreux posts très intéressants sur le réseau Zigbee, clés, firmwares,… :+1:

J’ai oublié de dire qu’avec la version de zigbee2mqtt 1.40.1 en ESZP V8 cela fonctionne « bien » mieux car sinon (exemple ce matin), pas d’erreur sous Jeedom démon à priori démarré mais réseau HS

j’ai pleins d’avertissements côté Jeedom (erreur JS)


Au moins avec la version 1.40.1, j’ai le démon qui saute et je peux donc le surveiller et le relancer…

Je vais donc faire l’essai demandé et je te fait un retour…
David

C’est la seule clé que j’ai

Bonjour,

J’ai essayé avec ce port mais sans amélioration, le démon décroche rapidement sous firmware Ember et EZSP aussi.

Je sais que ce n’est pas une clé recommandée par Zigbee2mqtt mais dautres personnes y arrivent et j’avoue être un peu a sec là !

Trop d’équipements ? Je ne sais plus combien maxi d’équipements cette clé peut supporter mais je pense pas être aux limites ?
Certains dysfonctionnements, peut-être mais comment investiger à part supprimer les équipements 1 à 1 ?

(Clé Pop fatigué, problème avec Jeedom ou zigbee2mqtt, interférences,…bref je ne sais que faire de plus…
Si vous avez d’autres idées,
David

Bonjour Akenad,

Si je décide de changer de clé laquelle me conseilles-tu ?
Sonoff dongle E ou Sonoff dongle D ou autres ?
Merc8 d’avance,
David

J’ai une préférence pour la Sonoff ZBDongle-E, ou bien la SMLIGHT SLZB-06M (en mode ethernet).

akenad :slight_smile:

1 « J'aime »

Bonjour,

Après échanges avec le support Jeedom (Loic comme d’hab! :smile:) j’ai constaté de plus en plus de dégradation et le fait de désactiver le plugin Jeezigbee n’arrêtait plus les pics de charge bien qu’ils étaient quand même moins violents et fréquents !
Du coup, j’ai essayer d’investiguer pour voir si trop de process en cours, BDD trop lourde, etc…mais rien qui aurait pu expliquer ces lenteurs !
J’ai donc arrêter d’essayer de comprendre le problème (et avec le retour de Loic), j’ai simplement fait une réinstall de l’OS et tout est maintenant rentré dans l’ordre
Si ce retour peut aider d’autres personnes…
David

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.