Z2m Jeezigbee démon nok

Bonjour,

J’ai voulu changer ma clé conbee 2 par une sonoff dongle E, j’ai donc suivi la procédure de flashage de la clef puis de config du type de contrôleur en Ember malheureusement le demon passe en nok sans arrêt.

J’ai alors voulu repasser sur la conbee mais le même problème apparaît démon nok sans arrêt

J’ai passé la journée entière a tenter de trouver une solution sur le forum, mais je sèche complètement je pense même avoir fait plus de mal à mon système qu’autre chose.
Je tente de poser le log de z2md

> zigbee2mqtt@2.7.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
/var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js:47
const debounce_1 = __importDefault(require("debounce"));
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/.pnpm/debounce@3.0.0/node_modules/debounce/index.js from /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js not supported.
Instead change the require of index.js in /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js:47:36)
> zigbee2mqtt@2.7.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
/var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js:47
const debounce_1 = __importDefault(require("debounce"));
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/.pnpm/debounce@3.0.0/node_modules/debounce/index.js from /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js not supported.
Instead change the require of index.js in /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js:47:36)
> zigbee2mqtt@2.7.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
/var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js:47
const debounce_1 = __importDefault(require("debounce"));
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/.pnpm/debounce@3.0.0/node_modules/debounce/index.js from /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js not supported.
Instead change the require of index.js in /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/extension/availability.js:47:36)

Merci beaucoup d’avance si vous prenez du temps pour me répondre

Informations Jeedom Atlas

Core : 4.4.20 (master)
DNS Jeedom Atlas : oui

Plugin : z2m
Version : 2025-11-25 10:42:29

les log de Z2M package

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_z2m
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
0007|Launch pre-install of z2m dependancy
0008|+ echo 3
0009|+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
0010|Plugin mqtt2 installed with success+ echo 4
0011|+ sudo killall apt apt-get unattended-upgr
0012|apt: no process found
0013|apt-get: no process found
0014|unattended-upgr: no process found
0015|+ sudo rm /var/lib/apt/lists/lock
0016|+ sudo rm /var/cache/apt/archives/lock
0017|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0018|+ sudo sudo dpkg --configure -a --force-confdef
0019|+ sudo apt update
0020|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0021|Hit:1 http://security.debian.org bullseye-security InRelease
0022|Hit:2 http://deb.debian.org/debian bullseye InRelease
0023|Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
0024|Hit:4 http://archive.debian.org/debian bullseye-backports InRelease
0025|Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
0026|Get:6 http://armbian.hosthatch.com/apt buster InRelease [50.2 kB]
0027|Fetched 50.2 kB in 2s (20.2 kB/s)
0028|Reading package lists...
0029|Building dependency tree...
0030|Reading state information...
0031|191 packages can be upgraded. Run 'apt list --upgradable' to see them.
0032|+ echo 5
0033|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0034|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0035|Hit:1 http://archive.debian.org/debian bullseye-backports InRelease
0036|Hit:2 http://deb.debian.org/debian bullseye InRelease
0037|Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
0038|Hit:4 http://security.debian.org bullseye-security InRelease
0039|Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
0040|Get:6 http://armbian.hosthatch.com/apt buster InRelease [50.2 kB]
0041|Fetched 50.2 kB in 3s (18.4 kB/s)
0042|Reading package lists...
0043|Reading package lists...
0044|Building dependency tree...
0045|Reading state information...
0046|apt-utils is already the newest version (2.2.4).
0047|build-essential is already the newest version (12.9).
0048|lsb-release is already the newest version (11.1.0).
0049|git is already the newest version (1:2.30.2-1+deb11u5).
0050|0 upgraded, 0 newly installed, 0 to remove and 191 not upgraded.
0051|[Check Version NodeJS actuelle : v20.18.0 : [  OK  ]
0052|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0053|Clean npm cache
0054|npm warn using --force Recommended protections disabled.
0055|+ echo 6
0056|+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
0057|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0058|Reading package lists...
0059|Building dependency tree...
0060|Reading state information...
0061|php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0062|0 upgraded, 0 newly installed, 0 to remove and 191 not upgraded.
0063|+ echo 7
0064|+ sudo systemctl restart apache2
0065|+ echo 8
0066|+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
0067|+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
0068|+ echo Launch post-install of z2m dependancy
0069|Launch post-install of z2m dependancy
0070|+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
0071|+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
0072|+ BASEDIR=/var/www/html/plugins/z2m/resources
0073|+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
0074|+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
0075|+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
0076|+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
0077|Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
0078|+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
0079|+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
0080|+ [ -n  ]
0081|+ npm install -g pnpm
0082|changed 1 package in 4s
0083|1 package is looking for funding
0084|run `npm fund` for details
0085|+ pnpm i --frozen-lockfile
0086|Lockfile is up to date, resolution step is skipped
0087|Progress: resolved 1, reused 0, downloaded 0, added 0
0088|Packages: +268
0089|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0090|Progress: resolved 268, reused 195, downloaded 0, added 0
0091|Progress: resolved 268, reused 268, downloaded 0, added 268, done
0092|dependencies:
0093|+ ajv 8.17.1
0094|+ bind-decorator 1.0.11
0095|+ debounce 3.0.0
0096|+ express-static-gzip 3.0.0
0097|+ fast-deep-equal 3.1.3
0098|+ finalhandler 2.1.0
0099|+ humanize-duration 3.33.1
0100|+ js-yaml 4.1.1
0101|+ json-stable-stringify-without-jsonify 1.0.1
0102|+ jszip 3.10.1
0103|+ mqtt 5.14.1
0104|+ object-assign-deep 0.4.0
0105|+ rimraf 6.1.2
0106|+ semver 7.7.3
0107|+ source-map-support 0.5.21
0108|+ throttleit 2.1.0
0109|+ winston 3.18.3
0110|+ winston-syslog 2.7.1
0111|+ winston-transport 4.9.0
0112|+ ws 8.18.3
0113|+ zigbee-herdsman 7.0.1
0114|+ zigbee-herdsman-converters 25.80.0
0115|+ zigbee2mqtt-frontend 0.9.21
0116|+ zigbee2mqtt-windfront 2.4.2
0117|optionalDependencies:
0118|+ unix-dgram 2.0.7
0119|devDependencies:
0120|+ @biomejs/biome 2.3.8
0121|+ @types/finalhandler 1.2.4
0122|+ @types/humanize-duration 3.27.4
0123|+ @types/js-yaml 4.0.9
0124|+ @types/node 24.10.1
0125|+ @types/object-assign-deep 0.4.3
0126|+ @types/readable-stream 4.0.22
0127|+ @types/serve-static 2.2.0
0128|+ @types/ws 8.18.1
0129|+ @vitest/coverage-v8 3.2.4
0130|+ tmp 0.2.5
0131|+ typescript 5.9.3
0132|+ vitest 3.2.4
0133|Done in 4.8s using pnpm v10.18.3
0134|+ pnpm run build
0135|> zigbee2mqtt@2.7.0 build /var/www/html/plugins/z2m/resources/zigbee2mqtt
0136|> tsc && node index.js writehash
0137|+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
0138|+ echo 9
0139|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
0140|rm: invalid option -- '/'
0141|Try 'rm --help' for more information.
0142|+ echo 10
0143|+ rm /tmp/jeedom_install_in_progress_z2m
0144|+ echo '*******************End of package installation******************'
0145|*******************End of package installation******************

Bonjour

Testez sous zigbee2mqtt 2.6.3 ou passez sous jeedom 4.5.1 (plus de support).

C’est un problème connu, une recherche sur la communauté vous aurez donné la réponse plus rapidement .
Quelques heures avant vous, par exemple:

Antoine

Bonjour

c’est bon c’était bien ça pourtant je l’avais déjà tenté une fois et ça n’avait rien donné, bizarre.
Mais en tout cas merci beaucoup d’avoir pris le temps de me répondre.

a-t-on une idée de quand 4.5.1 deviendra la version stable ?

Jamais de date avec l’équipe jeedom et ce n’est pas moi, sans lien avec jeedom/domadoo, qui pourrait le faire.

Zigbee2mqtt a sortie une version 2.7.1, vous pouvez tester si cela fonctionne mieux.
Mais y’a t’il un besoin pour 2.7 ou sup ici?

1 « J'aime »

Bonjour,

j’ai le même problème que j’ai résolu en passant en version 2.6.0 de z2m.

La version 2.6.3 serait probablement plus adaptée,.comme évolution de la 2.6.0, des bogues ont du être corrigés.

Antoine

Bonjour, pour info j’ai bien installé ma clé sonoff dongle E en Ember.
Tout fonctionne normalement en 2.6.3, par contre dès que je passe en 2.7.1 le démon plante nok.

Bonjour

Voir les deux ou trois posts sur ce point. Cela semble lié à la version de nodejs.

Bonjour oui c’était bien ça une nouvelle fois un grand merci pour vos réponses et votre temps.
J’avais bien vu cette information à un moment mais je n’avais pas utilisé les bonnes commandes ssh :

Bonjour,

Jeezigbee est OK avec zigbee2mqtt 2.7.1 et Jeedom 4.5.1 (=> Node v22)

akenad :slight_smile:

1 « J'aime »