Bonjour,
Je viens de mette à jour jeedom en 4.3.21 ainsi que zwavejs
J’ai relancé les dépendances, mais j’ai un message qui m’indique que mqttmanager est nok
Log de mqtt manager:
0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:55:00][ERROR] : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2024-01-12 09:57:06][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-01-12 09:57:06][INFO] : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel info --socketport 55035 --mqtt_server mqtt://127.0.0.1:1883 --username --password --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:57:36][ERROR] : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2024-01-12 10:00:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-01-12 10:00:02][INFO] : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel info --socketport 55035 --mqtt_server mqtt://127.0.0.1:1883 --username --password --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 10:00:32][ERROR] : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2024-01-12 10:05:01][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-01-12 10:05:01][INFO] : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel info --socketport 55035 --mqtt_server mqtt://127.0.0.1:1883 --username --password --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 10:05:32][ERROR] : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
Mips
Janvier 12, 2024, 9:12
2
Bonjour,
Bien essayé pour les tags mais si c’est un problème avec mqtt manager, c’est bien son tag (plugin-mqtt2 ) qu’il faut mettre et pas celui de zwavejs !
et si c’est un problème avec les dépendances c’est donc le log des dépendances qu’il faut sinon on ne sait rien faire.
La page santé jeedom serait bien aussi.
Ok, merci Mips, excuses pour le tag
Voila la page santé:
Voilà le log
sudo: /usr/bin/node : commande introuvable
[2023-10-11 09:05:11][INFO] : Start mqtt2d
[2023-10-11 09:05:11][INFO] : Log level on : info
[2023-10-11 09:05:11][INFO] : Socket port : 55035
[2023-10-11 09:05:11][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-10-11 09:05:11][INFO] : Username : --password
[2023-10-11 09:05:11][INFO] : Password : --callback
[2023-10-11 09:05:11][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-10-11 09:05:11][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-10-11 09:05:11][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-10-11 09:05:11][INFO] : Cycle : 0.3
[2023-10-11 09:05:11][INFO] : Client key : undefined
[2023-10-11 09:05:11][INFO] : Client crt : undefined
[2023-10-11 09:05:11][INFO] : CA : undefined
[2023-10-11 09:05:12][INFO] : Connect to mqtt server
Wed, 11 Oct 2023 09:05:12 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31
[2023-10-11 09:05:12][INFO] : Connection to mqtt server successfull
[2023-10-11 09:05:12][INFO] : Subscription to all topics
[2023-10-11 09:05:12][INFO] : Subscription to all topics succesfull
[2023-10-11 10:48:20][INFO] : Start mqtt2d
[2023-10-11 10:48:20][INFO] : Log level on : info
[2023-10-11 10:48:20][INFO] : Socket port : 55035
[2023-10-11 10:48:20][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-10-11 10:48:20][INFO] : Username : --password
[2023-10-11 10:48:20][INFO] : Password : --callback
[2023-10-11 10:48:20][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-10-11 10:48:20][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-10-11 10:48:20][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-10-11 10:48:20][INFO] : Cycle : 0.3
[2023-10-11 10:48:20][INFO] : Client key : undefined
[2023-10-11 10:48:20][INFO] : Client crt : undefined
[2023-10-11 10:48:20][INFO] : CA : undefined
[2023-10-11 10:48:20][INFO] : Connect to mqtt server
Wed, 11 Oct 2023 10:48:20 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31
[2023-10-11 10:48:20][INFO] : Connection to mqtt server successfull
[2023-10-11 10:48:20][INFO] : Subscription to all topics
[2023-10-11 10:48:20][INFO] : Subscription to all topics succesfull
[2023-10-11 11:08:15][INFO] : Start mqtt2d
[2023-10-11 11:08:15][INFO] : Log level on : info
[2023-10-11 11:08:15][INFO] : Socket port : 55035
[2023-10-11 11:08:15][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-10-11 11:08:15][INFO] : Username : --password
[2023-10-11 11:08:15][INFO] : Password : --callback
[2023-10-11 11:08:15][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-10-11 11:08:15][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-10-11 11:08:15][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-10-11 11:08:15][INFO] : Cycle : 0.3
[2023-10-11 11:08:15][INFO] : Client key : undefined
[2023-10-11 11:08:15][INFO] : Client crt : undefined
[2023-10-11 11:08:15][INFO] : CA : undefined
[2023-10-11 11:08:15][INFO] : Connect to mqtt server
Wed, 11 Oct 2023 11:08:15 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31
[2023-10-11 11:08:15][INFO] : Connection to mqtt server successfull
[2023-10-11 11:08:15][INFO] : Subscription to all topics
[2023-10-11 11:08:15][INFO] : Subscription to all topics succesfull
[2023-10-14 07:03:45][ERROR] : Reconnection to mqtt server
[2023-10-14 07:03:45][ERROR] : Error on connection to mqtt server : Error: connect ECONNREFUSED 127.0.0.1:1883
[2023-11-12 09:24:24][INFO] : Start mqtt2d
[2023-11-12 09:24:24][INFO] : Log level on : info
[2023-11-12 09:24:24][INFO] : Socket port : 55035
[2023-11-12 09:24:24][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-11-12 09:24:24][INFO] : Username : --password
[2023-11-12 09:24:24][INFO] : Password : --callback
[2023-11-12 09:24:24][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 09:24:24][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 09:24:24][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 09:24:24][INFO] : Cycle : 0.3
[2023-11-12 09:24:24][INFO] : Client key : undefined
[2023-11-12 09:24:24][INFO] : Client crt : undefined
[2023-11-12 09:24:24][INFO] : CA : undefined
[2023-11-12 09:24:24][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 09:24:24 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31
[2023-11-12 09:24:24][INFO] : Connection to mqtt server successfull
[2023-11-12 09:24:24][INFO] : Subscription to all topics
[2023-11-12 09:24:24][INFO] : Subscription to all topics succesfull
[2023-11-12 09:36:04][INFO] : Start mqtt2d
[2023-11-12 09:36:04][INFO] : Log level on : info
[2023-11-12 09:36:04][INFO] : Socket port : 55035
[2023-11-12 09:36:04][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-11-12 09:36:04][INFO] : Username : --password
[2023-11-12 09:36:04][INFO] : Password : --callback
[2023-11-12 09:36:04][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 09:36:04][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 09:36:04][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 09:36:04][INFO] : Cycle : 0.3
[2023-11-12 09:36:04][INFO] : Client key : undefined
[2023-11-12 09:36:04][INFO] : Client crt : undefined
[2023-11-12 09:36:04][INFO] : CA : undefined
[2023-11-12 09:36:04][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 09:36:04 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2023-11-12 09:36:04][INFO] : Connection to mqtt server successfull
[2023-11-12 09:36:04][INFO] : Subscription to all topics
[2023-11-12 09:36:04][INFO] : Subscription to all topics succesfull
[2023-11-12 09:40:46][INFO] : Start mqtt2d
[2023-11-12 09:40:46][INFO] : Log level on : info
[2023-11-12 09:40:46][INFO] : Socket port : 55035
[2023-11-12 09:40:46][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-11-12 09:40:46][INFO] : Username : --password
[2023-11-12 09:40:46][INFO] : Password : --callback
[2023-11-12 09:40:46][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 09:40:46][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 09:40:46][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 09:40:46][INFO] : Cycle : 0.3
[2023-11-12 09:40:46][INFO] : Client key : undefined
[2023-11-12 09:40:46][INFO] : Client crt : undefined
[2023-11-12 09:40:46][INFO] : CA : undefined
[2023-11-12 09:40:46][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 09:40:46 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2023-11-12 09:40:46][INFO] : Connection to mqtt server successfull
[2023-11-12 09:40:46][INFO] : Subscription to all topics
[2023-11-12 09:40:46][INFO] : Subscription to all topics succesfull
[2023-11-12 09:49:12][INFO] : Start mqtt2d
[2023-11-12 09:49:12][INFO] : Log level on : info
[2023-11-12 09:49:12][INFO] : Socket port : 55035
[2023-11-12 09:49:12][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-11-12 09:49:12][INFO] : Username : --password
[2023-11-12 09:49:12][INFO] : Password : --callback
[2023-11-12 09:49:12][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 09:49:12][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 09:49:12][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 09:49:12][INFO] : Cycle : 0.3
[2023-11-12 09:49:12][INFO] : Client key : undefined
[2023-11-12 09:49:12][INFO] : Client crt : undefined
[2023-11-12 09:49:12][INFO] : CA : undefined
[2023-11-12 09:49:12][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 09:49:12 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2023-11-12 09:49:12][INFO] : Connection to mqtt server successfull
[2023-11-12 09:49:12][INFO] : Subscription to all topics
[2023-11-12 09:49:12][INFO] : Subscription to all topics succesfull
[2023-11-12 10:03:47][INFO] : Start mqtt2d
[2023-11-12 10:03:47][INFO] : Log level on : info
[2023-11-12 10:03:47][INFO] : Socket port : 55035
[2023-11-12 10:03:47][INFO] : MQTT : mqtts://127.0.0.1:8883
[2023-11-12 10:03:47][INFO] : Username : jeedom
[2023-11-12 10:03:47][INFO] : Password : jOuIyE0QLskdcgB9IAtdEZSHg7TN7ppCYrgEgYgjrt5MbY7Tbv9RwcHRiiOwBQMu
[2023-11-12 10:03:47][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 10:03:47][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 10:03:47][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 10:03:47][INFO] : Cycle : 0.3
[2023-11-12 10:03:47][INFO] : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
[2023-11-12 10:03:47][INFO] : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
[2023-11-12 10:03:47][INFO] : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
[2023-11-12 10:03:47][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 10:03:47 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2023-11-12 10:03:47][INFO] : Connection to mqtt server successfull
[2023-11-12 10:03:47][INFO] : Subscription to all topics
[2023-11-12 10:03:47][INFO] : Subscription to all topics succesfull
[2023-11-12 10:05:19][INFO] : Start mqtt2d
[2023-11-12 10:05:19][INFO] : Log level on : info
[2023-11-12 10:05:19][INFO] : Socket port : 55035
[2023-11-12 10:05:19][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-11-12 10:05:19][INFO] : Username : jeedom
[2023-11-12 10:05:19][INFO] : Password : jOuIyE0QLskdcgB9IAtdEZSHg7TN7ppCYrgEgYgjrt5MbY7Tbv9RwcHRiiOwBQMu
[2023-11-12 10:05:19][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 10:05:19][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 10:05:19][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 10:05:19][INFO] : Cycle : 0.3
[2023-11-12 10:05:19][INFO] : Client key : undefined
[2023-11-12 10:05:19][INFO] : Client crt : undefined
[2023-11-12 10:05:19][INFO] : CA : undefined
[2023-11-12 10:05:19][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 10:05:19 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2023-11-12 10:05:19][INFO] : Connection to mqtt server successfull
[2023-11-12 10:05:19][INFO] : Subscription to all topics
[2023-11-12 10:05:19][INFO] : Subscription to all topics succesfull
[2023-11-12 10:08:13][INFO] : Start mqtt2d
[2023-11-12 10:08:13][INFO] : Log level on : info
[2023-11-12 10:08:13][INFO] : Socket port : 55035
[2023-11-12 10:08:13][INFO] : MQTT : mqtt://127.0.0.1:1883
[2023-11-12 10:08:13][INFO] : Username : jeedom
[2023-11-12 10:08:13][INFO] : Password : jOuIyE0QLskdcgB9IAtdEZSHg7TN7ppCYrgEgYgjrt5MbY7Tbv9RwcHRiiOwBQMu
[2023-11-12 10:08:13][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2023-11-12 10:08:13][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2023-11-12 10:08:13][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2023-11-12 10:08:13][INFO] : Cycle : 0.3
[2023-11-12 10:08:13][INFO] : Client key : undefined
[2023-11-12 10:08:13][INFO] : Client crt : undefined
[2023-11-12 10:08:13][INFO] : CA : undefined
[2023-11-12 10:08:13][INFO] : Connect to mqtt server
Sun, 12 Nov 2023 10:08:13 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2023-11-12 10:08:13][INFO] : Connection to mqtt server successfull
[2023-11-12 10:08:13][INFO] : Subscription to all topics
[2023-11-12 10:08:13][INFO] : Subscription to all topics succesfull
node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module 'request'
Require stack:
- /var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js
- /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:17)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js',
'/var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js'
]
}
node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module 'request'
Require stack:
- /var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js
- /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:17)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js',
'/var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js'
]
}
node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module 'request'
Require stack:
- /var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js
- /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:17)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js',
'/var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js'
]
}
[2024-01-12 08:48:04][INFO] : Start mqtt2d
[2024-01-12 08:48:04][INFO] : Log level on : info
[2024-01-12 08:48:04][INFO] : Socket port : 55035
[2024-01-12 08:48:04][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 08:48:04][INFO] : Username : --password
[2024-01-12 08:48:04][INFO] : Password : --callback
[2024-01-12 08:48:04][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 08:48:04][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 08:48:04][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 08:48:04][INFO] : Cycle : 0.3
[2024-01-12 08:48:04][INFO] : Client key : undefined
[2024-01-12 08:48:04][INFO] : Client crt : undefined
[2024-01-12 08:48:04][INFO] : CA : undefined
[2024-01-12 08:48:04][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 08:48:04 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 08:48:04][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 08:50:02][INFO] : Start mqtt2d
[2024-01-12 08:50:02][INFO] : Log level on : info
[2024-01-12 08:50:02][INFO] : Socket port : 55035
[2024-01-12 08:50:02][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 08:50:02][INFO] : Username : --password
[2024-01-12 08:50:02][INFO] : Password : --callback
[2024-01-12 08:50:02][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 08:50:02][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 08:50:02][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 08:50:02][INFO] : Cycle : 0.3
[2024-01-12 08:50:02][INFO] : Client key : undefined
[2024-01-12 08:50:02][INFO] : Client crt : undefined
[2024-01-12 08:50:02][INFO] : CA : undefined
[2024-01-12 08:50:02][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 08:50:02 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 08:50:02][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 08:51:53][INFO] : Start mqtt2d
[2024-01-12 08:51:53][INFO] : Log level on : info
[2024-01-12 08:51:53][INFO] : Socket port : 55035
[2024-01-12 08:51:53][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 08:51:53][INFO] : Username : --password
[2024-01-12 08:51:53][INFO] : Password : --callback
[2024-01-12 08:51:53][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 08:51:53][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 08:51:53][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 08:51:53][INFO] : Cycle : 0.3
[2024-01-12 08:51:53][INFO] : Client key : undefined
[2024-01-12 08:51:53][INFO] : Client crt : undefined
[2024-01-12 08:51:53][INFO] : CA : undefined
[2024-01-12 08:51:53][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 08:51:53 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 08:51:53][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 08:52:47][INFO] : Start mqtt2d
[2024-01-12 08:52:47][INFO] : Log level on : info
[2024-01-12 08:52:47][INFO] : Socket port : 55035
[2024-01-12 08:52:47][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 08:52:47][INFO] : Username : --password
[2024-01-12 08:52:47][INFO] : Password : --callback
[2024-01-12 08:52:47][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 08:52:47][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 08:52:47][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 08:52:47][INFO] : Cycle : 0.3
[2024-01-12 08:52:47][INFO] : Client key : undefined
[2024-01-12 08:52:47][INFO] : Client crt : undefined
[2024-01-12 08:52:47][INFO] : CA : undefined
[2024-01-12 08:52:47][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 08:52:47 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 08:52:47][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 08:54:30][INFO] : Start mqtt2d
[2024-01-12 08:54:30][INFO] : Log level on : info
[2024-01-12 08:54:30][INFO] : Socket port : 55035
[2024-01-12 08:54:30][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 08:54:30][INFO] : Username : --password
[2024-01-12 08:54:30][INFO] : Password : --callback
[2024-01-12 08:54:30][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 08:54:30][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 08:54:30][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 08:54:30][INFO] : Cycle : 0.3
[2024-01-12 08:54:30][INFO] : Client key : undefined
[2024-01-12 08:54:30][INFO] : Client crt : undefined
[2024-01-12 08:54:30][INFO] : CA : undefined
[2024-01-12 08:54:30][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 08:54:30 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 08:54:30][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 08:57:06][INFO] : Start mqtt2d
[2024-01-12 08:57:06][INFO] : Log level on : info
[2024-01-12 08:57:06][INFO] : Socket port : 55035
[2024-01-12 08:57:06][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 08:57:06][INFO] : Username : --password
[2024-01-12 08:57:06][INFO] : Password : --callback
[2024-01-12 08:57:06][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 08:57:06][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 08:57:06][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 08:57:06][INFO] : Cycle : 0.3
[2024-01-12 08:57:06][INFO] : Client key : undefined
[2024-01-12 08:57:06][INFO] : Client crt : undefined
[2024-01-12 08:57:06][INFO] : CA : undefined
[2024-01-12 08:57:07][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 08:57:07 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 08:57:07][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 09:00:02][INFO] : Start mqtt2d
[2024-01-12 09:00:02][INFO] : Log level on : info
[2024-01-12 09:00:02][INFO] : Socket port : 55035
[2024-01-12 09:00:02][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 09:00:02][INFO] : Username : --password
[2024-01-12 09:00:02][INFO] : Password : --callback
[2024-01-12 09:00:02][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:00:02][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 09:00:02][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 09:00:02][INFO] : Cycle : 0.3
[2024-01-12 09:00:02][INFO] : Client key : undefined
[2024-01-12 09:00:02][INFO] : Client crt : undefined
[2024-01-12 09:00:02][INFO] : CA : undefined
[2024-01-12 09:00:02][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 09:00:02 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 09:00:02][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 09:05:02][INFO] : Start mqtt2d
[2024-01-12 09:05:02][INFO] : Log level on : info
[2024-01-12 09:05:02][INFO] : Socket port : 55035
[2024-01-12 09:05:02][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 09:05:02][INFO] : Username : --password
[2024-01-12 09:05:02][INFO] : Password : --callback
[2024-01-12 09:05:02][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:05:02][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 09:05:02][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 09:05:02][INFO] : Cycle : 0.3
[2024-01-12 09:05:02][INFO] : Client key : undefined
[2024-01-12 09:05:02][INFO] : Client crt : undefined
[2024-01-12 09:05:02][INFO] : CA : undefined
[2024-01-12 09:05:02][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 09:05:02 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 09:05:02][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 09:10:02][INFO] : Start mqtt2d
[2024-01-12 09:10:02][INFO] : Log level on : info
[2024-01-12 09:10:02][INFO] : Socket port : 55035
[2024-01-12 09:10:02][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 09:10:02][INFO] : Username : --password
[2024-01-12 09:10:02][INFO] : Password : --callback
[2024-01-12 09:10:02][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:10:02][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 09:10:02][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 09:10:02][INFO] : Cycle : 0.3
[2024-01-12 09:10:02][INFO] : Client key : undefined
[2024-01-12 09:10:02][INFO] : Client crt : undefined
[2024-01-12 09:10:02][INFO] : CA : undefined
[2024-01-12 09:10:02][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 09:10:02 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 09:10:02][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 09:15:02][INFO] : Start mqtt2d
[2024-01-12 09:15:02][INFO] : Log level on : info
[2024-01-12 09:15:02][INFO] : Socket port : 55035
[2024-01-12 09:15:02][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 09:15:02][INFO] : Username : --password
[2024-01-12 09:15:02][INFO] : Password : --callback
[2024-01-12 09:15:02][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:15:02][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 09:15:02][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 09:15:02][INFO] : Cycle : 0.3
[2024-01-12 09:15:02][INFO] : Client key : undefined
[2024-01-12 09:15:02][INFO] : Client crt : undefined
[2024-01-12 09:15:02][INFO] : CA : undefined
[2024-01-12 09:15:02][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 09:15:02 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 09:15:02][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
[2024-01-12 09:20:02][INFO] : Start mqtt2d
[2024-01-12 09:20:02][INFO] : Log level on : info
[2024-01-12 09:20:02][INFO] : Socket port : 55035
[2024-01-12 09:20:02][INFO] : MQTT : mqtt://127.0.0.1:1883
[2024-01-12 09:20:02][INFO] : Username : --password
[2024-01-12 09:20:02][INFO] : Password : --callback
[2024-01-12 09:20:02][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-01-12 09:20:02][INFO] : Apikey : XrPpNjqC2HUB0GxG6emkHVHiApUxywUTK1vZ6WiREvlFjEKex4q66YuDjUOKiiKS
[2024-01-12 09:20:02][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-01-12 09:20:02][INFO] : Cycle : 0.3
[2024-01-12 09:20:02][INFO] : Client key : undefined
[2024-01-12 09:20:02][INFO] : Client crt : undefined
[2024-01-12 09:20:02][INFO] : CA : undefined
[2024-01-12 09:20:02][INFO] : Connect to mqtt server
Fri, 12 Jan 2024 09:20:02 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-01-12 09:20:02][ERROR] : Error on connection to mqtt server : Error: Connection refused: Not authorized
C’est normal pour mqtt2 d’avoir password et callback pour ces lignes?
Antoine
PS: ton apikey et password mqtt sont en clairs dans les logs.
Loic
Janvier 12, 2024, 9:27
5
Bonjour,
Peux tu ajouter la configuration du plugin mqtt (car la d’après la log tu es pas sur le cas standard).
Hesitez pas en mettre plus vous avez tout a y gagner, la avec cette capture en plus tu aurais deja la solution ca se trouve et ton systeme serait repartie et moi au lieu de passer 5min a quémander des informations pour vous aider je peux aider la personne suivante.
Ok Loic, je comprends je vais mettre plus d’informations
Config mqtt manager: je précise que ca a toujours fonctionner avec cette config
Loic
Janvier 12, 2024, 9:30
7
Non c’est pas normal ca sent le nom d’utilisateur ou le mot de passe avec des caracteres spéciaux ou mal rentré mais dans la page de configuration impossible de poursuivre l’analyse.
Loic
Janvier 12, 2024, 9:30
8
Authenitification vide : NOK il faut absolument un username et password.
En ayant mis distant c’est que vous avez un autre plugin qui gère mosquito
Si ce n’est pas le cas, mettre local ( installer mosquito si ce n’est pas fait ou redémarrer mosquito pour avoir ceci valide)
Je viens de vérifer car j’enregistre les copie d’écran des configs : j’ai jamais indiqué de user et mdp dans mqtt manager
Désolé, je ne suis pas un pro, effectivement c’est JQMTT qui n’arrive pas a ce connecter au broker local
Je l’avais conservé pour mosquitto déja utilisé
ET je n’ai rien modifié non plus , je n’ai pas mis de user mdp
Si mosquito est géré par jMQTT avec une authentification, il faut renseigner celle ci dans mqtt2
Si jMQTT ne fonctionne déjà pas et que vous demandez à MQTT2 « d’utiliser » mosquito de ce plugin, ca va pas le faire …
Soit vous passez en local sur MQTT2 comme indiqué ici
Soit vous remettez jMQTT en fonctionnement « normal » et puis vous passerez à MQTT2
Ok merci, c’est vrai que je suis un peu paumé car avant la mise a jour, il n’y avait pas de mot de passe est c’était OK
Quel doit etre ce user/ MDP ? celui de jeedom , j’imagine ?
Log de jmqtt:
[2024-01-12 10:38:07][INFO] : Client MQTT déconnecté du Broker
[2024-01-12 10:38:17][INFO] : Client MQTT connecté au Broker
[2024-01-12 10:38:17][INFO] : L'équipement #[COUR][ DetecCour cmnd ]# s'inscrit au topic 'cmnd/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[MAISON][ESP32teleEDF]# s'inscrit au topic 'ESP32tele/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[COUR][ESP_Easy Citerne]# s'inscrit au topic 'ESP_Easy Citerne/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][ESP_Easy4]# s'inscrit au topic 'ESP_Easy4/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[SALLE DE BAINS][ESP_Easy_Hygrometre]# s'inscrit au topic 'ESP_Easy_Hygrometre/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[SALLE DE BAINS][ESP_Easy_Hygrometre_2]# s'inscrit au topic 'ESP_Easy_Hygrometre_2/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][ESP_Gyro]# s'inscrit au topic 'ESP_Gyro/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][hygrmetre SdB test]# s'inscrit au topic 'ESP_Easy_Hygrometre_2/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][jeedom]# s'inscrit au topic 'jeedom/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][stat]# s'inscrit au topic 'stat/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][tasmota]# s'inscrit au topic 'tasmota/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[MAISON][tele]# s'inscrit au topic 'tele/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[COUR][Wemos 3_3 Barometre]# s'inscrit au topic 'Wemos 3_3/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : L'équipement #[Aucun][Wemos 4_4]# s'inscrit au topic 'Wemos 4_4/#' avec une Qos de 1
[2024-01-12 10:38:17][INFO] : Client MQTT déconnecté du Broker
Si vous êtes en distant sur MQTT2 il faut lui renseigner les authentifications venant de jMQTT
Si vous passez en local sur MQTT2, sauvegardez et relancez mosquito l’authentification se mettra automatiquement
Ils.sont pourtant visible dans une partie du log mais pas à chaque occurence…
Je suis en distant sur mqtt2, et je n’ai pas d’authentification venant justement
Quand j’avais installé, j’avais suivi la doc de jmqtt:
Authentification : compte et mot de passe de connexion au Broker (laissez le champ vide si vous n’avez pas configuré votre Broker MQTT en conséquence, notamment si jMQTT se charge de l’installation du Broker).
j’avais laissé le champ vide
Désolé dêtre en mode « boulet », mais si je comprends bien:
je crée un user / mdp dans la page du broker local de jmqtt:
que je reporte dans mqtt manager ?
Tant que vous avez ceci dans jMQTT ca va pas le faire