Je viens de réinstaller ma nouvelle VM sous Debian 11 et restaurer ma sauvegarde Jeedom mais depuis je n’arrive plus à faire fonctionner mon NUT Mini.
Pour info, je m’étais aperçu dans mon historique qu’il n’était plus détectée depuis ce matin (25/12/2024 à 2h du mat) donc j’ai d’abord essayé de changer les piles mais ça n’a rien changé. Pour être sûr que ça vienne pas de ma nouvelle installation, j’ai tenté de le faire détecter avec une application sur mon iPhone et hop, il l’a détecté, j’arrive à le faire sonner.
Je me suis dit que j’allais tenter de le supprimer de MQTT Discovery et l’ajouter à nouveau en cliquant sur « Equipements Inconnus », mais mnt, le plugin ne voit aucun nouveau périphérique bluetooth alors qu’avant, j’avais une grande liste de périphériques (quelques uns à moi et d’autres de voisins) et je choisissais mon NUT Mini qui apparaissait comme « NUTALE », donc je me dis qu’il.y a peut-être un soucis.
Je tente de décocher la case « Permet de lister et d’éventuellement créer des équipements inconnus », je sauvegarde, je recoche, je sauvegarde, je restart le daemon et ça me donne ceci:
Je ne comprend pas grand chose à votre demande: ca parle de 3 plugins différents, aucun ne semble poser problème, il n’y a pas les infos de bases demandées…
Ma demande concerne le plugin mqtt discovery. j’avais mis aussi les autres plugins liés car je me disais que le problème pouvait venir de tgw ou de mqtt manager.
Je n’arrive plus à faire détecter mon NUT depuis mon install de jeedom sur une VM debian 11 + restauration. Je l’ai supprimé depuis MQTT Discovery pour le refaire redétecter mais le plugin n’est plus capable de de détecter des périphériques.
J’ai relu la doc du plugin pour trouver le minimal à fournir
une capture d’écran de la page de config du plugin : déjà fournie
tous les logs disponibles du plugin collés dans un texte préformaté:
[2024-12-25 11:24:41][INFO] : Lancement démon
[2024-12-25 11:24:41][DEBUG] : test from daemon
[2024-12-25 11:27:16][INFO] : no image available for NUTALE
[2024-12-25 11:27:16][INFO] : no image available for NUTALE
[2024-12-25 11:27:16][INFO] : no image available for NUTALE
[2024-12-25 11:35:03][INFO] : no image available for NUTALE
[2024-12-25 11:35:03][INFO] : no image available for NUTALE
[2024-12-25 11:35:05][INFO] : no image available for NUTALE
[2024-12-25 11:35:20][INFO] : no image available for NUTALE
[2024-12-25 11:37:24][INFO] : no image available for NUTALE
[2024-12-25 11:39:53][INFO] : Arrêt démon
[2024-12-25 11:39:58][INFO] : Lancement démon
[2024-12-25 11:39:58][DEBUG] : test from daemon
[2024-12-25 11:42:27][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=MQTTDiscovery function=pre_update callInstallFunction=1
[2024-12-25 11:42:27][INFO] : Début d'activation du plugin
[2024-12-25 11:42:27][INFO] : Arrêt démon
[2024-12-25 11:42:30][INFO] : Info sur le démon : {"log":"MQTTDiscovery","launchable":"nok","state":"nok","launchable_message":"Les crons et d\u00e9mons sont d\u00e9sactiv\u00e9s","auto":"0","last_launch":"2024-12-25 11:39:56"}
[2024-12-25 11:42:30][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=MQTTDiscovery function=update callInstallFunction=1
[2024-12-25 11:43:15][INFO] : Lancement démon
[2024-12-25 11:43:16][DEBUG] : test from daemon
[2024-12-25 12:42:31][INFO] : Arrêt démon
[2024-12-25 12:44:11][INFO] : Lancement démon
[2024-12-25 12:44:12][DEBUG] : test from daemon
[2024-12-25 12:45:34][INFO] : no image available for NUTALE
[2024-12-25 12:45:34][INFO] : no image available for NUTALE
[2024-12-25 12:46:19][INFO] : no image available for NUTALE
[2024-12-25 12:47:38][INFO] : no image available for NUTALE
[2024-12-25 12:48:36][INFO] : no image available for NUTALE
[2024-12-25 12:48:47][INFO] : no image available for NUTALE
[2024-12-25 12:48:51][INFO] : no image available for NUTALE
[2024-12-25 12:48:51][INFO] : no image available for NUTALE
[2024-12-25 12:48:51][INFO] : no image available for NUTALE
[2024-12-25 12:48:51][INFO] : no image available for NUTALE
[2024-12-25 12:49:23][INFO] : no image available for NUTALE
[2024-12-25 12:49:23][INFO] : no image available for NUTALE
[2024-12-25 12:49:35][INFO] : no image available for NUTALE
[2024-12-25 12:49:37][INFO] : no image available for NUTALE
[2024-12-25 12:49:37][INFO] : no image available for NUTALE
[2024-12-25 12:49:37][INFO] : no image available for NUTALE
[2024-12-25 12:49:37][INFO] : no image available for NUTALE
[2024-12-25 12:49:38][INFO] : no image available for NUTALE
[2024-12-25 12:49:42][INFO] : no image available for NUTALE
[2024-12-25 12:50:02][INFO] : no image available for NUTALE
[2024-12-25 12:50:04][INFO] : no image available for NUTALE
[2024-12-25 12:50:04][INFO] : no image available for NUTALE
[2024-12-25 12:50:04][INFO] : no image available for NUTALE
[2024-12-25 12:50:04][INFO] : no image available for NUTALE
[2024-12-25 12:50:38][INFO] : Arrêt démon
[2024-12-25 12:50:42][INFO] : Lancement démon
[2024-12-25 12:50:42][DEBUG] : test from daemon
[2024-12-25 12:52:43][INFO] : Arrêt démon
[2024-12-25 12:52:47][INFO] : Lancement démon
[2024-12-25 12:52:47][DEBUG] : test from daemon
[2024-12-25 12:54:10][INFO] : Arrêt démon
[2024-12-25 12:54:28][INFO] : Lancement démon
[2024-12-25 12:54:28][DEBUG] : test from daemon
[2024-12-25 12:58:31][INFO] : Arrêt démon
[2024-12-25 13:00:12][INFO] : Lancement démon
[2024-12-25 13:00:12][DEBUG] : test from daemon
[2024-12-25 13:12:12][INFO] : Lancement démon
[2024-12-25 13:12:13][DEBUG] : test from daemon
[2024-12-25 13:32:33][INFO] : Arrêt démon
[2024-12-25 13:32:37][INFO] : Lancement démon
[2024-12-25 13:32:37][DEBUG] : test from daemon
[2024-12-25 14:30:13][INFO] : Lancement démon
[2024-12-25 14:30:14][DEBUG] : test from daemon
[2024-12-25 14:32:28][INFO] : Arrêt démon
[2024-12-25 14:32:32][INFO] : Lancement démon
[2024-12-25 14:32:32][DEBUG] : test from daemon
======================================================================
== 25/12/2024 12:54:12 == Dependencies installation for MQTTDiscovery
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 29% ] : Init python3 & prerequisites : [ OK ]
[ 30% ] : Init PyEnv...
** PyEnv not required: 3.9.2 >= 3.9 **
** python3 path: python3 **
[ 39% ] : Init PyEnv : [ OK ]
[ 40% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.2
[ 69% ] : Setting up virtual environment : [ OK ]
[ 70% ] : Install the required python packages...
[ 79% ] : Install the required python packages : [ OK ]
[ 80% ] : Restoring folders and files rights...
[ 89% ] : Restoring folders and files rights : [ OK ]
[ 90% ] : Summary of installed packages...
aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aiosignal==1.3.2
async-timeout==5.0.1
attrs==24.3.0
frozenlist==1.5.0
idna==3.10
jeedomdaemon==0.10.1
multidict==6.1.0
paho-mqtt==2.1.0
pkg_resources==0.0.0
propcache==0.2.1
typing_extensions==4.12.2
yarl==1.18.3
[ 99% ] : Summary of installed packages : [ OK ]
[100% ] : Finished !
======================================================================
== OK == Installation Successful
======================================================================
[2024-12-25 11:24:41][INFO] : Starting daemon with log level: debug
[2024-12-25 11:24:41][DEBUG] : Writing PID 14128 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 11:24:41][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 11:24:41][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 11:24:41][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 11:24:41][INFO] : Successfully connected to MQTT server
[2024-12-25 11:24:41][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 11:24:41][INFO] : Successfully subscribed to home
[2024-12-25 11:39:53][INFO] : Signal 15 caught, exiting...
[2024-12-25 11:39:54][INFO] : Cancelling 3 tasks
[2024-12-25 11:39:54][INFO] : Listening cancelled
[2024-12-25 11:39:54][INFO] : Send async cancelled
[2024-12-25 11:39:54][INFO] : Shutdown
[2024-12-25 11:39:54][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 11:39:54][DEBUG] : Exit 0
[2024-12-25 11:39:58][INFO] : Starting daemon with log level: debug
[2024-12-25 11:39:58][DEBUG] : Writing PID 48373 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 11:39:58][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 11:39:58][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 11:39:58][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 11:39:58][INFO] : Successfully connected to MQTT server
[2024-12-25 11:39:58][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 11:39:58][INFO] : Successfully subscribed to home
[2024-12-25 11:42:27][INFO] : Signal 15 caught, exiting...
[2024-12-25 11:42:28][INFO] : Cancelling 3 tasks
[2024-12-25 11:42:28][INFO] : Listening cancelled
[2024-12-25 11:42:28][INFO] : Send async cancelled
[2024-12-25 11:42:28][INFO] : Shutdown
[2024-12-25 11:42:28][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 11:42:28][DEBUG] : Exit 0
[2024-12-25 11:43:16][INFO] : Starting daemon with log level: debug
[2024-12-25 11:43:16][DEBUG] : Writing PID 60322 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 11:43:16][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 11:43:16][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 11:43:16][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 11:43:16][INFO] : Successfully connected to MQTT server
[2024-12-25 11:43:16][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 11:43:16][INFO] : Successfully subscribed to home
[2024-12-25 12:42:31][INFO] : Signal 15 caught, exiting...
[2024-12-25 12:42:31][INFO] : Cancelling 3 tasks
[2024-12-25 12:42:31][INFO] : Listening cancelled
[2024-12-25 12:42:31][INFO] : Send async cancelled
[2024-12-25 12:42:31][INFO] : Shutdown
[2024-12-25 12:42:31][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:42:31][DEBUG] : Exit 0
[2024-12-25 12:44:11][INFO] : Starting daemon with log level: debug
[2024-12-25 12:44:11][DEBUG] : Writing PID 1581 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:44:11][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 12:44:12][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 12:44:12][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 12:44:12][INFO] : Successfully connected to MQTT server
[2024-12-25 12:44:12][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 12:44:12][INFO] : Successfully subscribed to home
[2024-12-25 12:50:38][INFO] : Signal 15 caught, exiting...
[2024-12-25 12:50:39][INFO] : Cancelling 3 tasks
[2024-12-25 12:50:39][INFO] : Listening cancelled
[2024-12-25 12:50:39][INFO] : Send async cancelled
[2024-12-25 12:50:39][INFO] : Shutdown
[2024-12-25 12:50:39][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:50:39][DEBUG] : Exit 0
[2024-12-25 12:50:42][INFO] : Starting daemon with log level: debug
[2024-12-25 12:50:42][DEBUG] : Writing PID 15394 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:50:42][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 12:50:42][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 12:50:42][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 12:50:42][INFO] : Successfully connected to MQTT server
[2024-12-25 12:50:42][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 12:50:42][INFO] : Successfully subscribed to home
[2024-12-25 12:52:43][INFO] : Signal 15 caught, exiting...
[2024-12-25 12:52:43][INFO] : Cancelling 3 tasks
[2024-12-25 12:52:43][INFO] : Listening cancelled
[2024-12-25 12:52:43][INFO] : Send async cancelled
[2024-12-25 12:52:43][INFO] : Shutdown
[2024-12-25 12:52:43][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:52:43][DEBUG] : Exit 0
[2024-12-25 12:52:47][INFO] : Starting daemon with log level: debug
[2024-12-25 12:52:47][DEBUG] : Writing PID 19489 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:52:47][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 12:52:47][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 12:52:47][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 12:52:47][INFO] : Successfully connected to MQTT server
[2024-12-25 12:52:47][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 12:52:47][INFO] : Successfully subscribed to home
[2024-12-25 12:54:10][INFO] : Signal 15 caught, exiting...
[2024-12-25 12:54:10][INFO] : Cancelling 3 tasks
[2024-12-25 12:54:10][INFO] : Listening cancelled
[2024-12-25 12:54:10][INFO] : Send async cancelled
[2024-12-25 12:54:10][INFO] : Shutdown
[2024-12-25 12:54:10][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:54:10][DEBUG] : Exit 0
[2024-12-25 12:54:28][INFO] : Starting daemon with log level: debug
[2024-12-25 12:54:28][DEBUG] : Writing PID 23370 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:54:28][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 12:54:28][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 12:54:28][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 12:54:28][INFO] : Successfully connected to MQTT server
[2024-12-25 12:54:28][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 12:54:28][INFO] : Successfully subscribed to home
[2024-12-25 12:58:31][INFO] : Signal 15 caught, exiting...
[2024-12-25 12:58:31][INFO] : Cancelling 3 tasks
[2024-12-25 12:58:31][INFO] : Listening cancelled
[2024-12-25 12:58:31][INFO] : Send async cancelled
[2024-12-25 12:58:31][INFO] : Shutdown
[2024-12-25 12:58:31][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 12:58:31][DEBUG] : Exit 0
[2024-12-25 13:00:12][INFO] : Starting daemon with log level: debug
[2024-12-25 13:00:12][DEBUG] : Writing PID 1629 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 13:00:12][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 13:00:12][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 13:00:12][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 13:00:12][INFO] : Successfully connected to MQTT server
[2024-12-25 13:00:12][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 13:00:12][INFO] : Successfully subscribed to home
[2024-12-25 13:09:22][WARNING] : Unexpected disconnection from MQTT
[2024-12-25 13:09:24][INFO] : Signal 15 caught, exiting...
[2024-12-25 13:09:25][INFO] : Cancelling 3 tasks
[2024-12-25 13:09:25][INFO] : Listening cancelled
[2024-12-25 13:09:25][INFO] : Send async cancelled
[2024-12-25 13:09:25][INFO] : Shutdown
[2024-12-25 13:09:25][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 13:09:25][DEBUG] : Exit 0
[2024-12-25 13:12:13][INFO] : Starting daemon with log level: debug
[2024-12-25 13:12:13][DEBUG] : Writing PID 1563 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 13:12:13][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 13:12:13][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 13:12:13][INFO] : Successfully connected to MQTT server
[2024-12-25 13:12:13][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 13:12:13][INFO] : Successfully subscribed to home
[2024-12-25 13:12:13][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 13:32:33][INFO] : Signal 15 caught, exiting...
[2024-12-25 13:32:33][INFO] : Cancelling 3 tasks
[2024-12-25 13:32:33][INFO] : Listening cancelled
[2024-12-25 13:32:33][INFO] : Send async cancelled
[2024-12-25 13:32:33][INFO] : Shutdown
[2024-12-25 13:32:33][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 13:32:33][DEBUG] : Exit 0
[2024-12-25 13:32:37][INFO] : Starting daemon with log level: debug
[2024-12-25 13:32:37][DEBUG] : Writing PID 43904 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 13:32:37][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 13:32:37][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 13:32:37][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 13:32:37][INFO] : Successfully connected to MQTT server
[2024-12-25 13:32:37][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 13:32:37][INFO] : Successfully subscribed to home
[2024-12-25 14:27:23][WARNING] : Unexpected disconnection from MQTT
[2024-12-25 14:27:23][INFO] : Signal 15 caught, exiting...
[2024-12-25 14:30:14][INFO] : Starting daemon with log level: debug
[2024-12-25 14:30:14][DEBUG] : Writing PID 1619 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 14:30:14][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 14:30:14][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 14:30:14][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 14:30:14][INFO] : Successfully connected to MQTT server
[2024-12-25 14:30:14][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 14:30:14][INFO] : Successfully subscribed to home
[2024-12-25 14:32:28][INFO] : Signal 15 caught, exiting...
[2024-12-25 14:32:29][INFO] : Cancelling 3 tasks
[2024-12-25 14:32:29][INFO] : Listening cancelled
[2024-12-25 14:32:29][INFO] : Send async cancelled
[2024-12-25 14:32:29][INFO] : Shutdown
[2024-12-25 14:32:29][DEBUG] : Removing PID file /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 14:32:29][DEBUG] : Exit 0
[2024-12-25 14:32:32][INFO] : Starting daemon with log level: debug
[2024-12-25 14:32:32][DEBUG] : Writing PID 6151 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-12-25 14:32:32][INFO] : Listening on 127.0.0.1:55074
[2024-12-25 14:32:32][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-12-25 14:32:32][INFO] : Send async started with a cycle of 1.0s
[2024-12-25 14:32:32][INFO] : Successfully connected to MQTT server
[2024-12-25 14:32:32][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-12-25 14:32:32][INFO] : Successfully subscribed to home
A priori aucun problème avec plugin-mqttdiscovery de ce que je vois, tout est OK et vert.
mais il ne remonte rien car il n’y a rien à remonter;
Avez-vous mqtt explorer (le soft sur ordi)? y a-t-il des messages sur /home et/ou /homeassistant?
dans la doc je demande:
page santé jeedom
les logs (logelevel INFO), collé dans un Texte préformaté, capture difficile à lire.
si c’est une nouvelle vm, ca serait plutot le dongle bluetooth mal configuré sur la vm et donc theengsgateway qui ne remonte rien car pas de bluetooth
=> je pense que votre question concerne plus la configuration bluetooth que plugin-mqttdiscovery
Bonjour,
Non je n’ai pas mqtt explorer. c’'est censé s’installer où exactement? et comment il faudrait s’en servir?
Pour les messages, sur /home et/ou /homeassistant, je trouve cela dans les logs? je viens de les fournir en éditant le précédent post.