Aide : RPI 5 + Debian 12 + ZwaveJS (Razberry)

Bonjour,

Je sais que Jeedom n’est pas compatible avec Debian 12 ou en tous cas officiellement.

J’ai tenté une installation avec cette configuration

  • RPI 5
  • Bookworm
  • 64Bit
  • Jeedom v4.4 Alpha
  • PHP 8.2.7

J’ai réussi à installer le core sans aucun problème depuis l’image officielle.

Il y a quelque plugins qui pose problème notamment lié a la version de Python mais la ou j’ai un plus gros problème, c’est pour zwavejs qui ne veut même pas « s’activer ».

Quand je clique sur le bouton, j’ai l’erreur suivante :

Erreur sur la fonction deamon_stop du plugin : file_exists(): Argument #1 ($filename) must be of type string, array given

Dans le script de pre-install.sh en lançant manuellement :

#!/bin/bash

set -x  # make sure each command is printed in the terminal
echo "Pre installation de l'installation/mise à jour des dépendances zwavejs"

BASEDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

cd $BASEDIR
source ../core/config/zwavejs.config.ini  &> /dev/null
echo "Wanted Version: $wantedVersion"
rm -R zwave-js-ui
git clone --branch v$wantedVersion --depth 1 https://github.com/zwave-js/zwave-js-ui
echo "Pre install finished"

pre_install.sh: 9: source: not found
rm: cannot remove 'zwave-js-ui': No such file or directory
+ git clone --branch v --depth 1 https://github.com/zwave-js/zwave-js-ui
Cloning into 'zwave-js-ui'...
warning: Could not find remote branch v to clone.

(Visiblement il ne trouve pas la $wantedVersion).

En remplaçant la valeur par une branch du git, le git clone ce fais mais le même genre d’erreur reviens avec le file_exists(): Argument #1 ($filename)

Si une bonne âme à une idée pour voir si l’installation peut au moins démarrer :slight_smile:

Quand j’aurais fini je ferais une liste de ce que j’ai réussis ou pas à installer si ça intéresse

(si besoin de plus de détail je peux en donner également)

Merci d’avance :slight_smile:

J’ai installé un core alpha 4.4 sur debian 12
Installé le plugin en beta et tt roule

Quel version ? 32/64b ?

Tu peux donné ta version de PHP aussi stp ?

image

Juste en cliquant sur « Activer »

0000|[Sat Nov 18 21:20:36.183118 2023] [php:error] [pid 995] [client 192.168.1.57:58694] PHP Fatal error:  Uncaught TypeError: file_exists(): Argument #1 ($filename) must be of type string, array given in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php:246\nStack trace:\n#0 /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php(246): file_exists()\n#1 /var/www/html/core/class/plugin.class.php(825): zwavejs::deamon_info()\n#2 /var/www/html/core/class/plugin.class.php(976): plugin->deamon_info()\n#3 /var/www/html/core/ajax/plugin.ajax.php(54): plugin->setIsEnable()\n#4 {main}\n  thrown in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 246
0001|[Sat Nov 18 21:20:36.331293 2023] [php:error] [pid 1000] [client 192.168.1.57:58693] PHP Fatal error:  Uncaught TypeError: file_exists(): Argument #1 ($filename) must be of type string, array given in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php:246\nStack trace:\n#0 /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php(246): file_exists()\n#1 /var/www/html/core/class/plugin.class.php(825): zwavejs::deamon_info()\n#2 /var/www/html/core/class/plugin.class.php(976): plugin->deamon_info()\n#3 /var/www/html/core/ajax/plugin.ajax.php(54): plugin->setIsEnable()\n#4 {main}\n  thrown in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 246
0002|[Sat Nov 18 21:20:36.480871 2023] [php:error] [pid 996] [client 192.168.1.57:58656] PHP Fatal error:  Uncaught TypeError: file_exists(): Argument #1 ($filename) must be of type string, array given in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php:246\nStack trace:\n#0 /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php(246): file_exists()\n#1 /var/www/html/core/class/plugin.class.php(825): zwavejs::deamon_info()\n#2 /var/www/html/core/class/plugin.class.php(976): plugin->deamon_info()\n#3 /var/www/html/core/ajax/plugin.ajax.php(54): plugin->setIsEnable()\n#4 {main}\n  thrown in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 246
0003|[Sat Nov 18 21:20:36.631406 2023] [php:error] [pid 1686] [client 192.168.1.57:58697] PHP Fatal error:  Uncaught TypeError: file_exists(): Argument #1 ($filename) must be of type string, array given in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php:246\nStack trace:\n#0 /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php(246): file_exists()\n#1 /var/www/html/core/class/plugin.class.php(825): zwavejs::deamon_info()\n#2 /var/www/html/core/class/plugin.class.php(976): plugin->deamon_info()\n#3 /var/www/html/core/ajax/plugin.ajax.php(54): plugin->setIsEnable()\n#4 {main}\n  thrown in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 246

Hello,

Ca vient de @ devant la fonction file_exists() de la ligne 246 comme indiqué

image

En php 8.0.0, il retourne un tableau maintenant voir PHP: Opérateur de contrôle d'erreur - Manual

Apparemment, c’est pas très conseiller d’utiliser @, test de l’enlever pour voir ce que ça donne

Cordialement

Bonjour et merci pour le coup de main :slight_smile:

J’ai fais le remplacement comme évoqué :

$port = config::byKey('port', __CLASS__);
		$port = jeedom::getUsbMapping($port);
		if (!file_exists($port)) {
			$return['launchable'] = 'nok';
			$return['launchable_message'] = __("Le port n'est pas configuré", __FILE__);
		}
		if (!class_exists('mqtt2')) {
			$return['launchable'] = 'nok';
			$return['launchable_message'] = __("Le plugin MQTT Manager n'est pas installé", __FILE__);
		} else {
			if (mqtt2::deamon_info()['state'] != 'ok') {
				$return['launchable'] = 'nok';
				$return['launchable_message'] = __("Le démon MQTT Manager n'est pas démarré", __FILE__);
			}
		}

Mais visiblement j’ai toujours la même erreur.

0003|[Sun Nov 19 10:57:52.548843 2023] [php:error] [pid 1428] [client 192.168.1.57:60979] PHP Fatal error: Uncaught TypeError: file_exists(): Argument #1 ($filename) must be of type string, array given in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php:246\nStack trace:\n#0 /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php(246): file_exists()\n#1 /var/www/html/core/class/plugin.class.php(825): zwavejs::deamon_info()\n#2 /var/www/html/core/class/plugin.class.php(976): plugin->deamon_info()\n#3 /var/www/html/core/ajax/plugin.ajax.php(54): plugin->setIsEnable()\n#4 {main}\n thrown in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 246

0000|[2023-11-19 10:57:52]ERROR : file_exists(): Argument #1 ($filename) must be of type string, array given
0001|[2023-11-19 10:57:52]ERROR : file_exists(): Argument #1 ($filename) must be of type string, array given
0002|[2023-11-19 10:57:52]ERROR : file_exists(): Argument #1 ($filename) must be of type string, array given
0003|[2023-11-19 10:57:52]ERROR : file_exists(): Argument #1 ($filename) must be of type string, array given
0006|[2023-11-19 10:57:52]INFO : Début d'activation du plugin
0007|[2023-11-19 10:57:52]ERROR : Erreur sur la fonction deamon_stop du plugin : file_exists(): Argument #1 ($filename) must be of type string, array given

J’avais vu cette ligne 246 mais je cherchai comme argument $filename et vu que sur cette ligne c’était $port je me suis dis que ce n’étais pas ça.

Edit : Par contre si je commente cette ligne j’arrive a activer le plugins. Mais sans avoir corrigé l’erreur du coup ^^

C’est une erreur de prog dans ZwaveJS. getUsbMapping peut retourner une chaine de caractère ou un tableau.
PHP 8 n’accepte pas que l’argument de file_exists soit un tableau. Il attend une chaine de caractères. => l’erreur signalée

Correction possible trouvée dans le plugin rfxcom:

$port = jeedom::getUsbMapping($port);
			if (is_string($port)) { // A ajouter
				if (@!file_exists($port)) {
					$return['launchable'] = 'nok';
					$return['launchable_message'] = __('Le port n\'est pas configuré', __FILE__);
				}
			}

Laisser l’ @. Elle permet de ne pas écrire une erreur dans le log http.error quand le fichier n’existe pas.

Merci je confirme que ça marche avec ce bout de code pour l’installation du plugins zwavejs :slight_smile:

Il me reste visiblement une erreur a l’installation mais pour MQTT visiblement …

0034|+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
0035|PHP Warning:  fopen(/tmp/jeedom/event_cache_lock): Failed to open stream: Permission denied in /var/www/html/core/class/event.class.php on line 33
0036|PHP Warning:  fopen(/tmp/jeedom/event_cache_lock): Failed to open stream: Permission denied in /var/www/html/core/class/event.class.php on line 37
0037|warning: commands will be executed using /bin/sh

![image|690x327](upload://zEBkNxy7usZcEzr5L5gIQgd4BcL.png)

0000|[2023-11-19 10:52:14]INFO : Start mqtt2d
0001|[2023-11-19 10:52:14]INFO : Log level on  : debug
0002|[2023-11-19 10:52:14]INFO : Socket port : 55035
0003|[2023-11-19 10:52:14]INFO : MQTT : mqtts://127.0.0.1:8883
0004|[2023-11-19 10:52:14]INFO : Username : jeedom
0005|[2023-11-19 10:52:14]INFO : Password : XXXX
0006|[2023-11-19 10:52:14]INFO : PID file : /tmp/jeedom/mqtt2/deamon.pid
0007|[2023-11-19 10:52:14]INFO : Apikey : XXXX
0008|[2023-11-19 10:52:14]INFO : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
0009|[2023-11-19 10:52:14]INFO : Cycle : 0.3
0010|[2023-11-19 10:52:14]INFO : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
0011|[2023-11-19 10:52:14]INFO : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
0012|[2023-11-19 10:52:14]INFO : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
0013|[2023-11-19 10:52:14]INFO : Connect to mqtt server
0014|Sun, 19 Nov 2023 10:52:14 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0015|[2023-11-19 10:52:14]DEBUG : HTTP listen on 127.0.0.1 port : 55035 started
0016|[2023-11-19 10:52:14]ERROR : Callback error.Please check your network configuration page : {"message":"Request failed with status code 403

0025|[2023-11-19 11:52:14]INFO : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtts://127.0.0.1:8883 --client_key /var/www/html/plugins/mqtt2/data/ssl/client.key --client_crt /var/www/html/plugins/mqtt2/data/ssl/client.crt --ca /var/www/html/plugins/mqtt2/data/ssl/ca.crt --username jeedom --password XXXX --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey XXXX --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
0026|[2023-11-19 11:52:44]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs

MQTT :

Erreur en SSH :

admin@pi5:~ $ sudo  /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtts://127.0.0.1:8883 --client_key /var/www/html/plugins/mqtt2/data/ssl/client.key --client_crt /var/www/html/plugins/mqtt2/data/ssl/client.crt --ca /var/www/html/plugins/mqtt2/data/ssl/ca.crt --username jeedom --password XXXX --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey XXXX --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2023-11-19 10:58:11][INFO] : Start mqtt2d
[2023-11-19 10:58:11][INFO] : Log level on  : debug
[2023-11-19 10:58:11][INFO] : Socket port : 55035
[2023-11-19 10:58:11][INFO] : MQTT : mqtts://127.0.0.1:8883
[2023-11-19 10:58:11][INFO] : Username : jeedom
[2023-11-19 10:58:11][INFO] : Password : XXXX
[2023-11-19 10:58:11][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-19 10:58:11][INFO] : Apikey : XXXX
[2023-11-19 10:58:11][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-19 10:58:11][INFO] : Cycle : 0.3
[2023-11-19 10:58:11][INFO] : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
[2023-11-19 10:58:11][INFO] : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
[2023-11-19 10:58:11][INFO] : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
[2023-11-19 10:58:11][INFO] : Connect to mqtt server
body-parser deprecated undefined extended: provide extended option ../../var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:168:31
[2023-11-19 10:58:11][DEBUG] : HTTP listen on 127.0.0.1 port : 55035 started
[2023-11-19 10:58:11][ERROR] : Callback error.Please check your network configuration page : {"message":"Request failed with status code 403","name":"AxiosError","stack":"AxiosError: Request failed with status code 403\n    at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1967:12)\n    at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3062:11)\n    at IncomingMessage.emit (node:events:529:35)\n    at endReadableNT (node:internal/streams/readable:1368:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"axios/1.6.2","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=XXXX"},"code":"ERR_BAD_REQUEST","status":403}

Si il faut je recréer un sujet, mais vu que c’est en lien avec la même installation, si ça dérange je le referais à côté :slight_smile:

Pour continuer ici, il faut ajouter le tag plugin-mqtt2 dans l’entête du post.

Désolé pour la réponse tardive… Je n’étais pas chez moi

Je suis sur un vm esxi donc 64bits

Log dépendances zwavejs

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.26.0'
0016|Wanted Version: 8.26.0
0017|+ rm -R zwave-js-ui
0018|+ git clone --branch v8.26.0 --depth 1 https://github.com/zwave-js/zwave-js-ui
0019|Cloning into 'zwave-js-ui'...
0020|Note: switching to '08e6a7e0474aecce39693de56dee4e33ce242206'.
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 switching back to a branch.
0024|If you want to create a new branch to retain commits you create, you may
0025|do so (now or later) by using -c with the switch command. Example:
0026|git switch -c <new-branch-name>
0027|Or undo this operation with:
0028|git switch -
0029|Turn off this advice by setting config variable advice.detachedHead to false
0030|+ echo 'Pre install finished'
0031|Pre install finished
0032|+ echo 3
0033|+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
0034|warning: commands will be executed using /bin/sh
0035|job 181 at Mon Nov 20 13:23:00 2023
0036|+ echo 4
0037|+ sudo apt update
0038|WARNING apt does not have a stable CLI interface. Use with caution in scripts.
0039|Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
0040|Hit:2 http://deb.debian.org/debian bookworm InRelease
0041|Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
0042|Hit:4 https://deb.nodesource.com/node_16.x bookworm InRelease
0043|Reading package lists...
0044|Building dependency tree...
0045|Reading state information...
0046|All packages are up to date.
0047|+ echo 5
0048|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0049|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0050|Hit:1 http://deb.debian.org/debian bookworm InRelease
0051|Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
0052|Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
0053|Hit:4 https://deb.nodesource.com/node_16.x bookworm InRelease
0054|Reading package lists...
0055|Reading package lists...
0056|Building dependency tree...
0057|Reading state information...
0058|lsb-release is already the newest version (12.0-1).
0059|build-essential is already the newest version (12.9).
0060|apt-utils is already the newest version (2.6.1).
0061|git is already the newest version (1:2.39.2-1.1).
0062|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0063|[Check Version NodeJS actuelle : v18.13.0 : [  OK  ]
0064|[Check Prefix : /usr/local and sudo prefix : /usr/local and www-data prefix : /usr/local : [  OK  ]
0065|+ echo 6
0066|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0067|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0068|Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
0069|Hit:2 http://deb.debian.org/debian bookworm InRelease
0070|Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
0071|Hit:4 https://deb.nodesource.com/node_16.x bookworm InRelease
0072|Reading package lists...
0073|Reading package lists...
0074|Building dependency tree...
0075|Reading state information...
0076|lsb-release is already the newest version (12.0-1).
0077|build-essential is already the newest version (12.9).
0078|apt-utils is already the newest version (2.6.1).
0079|git is already the newest version (1:2.39.2-1.1).
0080|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0081|[Check Version NodeJS actuelle : v18.13.0 : [  OK  ]
0082|[Check Prefix : /usr/local and sudo prefix : /usr/local and www-data prefix : /usr/local : [  OK  ]
0083|+ echo 7
0084|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0085|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0086|Hit:1 http://deb.debian.org/debian bookworm InRelease
0087|Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
0088|Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
0089|Hit:4 https://deb.nodesource.com/node_16.x bookworm InRelease
0090|Reading package lists...
0091|Reading package lists...
0092|Building dependency tree...
0093|Reading state information...
0094|lsb-release is already the newest version (12.0-1).
0095|build-essential is already the newest version (12.9).
0096|apt-utils is already the newest version (2.6.1).
0097|git is already the newest version (1:2.39.2-1.1).
0098|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0099|[Check Version NodeJS actuelle : v18.13.0 : [  OK  ]
0100|[Check Prefix : /usr/local and sudo prefix : /usr/local and www-data prefix : /usr/local : [  OK  ]
0101|+ echo 8
0102|+ sudo chmod +x /var/www/html/core/class/../../resources/install_composer.sh
0103|+ sudo /var/www/html/core/class/../../resources/install_composer.sh
0104|Begin installation of composer
0105|Installer verified
0106|All settings correct for using Composer
0107|Downloading...
0108|Composer (version 2.6.5) successfully installed to: /var/www/html/core/ajax/composer.phar
0109|Use it: php composer.phar
0110|End installation of composer
0111|+ echo 9
0112|+ sudo npm install --force -g yarn
0113|npm WARN using --force Recommended protections disabled.
0114|changed 1 package in 4s
0115|+ echo 10
0116|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0117|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0118|+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
0119|Post installation de l'installation/mise à jour des dépendances zwavejs
0120|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0121|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0122|++ pwd
0123|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0124|+ cd /var/www/html/plugins/zwavejs/resources
0125|+ cd zwave-js-ui
0126|+ sudo yarn install
0127|➤ YN0000: ┌ Resolution step
0128|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide @babel/core (pd92f5), requested by @babel/register
0129|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide @egjs/hammerjs (pb72e2), requested by vis-network
0130|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide component-emitter (p9f27e), requested by vis-network
0131|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide esbuild (pe0be1), requested by esbuild-register
0132|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide keycharm (p9e48c), requested by vis-network
0133|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide timsort (pd6433), requested by vis-network
0134|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide uuid (p8cb88), requested by vis-data
0135|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide uuid (p57e35), requested by vis-network
0136|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide vis-util (p81018), requested by vis-data
0137|➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide vis-util (p6ebf7), requested by vis-network
0138|➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
0139|➤ YN0000: └ Completed in 0s 837ms
0140|➤ YN0000: ┌ Fetch step
0141|➤ YN0000: └ Completed in 2s 292ms
0142|➤ YN0000: ┌ Link step
0143|➤ YN0007: │ docsify@npm:4.13.1 must be built because it never has been before or the last one failed
0144|➤ YN0007: │ vis-network@npm:9.1.6 [b9e30] must be built because it never has been before or the last one failed
0145|➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
0146|➤ YN0007: │ vue-demi@npm:0.14.6 [8b1a2] must be built because it never has been before or the last one failed
0147|➤ YN0007: │ @serialport/bindings-cpp@npm:10.8.0 must be built because it never has been before or the last one failed
0148|➤ YN0000: └ Completed in 1m 38s
0149|➤ YN0000: Done with warnings in 1m 42s
0150|+ sudo yarn run build
0151|vite v4.4.9 building for production...
0152|transforming...
0153|✓ 423 modules transformed.
0154|rendering chunks...
0155|computing gzip size...
0156|dist/registerSW.js                                    0.14 kB
0157|dist/manifest.webmanifest                             0.50 kB
0158|dist/index.html                                       1.68 kB │ gzip:   0.74 kB
0159|dist/assets/MaterialIcons-Regular-5743ed3d.woff2    125.12 kB
0160|dist/assets/MaterialIcons-Regular-e69d687a.eot      143.45 kB
0161|dist/assets/MaterialIcons-Regular-11ec382a.woff     160.58 kB
0162|dist/assets/MaterialIcons-Regular-29c11fa5.ttf      347.59 kB
0163|dist/assets/DialogHealthCheck-2228ed6c.css            0.04 kB │ gzip:   0.06 kB
0164|dist/assets/DialogGatewayValue-921e0920.css           0.06 kB │ gzip:   0.08 kB
0165|dist/assets/NodeDetails-da00c417.css                  0.06 kB │ gzip:   0.08 kB
0166|dist/assets/Settings-534ea7ab.css                     0.08 kB │ gzip:   0.09 kB
0167|dist/assets/QrReader-712f4072.css                     0.09 kB │ gzip:   0.10 kB
0168|dist/assets/NodePanel-f840a1e3.css                    0.09 kB │ gzip:   0.10 kB
0169|dist/assets/RichValue-3ea76a33.css                    0.13 kB │ gzip:   0.12 kB
0170|dist/assets/Mesh-1b8d31eb.css                         0.26 kB │ gzip:   0.20 kB
0171|dist/assets/ValueId-ee1cddbb.css                      0.31 kB │ gzip:   0.18 kB
0172|dist/assets/ExpandedNode-9f727a42.css                 0.39 kB │ gzip:   0.26 kB
0173|dist/assets/index-68c6006a.css                        0.39 kB │ gzip:   0.14 kB
0174|dist/assets/DialogAdvanced-eaabda04.css               0.45 kB │ gzip:   0.23 kB
0175|dist/assets/Store-79348188.css                        0.79 kB │ gzip:   0.33 kB
0176|dist/assets/BgRssiChart-3e7d7555.css                  1.66 kB │ gzip:   0.71 kB
0177|dist/assets/Login-f3260011.css                        5.43 kB │ gzip:   1.53 kB
0178|dist/assets/ZwaveGraph-fe07d4ee.css                 220.27 kB │ gzip:  31.14 kB
0179|dist/assets/index-17c83595.css                      645.02 kB │ gzip:  86.77 kB
0180|dist/assets/items-43934674.js                         0.14 kB │ gzip:   0.15 kB
0181|dist/assets/ControllerChart-c606ab1f.js               0.54 kB │ gzip:   0.34 kB
0182|dist/assets/ColumnFilterBoolean-c6092f07.js           0.70 kB │ gzip:   0.43 kB
0183|dist/assets/ReinterviewBadge-bf814dc8.js              0.77 kB │ gzip:   0.51 kB
0184|dist/assets/BlinkIcon-19235b94.js                     0.86 kB │ gzip:   0.42 kB
0185|dist/assets/ColumnFilterDate-d7e0a93c.js              1.20 kB │ gzip:   0.57 kB
0186|dist/assets/ColumnFilterString-f8846510.js            1.26 kB │ gzip:   0.62 kB
0187|dist/assets/StatisticsArrows-b018bd9d.js              1.28 kB │ gzip:   0.70 kB
0188|dist/assets/DialogAdvanced-9a92b1b6.js                1.31 kB │ gzip:   0.68 kB
0189|dist/assets/ErrorPage-527bd20e.js                     1.54 kB │ gzip:   0.77 kB
0190|dist/assets/ColumnFilterNumber-a0cea2aa.js            1.77 kB │ gzip:   0.75 kB
0191|dist/assets/file-input-3bba0641.js                    1.84 kB │ gzip:   0.86 kB
0192|dist/assets/RichValue-503228a9.js                     2.06 kB │ gzip:   0.87 kB
0193|dist/assets/StatisticsCard-e057c1db.js                2.56 kB │ gzip:   1.00 kB
0194|dist/assets/Mesh-4b0b2023.js                          2.87 kB │ gzip:   1.20 kB
0195|dist/assets/DialogSceneValue-cd1f304a.js              3.09 kB │ gzip:   1.19 kB
0196|dist/assets/ColumnFilter-14ab22ae.js                  3.50 kB │ gzip:   1.21 kB
0197|dist/assets/UserCodeTable-6155eda8.js                 4.04 kB │ gzip:   1.60 kB
0198|dist/assets/Login-b849578e.js                         4.16 kB │ gzip:   1.65 kB
0199|dist/assets/DialogAssociation-a1b1c1ef.js             4.19 kB │ gzip:   1.51 kB
0200|dist/assets/OTAUpdates-c04e15cd.js                    4.20 kB │ gzip:   1.84 kB
0201|dist/assets/AssociationGroups-3f47eeb0.js             4.36 kB │ gzip:   1.57 kB
0202|dist/assets/ListInput-89ad6676.js                     4.39 kB │ gzip:   1.41 kB
0203|dist/assets/Scenes-619e37fb.js                        5.75 kB │ gzip:   1.94 kB
0204|dist/assets/HomeAssistant-edf49ec9.js                 7.57 kB │ gzip:   2.25 kB
0205|dist/assets/prismeditor.esm-66f9830a.js               7.58 kB │ gzip:   2.70 kB
0206|dist/assets/NodeScheduler-203dc2bc.js                 7.86 kB │ gzip:   2.60 kB
0207|dist/assets/DialogGatewayValue-85a1fa4a.js            8.29 kB │ gzip:   2.53 kB
0208|dist/assets/SmartStart-950b220c.js                    8.43 kB │ gzip:   2.29 kB
0209|dist/assets/SmartView-501a65c2.js                     9.00 kB │ gzip:   3.02 kB
0210|dist/assets/mdi-4fe99e39.js                           9.43 kB │ gzip:   3.14 kB
0211|dist/assets/ValueId-8a04fe2d.js                      10.46 kB │ gzip:   2.94 kB
0212|dist/assets/Store-d7ba5f04.js                        10.91 kB │ gzip:   3.36 kB
0213|dist/assets/NodeDetails-e0263b12.js                  12.14 kB │ gzip:   3.36 kB
0214|dist/assets/DialogHealthCheck-40817ff8.js            12.23 kB │ gzip:   3.53 kB
0215|dist/assets/ExpandedNode-ec4b384a.js                 13.98 kB │ gzip:   4.80 kB
0216|dist/assets/NodePanel-f0062d01.js                    14.95 kB │ gzip:   4.13 kB
0217|dist/assets/Debug-3f1af365.js                        16.34 kB │ gzip:   4.18 kB
0218|dist/assets/ControlPanel-cd247fde.js                 17.96 kB │ gzip:   6.27 kB
0219|dist/assets/index-c4ea8cfe.js                        19.62 kB │ gzip:   5.77 kB
0220|dist/assets/QrReader-4ed5b99d.js                     20.90 kB │ gzip:   7.29 kB
0221|dist/assets/qr-scanner-worker.min-5f44a019.js        43.95 kB │ gzip:  10.40 kB
0222|dist/assets/BgRssiChart-3cc1df12.js                  52.82 kB │ gzip:  23.26 kB
0223|dist/assets/Settings-45d6c923.js                     69.65 kB │ gzip:  17.67 kB
0224|dist/assets/vuedraggable.umd-acb9dd0f.js             71.04 kB │ gzip:  24.84 kB
0225|dist/assets/ZwaveGraph-13115526.js                  572.23 kB │ gzip: 168.71 kB
0226|dist/assets/index-07fef15a.js                     1,135.06 kB │ gzip: 307.91 kB
0227|(!) Some chunks are larger than 500 kBs after minification. Consider:
0228|- Using dynamic import() to code-split the application
0229|- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
0230|- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
0231|vite v4.4.9 building for production...
0232|transforming...
0233|✓ 65 modules transformed.
0234|rendering chunks...
0235|computing gzip size...
0236|dist/sw.js  43.54 kB │ gzip: 12.27 kB
0237|✓ built in 1.33s
0238|PWA v0.16.5
0239|mode      injectManifest
0240|precache  71 entries (3028.52 KiB)
0241|files generated
0242|dist/sw.js
0243|✓ built in 1m 53s
0244|+ chown -R www-data:www-data CHANGELOG.md LICENSE README.md SECURITY.md app.ts bin certs config dist docker docs genereteDocs.ts hass index.html kubernetes kustomization.yaml lib node_modules nodemon.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
0245|+ '[' -e /dev/ttyAMA0 ']'
0246|+ '[' -e /dev/ttymxc0 ']'
0247|+ '[' -e /dev/ttyAMA0 ']'
0248|++ tr -d ' '
0249|++ cut -d: -f2
0250|++ grep Revision /proc/cpuinfo
0251|+ RPI_BOARD_REVISION=
0252|+ [[ '' == \a\0\2\0\8\2 ]]
0253|+ [[ '' == \a\2\2\0\8\2 ]]
0254|+ [[ '' == \a\0\2\0\d\3 ]]
0255|+ echo 'Everything is successfully installed!'
0256|Everything is successfully installed!
0257|+ echo 11
0258|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
0259|+ rm /tmp/jeedom_install_in_progress_zwavejs
0260|+ echo '*******************End of package installation******************'
0261|*******************End of package installation******************

image

Merci de ton retour, a priori c’est la partie MQTT qui pose problème maintenant mais à part ma version de NodeJs qui est différente je ne vois pas d’où peut provenir cette erreur 403.

J’ai comparer la conf avec mon Jeedom de prod, et c’est la même chose.

Du coup est-ce que la version 18.18 de NodeJS peux avoir un impact la dessus sachant que toi tu es visiblement en 18.13 ?

Si tu mets a jour le core alpha tu ne changes pas de version de nodejs ?

Je vais essayé de faire ça en rentrant, et je te tiens au courant mais j’ai installer Jeedom avec le -v alpha, je n’ai rien installer ou mis à jour de moi même

J’ai fait pareil

Suite des épisodes, j’avance :slight_smile:, j’ai réussis à faire démarré leS démons en relançant un update du code Alpha.

Mais visiblement mon driver zwave ne s’initialise pas : ( j’ai testé en 9.4 ET 8.26)

Log Z-Wave JS UI :

2023-11-20 21:03:10.784 INFO Z-WAVE: Connecting to /dev/ttyAMA10
2023-11-20 21:03:16.438 DEBUG MQTT: Publishing to zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error: {
  data: [
    ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)
        at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)
        at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)
        at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)
        at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)
        at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6) {
      [stack]: 'ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
        '    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
        '    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
        '    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
        '    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)\n' +
        '    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6)',
      message: 'Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
        '    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
        '    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
        '    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
        '    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)',
      code: 100,
      context: undefined,
      transactionSource: undefined,
      name: 'ZWaveError'
    },
    [length]: 1
  ]
} with options { qos: 1, retain: false }
2023-11-20 21:03:16.438 INFO Z-WAVE: Restarting client in 15 seconds, retry 107
2023-11-20 21:03:31.454 INFO GATEWAY: Driver is CLOSED
2023-11-20 21:03:31.454 DEBUG MQTT: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
2023-11-20 21:03:31.455 INFO Z-WAVE: Client closed
2023-11-20 21:03:31.455 INFO GATEWAY: Driver is CLOSED
2023-11-20 21:03:31.456 DEBUG MQTT: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }

Log http.error :

0000|[Mon Nov 20 21:05:44.247092 2023] [php:warn] [pid 996] [client 127.0.0.1:59112] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php on line 30

Log mqtt2d :

0000|[2023-11-20 20:05:41]DEBUG : Received message on topic : zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error => {"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}
0001|[2023-11-20 20:05:41]DEBUG : Send data to jeedom : {"zwave":{"_EVENTS":{"ZWAVE_GATEWAY-Jeedom":{"driver":{"driver_error":{"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}}}}}}
0002|[2023-11-20 20:05:44]INFO : Start mqtt2d
0003|[2023-11-20 20:05:44]INFO : Log level on  : debug
0004|[2023-11-20 20:05:44]INFO : Socket port : 55035
0005|[2023-11-20 20:05:44]INFO : MQTT : mqtts://127.0.0.1:8883
0006|[2023-11-20 20:05:44]INFO : Username : jeedom
0007|[2023-11-20 20:05:44]INFO : Password : XXXX
0008|[2023-11-20 20:05:44]INFO : PID file : /tmp/jeedom/mqtt2/deamon.pid
0009|[2023-11-20 20:05:44]INFO : Apikey : XXXX
0010|[2023-11-20 20:05:44]INFO : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
0011|[2023-11-20 20:05:44]INFO : Cycle : 0.3
0012|[2023-11-20 20:05:44]INFO : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
0013|[2023-11-20 20:05:44]INFO : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
0014|[2023-11-20 20:05:44]INFO : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
0015|[2023-11-20 20:05:44]INFO : Connect to mqtt server
0016|Mon, 20 Nov 2023 20:05:44 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0017|[2023-11-20 20:05:44]DEBUG : HTTP listen on 127.0.0.1 port : 55035 started
0018|[2023-11-20 20:05:44]INFO : Connection to mqtt server successfull
0019|[2023-11-20 20:05:44]INFO : Subscription to all topics
0020|[2023-11-20 20:05:44]INFO : Subscription to all topics succesfull
0021|[2023-11-20 20:05:44]DEBUG : Received message on topic : zwave/_CLIENTS/ZWAVE_GATEWAY-Jeedom/version => {"value":"9.4.0","time":1700508446443}
0022|[2023-11-20 20:05:44]DEBUG : Received message on topic : zwave/_CLIENTS/ZWAVE_GATEWAY-Jeedom/status => {"value":true,"time":1700508446443}
0023|[2023-11-20 20:05:44]DEBUG : Received message on topic : zwave/driver/status => false
0024|[2023-11-20 20:05:44]DEBUG : Send data to jeedom : {"zwave":{"_CLIENTS":{"ZWAVE_GATEWAY-Jeedom":{"version":{"value":"9.4.0","time":1700508446443},"status":{"value":true,"time":1700508446443}}},"driver":{"status":false}}}
0025|[2023-11-20 20:05:56]DEBUG : Received message on topic : zwave/driver/status => false
0026|[2023-11-20 20:05:56]DEBUG : Received message on topic : zwave/driver/status => false
0027|[2023-11-20 20:05:56]DEBUG : Send data to jeedom : {"zwave":{"driver":{"status":false}}}
0028|[2023-11-20 20:06:01]DEBUG : Received message on topic : zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error => {"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}
0029|[2023-11-20 20:06:01]DEBUG : Send data to jeedom : {"zwave":{"_EVENTS":{"ZWAVE_GATEWAY-Jeedom":{"driver":{"driver_error":{"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}}}}}}
0030|[2023-11-20 20:06:16]DEBUG : Received message on topic : zwave/driver/status => false

Log zwavejsd :

0315|e[90m2023-11-20 21:08:26.213e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Restarting client in 15 seconds, retry 122
0316|e[90m2023-11-20 21:08:41.213e[39m e[32mINFOe[39m e[1mGATEWAYe[22m: Driver is CLOSED
0317|e[90m2023-11-20 21:08:41.214e[39m e[34mDEBUGe[39m e[1mMQTTe[22m: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
0318|e[90m2023-11-20 21:08:41.215e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Client closed
0319|e[90m2023-11-20 21:08:41.215e[39m e[32mINFOe[39m e[1mGATEWAYe[22m: Driver is CLOSED
0320|e[90m2023-11-20 21:08:41.216e[39m e[34mDEBUGe[39m e[1mMQTTe[22m: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
0321|e[90m2023-11-20 21:08:41.219e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Connecting to /dev/ttyAMA10
0322|Logging to file:
0323|/var/www/html/plugins/zwavejs/data/store/logs/zwavejs_2023-11-20.log
0324|e[90m2023-11-20 21:08:46.868e[39m e[34mDEBUGe[39m e[1mMQTTe[22m: Publishing to zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error: {
0325|data: [
0326|ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)
0327|at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)
0328|at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)
0329|at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)
0330|at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)
0331|at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6) {
0332|[stack]: 'ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
0333|'    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
0334|'    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
0335|'    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
0336|'    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)\n' +
0337|'    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6)',
0338|message: 'Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
0339|'    at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
0340|'    at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
0341|'    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
0342|'    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)',
0343|code: 100,
0344|context: undefined,
0345|transactionSource: undefined,
0346|name: 'ZWaveError'
0347|},
0348|[length]: 1
0349|]
0350|} with options { qos: 1, retain: false }
0351|e[90m2023-11-20 21:08:46.869e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Restarting client in 15 seconds, retry 123

Alors avec un Core beta ou alpha en 4.4, je te conseille de suite de passer les plugins en Beta !!!

Trop de modifs dans le Core !

Perso j’ai tout en beta, core alpha et beta, debian 11 et debian 12

Ce que tu montres en log je ne l’ai sur aucune config

Ça marche je vais essayer de mettre MQTT en bêta mais en installant ZwaveJS en bêta c’est Jeedom qui m’installe MQTT en stable

Oui normal mais passe tout en beta, refait les dépendances.

Ensuite penses au reset dans zwavejs ui

Ça marche je vais tester :+1:

Tu appelles quoi par reset ?

image

en vm et en fonction de ta clé zwave