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
[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
- 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.
et le log Z2md
EDIT : Désolé, j’ai oublié de le mettre en débug
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