Pi3, Razberry et Bullseye : le driver ZWave n'est pas initialisé

Bonjour,

Je fonctionne depuis fort longtemps avec un raspberry pi 3 sous Buster, une carte Razberry et le plugin Z-Wave. J’ai voulu passer sous Bullseye.
J’ai fait une installation vierge de l’OS, j’ai re-installé jeedom et restauré une précédente sauvegarde afin de ne pas repartir de zéro.

J’ai désactivé l’ancien plugin openzwave et ai installé Z-Wave JS.
Lors de l’installation des dépendances ZWave JS, j’ai eu des problèmes de RAM insuffisantes que j’ai résolus en suivant Dépendances : JS heap out of memory - Raspberry Pi 3

Les dépendances sont maintenant bien installées, le démon est lancé, mais le driver ne parvient pas à s’initialiser. La page reste bloquée sur

Voici quelques infos pour le contexte.
La santé générale de jeedom

La configuration du plugin

Les logs du plugin zwavejs

[2024-09-22 10:37:53] INFO  : Arrêt du démon ZwaveJS
[2024-09-22 10:37:58] INFO  : Arrêt du démon ZwaveJS
[2024-09-22 10:37:58] DEBUG  : [configureSettings] Informations reçues de MQTT Manager : {"ip":"monurl.emqxsl.com","port":"8883","protocol":"mqtts","user":"monUser","password":"monPassword"}
[2024-09-22 10:37:58] INFO  : Démarrage du démon ZwaveJS : STORE_DIR=/var/www/html/plugins/zwavejs/data/store KEY_S0_Legacy=XXXXXXXXXXXXXXXXXXXXXXX KEY_S2_Unauthenticated=XXXXXXXXXXXXXXXXXXXXXXX KEY_S2_Authenticated=XXXXXXXXXXXXXXXXXXXXXXX KEY_S2_AccessControl=XXXXXXXXXXXXXXXXXXXXXXX SESSION_SECRET=jeedomSession yarn start
[2024-09-22 10:48:16] INFO  : Arrêt du démon ZwaveJS
[2024-09-22 10:48:17] DEBUG  : [configureSettings] Informations reçues de MQTT Manager : {"ip":"monurl.emqxsl.com","port":"8883","protocol":"mqtts","user":"monUser","password":"monPassword"}
[2024-09-22 10:48:17] INFO  : Démarrage du démon ZwaveJS : STORE_DIR=/var/www/html/plugins/zwavejs/data/store KEY_S0_Legacy=XXXXXXXXXXXXXXXXXXXXXXX KEY_S2_Unauthenticated=XXXXXXXXXXXXXXXXXXXXXXX KEY_S2_Authenticated=XXXXXXXXXXXXXXXXXXXXXXX KEY_S2_AccessControl=XXXXXXXXXXXXXXXXXXXXXXX SESSION_SECRET=jeedomSession yarn start

Les logs zwavejs_packages

+ 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.12.0'
Wanted Version: 9.12.0
+ rm -R zwave-js-ui
+ git clone --branch v9.12.0 --depth 1 https://github.com/zwave-js/zwave-js-ui
Cloning into 'zwave-js-ui'...
Note: switching to '96eeb76b110f27d3ce16cfb4b3992cb8f8dc34d8'.
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
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://archive.raspberrypi.org/debian bullseye InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease
Fetched 15.0 kB in 1s (10.6 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://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...
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).
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  ]
+ echo 6
+ 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).
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  ]
+ echo 7
+ 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).
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  ]
+ echo 8
+ 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-09-22 09:44:18--  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% 2.42M 0s
50K .......                                               100% 34.8M=0.02s
2024-09-22 09:44:18 (2.73 MB/s) - 'composer-setup.php' saved [58444/58444]
All settings correct for using Composer
Downloading...
Composer (version 2.7.9) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
+ echo 9
+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install --force -g yarn
npm warn using --force Recommended protections disabled.
changed 1 package in 5s
+ echo 10
+ 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 yarn install
yarn install v1.22.22
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning archiver > archiver-utils > glob@8.1.0: Glob versions prior to v9 are no longer supported
warning archiver > archiver-utils > glob > 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.
warning csurf@1.11.0: Please use another csrf package
warning native-url > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
warning @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.
warning c8 > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning c8 > test-exclude > glob > 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.
warning c8 > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning c8 > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning docsify-cli > 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
warning eslint > @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
warning mocha > glob@8.1.0: Glob versions prior to v9 are no longer supported
warning release-it > shelljs > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning vite-plugin-pwa > workbox-build > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning vite-plugin-pwa > workbox-build > @rollup/plugin-replace > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > @zwave-js/server@1.38.0" has incorrect peer dependency "zwave-js@^13.2.0".
warning " > vis-data@7.1.9" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " > vis-data@7.1.9" has unmet peer dependency "vis-util@^5.0.1".
warning " > vis-network@9.1.9" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning " > vis-network@9.1.9" has unmet peer dependency "component-emitter@^1.3.0".
warning " > vis-network@9.1.9" has unmet peer dependency "keycharm@^0.2.0 || ^0.3.0 || ^0.4.0".
warning " > vis-network@9.1.9" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " > vis-network@9.1.9" has unmet peer dependency "vis-util@^5.0.1".
warning " > @babel/register@7.24.6" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > vite-plugin-pwa@0.16.7" has unmet peer dependency "workbox-build@^7.0.0".
warning " > vite-plugin-pwa@0.16.7" has unmet peer dependency "workbox-window@^7.0.0".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 214.00s.
+ sudo NODE_OPTIONS=--max_old_space_size=2048 yarn run build
yarn run v1.22.22
$ npm-run-all 'build:*'
$ tsc
$ vite build
vite v4.5.5 building for production...
transforming...
✓ 576 modules transformed.
rendering chunks...
computing gzip size...
dist/registerSW.js                                    0.14 kB
dist/manifest.webmanifest                             0.50 kB
dist/index.html                                       1.68 kB │ gzip:   0.74 kB
dist/assets/MaterialIcons-Regular-5743ed3d.woff2    125.12 kB
dist/assets/MaterialIcons-Regular-e69d687a.eot      143.45 kB
dist/assets/MaterialIcons-Regular-11ec382a.woff     160.58 kB
dist/assets/MaterialIcons-Regular-29c11fa5.ttf      347.59 kB
dist/assets/DialogHealthCheck-2228ed6c.css            0.04 kB │ gzip:   0.06 kB
dist/assets/DialogGatewayValue-911dd212.css           0.06 kB │ gzip:   0.08 kB
dist/assets/NodeDetails-da00c417.css                  0.06 kB │ gzip:   0.08 kB
dist/assets/Settings-81719688.css                     0.08 kB │ gzip:   0.10 kB
dist/assets/QrReader-00dee3fb.css                     0.09 kB │ gzip:   0.10 kB
dist/assets/NodePanel-c9b9749c.css                    0.09 kB │ gzip:   0.10 kB
dist/assets/RichValue-3ea76a33.css                    0.13 kB │ gzip:   0.12 kB
dist/assets/Mesh-b27cd214.css                         0.26 kB │ gzip:   0.20 kB
dist/assets/ValueId-d2938c42.css                      0.31 kB │ gzip:   0.18 kB
dist/assets/ExpandedNode-9f727a42.css                 0.39 kB │ gzip:   0.26 kB
dist/assets/index-2a960184.css                        0.39 kB │ gzip:   0.14 kB
dist/assets/DialogAdvanced-eaabda04.css               0.45 kB │ gzip:   0.23 kB
dist/assets/Store-6f25927f.css                        0.79 kB │ gzip:   0.33 kB
dist/assets/BgRssiChart-3e7d7555.css                  1.66 kB │ gzip:   0.71 kB
dist/assets/Login-1826b0a1.css                        5.43 kB │ gzip:   1.52 kB
dist/assets/ZwaveGraph-fe07d4ee.css                 220.27 kB │ gzip:  31.02 kB
dist/assets/index-fc01ccc5.css                      645.37 kB │ gzip:  87.03 kB
dist/assets/items-61b06e9b.js                         0.26 kB │ gzip:   0.20 kB
dist/assets/ControllerChart-16cf1405.js               0.54 kB │ gzip:   0.34 kB
dist/assets/ColumnFilterBoolean-73d91252.js           0.70 kB │ gzip:   0.43 kB
dist/assets/ReinterviewBadge-1cdcaebf.js              0.77 kB │ gzip:   0.51 kB
dist/assets/BlinkIcon-69c04c1c.js                     0.86 kB │ gzip:   0.42 kB
dist/assets/MissingKeysAlert-2ee53263.js              1.18 kB │ gzip:   0.56 kB
dist/assets/ColumnFilterDate-de8119ad.js              1.20 kB │ gzip:   0.57 kB
dist/assets/ColumnFilterString-a0fdce18.js            1.26 kB │ gzip:   0.63 kB
dist/assets/DialogAdvanced-3a4f932a.js                1.31 kB │ gzip:   0.68 kB
dist/assets/StatisticsArrows-a81c3fe8.js              1.35 kB │ gzip:   0.73 kB
dist/assets/ErrorPage-0b246b63.js                     1.56 kB │ gzip:   0.79 kB
dist/assets/ColumnFilterNumber-6267b045.js            1.77 kB │ gzip:   0.75 kB
dist/assets/file-input-79560050.js                    1.84 kB │ gzip:   0.86 kB
dist/assets/RichValue-2e0f6f93.js                     2.06 kB │ gzip:   0.87 kB
dist/assets/StatisticsCard-2d2d6e4a.js                2.56 kB │ gzip:   1.00 kB
dist/assets/Mesh-c0bc8969.js                          2.87 kB │ gzip:   1.19 kB
dist/assets/DialogSceneValue-c255619b.js              3.09 kB │ gzip:   1.19 kB
dist/assets/ColumnFilter-0c58e1e4.js                  3.50 kB │ gzip:   1.21 kB
dist/assets/UserCodeTable-e0934e2f.js                 4.04 kB │ gzip:   1.59 kB
dist/assets/Login-fafa2199.js                         4.14 kB │ gzip:   1.64 kB
dist/assets/DialogAssociation-530a60ec.js             4.19 kB │ gzip:   1.51 kB
dist/assets/AssociationGroups-018d5aa6.js             4.34 kB │ gzip:   1.57 kB
dist/assets/ListInput-64df2bb8.js                     4.39 kB │ gzip:   1.41 kB
dist/assets/mdi-084c837b.js                           4.53 kB │ gzip:   1.58 kB
dist/assets/OTAUpdates-bf726ed0.js                    5.13 kB │ gzip:   2.10 kB
dist/assets/Scenes-14615ab5.js                        5.72 kB │ gzip:   1.94 kB
dist/assets/prismeditor.esm-67168db9.js               7.58 kB │ gzip:   2.69 kB
dist/assets/NodeScheduler-20e23f7c.js                 7.86 kB │ gzip:   2.60 kB
dist/assets/HomeAssistant-afb52a6b.js                 8.24 kB │ gzip:   2.43 kB
dist/assets/DialogGatewayValue-39be1cc4.js            8.29 kB │ gzip:   2.51 kB
dist/assets/ControlPanel-c461a3c0.js                  9.49 kB │ gzip:   3.47 kB
dist/assets/SmartView-b076c39d.js                     9.89 kB │ gzip:   3.23 kB
dist/assets/ValueId-8069f738.js                      10.46 kB │ gzip:   2.94 kB
dist/assets/Store-b25cb9af.js                        10.86 kB │ gzip:   3.37 kB
dist/assets/NodeDetails-573ee8c3.js                  12.13 kB │ gzip:   3.36 kB
dist/assets/DialogHealthCheck-b5be2825.js            12.39 kB │ gzip:   3.59 kB
dist/assets/SmartStart-0203fb93.js                   12.78 kB │ gzip:   3.78 kB
dist/assets/ExpandedNode-800ce14a.js                 14.94 kB │ gzip:   5.04 kB
dist/assets/NodePanel-92e34cd3.js                    15.39 kB │ gzip:   4.23 kB
dist/assets/Debug-29535fa5.js                        16.32 kB │ gzip:   4.18 kB
dist/assets/QrReader-6b206d0f.js                     20.90 kB │ gzip:   7.30 kB
dist/assets/index-68f7d647.js                        20.98 kB │ gzip:   6.08 kB
dist/assets/qr-scanner-worker.min-5f44a019.js        43.95 kB │ gzip:  10.46 kB
dist/assets/BgRssiChart-38e1ed8a.js                  54.99 kB │ gzip:  24.30 kB
dist/assets/vuedraggable.umd-c4e3783b.js             71.04 kB │ gzip:  24.90 kB
dist/assets/Settings-3371820a.js                     74.67 kB │ gzip:  18.68 kB
dist/assets/index-ff1bf1dc.js                       104.95 kB │ gzip:  43.04 kB
dist/assets/ZwaveGraph-c25a6a76.js                  561.14 kB │ gzip: 166.35 kB
dist/assets/index-a8b105c2.js                     1,180.82 kB │ gzip: 325.34 kB
(!) Some chunks are larger than 500 kBs 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.
vite v4.5.5 building for production...
transforming...
✓ 65 modules transformed.
rendering chunks...
computing gzip size...
dist/sw.js  43.54 kB │ gzip: 12.25 kB
✓ built in 1.92s
PWA v0.16.7
mode      injectManifest
precache  73 entries (3173.75 KiB)
files generated
dist/sw.js
✓ built in 2m
Done in 173.78s.
+ 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.js wallaby.js yarn.lock
+ '[' -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
++ cut -d: -f2
++ tr -d ' '
+ RPI_BOARD_REVISION=a02082
+ [[ a02082 == \a\0\2\0\8\2 ]]
+ systemctl disable hciuart
++ grep dtoverlay=pi3-miniuart-bt /boot/config.txt
+ [[ ! -n '' ]]
+ echo 'Raspberry Pi 3 Detected. If you use a Razberry board you must Disable Bluetooth'
Raspberry Pi 3 Detected. If you use a Razberry board you must Disable Bluetooth
+ echo 'Please add '\''dtoverlay=pi3-miniuart-bt'\'' to the end of the file /boot/config.txt'
Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
+ echo 'And reboot your Raspberry Pi'
And reboot your Raspberry Pi
+ echo 'Everything is successfully installed!'
Everything is successfully installed!
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
+ echo 12
+ rm /tmp/jeedom_install_in_progress_zwavejs
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Comme j’ai une carte RazBerry, dans mon fichier /boot/config.txt, j’ai bien mis

[all]
dtoverlay=pi3-disable-bt

Au cas où il y ait un lien, je précise que j’utilise MQTT Manager avec un broker Cloud. Je m’en sers pour remonter quelques infos vers une appli smartphone et piloter mon jeedom de l’extérieur.

Auriez-vous une idée de ce qui empêche mon driver de s’initialiser ?


Informations Jeedom

Core : 4.4.15 (master)
DNS Jeedom : non

Plugin : Z-Wave JS
Version : 2024-05-21 01:03:16 (stable)
Statut Démon : Démarré - (2024-09-22 10:48:16)

Bonjour,

Qu’est-ce qui peut y avoir comme soucis identique en ce moment avec les RPi :thinking:.

Tente peut-être de mettre ce qui est indiqué dans le log à savoir : dtoverlay=pi3-miniuart-bt

Que donne ensuite un ls -l /dev après reboot ?

Bonjour.

Cette commande n’est plus bonne, il faut utiliser :
dtoverlay=disable-bt

Et redémarrer ensuite

Merci pour vos réponses rapides !
C’est vrai, j’avais vu plusieurs commandes de ce genre et les avais un peu toutes tentées, mais sans succès.
En mettant dtoverlay=pi3-miniuart-bt ça ne donne pas mieux.
Le ls -l /dev renvoie

pi@raspberrypi:~ $ ls -l /dev
total 0
crw-r--r-- 1 root root     10, 235 Sep 22 16:57 autofs
drwxr-xr-x 2 root root         620 Sep 22 16:57 block
drwxr-xr-x 2 root root          60 Sep 22 16:57 bsg
crw------- 1 root root     10, 234 Sep 22 16:57 btrfs-control
drwxr-xr-x 3 root root          60 Jan  1  1970 bus
crw------- 1 root root     10, 127 Sep 22 16:57 cachefiles
crw-rw---- 1 root video   240,   0 Sep 22 16:57 cec0
drwxr-xr-x 2 root root        3060 Sep 22 16:57 char
crw--w---- 1 root tty       5,   1 Sep 22 16:58 console
crw------- 1 root root     10, 203 Sep 22 16:57 cuse
drwxr-xr-x 7 root root         140 Sep 22 16:57 disk
drwxr-xr-x 2 root root          80 Jan  1  1970 dma_heap
drwxr-xr-x 3 root root         100 Sep 22 16:57 dri
lrwxrwxrwx 1 root root          13 Sep  6 00:06 fd -> /proc/self/fd
crw-rw-rw- 1 root root      1,   7 Sep 22 16:57 full
crw-rw-rw- 1 root root     10, 229 Sep 22 16:57 fuse
crw-rw---- 1 root gpio    254,   0 Sep 22 16:57 gpiochip0
crw-rw---- 1 root gpio    254,   1 Sep 22 16:57 gpiochip1
crw-rw---- 1 root gpio    254,   2 Sep 22 16:57 gpiochip2
crw-rw---- 1 root gpio    254,   3 Sep 22 16:57 gpiochip3
crw-rw---- 1 root gpio    245,   0 Sep 22 16:57 gpiomem
crw------- 1 root root     10, 183 Sep 22 16:57 hwrng
lrwxrwxrwx 1 root root          12 Sep  6 00:06 initctl -> /run/initctl
drwxr-xr-x 3 root root         100 Sep 22 16:57 input
crw-r--r-- 1 root root      1,  11 Sep 22 16:57 kmsg
lrwxrwxrwx 1 root root          28 Sep  6 00:06 log -> /run/systemd/journal/dev-log
brw-rw---- 1 root disk      7,   0 Sep 22 16:57 loop0
brw-rw---- 1 root disk      7,   1 Sep 22 16:57 loop1
brw-rw---- 1 root disk      7,   2 Sep 22 16:57 loop2
brw-rw---- 1 root disk      7,   3 Sep 22 16:57 loop3
brw-rw---- 1 root disk      7,   4 Sep 22 16:57 loop4
brw-rw---- 1 root disk      7,   5 Sep 22 16:57 loop5
brw-rw---- 1 root disk      7,   6 Sep 22 16:57 loop6
brw-rw---- 1 root disk      7,   7 Sep 22 16:57 loop7
crw-rw---- 1 root disk     10, 237 Sep 22 16:57 loop-control
drwxr-xr-x 2 root root          60 Sep 22 16:57 mapper
crw-rw---- 1 root video   241,   0 Sep 22 16:57 media0
crw-rw---- 1 root video   241,   1 Sep 22 16:57 media1
crw-rw---- 1 root video   241,   2 Sep 22 16:57 media2
crw-r----- 1 root kmem      1,   1 Sep 22 16:57 mem
brw-rw---- 1 root disk    179,   0 Sep 22 16:57 mmcblk0
brw-rw---- 1 root disk    179,   1 Sep 22 16:57 mmcblk0p1
brw-rw---- 1 root disk    179,   2 Sep 22 16:57 mmcblk0p2
drwxrwxrwt 2 root root          40 Jan  1  1970 mqueue
drwxr-xr-x 2 root root          60 Sep 22 16:57 net
crw-rw-rw- 1 root root      1,   3 Sep 22 16:57 null
crw------- 1 root root    108,   0 Sep 22 16:57 ppp
crw-rw-rw- 1 root tty       5,   2 Sep 22 16:59 ptmx
drwxr-xr-x 2 root root           0 Sep  6 00:06 pts
brw-rw---- 1 root disk      1,   0 Sep 22 16:57 ram0
brw-rw---- 1 root disk      1,   1 Sep 22 16:57 ram1
brw-rw---- 1 root disk      1,  10 Sep 22 16:57 ram10
brw-rw---- 1 root disk      1,  11 Sep 22 16:57 ram11
brw-rw---- 1 root disk      1,  12 Sep 22 16:57 ram12
brw-rw---- 1 root disk      1,  13 Sep 22 16:57 ram13
brw-rw---- 1 root disk      1,  14 Sep 22 16:57 ram14
brw-rw---- 1 root disk      1,  15 Sep 22 16:57 ram15
brw-rw---- 1 root disk      1,   2 Sep 22 16:57 ram2
brw-rw---- 1 root disk      1,   3 Sep 22 16:57 ram3
brw-rw---- 1 root disk      1,   4 Sep 22 16:57 ram4
brw-rw---- 1 root disk      1,   5 Sep 22 16:57 ram5
brw-rw---- 1 root disk      1,   6 Sep 22 16:57 ram6
brw-rw---- 1 root disk      1,   7 Sep 22 16:57 ram7
brw-rw---- 1 root disk      1,   8 Sep 22 16:57 ram8
brw-rw---- 1 root disk      1,   9 Sep 22 16:57 ram9
crw-rw-rw- 1 root root      1,   8 Sep 22 16:57 random
crw-rw-r-- 1 root netdev   10, 242 Sep 22 16:57 rfkill
brw-rw---- 1 root disk      8,   0 Sep 22 16:57 sda
brw-rw---- 1 root disk      8,   1 Sep 22 16:57 sda1
drwxr-xr-x 4 root root          80 Sep 22 16:57 serial
lrwxrwxrwx 1 root root           7 Sep 22 16:57 serial0 -> ttyAMA0
lrwxrwxrwx 1 root root           5 Sep 22 16:57 serial1 -> ttyS0
crw-rw---- 1 root disk     21,   0 Sep 22 16:57 sg0
drwxrwxrwt 2 root root          40 Sep  6 00:06 shm
drwxr-xr-x 3 root root         180 Sep 22 16:57 snd
lrwxrwxrwx 1 root root          15 Sep  6 00:06 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root          15 Sep  6 00:06 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root          15 Sep  6 00:06 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty       5,   0 Sep 22 16:57 tty
crw--w---- 1 root tty       4,   0 Sep 22 16:57 tty0
crw--w---- 1 root tty       4,   1 Sep 22 16:58 tty1
crw--w---- 1 root tty       4,  10 Sep 22 16:57 tty10
crw--w---- 1 root tty       4,  11 Sep 22 16:57 tty11
crw--w---- 1 root tty       4,  12 Sep 22 16:57 tty12
crw--w---- 1 root tty       4,  13 Sep 22 16:57 tty13
crw--w---- 1 root tty       4,  14 Sep 22 16:57 tty14
crw--w---- 1 root tty       4,  15 Sep 22 16:57 tty15
crw--w---- 1 root tty       4,  16 Sep 22 16:57 tty16
crw--w---- 1 root tty       4,  17 Sep 22 16:57 tty17
crw--w---- 1 root tty       4,  18 Sep 22 16:57 tty18
crw--w---- 1 root tty       4,  19 Sep 22 16:57 tty19
crw--w---- 1 root tty       4,   2 Sep 22 16:57 tty2
crw--w---- 1 root tty       4,  20 Sep 22 16:57 tty20
crw--w---- 1 root tty       4,  21 Sep 22 16:57 tty21
crw--w---- 1 root tty       4,  22 Sep 22 16:57 tty22
crw--w---- 1 root tty       4,  23 Sep 22 16:57 tty23
crw--w---- 1 root tty       4,  24 Sep 22 16:57 tty24
crw--w---- 1 root tty       4,  25 Sep 22 16:57 tty25
crw--w---- 1 root tty       4,  26 Sep 22 16:57 tty26
crw--w---- 1 root tty       4,  27 Sep 22 16:57 tty27
crw--w---- 1 root tty       4,  28 Sep 22 16:57 tty28
crw--w---- 1 root tty       4,  29 Sep 22 16:57 tty29
crw--w---- 1 root tty       4,   3 Sep 22 16:57 tty3
crw--w---- 1 root tty       4,  30 Sep 22 16:57 tty30
crw--w---- 1 root tty       4,  31 Sep 22 16:57 tty31
crw--w---- 1 root tty       4,  32 Sep 22 16:57 tty32
crw--w---- 1 root tty       4,  33 Sep 22 16:57 tty33
crw--w---- 1 root tty       4,  34 Sep 22 16:57 tty34
crw--w---- 1 root tty       4,  35 Sep 22 16:57 tty35
crw--w---- 1 root tty       4,  36 Sep 22 16:57 tty36
crw--w---- 1 root tty       4,  37 Sep 22 16:57 tty37
crw--w---- 1 root tty       4,  38 Sep 22 16:57 tty38
crw--w---- 1 root tty       4,  39 Sep 22 16:57 tty39
crw--w---- 1 root tty       4,   4 Sep 22 16:57 tty4
crw--w---- 1 root tty       4,  40 Sep 22 16:57 tty40
crw--w---- 1 root tty       4,  41 Sep 22 16:57 tty41
crw--w---- 1 root tty       4,  42 Sep 22 16:57 tty42
crw--w---- 1 root tty       4,  43 Sep 22 16:57 tty43
crw--w---- 1 root tty       4,  44 Sep 22 16:57 tty44
crw--w---- 1 root tty       4,  45 Sep 22 16:57 tty45
crw--w---- 1 root tty       4,  46 Sep 22 16:57 tty46
crw--w---- 1 root tty       4,  47 Sep 22 16:57 tty47
crw--w---- 1 root tty       4,  48 Sep 22 16:57 tty48
crw--w---- 1 root tty       4,  49 Sep 22 16:57 tty49
crw--w---- 1 root tty       4,   5 Sep 22 16:57 tty5
crw--w---- 1 root tty       4,  50 Sep 22 16:57 tty50
crw--w---- 1 root tty       4,  51 Sep 22 16:57 tty51
crw--w---- 1 root tty       4,  52 Sep 22 16:57 tty52
crw--w---- 1 root tty       4,  53 Sep 22 16:57 tty53
crw--w---- 1 root tty       4,  54 Sep 22 16:57 tty54
crw--w---- 1 root tty       4,  55 Sep 22 16:57 tty55
crw--w---- 1 root tty       4,  56 Sep 22 16:57 tty56
crw--w---- 1 root tty       4,  57 Sep 22 16:57 tty57
crw--w---- 1 root tty       4,  58 Sep 22 16:57 tty58
crw--w---- 1 root tty       4,  59 Sep 22 16:57 tty59
crw--w---- 1 root tty       4,   6 Sep 22 16:57 tty6
crw--w---- 1 root tty       4,  60 Sep 22 16:57 tty60
crw--w---- 1 root tty       4,  61 Sep 22 16:57 tty61
crw--w---- 1 root tty       4,  62 Sep 22 16:57 tty62
crw--w---- 1 root tty       4,  63 Sep 22 16:57 tty63
crw--w---- 1 root tty       4,   7 Sep 22 16:57 tty7
crw--w---- 1 root tty       4,   8 Sep 22 16:57 tty8
crw--w---- 1 root tty       4,   9 Sep 22 16:57 tty9
crw-rw---- 1 root dialout 204,  64 Sep 22 16:59 ttyAMA0
crw------- 1 root root      5,   3 Sep 22 16:57 ttyprintk
crw-rw---- 1 root dialout   4,  64 Sep 22 16:57 ttyS0
crwxrwxrwx 1 root dialout 188,   0 Sep 22 16:59 ttyUSB0
crw------- 1 root root     10, 239 Sep 22 16:57 uhid
crw------- 1 root root     10, 223 Sep 22 16:57 uinput
crw-rw-rw- 1 root root      1,   9 Sep 22 16:57 urandom
drwxr-xr-x 3 root root          60 Sep 22 16:57 v4l
crw-rw---- 1 root video    10, 125 Sep 22 16:57 vchiq
crw-rw---- 1 root video    10, 126 Sep 22 16:57 vcio
crw------- 1 root root    246,   0 Sep 22 16:57 vc-mem
crw-rw---- 1 root tty       7,   0 Sep 22 16:57 vcs
crw-rw---- 1 root tty       7,   1 Sep 22 16:57 vcs1
crw-rw---- 1 root tty       7,   2 Sep 22 16:57 vcs2
crw-rw---- 1 root tty       7,   3 Sep 22 16:57 vcs3
crw-rw---- 1 root tty       7,   4 Sep 22 16:57 vcs4
crw-rw---- 1 root tty       7,   5 Sep 22 16:57 vcs5
crw-rw---- 1 root tty       7,   6 Sep 22 16:57 vcs6
crw-rw---- 1 root tty       7, 128 Sep 22 16:57 vcsa
crw-rw---- 1 root tty       7, 129 Sep 22 16:57 vcsa1
crw-rw---- 1 root tty       7, 130 Sep 22 16:57 vcsa2
crw-rw---- 1 root tty       7, 131 Sep 22 16:57 vcsa3
crw-rw---- 1 root tty       7, 132 Sep 22 16:57 vcsa4
crw-rw---- 1 root tty       7, 133 Sep 22 16:57 vcsa5
crw-rw---- 1 root tty       7, 134 Sep 22 16:57 vcsa6
crw-rw---- 1 root video    10, 124 Sep 22 16:57 vcsm-cma
crw-rw---- 1 root tty       7,  64 Sep 22 16:57 vcsu
crw-rw---- 1 root tty       7,  65 Sep 22 16:57 vcsu1
crw-rw---- 1 root tty       7,  66 Sep 22 16:57 vcsu2
crw-rw---- 1 root tty       7,  67 Sep 22 16:57 vcsu3
crw-rw---- 1 root tty       7,  68 Sep 22 16:57 vcsu4
crw-rw---- 1 root tty       7,  69 Sep 22 16:57 vcsu5
crw-rw---- 1 root tty       7,  70 Sep 22 16:57 vcsu6
crw------- 1 root root     10, 137 Sep 22 16:57 vhci
crw-rw---- 1 root video    81,   8 Sep 22 16:57 video10
crw-rw---- 1 root video    81,   9 Sep 22 16:57 video11
crw-rw---- 1 root video    81,  10 Sep 22 16:57 video12
crw-rw---- 1 root video    81,   0 Sep 22 16:57 video13
crw-rw---- 1 root video    81,   1 Sep 22 16:57 video14
crw-rw---- 1 root video    81,   2 Sep 22 16:57 video15
crw-rw---- 1 root video    81,   3 Sep 22 16:57 video16
crw-rw---- 1 root video    81,  11 Sep 22 16:57 video18
crw-rw---- 1 root video    81,   4 Sep 22 16:57 video20
crw-rw---- 1 root video    81,   5 Sep 22 16:57 video21
crw-rw---- 1 root video    81,   6 Sep 22 16:57 video22
crw-rw---- 1 root video    81,   7 Sep 22 16:57 video23
crw-rw---- 1 root video    81,  12 Sep 22 16:57 video31
crw------- 1 root root     10, 130 Sep 22 16:57 watchdog
crw------- 1 root root    248,   0 Sep 22 16:57 watchdog0
crw-rw-rw- 1 root root      1,   5 Sep 22 16:57 zero

Merci, je ne connaissais pas celle-ci et ne l’avais pas tentée.

Cela dit, elle ne donne pas de meilleurs résultats.
Toujours mon erreur « Le driver Z-Wave n’est pas initialisé, veuillez patienter. Si le message reste trop longtemps, veuillez vérifier la configuration du démon », et les différents logs donnent les mêmes infos que ceux de mon premier post.

salut,
peut-être en essayant avec un port de type by-id, j’ai aussi rencontré des difficulté (pi4) avec le port « historique » Axx0 après passage sous zwavejs

Bonjour,

Tu n’as pas de by-id avec une carte GPIO.

1 « J'aime »

Pourquoi le soft reset est coché ?

On peut voir le fichier config.txt ?

Bonjour,
Il l’était par défaut, et l’info-bulle disait
image
Donc j’ai pas touché :wink:

Yes, le voici

pi@raspberrypi:~ $ cat /boot/config.txt
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
# Set audio output to headphone jack
audio_pwm_mode=2
# Disable BT for RazBerry
dtoverlay=disable-bt

Bonjour,

Pour configurer l’interface série du RPI3 voir ici : [Présentation] akenad - #4 par akenad

akenad :slight_smile:

Merci pour le lien.

J’ai fait ces modifs, rebooté puis attendu 10 minutes.
Ca ne donne pas mieux que ce soit avec dtoverlay=pi3-disable-bt ou avec dtoverlay=pi3-miniuart-bt dans le config.txt

Mes fichiers de boot
cmdline.txt
console=tty1 root=PARTUUID=b709d41f-02 rootfstype=ext4 fsck.repair=yes rootwait

config.txt

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
# Set audio output to headphone jack
audio_pwm_mode=2
# Disable BT for RazBerry
dtoverlay=pi3-disable-bt

Est-ce qu’il y aurait un obstacle au fait de faire fonctionner cette carte RazBerry sur Bullseye+Pi3, sachant qu’elle faisait bien le boulot sur Buster+Pi3 ?
Est-ce que d’autres logs au niveau driver permettraient d’y voir plus clair ?

Bonjour je rencontre le même souci depuis update OS debian 10 → 11. Après d’énormes difficultés à réinstaller Zwave-JS, le controlleur razberry ne semble plus fonctionner.

Bonjour,

1 problème = 1 sujet.

Si tu as fait un update à partir de Debian 10 au lieu d’une nouvelle installation de Debian 11 c’est probablement la raison du dysfonctionnement.

Fresh install debian 11 puis injection sauvegarde Jeedom fonctionnelle en 4.4.17. Malheureusement le réseau ZWave ne remonte plus du tout…

Alors merci de créer ton propre sujet.

Bonjour,
Après quelques jours à batailler, je suis finalement reparti de zéro en réinstallant tout (bullseye, jeedom, tous les plugins, scenarios, ….).

Je ne peux pas le certifier, mais je pense que la cause racine était dans le plugin mqtt, et en particulier parce que j’avais déjà un lien en place vers un broker extérieur sur le Net.
En effet, quand je fais tourner le zwave-js en local tout va bien, mais ça retombe en panne à partir du moment où je remet en route le lien vers le broker externe.

Priorité au zwave-js, donc je laisse tomber le broker externe pour le moment et je me lancerai dans un bridge Mqtt quand j’aurai 5 minutes.

Bonne journée à tous !

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.