ZWaveJS s'arrête de communiquer sans raison

Hello,
Je me permet de poster ce qui est une « énigme » pour moi.
J’ai un message d’erreur qui apparait aléatoirement au moins 2 fois par jour pour dire que mon module JS-Wave n’a pas reçu de message depuis plus de 60min.

Quand je regarde le plugin le daemon est OK, pas de message d’erreur dans la console santé.

Je suis à jour dans les mise à jour. La seule facon que j’ai trouvé pour résoudre transitoirement le problème est de faire un redémarrage à froid (c’est à dire vraiment éteindre le Raspi Pi4 et de redémarrer et c’est reparti pour quelques heures.

Le seule message de « Warning » que j’ai c’est dans la fênetre du plugin (voir ci dessous.)

Voici également le log d’installation des dépendances, je ne vois rien de dramatique, mais je ne suis pas un expert du tout :slight_smile:

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_zwavejs
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
+ echo 'Pre installation de l'\''installation/mise à jour des dépendances zwavejs'
Pre installation de l'installation/mise à jour des dépendances zwavejs
+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/zwavejs/resources
+ cd /var/www/html/plugins/zwavejs/resources
+ source ../core/config/zwavejs.config.ini
+ echo 'Wanted Version: 9.20.0'
Wanted Version: 9.20.0
+ rm -R zwave-js-ui
+ git clone --branch v9.20.0 --depth 1 https://github.com/zwave-js/zwave-js-ui
Cloning into 'zwave-js-ui'...
Note: switching to 'bf3bdc3f13d903cf100b0ba9c3333101ffd29418'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
+ echo 'Pre install finished'
Pre install finished
+ 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.
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease
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://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 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).
git is already the newest version (1:2.30.2-1+deb11u3).
lsb-release is already the newest version (11.1.0+rpi1).
The following packages were automatically installed and are no longer required:
augeas-lenses docutils-common libaugeas0 mypy pylint python3-acme
python3-astroid python3-asttokens python3-augeas python3-certbot
python3-configargparse python3-configobj python3-docutils python3-icu
python3-isort python3-jedi python3-josepy python3-lazy-object-proxy
python3-logilab-common python3-mccabe python3-mypy python3-mypy-extensions
python3-parsedatetime python3-parso python3-pygments
python3-requests-toolbelt python3-rfc3339 python3-roman python3-send2trash
python3-typed-ast python3-typing-extensions python3-tz python3-wrapt
python3-zope.component python3-zope.event python3-zope.hookable
python3-zope.interface sgml-base xml-core xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v20.18.1 : [  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 chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
Post installation de l'installation/mise à jour des dépendances zwavejs
+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/zwavejs/resources
+ cd /var/www/html/plugins/zwavejs/resources
+ cd zwave-js-ui
+ sudo npm install
npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
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 docsify-server-renderer@4.13.1: docsify-server-renderer 4.x and below is no longer supported while we investigate the future of SSR and SSG for Docsify
npm warn deprecated csurf@1.11.0: Please use another csrf package
npm warn deprecated @types/extract-zip@2.0.1: This is a stub types definition. extract-zip provides its own type definitions, so you do not need this installed.
npm warn deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
added 1681 packages, and audited 1682 packages in 1m
335 packages are looking for funding
run `npm fund` for details
28 vulnerabilities (11 low, 12 moderate, 5 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
+ sudo npm run build
> zwave-js-ui@9.20.0 build
> npm-run-all 'build:*'
> zwave-js-ui@9.20.0 build:server
> tsc
> zwave-js-ui@9.20.0 build:ui
> vite build
vite v5.3.1 building for production...
transforming...
✓ 547 modules transformed.
rendering chunks...
computing gzip size...
dist/registerSW.js                                    0.14 kB
dist/manifest.webmanifest                             0.50 kB
dist/index.html                                       1.69 kB │ gzip:   0.74 kB
dist/assets/MaterialIcons-Regular-DOtZ65Va.woff2    125.12 kB
dist/assets/MaterialIcons-Regular-BjXOXp5c.eot      143.45 kB
dist/assets/MaterialIcons-Regular-FsbMSDLx.woff     160.58 kB
dist/assets/MaterialIcons-Regular-DEUTIz1o.ttf      347.59 kB
dist/assets/DialogHealthCheck-Droliepd.css            0.04 kB │ gzip:   0.06 kB
dist/assets/DialogGatewayValue-A-SkCATO.css           0.06 kB │ gzip:   0.08 kB
dist/assets/NodeDetails-CBP3OPmg.css                  0.06 kB │ gzip:   0.08 kB
dist/assets/FrameDetails-CIQ12EOu.css                 0.07 kB │ gzip:   0.09 kB
dist/assets/QrReader-HjYxZaii.css                     0.09 kB │ gzip:   0.10 kB
dist/assets/NodePanel-CZwLOHLG.css                    0.09 kB │ gzip:   0.10 kB
dist/assets/RichValue-B_0TC6eQ.css                    0.13 kB │ gzip:   0.12 kB
dist/assets/CCTreeView-WxmqzfXk.css                   0.13 kB │ gzip:   0.12 kB
dist/assets/Settings-DbLZdPoT.css                     0.15 kB │ gzip:   0.14 kB
dist/assets/Mesh-DSRRNttk.css                         0.27 kB │ gzip:   0.21 kB
dist/assets/ValueId-C5xZLsvS.css                      0.31 kB │ gzip:   0.18 kB
dist/assets/ExpandedNode--E63FB__.css                 0.39 kB │ gzip:   0.26 kB
dist/assets/DialogAdvanced-B3IdLJdP.css               0.45 kB │ gzip:   0.23 kB
dist/assets/index-D5uuzJlz.css                        0.51 kB │ gzip:   0.18 kB
dist/assets/Zniffer-BYjnQyPs.css                      0.53 kB │ gzip:   0.24 kB
dist/assets/Store-DS7bGYpj.css                        0.79 kB │ gzip:   0.33 kB
dist/assets/Multipane-CEm3CnxI.css                    1.57 kB │ gzip:   0.46 kB
dist/assets/BgRssiChart-DbNj0r-M.css                  1.65 kB │ gzip:   0.71 kB
dist/assets/Login-1yco1U5P.css                        5.43 kB │ gzip:   1.52 kB
dist/assets/ZwaveGraph-Dfn_CqSH.css                 220.21 kB │ gzip:  31.03 kB
dist/assets/index-r8JReBOx.css                      645.00 kB │ gzip:  86.98 kB
dist/assets/MultipaneResizer-BWRp-8Tf.js              0.23 kB │ gzip:   0.20 kB
dist/assets/InvertedCheckbox-BKe96SLH.js              0.42 kB │ gzip:   0.30 kB
dist/assets/ControllerChart-7GxoToPo.js               0.63 kB │ gzip:   0.39 kB
dist/assets/ColumnFilterBoolean-Dlw5IVbg.js           0.67 kB │ gzip:   0.42 kB
dist/assets/ReinterviewBadge-P-jUEJlg.js              0.78 kB │ gzip:   0.52 kB
dist/assets/BlinkIcon-DP_t2iuE.js                     0.85 kB │ gzip:   0.42 kB
dist/assets/ColumnFilterDate-DkQZJt-f.js              1.16 kB │ gzip:   0.56 kB
dist/assets/MissingKeysAlert-Bgdg8v4b.js              1.17 kB │ gzip:   0.56 kB
dist/assets/ColumnFilterString-BIwSCVLZ.js            1.22 kB │ gzip:   0.62 kB
dist/assets/DialogAdvanced-Bhs_8BWn.js                1.30 kB │ gzip:   0.68 kB
dist/assets/CCTreeView-ChRxhkA3.js                    1.43 kB │ gzip:   0.77 kB
dist/assets/StatisticsArrows-BI8z0kpo.js              1.44 kB │ gzip:   0.77 kB
dist/assets/ErrorPage-CQyeMUEl.js                     1.55 kB │ gzip:   0.79 kB
dist/assets/Multipane-DFLS9oP2.js                     1.63 kB │ gzip:   0.82 kB
dist/assets/ColumnFilterNumber-eClVU_w_.js            1.74 kB │ gzip:   0.74 kB
dist/assets/file-input-B4SR49dD.js                    1.83 kB │ gzip:   0.86 kB
dist/assets/RichValue-BRQppQoo.js                     2.04 kB │ gzip:   0.87 kB
dist/assets/StatisticsCard-DqAruet3.js                2.55 kB │ gzip:   1.00 kB
dist/assets/FrameDetails-F6k0BPq5.js                  2.68 kB │ gzip:   1.06 kB
dist/assets/DialogSceneValue-2Y04CTd_.js              3.18 kB │ gzip:   1.23 kB
dist/assets/Mesh-haZu0lAF.js                          3.18 kB │ gzip:   1.36 kB
dist/assets/ColumnFilter-DoUVVYSw.js                  3.26 kB │ gzip:   1.30 kB
dist/assets/UserCodeTable-Dz40xPSc.js                 4.12 kB │ gzip:   1.64 kB
dist/assets/Login-DT9nslnM.js                         4.13 kB │ gzip:   1.64 kB
dist/assets/ListInput-DK0gk4Ui.js                     4.38 kB │ gzip:   1.41 kB
dist/assets/AssociationGroups-DGsCpLMi.js             4.46 kB │ gzip:   1.65 kB
dist/assets/OTAUpdates-BDNMxnyc.js                    5.09 kB │ gzip:   2.09 kB
dist/assets/Scenes-HsjDySf8.js                        5.81 kB │ gzip:   1.98 kB
dist/assets/DialogLinkReliability-3FOnnyOC.js         5.89 kB │ gzip:   1.91 kB
dist/assets/DialogAssociation-CvDSlRuw.js             5.94 kB │ gzip:   2.10 kB
dist/assets/prismeditor.esm-DJCfCG3y.js               7.58 kB │ gzip:   2.69 kB
dist/assets/NodeScheduler-qahfvCd7.js                 7.86 kB │ gzip:   2.60 kB
dist/assets/HomeAssistant-CmWDVy9b.js                 8.23 kB │ gzip:   2.43 kB
dist/assets/DialogGatewayValue-TQV4M_Uw.js            8.38 kB │ gzip:   2.56 kB
dist/assets/ControlPanel-CIT7JoKr.js                  9.53 kB │ gzip:   3.53 kB
dist/assets/SmartView-VDBxTG-G.js                     9.89 kB │ gzip:   3.30 kB
dist/assets/ValueId-Dzj-_hV-.js                      10.45 kB │ gzip:   2.92 kB
dist/assets/Store-CE_bHZL9.js                        10.95 kB │ gzip:   3.41 kB
dist/assets/NodeDetails-Dwklj2UX.js                  12.18 kB │ gzip:   3.39 kB
dist/assets/DialogHealthCheck-DX70lQ06.js            12.38 kB │ gzip:   3.59 kB
dist/assets/SmartStart-DcNO40LA.js                   13.83 kB │ gzip:   3.91 kB
dist/assets/ExpandedNode-Dip24ge3.js                 15.15 kB │ gzip:   5.18 kB
dist/assets/Debug-0FVl0EX8.js                        16.04 kB │ gzip:   4.18 kB
dist/assets/NodePanel-zK1ErbaX.js                    16.11 kB │ gzip:   4.39 kB
dist/assets/Zniffer-DaFxRe8b.js                      16.23 kB │ gzip:   5.28 kB
dist/assets/index-CGscpZTT.js                        20.82 kB │ gzip:   6.13 kB
dist/assets/QrReader-C-Xpoqpd.js                     20.89 kB │ gzip:   7.29 kB
dist/assets/qr-scanner-worker.min-D85Z9gVD.js        43.95 kB │ gzip:  10.46 kB
dist/assets/BgRssiChart-CjfwkkIu.js                  54.97 kB │ gzip:  24.29 kB
dist/assets/vuedraggable.umd-BN2_1K0c.js             71.01 kB │ gzip:  24.88 kB
dist/assets/Settings-_GIJ6yNR.js                     85.81 kB │ gzip:  19.99 kB
dist/assets/index-Blr6EMNg.js                        91.82 kB │ gzip:  46.05 kB
dist/assets/ZwaveGraph-B7ZU-Qa8.js                  560.41 kB │ gzip: 166.47 kB
dist/assets/index-arJYOLrt.js                     1,237.32 kB │ gzip: 338.96 kB
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 39.30s
PWA v0.20.0
Building src/sw.js service worker ("es" format)...
vite v5.3.1 building for production...
transforming...
✓ 65 modules transformed.
rendering chunks...
computing gzip size...
dist/sw.mjs  16.17 kB │ gzip: 5.42 kB
✓ built in 668ms
PWA v0.20.0
mode      injectManifest
format:   es
precache  82 entries (3262.43 KiB)
files generated
dist/sw.js
+ chown -R www-data:www-data CHANGELOG.md LICENSE README.md SECURITY.md api certs dist docker docs esbuild-register.js esbuild.js genereteDocs.ts index.html kubernetes kustomization.yaml node_modules nodemon.json package-lock.json package.json package.sh pkg public server server_config.js snippets src store test tsconfig.eslint.json tsconfig.json vite.config.mjs wallaby.js
+ '[' -e /dev/ttyAMA0 ']'
+ sudo sed -i 's/console=ttyAMA0,115200//; s/kgdboc=ttyAMA0,115200//' /boot/cmdline.txt
+ sudo sed -i 's|[^:]*:[^:]*:respawn:/sbin/getty[^:]*ttyAMA0[^:]*||' /etc/inittab
sed: can't read /etc/inittab: No such file or directory
+ '[' -e /dev/ttymxc0 ']'
+ '[' -e /dev/ttyAMA0 ']'
+ sudo systemctl mask serial-getty@ttyAMA0.service
+ sudo systemctl stop serial-getty@ttyAMA0.service
++ grep Revision /proc/cpuinfo
++ tr -d ' '
++ cut -d: -f2
+ RPI_BOARD_REVISION=d03115
+ [[ d03115 == \a\0\2\0\8\2 ]]
+ [[ d03115 == \a\2\2\0\8\2 ]]
+ [[ d03115 == \a\0\2\0\d\3 ]]
+ echo 'Everything is successfully installed!'
Everything is successfully installed!
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
+ echo 8
+ rm /tmp/jeedom_install_in_progress_zwavejs
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Quelqu’un a déjà eu ce souci ?
vous avez des pistes ?

Un grand merci d’avance pour votre aide.
et bon week end

J’ajoute cette vue qui semble contenir une partie de la réponse…je pense…
mais pour le coup, je n’y comprend rien :slight_smile:

Bonjour

Quel module ? Ca doit etre un module sur pile qui ne s’est pas réveillé.

Y a une option pour ca

Non ce n’est pas un module sur pile, c’est le plugin et la clé USB ZOOZ qui est connecté directement à mon Rasberry pi4 qui ne semble plus communiquer avec tous les modules ZWAVE.

certain module sont sur le courant, donc pas de problématique de réveil manqué comme un module sur pile qui sont moins « bavard »

J’ai tenté deux choses hier… qui « semblent » porter leur fruit.

  • ajout d’une rallonge USB pour éloigner des interférences
  • retrait de la clé du port USB pendant 15min (j’ai lu cela quelque part sur internet…) je sais pas si c’est de la sorcellerie ou si c’est vraiment fondé :slight_smile: