TIMEOUT depuis la suppression d'un équipement

Bonjour à tous,
Je rencontre un problème avec certains de mes équipements zigbee depuis que j’ai supprimé un module secteur LLKZMK11LM.
Je suppose que c’est lié au mapping car celui-ci était placé haut (dans le grenier) et je pense qu’il était le point de passage.
Equipements HS : ruban et ampoule Philips Hue, dimmable Ikea
Test avec une télécommande Philips Hue, aucun problème : Hue dimmer switch

Voici les logs lorsque je tente d’éteindre une lumière :

info 2024-09-20 10:14:02z2m: Interviewing '0x0017880103e00138'
info 2024-09-20 10:15:23z2m: Configuring '0x0017880103e00138'
info 2024-09-20 10:15:33z2m: Successfully configured '0x0017880103e00138'
info 2024-09-20 10:15:33z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/configure', payload '{"data":{"id":"0x0017880103e00138"},"status":"ok","transaction":"7168r-2"}'
error 2024-09-20 10:16:11z2m: Publish 'set' 'state' to '0x0017880103e00138' failed: 'Error: ZCL command 0x0017880103e00138/11 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (no response received (37) waiting for response TIMEOUT)'
info 2024-09-20 10:16:11z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to '0x0017880103e00138' failed: 'Error: ZCL command 0x0017880103e00138/11 genOnOff.off({}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"reservedBits\":0,\"writeUndiv\":false}) failed (no response received (37) waiting for response TIMEOUT)'","meta":{"friendly_name":"0x0017880103e00138"},"type":"zigbee_publish_error"}'
error 2024-09-20 10:17:10z2m: Failed to execute LQI for '0x0017880103e00138'
error 2024-09-20 10:22:04z2m: Request 'zigbee2mqtt/bridge/request/device/interview' failed with error: 'interview of '0x0017880103e00138' (0x0017880103e00138) failed: Error: Interview failed because can not get active endpoints ('0x0017880103e00138')'
info 2024-09-20 10:22:04z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/interview', payload '{"data":{},"error":"interview of '0x0017880103e00138' (0x0017880103e00138) failed: Error: Interview failed because can not get active endpoints ('0x0017880103e00138')","status":"error","transaction":"7168r-1"}'

J’ai réinstallé les dépendances du plugin z2m et de MQTT mais j’ai toujours des problèmes.

+ 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
unattended-upgr: 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.
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Fetched 44.1 kB in 0s (97.4 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ 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 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 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 0 not upgraded.
[Check Version NodeJS actuelle : v20.17.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 0 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
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
added 790 packages, and audited 791 packages in 12s
87 packages are looking for funding
run `npm fund` for details
2 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
+ npm run build
> zigbee2mqtt@1.40.1 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******************

Le mapping:

Quand je débranche une ampoule qui ne répond pas et que je la rebranche, je la vois bien communiquer.

Aucun problème du côté du réseau Zwave.

Pouvez-vous m’aider ?
Merci par avance.
Mathieu

Bonjour
Essaye soit de couper electrique les modules avec soucis et de les redemarrer et si ca marche pas il faudra les reinclure.

Hello @Loic ,
Rien ne marche, j’ai tenté de les réinclure, aucune détection :frowning:
J’ai même réinitialisé une lampe hue, impossible de la réintégrer.

J’ai relancé Jeedom, seul le daemon du plugin Zigbee n’a pas démarré automatiquement malgré la case cochée.
J’ai relancé manuellement et il démarre pas.
Voici les logs

> zigbee2mqtt@1.40.1 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-09-20 13:12:56] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2024-09-20 13:12:56] 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-09-20 13:12:56] 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-09-20 13:12:56] 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-09-20 13:12:56] e[34mdebuge[39m: 	z2m: Loaded state from file /var/www/html/plugins/z2m/data/state.json
[2024-09-20 13:12:56] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #403d3c0)
[2024-09-20 13:12:56] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-20 13:12:56] e[34mdebuge[39m: 	z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":41781,\"extendedPanID\":[194,227,122,246,18,217,62,143],\"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/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2151040-if00\",\"adapter\":\"deconz\"},\"adapter\":{\"concurrent\":null,\"delay\":null,\"disableLED\":false}}"'
[2024-09-20 13:12:56] e[34mdebuge[39m: 	zh:deconz:driver: Set delay to 0
[2024-09-20 13:12:56] e[34mdebuge[39m: 	zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":41781,"extendedPanID":[194,227,122,246,18,217,62,143],"channelList":[11]},"serialPort":{"path":"/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2151040-if00","adapter":"deconz"},"adapter":{"disableLED":false,"concurrent":null,"delay":null},"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"}'
[2024-09-20 13:12:56] e[34mdebuge[39m: 	zh:deconz:driver: Opening with /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2151040-if00
[2024-09-20 13:12:57] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2024-09-20 13:12:57] e[31merrore[39m: 	z2m: Failed to start zigbee
[2024-09-20 13:12:57] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-20 13:12:57] e[31merrore[39m: 	z2m: Exiting...
[2024-09-20 13:12:57] e[31merrore[39m: 	z2m: Error: Error while opening serialport 'Error: Error: No such device, cannot open /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2151040-if00'
at SerialPort.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:225:28)
at SerialPort._error (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:82:22)
at /var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:118:18

Puis il a fini par démarrer tout seul.

Soucis avec la clef conbee sui est pas vue

Mince, pourtant

total 0
drwxr-xr-x 2 root root 140 Sep 20 13:12 .
drwxr-xr-x 4 root root  80 Sep 20 13:08 ..
lrwxrwxrwx 1 root root  13 Sep 20 13:10 usb-0658_0200-if00 -> ../../ttyACM1
lrwxrwxrwx 1 root root  13 Sep 20 13:09 usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root  13 Sep 20 13:09 usb-HUAWEI_Technology_HUAWEI_Mobile-if02-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root  13 Sep 20 13:09 usb-HUAWEI_Technology_HUAWEI_Mobile-if03-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root  13 Sep 20 13:12 usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2151040-if00 -> ../../ttyACM0

Tu as dis que ça remarché donc c’est que la clef est revenu

Oui, le daemon a redémarré et la clé est OK.
C’est pas pour autant que ça marche :frowning:

Je viens de m’apercevoir, que les équipements qui communiquent, je n’arrive pas à avoir d’action sur eux…

Nouveauté !

C’est pas de chance pourtant y’en a pas tant que ça chez eux

Ecoute @Loic , c’est à rien n’y comprendre.
Suite à ce message, le clic sur « click here, and save this file » ne marchait pas, j’ai actualisé la page, et depuis tout est rentré dans l’ordre.
Je n’ai rien fait de plus…

Je peux pas te dire je fais pas zigbee2mqtt on s’appui juste dessus

Je sais, mais je voulais juste partager mes retours :slight_smile:

**Error message**: Failed to fetch dynamically imported module: http://192.168.1.22:8080/assets/index-538efde1.js

Tu crois que je peux trouver quelque chose dans cette url ?

Non je sais absolument pas ce que c’est on dirait juste un js d’ui

1 « J'aime »

Bonjour,
J’ai de nouveau le problème depuis hier soir.
Je ne sais plus trop quoi faire.

error 2024-09-23 11:08:35z2m: Publish 'set' 'state' to '0x00178801102bbf55' failed: 'Error: ZCL command 0x00178801102bbf55/11 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (no response received (4) waiting for response TIMEOUT)
warning 2024-09-23 11:38:09zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haMeterIdentification.read(["availablePower","powerThreshold","softwareRevision"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (88) waiting for response TIMEOUT)

Merci

Je sais pas trop quoi te dire on est en dehors de mon domaine de compétence la. Tous ce que je peux dire c’est la clef envoi l’ordre mais le module répond pas.

Je comprends Loïc, pas de problème.
J’ai posté sur le github de z2m, je ne suis pas le seul à avoir le problème.

A réinstaller Z2M, j’ai eu ce message dans les logs

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

L’équipement cité est ZLinky_TIC

Oui bug connu de z2m faut éditer le fichier de conf et supprimer le home assistant de l’équipement