Problème Le driver Z-Wave n\'est pas initialisé

Bonjour à tous,

Suite à ma demande ici

J’ai un souci de message sur mes périphériques Z-Wave

Si je regarde mes logs, je n’ai rien, sauf dans mon mqtt2d dans lequel j’ai un souci semble-t-il depuis le 17/09

0000|Tue, 17 Sep 2024 18:45:05 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0001|Tue, 17 Sep 2024 22:48:23 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0002|Tue, 17 Sep 2024 22:54:25 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0003|Tue, 17 Sep 2024 22:58:05 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0004|[2024-09-18 00:32:05] ERROR  : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up
0005|at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:837:14)
0006|at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3016:25)
0007|at RedirectableRequest.emit (node:events:519:28)
0008|at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:14:24)
0009|at ClientRequest.emit (node:events:519:28)
0010|at emitErrorEvent (node:_http_client:108:11)
0011|at Socket.socketOnEnd (node:_http_client:535:5)
0012|at Socket.emit (node:events:531:35)
0013|at endReadableNT (node:internal/streams/readable:1696:12)
0014|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, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.5.1","Content-Length":"572","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=6UahUaitf8NP2uP15WfgqaQ5f3eP7nb9R25aeUEKMZjTkgT5p5T0fOT66JnZx6vi","data":"{\"zigbee2mqtt\":{\"0xa4c13896fe30ce72\":{\"child_lock\":\"UNLOCK\",\"countdown\":0,\"current\":0,\"device\":{\"applicationVersion\":77,\"dateCode\":\"\",\"friendlyName\":\"0xa4c13896fe30ce72\",\"hardwareVersion\":1,\"ieeeAddr\":\"0xa4c13896fe30ce72\",\"manufacturerID\":4417,\"manufacturerName\":\"_TZ3000_2putqrmw\",\"model\":\"A1Z\",\"networkAddress\":9378,\"powerSource\":\"Mains (single phase)\",\"stackVersion\":0,\"type\":\"Router\",\"zclVersion\":3},\"energy\":3.75,\"indicator_mode\":\"off/on\",\"last_seen\":\"2024-09-18T00:32:05.081Z\",\"linkquality\":132,\"power\":0,\"power_outage_memory\":\"restore\",\"state\":\"ON\",\"voltage\":241}}}"},"code":"ECONNRESET","status":null}
0015|[2024-09-18 04:14:42] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
0016|at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1913:12)
0017|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2995:11)
0018|at IncomingMessage.emit (node:events:531:35)
0019|at endReadableNT (node:internal/streams/readable:1696:12)
0020|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, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.5.1","Content-Length":"586","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=6UahUaitf8NP2uP15WfgqaQ5f3eP7nb9R25aeUEKMZjTkgT5p5T0fOT66JnZx6vi","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"19020 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":8.64,\"5min\":8.62,\"15min\":8.69},\"sent\":{\"1min\":54.06,\"5min\":54.38,\"15min\":54.68}},\"publish\":{\"received\":{\"1min\":6.62,\"5min\":6.62,\"15min\":6.71},\"sent\":{\"1min\":40.36,\"5min\":40.42,\"15min\":40.66}},\"bytes\":{\"received\":{\"1min\":4354.13,\"5min\":4296.01,\"15min\":4313.55},\"sent\":{\"1min\":7048.09,\"5min\":7053.94,\"15min\":7109.14}}},\"messages\":{\"received\":2737,\"sent\":50088},\"publish\":{\"messages\":{\"received\":2099,\"sent\":48557},\"bytes\":{\"received\":1409986,\"sent\":2410535}},\"bytes\":{\"received\":1509084,\"sent\":4243394}}}}"},"code":"ERR_BAD_RESPONSE","status":500}
0021|Wed, 18 Sep 2024 16:35:04 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0022|Wed, 18 Sep 2024 17:01:06 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0023|[2024-09-19 04:05:45] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n    at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1913:12)\n    at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2995:11)\n    at IncomingMessage.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1696: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, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.5.1","Content-Length":"813","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=6UahUaitf8NP2uP15WfgqaQ5f3eP7nb9R25aeUEKMZjTkgT5p5T0fOT66JnZx6vi","data":"{\"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:5563:23)\\n    at ZWaveController.queryCapabilities (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:1008:37)\\n    at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1481:46)\\n    at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1282:16) (ZW0100)\",\"code\":100}]}}}}}}"},"code":"ERR_BAD_RESPONSE","status":500}
0024|Thu, 19 Sep 2024 15:25:05 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0025|[2024-09-19 15:25:52] ERROR  : Reconnection to mqtt server

Est-ce que quelqu’un de bonne volonté pourrait m’aider à me sortir de mon souci SVP

PS : je suis vraiment noob en la matière

Bonjour,

Peut-on avoir la page santé jeedom ?
La config du plugin mqtt pour voir si OK

Le log d’installation des dépendances de mqtt ?

Page santé


Config du plugin

Les paramètres mosquito, je ne savais pas qu’on avait un moustique dans Jeedom :rofl:

per_listener_settings true

listener 1883
persistence false
allow_anonymous false
password_file /var/www/html/plugins/mqtt2/core/class/../../data/passwords

listener 8883
persistence false
password_file /var/www/html/plugins/mqtt2/core/class/../../data/passwords
allow_anonymous false
cafile /var/www/html/plugins/mqtt2/core/class/../../data/ssl/ca.crt
certfile /var/www/html/plugins/mqtt2/core/class/../../data/ssl/mosquitto.crt
keyfile /var/www/html/plugins/mqtt2/core/class/../../data/ssl/mosquitto.key
require_certificate true

« Le log d’installation des dépendances de mqtt » et je fais comment pour avoir ça :thinking: :roll_eyes:

Désolé, je ne suis pas ingénieur IT :joy:

Pour mémo, je me répond à moi même, puisque j’ai trouvé mon erreur (a quel point je suis nul en la matière)

Mon contrôleur Z-wave est une Razberry sur port GPIO
Sur ce même port, j’ai mis une carte avec ventilateur pour refroidir mon RPi

Et récemment, j’ai modifié une option dans raspi-config
4 Performance Options
P4 Fan
Enable fan temperature control

Sans penser un instant que cela allait m’éteindre aussi ma Razberry :scream: :crazy_face: :rofl:

Ce matin, je me suis réveillé en repensant à cette option que j’avais activé, je l’ai donc désactivé et voilà tout refonctionne de nouveau correctement :face_with_hand_over_mouth:

Je ne suis pas ingénieur IT, mais bidouilleur du dimanche soir :joy: et je me débrouille du coup…

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