Message d'erreur dans le log antenne

Bonjour à tous,

J’ai migré du plugin BLEA vers le couple TGW+MQTTDiscovery pour principalement gérer des remontées de température depuis des capteurs Xiaomi LYWSD03.
Je suis sur une Smart que je viens de passer en Debian11 via la procédure indiquée par Jeedom SAS.
J’ai installé une antenne TGW sur un raspberry PI3B distant. J’avais installé un débian12 récent sur ce PI3B avant de faire l’installation de l’antenne (j’ai fait cette procédure deux fois, car j’avais déjà des erreurs dans le log de l’antenne). J’ai bien ajouté un user spécifique tgw-user avec les droits qui vont bien comme indiqué dans la documentation. J’ai aussi fait la mise à jour du PI3B avec cette commande : sudo apt update && sudo apt upgrade -y
Logs d’installation de l’antenne (le fichier est trop volumineux pour être intégré en mode balise)
tgw_852_update.txt (23,7 Ko)

Sur ce PI3B, je n’ai que ça d’installé.
Je n’ai pas d’antenne TGW en local sur la SMART.
J’ai une autre antenne OMG sur un ESP32.

Santé Jeedom :

Santé des deux plugins


Screen de la conf de l’antenne

Mon souci est que j’ai des erreurs dans le log de l’antenne.
Logs de l’antenne TGW

ERROR:BLEGateway:Disconnected from MQTT broker with reason code = Keep alive timeout
ERROR:BLEGateway:Disconnected from MQTT broker with reason code = Keep alive timeout
ERROR:BLEGateway:Disconnected from MQTT broker with reason code = Keep alive timeout
ERROR:BLEGateway:Disconnected from MQTT broker with reason code = Keep alive timeout
ERROR:BLEGateway:Disconnected from MQTT broker with reason code = Keep alive timeout
ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress
ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress
ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress
ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress
ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress

Logs du plugin : Les lignes où on voit Configuration de l’antenne vers 13h10 correspondent à des actions de conf de l’antenne pour avoir une alerte lorsque celle-coi n’est plus en ligne. Mais mon problème existait avec cette configuration.

[2025-05-20 08:49:30][INFO] : Latest Theengs Gateway version: 1.6.0 
[2025-05-20 08:49:31][INFO] : Latest Theengs decoder version: 1.9.6 
[2025-05-20 08:49:31][DEBUG] : create:online/En ligne
[2025-05-20 08:49:31][DEBUG] : create:restart/(Re)Démarrer
[2025-05-20 08:49:31][DEBUG] : create:stop/Arrêter
[2025-05-20 08:50:50][DEBUG] : SSH exec:hcitool dev | grep hci => 	hci0	B8:27:EB:89:54:29 
[2025-05-20 08:50:58][DEBUG] : SSH exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0 
[2025-05-20 08:51:00][DEBUG] : SSH exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => sudo: /opt/TheengsGateway/bin/python3: command not found 0 
[2025-05-20 08:51:01][DEBUG] : send file to 192.168.1.23
[2025-05-20 08:51:02][DEBUG] : Task 'getRemoteSetupLogAsync' executed now
[2025-05-20 08:51:02][INFO] : Lancement de l'installation de l'antenne 'Antenne_PI3B'
[2025-05-20 08:51:04][DEBUG] : SSH exec:sudo systemctl stop TheengsGateway.service => Failed to stop TheengsGateway.service: Unit TheengsGateway.service not loaded. 
[2025-05-20 08:51:04][DEBUG] : SSH exec:sudo bash install.sh http://192.168.1.29/plugins/tgw/core/php/jeetgw.php?id=852 > /tmp/tgw_update.log 2>&1 & => 
[2025-05-20 08:51:07][DEBUG] : step:0 for id:852
[2025-05-20 08:51:09][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:51:10][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:51:16][DEBUG] : step:1 for id:852
[2025-05-20 08:51:18][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:51:33][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:51:55][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:52:17][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:52:39][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:53:01][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:53:24][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:53:47][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:54:10][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:54:14][DEBUG] : step:2 for id:852
[2025-05-20 08:54:16][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:54:33][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:54:56][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:55:18][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:55:40][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:56:02][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:56:24][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:56:46][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:57:08][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:57:30][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:57:52][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:58:15][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:58:39][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:59:03][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:59:25][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 08:59:48][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:00:10][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:00:31][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:00:53][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:01:15][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:01:37][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:01:58][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:02:20][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:02:42][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:03:04][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:03:26][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:03:48][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:04:10][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:04:31][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:04:53][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:05:15][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:05:37][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:05:59][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:06:20][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:06:42][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:07:04][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:07:26][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:07:47][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:08:09][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:08:31][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:08:53][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:09:09][DEBUG] : SSH exec:hcitool dev | grep hci => 	hci0	B8:27:EB:89:54:29 
[2025-05-20 09:09:15][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:09:37][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:09:58][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:10:20][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:10:42][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:11:04][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:11:07][DEBUG] : step:3 for id:852
[2025-05-20 09:11:08][DEBUG] : SSH exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0 
[2025-05-20 09:11:11][DEBUG] : SSH exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1 
[2025-05-20 09:11:12][DEBUG] : Task 'pullGatewayVersion' executed now
[2025-05-20 09:11:12][DEBUG] : Listening to topic:'tgw'
[2025-05-20 09:11:12][INFO] : Configuration de l'antenne 'Antenne_PI3B'
[2025-05-20 09:11:12][DEBUG] : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH"}
[2025-05-20 09:11:13][DEBUG] : SSH exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"} 
[2025-05-20 09:11:14][DEBUG] : SSH exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Poi 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' => 1.9.6 
[2025-05-20 09:11:14][INFO] : TheengsDecoder version of Antenne_PI3B: 1.9.6
[2025-05-20 09:11:15][DEBUG] : SSH exec:sudo systemctl stop TheengsGateway.service => Failed to stop TheengsGateway.service: Unit TheengsGateway.service not loaded. 
[2025-05-20 09:11:15][DEBUG] : SSH exec:echo '     [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>      [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target      
[2025-05-20 09:11:17][DEBUG] : SSH exec:sudo systemctl daemon-reload => 
[2025-05-20 09:11:18][DEBUG] : SSH exec:sudo systemctl enable --now TheengsGateway.service => Created symlink /etc/systemd/system/multi-user.target.wants/TheengsGateway.service → /etc/systemd/system/TheengsGateway.service. 
[2025-05-20 09:11:18][DEBUG] : SSH exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Poi 'TheengsGateway-\K([0-9]\.[0-9]\.[0-9])' => 1.6.0 
[2025-05-20 09:11:18][INFO] : TheengsGateway version of Antenne_PI3B: 1.6.0
[2025-05-20 09:11:20][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"online"}}}
[2025-05-20 09:11:20][INFO] : LWT update:online
[2025-05-20 09:11:20][DEBUG] : SSH exec:echo '     /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }     ' | sudo tee /etc/logrotate.d/TheengsGateway =>      /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }      
[2025-05-20 09:11:20][DEBUG] : create:rotate_remote_log/Nettoyer le log distant
[2025-05-20 09:11:22][DEBUG] : get file '/tmp/tgw_update.log' from 192.168.1.23
[2025-05-20 09:11:24][DEBUG] : end getRemoteSetupLogAsync
[2025-05-20 09:12:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:13:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:14:08][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:15:14][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:16:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:17:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:17:17][DEBUG] : Listening to topic:'tgw'
[2025-05-20 09:17:17][INFO] : Configuration de l'antenne 'Antenne_PI3B'
[2025-05-20 09:17:17][DEBUG] : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH"}
[2025-05-20 09:17:19][DEBUG] : SSH exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"} 
[2025-05-20 09:17:21][DEBUG] : SSH exec:sudo systemctl stop TheengsGateway.service => 
[2025-05-20 09:17:21][DEBUG] : SSH exec:echo '     [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>      [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target      
[2025-05-20 09:17:21][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"offline"}}}
[2025-05-20 09:17:21][INFO] : LWT update:offline
[2025-05-20 09:17:22][DEBUG] : SSH exec:sudo systemctl daemon-reload => 
[2025-05-20 09:17:24][DEBUG] : SSH exec:sudo systemctl enable --now TheengsGateway.service => 
[2025-05-20 09:17:25][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"online"}}}
[2025-05-20 09:17:25][INFO] : LWT update:online
[2025-05-20 09:17:25][DEBUG] : SSH exec:echo '     /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }     ' | sudo tee /etc/logrotate.d/TheengsGateway =>      /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }      
[2025-05-20 09:17:49][DEBUG] : SSH exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0 
[2025-05-20 09:17:52][DEBUG] : SSH exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Poi 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' => 1.9.6 
[2025-05-20 09:17:52][INFO] : TheengsDecoder version of Antenne_PI3B: 1.9.6
[2025-05-20 09:17:52][DEBUG] : SSH exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1 
[2025-05-20 09:17:54][DEBUG] : SSH exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Poi 'TheengsGateway-\K([0-9]\.[0-9]\.[0-9])' => 1.6.0 
[2025-05-20 09:17:54][INFO] : TheengsGateway version of Antenne_PI3B: 1.6.0
[2025-05-20 09:18:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:18:22][DEBUG] : Listening to topic:'tgw'
[2025-05-20 09:18:22][INFO] : Configuration de l'antenne 'Antenne_PI3B'
[2025-05-20 09:18:22][DEBUG] : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH"}
[2025-05-20 09:18:25][DEBUG] : SSH exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"} 
[2025-05-20 09:18:26][DEBUG] : SSH exec:sudo systemctl stop TheengsGateway.service => 
[2025-05-20 09:18:27][DEBUG] : SSH exec:echo '     [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>      [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target      
[2025-05-20 09:18:27][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"offline"}}}
[2025-05-20 09:18:27][INFO] : LWT update:offline
[2025-05-20 09:18:28][DEBUG] : SSH exec:sudo systemctl daemon-reload => 
[2025-05-20 09:18:29][DEBUG] : SSH exec:sudo systemctl enable --now TheengsGateway.service => 
[2025-05-20 09:18:31][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"online"}}}
[2025-05-20 09:18:31][INFO] : LWT update:online
[2025-05-20 09:18:31][DEBUG] : SSH exec:echo '     /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }     ' | sudo tee /etc/logrotate.d/TheengsGateway =>      /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }      
[2025-05-20 09:18:34][DEBUG] : SSH exec:hcitool dev | grep hci => 	hci0	B8:27:EB:89:54:29 
[2025-05-20 09:19:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:19:36][DEBUG] : name changed
[2025-05-20 09:19:36][DEBUG] : Listening to topic:'tgw'
[2025-05-20 09:19:36][INFO] : Configuration de l'antenne 'Antenne_TGW_PI3B'
[2025-05-20 09:19:36][DEBUG] : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH"}
[2025-05-20 09:19:38][DEBUG] : SSH exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_TGW_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne_TGW_PI3B","presence":0,"presence_topic":"home\/TGW_852\/presence","log_level":"WARNING","host":"192.168.1.29","port":1883,"user":"jeedom","pass":"yUDci3QBAWDTsFYnRxvol68UKv5Be5WnEr4CoNrpkiADUcg4jPvMiDXLt62YPsKH","lwt_topic":"tgw\/852\/LWT","publish_topic":"home\/TGW_852\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"} 
[2025-05-20 09:19:40][DEBUG] : SSH exec:sudo systemctl stop TheengsGateway.service => 
[2025-05-20 09:19:40][DEBUG] : SSH exec:echo '     [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>      [Unit]     Description=TheengsGateway Service     Requires=bluetooth.target network-online.target      [Service]     Type=simple     ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/log/TheengsGateway.log     StandardError=append:/var/log/TheengsGateway.log      [Install]     WantedBy=multi-user.target      
[2025-05-20 09:19:41][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"offline"}}}
[2025-05-20 09:19:41][INFO] : LWT update:offline
[2025-05-20 09:19:42][DEBUG] : SSH exec:sudo systemctl daemon-reload => 
[2025-05-20 09:19:43][DEBUG] : SSH exec:sudo systemctl enable --now TheengsGateway.service => 
[2025-05-20 09:19:44][DEBUG] : handle Mqtt Message:{"tgw":{"852":{"LWT":"online"}}}
[2025-05-20 09:19:44][INFO] : LWT update:online
[2025-05-20 09:19:45][DEBUG] : SSH exec:echo '     /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }     ' | sudo tee /etc/logrotate.d/TheengsGateway =>      /var/log/TheengsGateway.log {       rotate 4       daily       copytruncate       size=100k       maxsize=50M       compress       missingok       notifempty     }      
[2025-05-20 09:19:45][DEBUG] : create:rotate_remote_log/Nettoyer le log distant
[2025-05-20 09:19:48][DEBUG] : SSH exec:hcitool dev | grep hci => 	hci0	B8:27:EB:89:54:29 
[2025-05-20 09:20:15][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:21:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:22:17][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:29:16][DEBUG] : handle Mqtt Message:{"tgw":{"819":{"LWT":"offline"},"838":{"LWT":"offline"},"852":{"LWT":"online"}}}
[2025-05-20 09:29:16][WARNING] : Could not find eqLogic with id 819
[2025-05-20 09:29:16][WARNING] : Could not find eqLogic with id 838
[2025-05-20 09:29:16][INFO] : LWT update:online
[2025-05-20 09:29:27][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:30:16][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:31:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:32:11][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:33:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:34:11][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:35:13][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:36:12][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:37:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:38:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:39:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:40:13][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:41:11][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:42:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:43:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:44:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:45:14][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:46:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:47:10][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:48:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:48:48][DEBUG] : SSH exec:hcitool dev | grep hci => 	hci0	B8:27:EB:89:54:29 
[2025-05-20 09:49:07][DEBUG] : SSH exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Poi 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' => 1.9.6 
[2025-05-20 09:49:07][INFO] : TheengsDecoder version of Antenne_TGW_PI3B: 1.9.6
[2025-05-20 09:49:09][DEBUG] : SSH exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Poi 'TheengsGateway-\K([0-9]\.[0-9]\.[0-9])' => 1.6.0 
[2025-05-20 09:49:09][INFO] : TheengsGateway version of Antenne_TGW_PI3B: 1.6.0
[2025-05-20 09:49:09][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-20 09:50:13][DEBUG] : get file '/var/log/TheengsGateway.log' from 192.168.1.23
[2025-05-21 00:01:17][INFO] : Latest Theengs Gateway version: 1.6.0 
[2025-05-21 00:01:17][INFO] : Latest Theengs decoder version: 1.9.6 
[2025-05-21 13:08:28][INFO] : Configuration de l'antenne 'Antenne_TGW_PI3B'
[2025-05-21 13:08:32][INFO] : LWT update:offline
[2025-05-21 13:08:36][INFO] : LWT update:online
[2025-05-21 13:09:48][INFO] : Configuration de l'antenne 'Antenne_TGW_PI3B'
[2025-05-21 13:09:52][INFO] : LWT update:offline
[2025-05-21 13:09:56][INFO] : LWT update:online
[2025-05-21 13:10:22][INFO] : Configuration de l'antenne 'Antenne_TGW_PI3B'
[2025-05-21 13:10:26][INFO] : LWT update:offline
[2025-05-21 13:10:30][INFO] : LWT update:online
[2025-05-21 13:12:34][INFO] : Configuration de l'antenne 'Antenne_TGW_PI3B'
[2025-05-21 13:12:39][INFO] : LWT update:offline
[2025-05-21 13:12:43][INFO] : LWT update:online

Les capteurs remontent bien la température mais de façon aléatoire et je vois qu’ils ne sont pas considérés comme présents tout le temps. ALors que le PI3B est à quelques mètres (sans mur) des capteurs.

Auriez vous des idées?
Merci d’avance

Bonjour,

ca c’est un signe qu’il y a des problèmes de connexion réseau

Bonsoir @Mips
Le pi3b est connecté a ma box via un cpl sur le reseau electrique.
Je vais lancer un ping permanent pour voir si j’ai des pertes de ping.
Sur une con.exion wifi entre le pi3b et ma box, la latence est beaucoup plus importante que via le cpl, du coup ca risque d’etre pire si je passe en wifi.