Démon Z2M ne démarre plus

helloo.

image

voici l’erreur quand je veux démarrer le démon. ca parle à quelqu’un ?

> zigbee2mqtt@1.41.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- device_options must be object
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

j’ai déjà essayé reboot, déco clé usb, dépendances z2m / mqttmanager, …
ce que j’ai pas essayé encore récemment: flash du firmware

merci bcp

Bonjour

Install la dernier version compatible c’est la 1.42.0 et relance les dependance.

merci pour cette réponse rapide.

j’ai spécifé désormais la 1.42.0 mais c’est identique

> zigbee2mqtt@1.42.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- device_options must be object
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

même après dépendances, reboot, etc.

une autre idée? thanks

Bonjour
Si vous changez la version il faut sauvegarder et relancer les dépendances normalement, l’avez vous fait ?

moi j’ai essayé en 1.42 et 2.0 en relancant les dependances à chaque fois, et au démarrage du démon mon fichier de configuration /plugins/z2m/data/configuration.yaml a la section device_options qui est remplacée de device_options: {} (avant, quand ca marchait) à device_options: [], ce qui est invalide.

Mais je n’ai pas suivi l’actualité de ce plugin, je ne sais pas pourquoi !

bonjour merci aussi :slight_smile: oui oui c’est fait, également au niveau de mqtt manager, mosquitto aussi bref, je tente tout mais rien ne fonctionne. je vais reboot et changer le port usb entre z2m et rfxcom pour voir…

ce message est-il connu?

- device_options must be object

car je ne sais pas quoi faire même en lisant Configuration | Zigbee2MQTT

ha et on pourrait remplacer éventuellement? je vais voir, merci bcp

moi ce que j’ai fait, et je ne conseille à personne d’en faire autant, parce que je n’ai pas un gros usage de ce plugin, c’est que j’ai renommé /plugins/z2m/data/configuration.yaml en /plugins/z2m/data/configuration.yaml.old et j’ai lancé le démon.
Il applique les migrations et recrée un fichier de configuration valide.

Je ne sais pas par contre pourquoi il m’a généré ce fichier, mais ca date de la maj d’aujourd’hui, vu que ca a dégradé ma page santé.

cool merci je vais voir de ce côté. car effectivement on voit bien la différence…

bon ca a tenu qq secondes de plus mais ca ne fonctionne pas non plus:

> zigbee2mqtt@1.42.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2025-01-08 17:17:49] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2025-01-08 17:17:49] e[32minfoe[39m: 	z2m: Loaded external converter '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js'
[2025-01-08 17:17:49] e[34mdebuge[39m: 	z2m: Loaded state from file /var/www/html/plugins/z2m/data/state.json
[2025-01-08 17:17:49] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba63)
[2025-01-08 17:17:49] e[34mdebuge[39m: 	z2m: sd-notify loaded
[2025-01-08 17:17:49] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (2.1.9)
[2025-01-08 17:17:49] e[34mdebuge[39m: 	z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":6754,\"extendedPanID\":[221,221,221,221,221,221,221,221],\"channelList\":[11],\"networkKey\":\"HIDDEN\"},\"databasePath\":\"/var/www/html/plugins/z2m/data/database.db\",\"databaseBackupPath\":\"/var/www/html/plugins/z2m/data/database.db.backup\",\"backupPath\":\"/var/www/html/plugins/z2m/data/coordinator_backup.json\",\"serialPort\":{\"path\":\"/dev/ttyUSB0\",\"adapter\":\"zstack\"},\"adapter\":{\"disableLED\":false}}"'
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB0","adapter":"zstack"},"adapter":{"disableLED":false},"databasePath":"/var/www/html/plugins/z2m/data/database.db","databaseBackupPath":"/var/www/html/plugins/z2m/data/database.db.backup","backupPath":"/var/www/html/plugins/z2m/data/coordinator_backup.json"}'
[2025-01-08 17:17:50] e[32minfoe[39m: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-08 17:17:50] e[32minfoe[39m: 	zh:zstack:znp: Serialport opened
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - ping - {"capabilities":1}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,0,33,1,32]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,1,89,6,61]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,1,89,6,61]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 1 - [89,6] - 61
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - ping - {"capabilities":1625}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - ping - {"capabilities":1}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,0,33,1,32]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,1,89,6,61]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,1,89,6,61]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 1 - [89,6] - 61
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - ping - {"capabilities":1625}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - version - {}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,0,33,2,35]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,10,97,2,2,1,2,7,1,70,217,52,1,0,196]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,10,97,2,2,1,2,7,1,70,217,52,1,0,196]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 10 - 3 - 1 - 2 - [2,1,2,7,1,70,217,52,1,0] - 196
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - version - {"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20240710}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack: Adapter concurrent: 16
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack: Detected znp version 'zStack3x0' ({"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20240710})
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:adapter:zstack:manager: beginning znp startup
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - getExtAddr - {}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,0,33,4,37]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,8,97,4,111,81,232,41,0,75,18,0,203]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,8,97,4,111,81,232,41,0,75,18,0,203]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 8 - 3 - 1 - 4 - [111,81,232,41,0,75,18,0] - 203
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - getExtAddr - {"extaddress":"0x00124b0029e8516f"}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvLength - {"id":130}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,2,33,19,130,0,178]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,19,24,0,104]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,19,24,0,104]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 19 - [24,0] - 104
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvLength - {"length":24}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvReadExt - {"id":130,"offset":0}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,4,33,28,130,0,0,0,187]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,26,97,28,0,24,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,1,0,32,118,197,155,1,210]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,26,97,28,0,24,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,1,0,32,118,197,155,1,210]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 26 - 3 - 1 - 28 - [0,24,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,1,0,32,118,197,155,1] - 210
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvReadExt - {"status":0,"len":24,"value":{"type":"Buffer","data":[0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,1,0,32,118,197,155,1]}}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:adapter:zstack:manager: determining znp startup strategy
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvLength - {"id":96}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,2,33,19,96,0,80]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,19,1,0,113]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,19,1,0,113]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 19 - [1,0] - 113
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvLength - {"length":1}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvReadExt - {"id":96,"offset":0}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,4,33,28,96,0,0,0,89]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,3,97,28,0,1,85,42]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,3,97,28,0,1,85,42]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 3 - 3 - 1 - 28 - [0,1,85] - 42
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvReadExt - {"status":0,"len":1,"value":{"type":"Buffer","data":[85]}}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvLength - {"id":33}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,2,33,19,33,0,17]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,19,116,0,4]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,19,116,0,4]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 19 - [116,0] - 4
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvLength - {"length":116}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvReadExt - {"id":33,"offset":0}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,4,33,28,33,0,0,0,24]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,118,97,28,0,116,64,5,2,51,15,51,0,30,0,0,0,1,5,1,143,0,8,0,2,13,2,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,98,26,8,0,0,8,0,0,15,15,4,0,1,0,0,0,1,0,0,0,0,111]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,118,97,28,0,116,64,5,2,51,15,51,0,30,0,0,0,1,5,1,143,0,8,0,2,13,2,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,98,26,8,0,0,8,0,0,15,15,4,0,1,0,0,0,1,0,0,0,0,111]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [81,232,41,0,75,18,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,0,1,60,10,1,0,0,0,229,53,0,0,154]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,118,97,28,0,116,64,5,2,51,15,51,0,30,0,0,0,1,5,1,143,0,8,0,2,13,2,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,98,26,8,0,0,8,0,0,15,15,4,0,1,0,0,0,1,0,0,0,0,111,81,232,41,0,75,18,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,0,1,60,10,1,0,0,0,229,53,0,0,154]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 118 - 3 - 1 - 28 - [0,116,64,5,2,51,15,51,0,30,0,0,0,1,5,1,143,0,8,0,2,13,2,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,98,26,8,0,0,8,0,0,15,15,4,0,1,0,0,0,1,0,0,0,0,111,81,232,41,0,75,18,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,0,1,60,10,1,0,0,0,229,53,0,0] - 154
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvReadExt - {"status":0,"len":116,"value":{"type":"Buffer","data":[64,5,2,51,15,51,0,30,0,0,0,1,5,1,143,0,8,0,2,13,2,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,98,26,8,0,0,8,0,0,15,15,4,0,1,0,0,0,1,0,0,0,0,111,81,232,41,0,75,18,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,0,1,60,10,1,0,0,0,229,53,0,0]}}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvLength - {"id":98}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,2,33,19,98,0,82]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,19,16,0,96]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,19,16,0,96]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 19 - [16,0] - 96
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvLength - {"length":16}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvReadExt - {"id":98,"offset":0}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,4,33,28,98,0,0,0,91]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,18,97,28,0,16,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,218]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,18,97,28,0,16,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,218]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 18 - 3 - 1 - 28 - [0,16,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112] - 218
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvReadExt - {"status":0,"len":16,"value":{"type":"Buffer","data":[141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112]}}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvLength - {"id":58}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,2,33,19,58,0,10]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,19,17,0,97]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,19,17,0,97]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 19 - [17,0] - 97
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvLength - {"length":17}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvReadExt - {"id":58,"offset":0}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,4,33,28,58,0,0,0,3]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,19,97,28,0,17,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,218]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,19,97,28,0,17,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,218]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 19 - 3 - 1 - 28 - [0,17,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112] - 218
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvReadExt - {"status":0,"len":17,"value":{"type":"Buffer","data":[0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112]}}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvLength - {"id":59}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,2,33,19,59,0,11]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,2,97,19,17,0,97]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,19,17,0,97]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 19 - [17,0] - 97
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvLength - {"length":17}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: --> SREQ: SYS - osalNvReadExt - {"id":59,"offset":0}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:writer: --> frame [254,4,33,28,59,0,0,0,2]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: <-- [254,19,97,28,0,17,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,218]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext [254,19,97,28,0,17,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112,218]
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --> parsed 19 - 3 - 1 - 28 - [0,17,0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112] - 218
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:znp: <-- SRSP: SYS - osalNvReadExt - {"status":0,"len":17,"value":{"type":"Buffer","data":[0,141,72,174,53,157,113,239,95,137,29,13,21,188,160,71,112]}}
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:zstack:unpi:parser: --- parseNext []
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:adapter:zstack:manager: (stage-1) adapter is configured
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:adapter:zstack:manager: (stage-2) adapter state does not match configuration
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:adapter:zstack:manager: (stage-3) got adapter backup
[2025-01-08 17:17:50] e[34mdebuge[39m: 	zh:adapter:zstack:manager: (stage-4) adapter state matches backup
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: Configuration is not consistent with adapter state/backup!
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: - PAN ID: configured=6754, adapter=6754
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: - Extended PAN ID: configured=00124b0029e8516f, adapter=00124b0029e8516f
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=8d48ae359d71ef5f891d0d15bca04770
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: - Channel List: configured=11, adapter=11
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: Please update configuration to prevent further issues.
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: If you wish to re-commission your network, please remove coordinator backup at /var/www/html/plugins/z2m/data/coordinator_backup.json.
[2025-01-08 17:17:50] e[31merrore[39m: 	zh:adapter:zstack:manager: Re-commissioning your network will require re-pairing of all devices!
[2025-01-08 17:17:50] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2025-01-08 17:17:50] e[31merrore[39m: 	z2m: Failed to start zigbee
[2025-01-08 17:17:50] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2025-01-08 17:17:50] e[31merrore[39m: 	z2m: Exiting...
[2025-01-08 17:17:50] e[31merrore[39m: 	z2m: Error: startup failed - configuration-adapter mismatch - see logs above for more information
at ZnpAdapterManager.determineStrategy (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:251:35)
at ZnpAdapterManager.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:62:26)
at ZStackAdapter.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:158:16)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
at Zigbee.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/zigbee.ts:69:27)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/controller.ts:161:27)
at start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:154:5)

Reboot, Relancer la mise à jour z2m puis relancer les dépendances en 1.42.0

ok jessaie dans cet ordre merci

Probablement :

If you try to roll back to 1.x.x, make sure to also migrate back to your old data/configuration.yaml that was automatically backed up when you updated to 2.0.0.

je suis en 2.0. Et je l’étais déjà. Et je ne sais meme pas pourquoi d’ailleurs, ca c’est fait à la précédente maj.
Ce que j’ai vu c’est que cette mise à jour m’a fait un downgrade en 1.42 alors que mon installation etait fonctionnelle, puis en relancant les maj je suis repassé en 2.0, mais avec un fichier de configuration cassé, parce qu’il ne réapplique pas les maj. De ce que j’ai cru comprendre.

Comme je l’ai dit, vu les équipements que j’ai dessus et le temps à y consacrer, j’ai fait un peu bourrin pour résoudre le problème, je ne sais pas du tout si ca ne nécessite pas de s’y pencher un peu !

merci à vous tous. ensemble on y est arrivé. j’ai repris le configuration_backup_v1.yaml que j’ai renommé en configuration.yaml et j’ai relancé le démon (avec une réinstall des dépendances juste avant) et cette fois le démon tient.

donc solution apparemment il faut ni ni {} dans les device options :slight_smile: merciiii

1 « J'aime »

Bonjour,

En effet la mise à jour du plugin Jeezigbee hier à la version stable du 2025-01-07
impacte dans certains cas le fichier
/var/www/html/plugins/z2m/data/configuration.yaml
provoquant un dysfonctionnement si ce n’est pas cohérent avec la syntaxe attendue par zigbee2mqtt v1.42.0 ou v2.
Donc attention lorsque l’on modifie dans la configuration du plugin jeezigbee
la version voulue de 1.42.0 en v2 et inversement.

akenad :slight_smile:

2 « J'aime »

Bonsoir

Merci beaucoup à tous !
Ca refonctionne aussi de mon côté

bonne soirée
nicolas

Bonjour à tous,

Victime moi aussi du passage en 2.0, j’ai tenté le Rollback, mais après avoir essayé d’autres choses liées au npm.

A l’installation des dépendances, j’ai ce problème:

error: pathspec 'tags/1.42' did not match any file(s) known to git
+ [ -n 1.42 ]
+ echo 1.42
+ head -c 1
+ [ 1 -lt 2 ]
+ npm ci
npm error code EUSAGE
npm error
npm error The `npm ci` command can only install with an existing package-lock.json or
npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm error later to generate a package-lock.json file, then try again.
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-09T08_14_56_058Z-debug-0.log
+ npm run build
> zigbee2mqtt@2.0.0 build
> tsc && node index.js writehash
sh: 1: tsc: not found
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
rm: invalid option -- '/'
Try 'rm --help' for more information.
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Et évidement, Démon NOK.

Voilà ce que j’avais fait, mais un peu sans savoir ce que je faisais (je m’en excuse) :

Copy the whole data folder
deleted the folder /opt/zigbee2mqtt

sudo mkdir /opt/zigbee2mqtt
sudo chown -R ${USER}: /opt/zigbee2mqtt

Clone Zigbee2MQTT repository
git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt

Install dependencies (as user "pi")
cd /opt/zigbee2mqtt
npm ci --maxsockets 1

backup the data folder
sudo chown -R ${USER}: /opt/zigbee2mqtt/data

npm run build

npm start

Si quelqu’un peut m’aiguiller ?

Bonjour tout le monde ! Une idée pour débloquer ma situation ?
Je n’ai plus de réseau Zigbee et j’ai pu en peser hier soir la pénibilité :sweat_smile:

La version à mettre est 1.42.0