Zwave Js controller non reconnu

Bonjour,

J’ai des difficultés pour configurer le plugin zwavejs. Auparavant, j’utilisais openzwave sans soucis. La fi n de python2.7 me contraint de basculer sur ce plugin.

Contexte:

  • environnement
root@xxxxxxx:~# uname -a
Linux 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64 GNU/Linux
  • Zwave : aeotec ztick gen5
  • module (equipement): fibaro essentiellement

Problème
L’initialisation peut, comme le dit, la doc et c’est normale (attendre la comm avec les noeuds) prendre du temps. Cela dit lorsque je consulte le "Réseau Zwave"je n’ai aucune information sur le controller.

Pour rappel, sur la capture 1, le dongle zwve est bien monté, et la commande udevadm info -a -n /dev/ttyACM1 ou udevadm info -a -n /dev/tty-Z-Stick-Gen5 renvoient les bonnes infos.

Jiai bien redémarré, réinstallé les plugins, l’os, vérifié les bases… Sans effet.

Je vous joins les logs et les conf:

MQTT Manager:

0008|[2023-01-08 16:40:49]INFO : Start mqtt2d
0009|[2023-01-08 16:40:49]INFO : Log level on  : debug
0010|[2023-01-08 16:40:49]INFO : Socket port : 55035
0011|[2023-01-08 16:40:49]INFO : MQTT : mqtts://127.0.0.1:8883
0012|[2023-01-08 16:40:49]INFO : Username : jeedom
0013|[2023-01-08 16:40:49]INFO : Password : 9RjVEub35xNhasilhvReUyPa46CHxURV1HehRJwW1XuujkceR5TIXTSIay71lke0
0014|[2023-01-08 16:40:49]INFO : PID file : /tmp/jeedom/mqtt2/deamon.pid
0015|[2023-01-08 16:40:49]INFO : Apikey : OZ7PN4OW6fUJAN9l2M7clVcOy60PQbiXVMw9fTZdkeC4WLMM4s6jCDepxe8dUO7A
0016|[2023-01-08 16:40:49]INFO : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
0017|[2023-01-08 16:40:49]INFO : Cycle : 0.3
0018|[2023-01-08 16:40:49]INFO : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
0019|[2023-01-08 16:40:49]INFO : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
0020|[2023-01-08 16:40:49]INFO : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
0021|[2023-01-08 16:40:49]INFO : Connect to mqtt server
0022|Sun, 08 Jan 2023 16:40:49 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31
0023|[2023-01-08 16:40:49]DEBUG : HTTP listen on 127.0.0.1 port : 55035 started
0024|[2023-01-08 16:40:49]INFO : Connection to mqtt server successfull
0025|[2023-01-08 16:40:49]INFO : Subscription to all topics
0026|[2023-01-08 16:40:49]INFO : Subscription to all topics succesfull
  • log packages
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_mqtt2
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0006|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0007|Hit:1 http://deb.debian.org/debian buster InRelease
0008|Hit:2 http://security.debian.org/debian-security buster/updates InRelease
0009|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0010|Hit:4 https://download.docker.com/linux/debian buster InRelease
0011|Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
0012|Reading package lists...
0013|Reading package lists...
0014|Building dependency tree...
0015|Reading state information...
0016|apt-utils is already the newest version (1.8.2.3).
0017|build-essential is already the newest version (12.6).
0018|lsb-release is already the newest version (10.2019051400).
0019|git is already the newest version (1:2.20.1-2+deb10u6).
0020|0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
0021|[Check Version NodeJS actuelle : v16.19.0 : [  OK  ]
0022|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0023|+ echo 3
0024|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0025|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0026|Hit:1 http://deb.debian.org/debian buster InRelease
0027|Hit:2 http://security.debian.org/debian-security buster/updates InRelease
0028|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0029|Hit:4 https://download.docker.com/linux/debian buster InRelease
0030|Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
0031|Reading package lists...
0032|Reading package lists...
0033|Building dependency tree...
0034|Reading state information...
0035|apt-utils is already the newest version (1.8.2.3).
0036|build-essential is already the newest version (12.6).
0037|lsb-release is already the newest version (10.2019051400).
0038|git is already the newest version (1:2.20.1-2+deb10u6).
0039|0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
0040|[Check Version NodeJS actuelle : v16.19.0 : [  OK  ]
0041|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0042|+ echo 4
0043|+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
0044|+ rm -rf node_modules
0045|+ sudo npm install
0046|npm WARN deprecated har-validator@5.1.5: this library is no longer supported
0047|npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
0048|npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
0049|added 147 packages, and audited 148 packages in 8s
0050|13 packages are looking for funding
0051|run `npm fund` for details
0052|found 0 vulnerabilities
0053|+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
0054|+ echo 5
0055|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
0056|Generating RSA private key, 2048 bit long modulus (2 primes)
0057|.........................................................+++++
0058|.........................................................................+++++
0059|e is 65537 (0x010001)
0060|Generating RSA private key, 2048 bit long modulus (2 primes)
0061|.................................................................................+++++
0062|...................................................................+++++
0063|e is 65537 (0x010001)
0064|Signature ok
0065|subject=C = FR, ST = Paris, L = Paris, O = jeedom, CN = jeedom-mosquitto
0066|Getting CA Private Key
0067|Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install.
0068|Executing: /lib/systemd/systemd-sysv-install enable mosquitto
0069|+ rm /tmp/jeedom_install_in_progress_mqtt2
0070|+ echo '*******************End of package installation******************'
0071|*******************End of package installation******************

Zwave JS:

*log package

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_zwavejs
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0007|+ echo 'Pre installation de l'\''installation/mise à jour des dépendances zwavejs'
0008|Pre installation de l'installation/mise à jour des dépendances zwavejs
0009|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0010|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0011|++ pwd
0012|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0013|+ cd /var/www/html/plugins/zwavejs/resources
0014|+ source ../core/config/zwavejs.config.ini
0015|+ echo 'Wanted Version: 8.6.1'
0016|Wanted Version: 8.6.1
0017|+ rm -R zwave-js-ui
0018|+ git clone --branch v8.6.1 --depth 1 https://github.com/zwave-js/zwave-js-ui
0019|Cloning into 'zwave-js-ui'...
0020|Note: checking out '7833cd89b26adac186c958d20eb99348962e11ef'.
0021|You are in 'detached HEAD' state. You can look around, make experimental
0022|changes and commit them, and you can discard any commits you make in this
0023|state without impacting any branches by performing another checkout.
0024|If you want to create a new branch to retain commits you create, you may
0025|do so (now or later) by using -b with the checkout command again. Example:
0026|git checkout -b 
0027|+ echo 'Pre install finished'
0028|Pre install finished
0029|+ echo 3
0030|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0031|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0032|+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
0033|Post installation de l'installation/mise à jour des dépendances zwavejs
0034|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0035|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0036|++ pwd
0037|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0038|+ cd /var/www/html/plugins/zwavejs/resources
0039|+ cd zwave-js-ui
0040|+ sudo yarn install
0041|➤ YN0000: ┌ Resolution step
0042|➤ YN0002: │ ts-node-dev@npm:2.0.0 [b9e30] doesn't provide @types/node (p8a743), requested by ts-node
0043|➤ YN0060: │ zwave-js-ui@workspace:. provides eslint (p560d0) with version 8.26.0, which doesn't satisfy what eslint-loader requests
0044|➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements  for details, where  is the six-letter p-prefixed code
0045|➤ YN0000: └ Completed in 0s 440ms
0046|➤ YN0000: ┌ Fetch step
0047|➤ YN0000: └ Completed in 0s 907ms
0048|➤ YN0000: ┌ Link step
0049|➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed
0050|➤ YN0007: │ docsify@npm:4.13.0 must be built because it never has been before or the last one failed
0051|➤ YN0007: │ core-js@npm:3.26.0 must be built because it never has been before or the last one failed
0052|➤ YN0007: │ vue-demi@npm:0.13.11 [0f984] must be built because it never has been before or the last one failed
0053|➤ YN0007: │ @serialport/bindings-cpp@npm:10.7.0 must be built because it never has been before or the last one failed
0054|➤ YN0000: └ Completed in 20s 192ms
0055|➤ YN0000: Done with warnings in 21s 925ms
0056|+ sudo yarn run build
0057|- building for production...
0058|assets by path e[1me[32mstatic/favicons/e[39me[22m 81.4 KiB
0059|assets by path e[1me[32mstatic/favicons/*.pnge[39me[22m 76.1 KiB 6 assets
0060|asset e[1me[32mstatic/favicons/safari-pinned-tab.svge[39me[22m 4.67 KiB e[1me[32m[emitted]e[39me[22m [from: static/favicons/safari-pinned-tab.svg] e[1me[32m[copied]e[39me[22m
0061|asset e[1me[32mstatic/favicons/site.webmanifeste[39me[22m 448 bytes e[1me[32m[emitted]e[39me[22m [from: static/favicons/site.webmanifest] e[1me[32m[copied]e[39me[22m
0062|asset e[1me[32mstatic/favicons/browserconfig.xmle[39me[22m 262 bytes e[1me[32m[emitted]e[39me[22m [from: static/favicons/browserconfig.xml] e[1me[32m[copied]e[39me[22m
0063|assets by info 3.6 MiB e[1me[32m[immutable]e[39me[22m
0064|assets by path e[1me[32mstatic/fonts/e[39me[22m 759 KiB
0065|asset e[1me[33mstatic/fonts/MaterialIcons-Regular.698bd85.ttfe[39me[22m e[1me[33m339 KiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m [from: node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.ttf] e[1me[33m[big]e[39me[22m
0066|+ 3 assets
0067|assets by chunk 2.86 MiB (name: app)
0068|asset e[1me[33mstatic/js/app.de509ee2b5c8a6b877be.jse[39me[22m e[1me[33m2.2 MiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m e[1me[32m[minimized]e[39me[22m e[1me[33m[big]e[39me[22m (name: app) 1 related asset
0069|asset e[1me[33mstatic/css/app.2d216b12fb08682ad2ab.csse[39me[22m e[1me[33m678 KiBe[39me[22m e[1me[32m[emitted]e[39me[22m e[1me[32m[immutable]e[39me[22m e[1me[33m[big]e[39me[22m (name: app) 1 related asset
0070|asset e[1me[32mstatic/logo.pnge[39me[22m 25.6 KiB e[1me[32m[emitted]e[39me[22m [from: static/logo.png] e[1me[32m[copied]e[39me[22m
0071|asset e[1me[32mstatic/favicon.icoe[39me[22m 14.7 KiB e[1me[32m[emitted]e[39me[22m [from: static/favicon.ico] e[1me[32m[copied]e[39me[22m
0072|asset e[1me[32mstatic/.gitkeepe[39me[22m 0 bytes e[1me[32m[emitted]e[39me[22m [from: static/.gitkeep] e[1me[32m[copied]e[39me[22m
0073|Entrypoint e[1mappe[39me[22m e[1me[33m[big]e[39me[22m 2.86 MiB (857 KiB) = e[1me[32mstatic/js/app.de509ee2b5c8a6b877be.jse[39me[22m 2.2 MiB e[1me[32mstatic/css/app.2d216b12fb08682ad2ab.csse[39me[22m 678 KiB 1 auxiliary asset
0074|e[1me[33mWARNINGe[39me[22m in e[1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
0075|This can impact web performance.
0076|Assets:
0077|static/fonts/MaterialIcons-Regular.698bd85.ttf (339 KiB)
0078|static/js/app.de509ee2b5c8a6b877be.js (2.2 MiB)
0079|static/css/app.2d216b12fb08682ad2ab.css (678 KiB)e[39me[22m
0080|e[1me[33mWARNINGe[39me[22m in e[1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
0081|Entrypoints:
0082|app (2.86 MiB)
0083|static/js/app.de509ee2b5c8a6b877be.js
0084|static/css/app.2d216b12fb08682ad2ab.css
0085|e[39me[22m
0086|e[1me[33mWARNINGe[39me[22m in e[1mwebpack performance recommendations:
0087|You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
0088|For more info visit https://webpack.js.org/guides/code-splitting/e[39me[22m
0089|webpack 5.74.0 compiled with e[1me[33m3 warningse[39me[22m in 49525 ms
0090|Build complete.
0091|Tip: built files are meant to be served over an HTTP server.
0092|Opening index.html over file:// won't work.
0093|+ chown -R www-data:www-data CHANGELOG.md LICENSE README.md SECURITY.md app.ts bin build config dist docker docs hass kubernetes kustomization.yaml lib node_modules nodemon.json package.json package.sh pkg server snippets src static store test tsconfig.eslint.json tsconfig.json views wallaby.js yarn.lock
0094|+ '[' -e /dev/ttyAMA0 ']'
0095|+ '[' -e /dev/ttymxc0 ']'
0096|+ '[' -e /dev/ttyAMA0 ']'
0097|++ grep Revision /proc/cpuinfo
0098|++ cut -d: -f2
0099|++ tr -d ' '
0100|+ RPI_BOARD_REVISION=
0101|+ [[ '' == a\8 ]]
0102|+ [[ '' == a\8 ]]
0103|+ [[ '' == a\d ]]
0104|+ echo 'Everything is successfully installed!'
0105|Everything is successfully installed!
0106|+ echo 4
0107|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
0108|+ rm /tmp/jeedom_install_in_progress_zwavejs
0109|+ echo '*******************End of package installation******************'
0110|*******************End of package installation******************
  • log zwavejs
0038|[2023-01-08 16:01:48]INFO : Arrêt du démon ZwaveJS
0039|[2023-01-08 16:01:48]DEBUG : [configureSettings] Informations reçues de MQTT Manager : {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"9RjVEub35xNhasilhvReUyPa46CHxURV1HehRJwW1XuujkceR5TIXTSIay71lke0"}
0040|[2023-01-08 16:01:48]INFO : Démarrage du démon ZwaveJS : STORE_DIR=/var/www/html/plugins/zwavejs/data/store KEY_S0_Legacy=F2487FD18796DF351EA4FF444A930956 KEY_S2_Unauthenticated=5C0C5B053895997756D85A9776974F38 KEY_S2_Authenticated=38E4DFC8C234C54A3D03A962FA05EB99 KEY_S2_AccessControl=394DB1352DE0761547EB3A655E8F2186 SESSION_SECRET=jeedomSession yarn start

  • log demon (echec initialisation)
0489|2023-01-08T15:04:03.030Z DRIVER   Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK
0490|from the controller (ZW0200)
0491|at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui
0492|/node_modules/zwave-js/src/lib/driver/Driver.ts:3990:23)
0493|at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave
0494|-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:713:33)
0495|at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/reso
0496|urces/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1208:26)
0497|at Immediate. (/var/www/html/plugins/zwavejs/resources/zwave-js
0498|-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1015:16)

Je manque qqch mais quoi …
Merci pour votre aide.

t’as essayé simplement d’enlever et remettre le stick (ok ça semble con mais certains disent dans ce post que ça a marché pour eux) ? il semble que les erreurs sont assez semblables.

Oui testé (en hardware et soft)…

Bonjour,

1 sujet par problème (et 1 solution du coup) et un titre explicite en rapport avec le problème et pas de pseudo tag entre crochets svp.

Me reste plus qu’à basculer sous ha… :face_with_peeking_eye: :rofl:

Bonjour,

Pour tester j’enlèverais la clé Zigbee pour tester avec la clé zwave seule en ACM0. Sans lien symbolique.

Hello, je me retrouve dans le même cas!, a tu trouvé une solution? ou est tu vraiment passé sous HA?

Moi aussi meme probleme. Quelqu’un a trouve?

Oui en.cherchant des posts en parlent

Soft reset a tester

J;ai essayer le soft reset… chez moi ca ne change rien…je suis vraiment perdu et desesperer… J’ai plein de module zwave achete, qu’ils doivent etre inclu, et impossible…

Quelqu’un peut m’aider?

Sans autres informations que cela ne marche pas, non. Ceux qui peuvent t’aider ont besoin d’informations comme la page santé jeedom, la page de configuration zwavejs, les logs en mode debug, etc.

Ce plugin fonctionne pour la très grande majorité des utilisaeurs avec la même clé.

Antoine

si c’est ce problème Objet non trouve - QUBINO MINIDIMMER alors merci de continuer la-bas