Bonjour,
Depuis hier je tourne en rond à essayer de faire fonctionner le plugin JeeZigbee afin de remplacer l’ancien plugin Zigbee car j’ai de nouveau équipements plus compatibles.
Je tourne avec une Jeedom Luna achetée en mars 2023 et jusqu’ici aucun soucis avec l’ancien plugin.
J’ai installé MQTT Manager, configuré en Broker local et installé Mosquitto. Tout semble plutot bon du côté de ce plugin. Par contre j’ai ce message qui tourne en boucle dans le log « mqtt2 » :
[2024-11-29 19:45:07] DEBUG : Message reçu sans prise en charge par un plugin : {"$SYS":{"broker":{"uptime":"1452 seconds","load":{"messages":{"received":{"1min":0.98,"5min":1.04,"15min":0.91},"sent":{"1min":29.45,"5min":29.38,"15min":23.73}},"publish":{"sent":{"1min":23.02,"5min":22.98,"15min":18.73}},"bytes":{"received":{"1min":2.68,"5min":11.64,"15min":15.96},"sent":{"1min":575.2,"5min":580.24,"15min":486.13}}},"heap":{"current":50648},"messages":{"sent":2655},"publish":{"messages":{"sent":2632},"bytes":{"sent":13049}},"bytes":{"sent":109808}}}}
[2024-11-29 19:45:18] DEBUG : Message reçu sans prise en charge par un plugin : {"$SYS":{"broker":{"uptime":"1463 seconds","load":{"messages":{"received":{"1min":0.81,"5min":1,"15min":0.9},"sent":{"1min":29.08,"5min":29.3,"15min":23.77}},"publish":{"sent":{"1min":22.81,"5min":22.93,"15min":18.77}},"bytes":{"received":{"1min":2.23,"5min":11.22,"15min":15.76},"sent":{"1min":574.78,"5min":579.97,"15min":487.18}}},"heap":{"current":50664},"messages":{"sent":2676},"publish":{"messages":{"sent":2653},"bytes":{"sent":13159}},"bytes":{"sent":110687}}}}
Dans le log « mqtt2_packages », a part des packets dépréciés pas de soucis j’ai l’impression.
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mqtt2
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 https://download.docker.com/linux/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye InRelease
Get:3 https://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Hit:4 https://deb.debian.org/debian bullseye-updates InRelease
Hit:5 https://deb.debian.org/debian bullseye-backports InRelease
Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease
Get:7 https://deb.debian.org/debian-security bullseye-security/main Sources [215 kB]
Fetched 243 kB in 3s (73.0 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
lsb-release is already the newest version (11.1.0).
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://download.docker.com/linux/debian bullseye InRelease
Hit:5 https://deb.debian.org/debian bullseye-backports InRelease
Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
lsb-release is already the newest version (11.1.0).
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 4
+ sudo chmod +x /var/www/html/core/class/../../resources/install_composer.sh
+ sudo /var/www/html/core/class/../../resources/install_composer.sh
Begin installation of composer
--2024-11-28 20:01:12-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 2001:41d0:302:1100::8:104f, 54.36.53.46
Connecting to getcomposer.org (getcomposer.org)|2001:41d0:302:1100::8:104f|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58444 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 87% 3.25M 0s
50K ....... 100% 26.5M=0.02s
2024-11-28 20:01:13 (3.64 MB/s) - 'composer-setup.php' saved [58444/58444]
All settings correct for using Composer
Downloading...
Composer (version 2.8.3) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
+ echo 5
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
added 118 packages, and audited 119 packages in 24s
20 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
+ sudo chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
+ echo 6
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
+ echo 7
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Dans le log « mqtt2d » ça à l’air de tourner en boucle aussi :
[2024-11-29 18:48:36] DEBUG : Received message on topic : $SYS/broker/load/messages/received/1min => 1.50
[2024-11-29 18:48:36] DEBUG : Received message on topic : $SYS/broker/load/messages/sent/1min => 29.49
[2024-11-29 18:48:36] DEBUG : Received message on topic : $SYS/broker/load/publish/sent/1min => 22.53
[2024-11-29 18:48:36] DEBUG : Received message on topic : $SYS/broker/load/bytes/received/1min => 3.03
[2024-11-29 18:48:36] DEBUG : Received message on topic : $SYS/broker/load/bytes/sent/1min => 575.75
[2024-11-29 18:48:36] DEBUG : Send data to jeedom : {"$SYS":{"broker":{"uptime":"1661 seconds","load":{"messages":{"received":{"1min":1.5,"5min":1.12,"15min":0.97},"sent":{"1min":29.49,"5min":29.35,"15min":24.88}},"publish":{"sent":{"1min":22.53,"5min":22.82,"15min":19.55}},"bytes":{"received":{"1min":3.03,"5min":7.01,"15min":13.13},"sent":{"1min":575.75,"5min":577.68,"15min":504.56}}},"messages":{"received":34,"sent":3053},"publish":{"messages":{"sent":3026},"bytes":{"sent":15083}},"bytes":{"received":662,"sent":126373}}}}
Par contre du côté de JeeZigbee c’est le flou total : le démon se stop tout seul, la fonction « Accès à la page web z2m » ne fonctionne pas et je n’arrive pas à inclure mes équipements…
Voici la config :
Log z2m :
[2024-11-29 19:27:22][INFO] : Arrêt du démon z2m
[2024-11-29 19:27:25][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix /var/www/html/plugins/z2m/resources/zigbee2mqtt
[2024-11-29 19:30:07][INFO] : Arrêt du démon z2m
[2024-11-29 19:30:09][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix /var/www/html/plugins/z2m/resources/zigbee2mqtt
[2024-11-29 19:30:30][INFO] : Arrêt du démon z2m
[2024-11-29 19:30:37][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=z2m function=remove callInstallFunction=1
[2024-11-29 19:30:47][INFO] : Début d'activation du plugin
[2024-11-29 19:30:48][INFO] : Info sur le démon : {"log":"z2m","launchable":"ok","state":"nok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2024-11-29 19:30:07"}
[2024-11-29 19:30:48][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=z2m function=install callInstallFunction=1
[2024-11-29 19:45:05][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-11-29 19:45:05][INFO] : Arrêt du démon z2m
[2024-11-29 19:45:07][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix /var/www/html/plugins/z2m/resources/zigbee2mqtt
[2024-11-29 19:50:06][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-11-29 19:50:06][INFO] : Arrêt du démon z2m
[2024-11-29 19:50:08][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix /var/www/html/plugins/z2m/resources/zigbee2mqtt
Log z2m_packages :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_z2m
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
Launch pre-install of z2m dependancy
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
+ echo 4
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Hit:2 https://deb.debian.org/debian bullseye InRelease
Get:3 https://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:4 https://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Get:6 https://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:7 https://deb.debian.org/debian-security bullseye-security/main Sources [214 kB]
Get:8 https://deb.debian.org/debian-security bullseye-security/main arm64 Packages [306 kB]
Get:9 https://deb.debian.org/debian-security bullseye-security/main Translation-en [200 kB]
Get:10 https://download.docker.com/linux/debian bullseye/stable arm64 Packages [45.0 kB]
Fetched 929 kB in 3s (333 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://download.docker.com/linux/debian bullseye InRelease
Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
lsb-release is already the newest version (11.1.0).
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
+ echo 7
+ sudo systemctl restart apache2
+ echo 8
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ echo Launch post-install of z2m dependancy
Launch post-install of z2m dependancy
+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
+ npm ci
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
added 649 packages, and audited 650 packages in 2m
90 packages are looking for funding
run `npm fund` for details
2 vulnerabilities (1 low, 1 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
+ npm run build
> zigbee2mqtt@1.41.0 build
> tsc && node index.js writehash
+ 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
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Et z2md :
1200|> zigbee2mqtt@1.41.0 start
1201|> node index.js
1202|Starting Zigbee2MQTT without watchdog.
1203|[2024-11-29 19:00:21] e[32minfoe[39m: z2m: Logging to console, file (filename: log.log)
1204|[2024-11-29 19:00:21] 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'
1205|Require stack:
1206|- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
1207|- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
1208|- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
1209|[2024-11-29 19:00:21] 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
1210|[2024-11-29 19:00:21] 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
1211|[2024-11-29 19:00:21] e[34mdebuge[39m: z2m: Can't load state from file /var/www/html/plugins/z2m/data/state.json (doesn't exist)
1212|[2024-11-29 19:00:22] e[32minfoe[39m: z2m: Starting Zigbee2MQTT version 1.41.0 (commit #69f7282)
1213|[2024-11-29 19:00:22] e[34mdebuge[39m: z2m: sd-notify loaded
1214|[2024-11-29 19:00:22] e[32minfoe[39m: z2m: Starting zigbee-herdsman (2.1.7)
1215|[2024-11-29 19:00:22] e[34mdebuge[39m: z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":7799,\"extendedPanID\":[15,156,146,5,245,87,17,100],\"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/ttyLuna-Zigbee\",\"adapter\":\"ezsp\"},\"adapter\":{\"disableLED\":false}}"'
1216|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp: Adapter concurrent: 8
1217|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":7799,"extendedPanID":[15,156,146,5,245,87,17,100],"channelList":[11]},"serialPort":{"path":"/dev/ttyLuna-Zigbee","adapter":"ezsp"},"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"}'
1218|[2024-11-29 19:00:23] e[33mwarninge[39m: zh:ezsp: 'ezsp' driver is deprecated and will only remain to provide support for older firmware (pre 7.4.x). Migration to 'ember' is recommended. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
1219|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
1220|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyLuna-Zigbee","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
1221|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: Serialport opened
1222|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: Uart reseting
1223|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: --> Write reset
1224|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: --> [1ac038bc7e]
1225|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: -?- waiting reset
1226|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [0d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e666f0d0a42]
1227|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [4c203e20000d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e]
1228|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465722076312e]
1229|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065]
1230|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d]
1231|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [0a332e2065626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f74]
1232|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [6c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e]
1233|[2024-11-29 19:00:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [2072756e0d0a332e2065626c20696e666f0d0a424c203e2000]
1234|[2024-11-29 19:00:33] e[31merrore[39m: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
1235|[2024-11-29 19:00:33] e[31merrore[39m: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
1236|[2024-11-29 19:00:33] e[34mdebuge[39m: zh:ezsp:uart: Port closed. Error? null
1237|[2024-11-29 19:00:33] e[34mdebuge[39m: zh:ezsp:ezsp: onSerialClose()
1238|[2024-11-29 19:00:33] e[34mdebuge[39m: zh:ezsp:driv: onEzspClose()
1239|[2024-11-29 19:00:33] e[34mdebuge[39m: zh:ezsp: onDriverClose()
1240|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:ezsp: Next attempt 2
1241|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
1242|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyLuna-Zigbee","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
1243|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: Serialport opened
1244|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: Uart reseting
1245|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: --> Write reset
1246|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: --> [1ac038bc7e]
1247|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: -?- waiting reset
1248|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [0d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e666f0d0a42]
1249|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [4c203e20000d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a]
1250|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065]
1251|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465]
1252|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f74]
1253|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [6c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e]
1254|[2024-11-29 19:00:38] e[34mdebuge[39m: zh:ezsp:uart: <-- [2072756e0d0a332e2065626c20696e666f0d0a424c203e2000]
1255|[2024-11-29 19:00:48] e[31merrore[39m: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
1256|[2024-11-29 19:00:48] e[31merrore[39m: zh:ezsp:ezsp: Connection attempt 2 error: Error: Failure to connect
1257|[2024-11-29 19:00:48] e[34mdebuge[39m: zh:ezsp:uart: Port closed. Error? null
1258|[2024-11-29 19:00:48] e[34mdebuge[39m: zh:ezsp:ezsp: onSerialClose()
1259|[2024-11-29 19:00:48] e[34mdebuge[39m: zh:ezsp:driv: onEzspClose()
1260|[2024-11-29 19:00:48] e[34mdebuge[39m: zh:ezsp: onDriverClose()
1261|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:ezsp: Next attempt 3
1262|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
1263|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyLuna-Zigbee","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
1264|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: Serialport opened
1265|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: Uart reseting
1266|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: --> Write reset
1267|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: --> [1ac038bc7e]
1268|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: -?- waiting reset
1269|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [0d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e207570]
1270|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [6c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e666f0d0a42]
1271|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [4c203e20000d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a]
1272|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e]
1273|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465722076312e]
1274|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065]
1275|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465]
1276|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d]
1277|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [0a332e2065626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f74]
1278|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [6c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e]
1279|[2024-11-29 19:00:58] e[34mdebuge[39m: zh:ezsp:uart: <-- [2072756e0d0a332e2065626c20696e666f0d0a424c203e2000]
1280|[2024-11-29 19:01:08] e[31merrore[39m: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
1281|[2024-11-29 19:01:08] e[31merrore[39m: zh:ezsp:ezsp: Connection attempt 3 error: Error: Failure to connect
1282|[2024-11-29 19:01:08] e[34mdebuge[39m: zh:ezsp:uart: Port closed. Error? null
1283|[2024-11-29 19:01:08] e[34mdebuge[39m: zh:ezsp:ezsp: onSerialClose()
1284|[2024-11-29 19:01:08] e[34mdebuge[39m: zh:ezsp:driv: onEzspClose()
1285|[2024-11-29 19:01:08] e[34mdebuge[39m: zh:ezsp: onDriverClose()
1286|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:ezsp: Next attempt 4
1287|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
1288|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyLuna-Zigbee","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
1289|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: Serialport opened
1290|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: Uart reseting
1291|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: --> Write reset
1292|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: --> [1ac038bc7e]
1293|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: -?- waiting reset
1294|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [0d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e207570]
1295|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [6c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e666f0d0a42]
1296|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [4c203e20000d0a4765636b6f20426f6f746c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065626c20696e]
1297|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465722076312e]
1298|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d0a332e2065]
1299|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f746c6f616465]
1300|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [722076312e412e330d0a312e2075706c6f61642067626c0d0a322e2072756e0d]
1301|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [0a332e2065626c20696e666f0d0a424c203e20000d0a4765636b6f20426f6f74]
1302|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [6c6f616465722076312e412e330d0a312e2075706c6f61642067626c0d0a322e]
1303|[2024-11-29 19:01:23] e[34mdebuge[39m: zh:ezsp:uart: <-- [2072756e0d0a332e2065626c20696e666f0d0a424c203e2000]
1304|[2024-11-29 19:01:33] e[31merrore[39m: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
1305|[2024-11-29 19:01:33] e[31merrore[39m: zh:ezsp:ezsp: Connection attempt 4 error: Error: Failure to connect
1306|[2024-11-29 19:01:33] e[34mdebuge[39m: zh:ezsp:driv: EZSP could not connect: Error: Failure to connect
1307|[2024-11-29 19:01:33] e[31merrore[39m: z2m: Error while starting zigbee-herdsman
1308|[2024-11-29 19:01:33] e[31merrore[39m: z2m: Failed to start zigbee
1309|[2024-11-29 19:01:33] e[31merrore[39m: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
1310|[2024-11-29 19:01:33] e[31merrore[39m: z2m: Exiting...
1311|[2024-11-29 19:01:33] e[31merrore[39m: z2m: Error: Failure to connect
1312|at Ezsp.connect (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:364:19)
1313|at Driver.startup (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:186:13)
1314|at EZSPAdapter.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:152:16)
1315|at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
1316|at Zigbee.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/zigbee.ts:69:27)
1317|at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/controller.ts:161:27)
1318|at start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:154:5)
1319|/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:264
1320|var er = new ERR_STREAM_WRITE_AFTER_END();
1321|^
1322|Error: write after end
1323|at writeAfterEnd (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:264:12)
1324|at DerivedLogger.Writable.write (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:300:21)
1325|at DerivedLogger.log (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/winston/lib/winston/logger.js:231:12)
1326|at Logger.log (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/util/logger.ts:198:25)
1327|at Logger.debug (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/util/logger.ts:219:14)
1328|at SerialDriver.onPortClose (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:380:16)
1329|at Object.onceWrapper (node:events:634:26)
1330|at SerialPort.emit (node:events:531:35)
1331|at port.close.then.closing (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:242:18)
J’ai tenté une mise à jour du firmware du contrôleur et voilà le log :
[2024-11-28 23:49:53][ALERT] : sudo chmod +x /var/www/html/plugins/z2m/core/class/../../resources/misc/luna/AmberGwZ3_arm64_debian_V8;sudo /var/www/html/plugins/z2m/core/class/../../resources/misc/luna/AmberGwZ3_arm64_debian_V8 -p /dev/ttyLuna-Zigbee -b115200 -F /var/www/html/plugins/z2m/core/class/../../resources/misc/luna/6.10.3.ota
ERROR: ezspForceReset 0x21
AmberGwZ3_arm64_debian_V8: amber_test.c:197: my_test: Assertion `false' failed.
Aborted
Enfin la santé de la box :
J’espère n’avoir rien oublié.
Merci pour votre aide.