Mise a jour Sonoff DONGLE -E (pour Zigbee2mqtt 1.37.0-1)(ember)

Bonjour à tous

Je viens de franchir le pas ! (pas sans frayeur !!)

Version de base :

  • HA 2024.5.2
  • Z2M 1.37.0-1

J’ai procédé comme suit :

maj_dongle_E_9_11

Pour cette premiere partie tous va bien.

La Suite …

  • Remise en place de la clé dans le NUC HA et redémarrage
  • Redémarrer le module complémentaire Z2M
    1ᵉʳ démarrage échec :woozy_face:
log1
[2024-05-08 10:09:46] info: 	zh:ember:uart:ash:   Out of sequence : RX=0
[2024-05-08 10:09:46] info: 	zh:ember:uart:ash:   ACK timeouts    : RX=0
[2024-05-08 10:09:46] error: 	z2m: Error while starting zigbee-herdsman
[2024-05-08 10:09:46] error: 	z2m: Failed to start zigbee
[2024-05-08 10:09:46] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-05-08 10:09:46] error: 	z2m: Exiting...
[2024-05-08 10:09:46] error: 	z2m: Error: 
    at Ezsp.ezspVersion (/app/node_modules/zigbee-herdsman/src/adapter/ember/ezsp/ezsp.ts:1301:19)
    at EmberAdapter.emberVersion (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1642:66)
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:802:9)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2660:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:108:27)
    at start (/app/index.js:107:5)
  • Aller dans le dossier zigbee2mqtt et renommer

coordinator_backup.json en coordinator_backup.json.bak

(Z2m va reconstruire le fichier avec les bons réglages)

  • Redémarrer Z2M (patienter quelques minutes) si c’est bon, vous avez ce log:
Log 2
[10:11:19] INFO: Preparing to start...
[10:11:19] INFO: Socat not enabled
[10:11:19] INFO: Starting Zigbee2MQTT...
[2024-05-08 10:11:20] info: 	z2m: Logging to console, file (filename: log.log)
[2024-05-08 10:11:21] info: 	z2m: Starting Zigbee2MQTT version 1.37.0 (commit #unknown)
[2024-05-08 10:11:21] info: 	z2m: Starting zigbee-herdsman (0.45.0)
[2024-05-08 10:11:21] info: 	zh:ember: ======== Ember Adapter Starting ========
[2024-05-08 10:11:21] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2024-05-08 10:11:21] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-08 10:11:21] info: 	zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-05-08 10:11:21] info: 	zh:ember:uart:ash: Serial port opened
[2024-05-08 10:11:21] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-08 10:11:22] info: 	zh:ember:uart:ash: ======== ASH connected ========
[2024-05-08 10:11:22] info: 	zh:ember:uart:ash: ======== ASH started ========
[2024-05-08 10:11:22] info: 	zh:ember:ezsp: ======== EZSP started ========
[2024-05-08 10:11:22] info: 	zh:ember: [STACK STATUS] Network up.
[2024-05-08 10:11:22] info: 	zh:ember: [INIT TC] NCP network matches config.
[2024-05-08 10:11:22] info: 	zh:ember: [CONCENTRATOR] Started source route discovery. 1248ms until next broadcast.
[2024-05-08 10:11:22] info: 	z2m: zigbee-herdsman started (resumed)
[2024-05-08 10:11:22] info: 	z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":3,"revision":"7.4.3 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2024-05-08 10:11:22] info: 	z2m: Currently 39 devices are joined:
[2024-05-08 10:11:22] info: 	z2m: Plug zb 001 (0xa4c138606ee9d8d1): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 002 (0xa4c13892cedc4ea2): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 003 (0xa4c1386442433559): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 004 (0xa4c13897b38afa8d): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 005 (0xa4c138d21a4ada2a): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 006 (0xa4c1380fee2a7965): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 007 (0xa4c138505168542e): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 008 (0xa4c138b2b8cc9c0c): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 009 (0xa4c1389a6388b5b5): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 010 (0xa4c138aefffd1e8c): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 011 (0xa4c138b41955b770): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: Vanne motorise 1 (0xa4c138f4f5986e05): ZN231392 - TuYa Smart water/gas valve (Router)
[2024-05-08 10:11:22] info: 	z2m: VMC Pv Gv (0xa4c1389ce82b9071): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Fingerbot 1 (0xa4c1388f2d3731ce): TS0001_fingerbot - TuYa Zigbee fingerbot plus (EndDevice)
[2024-05-08 10:11:22] info: 	z2m: plug zb 012 (0xa4c138b54aa16f2b): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 013 (0xa4c138dbf840e272): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 014 (0xa4c13880d169e5db): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 015 (0xa4c1381d950548f0): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 016 (0xa4c138fd3f115316): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: Vanne motorise 2 (0xa4c13840975acd17): ZN231392 - TuYa Smart water/gas valve (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 017 (0xa4c13891190343c8): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 018 (0xa4c13812717db16f): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 019 (0xa4c138494117c6cd): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 020 (0xa4c1386edf7dbeb1): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: plug zb 021 (0xa4c138a48c43370c): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
[2024-05-08 10:11:22] info: 	z2m: perron (0xa4c138a076284caa): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Couloir rdc (0xa4c1380d42bfbc90): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Relais frisquet (0xa4c13822d6bc0e62): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Bureau (0xa4c13843562d31f4): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Garage (0xa4c1381990a367c2): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Buanderie (0xa4c138839a54b4e4): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Salle de douche (0xa4c138012848291e): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Couloir etage (0xa4c138782f37708a): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Salle de bain (0xa4c138dacecbb74c): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Miroir salle de bain (0xa4c1389d0591ea57): JR-ZDS01 - Girier 1 gang mini switch (Router)
[2024-05-08 10:11:22] info: 	z2m: Escalier etage (0xa4c13814bb92268a): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Grenier (0xa4c13830cb436749): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Cuisine (0xa4c13832d9a1fd54): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Facade avant (0xa4c13877a08f18c2): TS0001_switch_module - TuYa 1 gang switch module (Router)
[2024-05-08 10:11:22] info: 	z2m: Zigbee: disabling joining new devices.
[2024-05-08 10:11:22] info: 	z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-08 10:11:23] info: 	z2m: Connected to MQTT server
[2024-05-08 10:11:23] info: 	z2m: Started frontend on port 8099
[2024-05-08 10:11:23] info: 	z2m: Zigbee2MQTT started!

(Si c’est pas bon, redémarrer Z2M, j’ai du le faire 2 fois)

  • Activer un équipement Zigbee pour réactiver le réseau
  • Normalement après sa fonctionne :joy:)

Malgré tout j’ai ces message qui s’affiche dans les logs :

LOG Warning
[2024-05-08 10:11:26] warning: 	zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "35716".
[2024-05-08 10:12:07] warning: 	z2m: Failed to ping 'Vanne motorise 2' (attempt 1/1, ZCL command 0xa4c13840975acd17/1 genBasic.read(["zclVersion"], {"timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Delivery failed for {"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":4160,"groupId":0,"sequence":253}))
[2024-05-08 10:12:17] warning: 	z2m: Failed to ping 'plug zb 017' (attempt 1/1, ZCL command 0xa4c13891190343c8/1 genBasic.read(["zclVersion"], {"timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Delivery failed for {"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":4160,"groupId":0,"sequence":32}))

Edit: la mise a jour de z2m en version 1.37.1 apporte des corrections, notamment remplacement des messages de « warning » (rouge ou orange) par des messages « info » (vert).

Log Error
[2024-05-08 10:45:43] error: 	z2m: Publish 'set' 'state' to 'plug zb 020' failed: 'Error: ZCL command 0xa4c1386edf7dbeb1/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed ({"target":61859,"apsFrame":{"profileId":260,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":1,"options":4416,"groupId":0,"sequence":177},"zclSequence":186,"commandIdentifier":11} timed out after 10000ms)'

** Tous fonctionne.**


image

Voila si sa peut servir à d’autres…

10 « J'aime »