Déconnection appareil Bluetooth récurrentes

Bonjour à tous,

J’ai installé les plug in MQTT discovery ainsi que TGW sur mon raspberry PI 3b, le but étant de remplacer BLEA.

Tout semble être en ordre, car ca focntionne.

J’ai en effet pu connecter mes Tile à Jeedom, sans aucun soucis.

Cependant, le soucis que je rencontre est que cela saute au bout d’un moment, qui est aléatoire.

Un Tile reste constamment à la maison, et se déconnecte au bout d’un moment. (voir historique) Il se reconnecte que si je redémarre le RPI, et se redéconnecte après un certain temps

Voici la configue de TGW

N’étant pas très doué la dedans, je ne sais pas si vous avez besoin d’autres infos ?

D’avance un grand merci pour la ou les âmes charitables qui consacreront un petit moment pour moi.

Belle soirée,

Bonjour bonsoir,

Que dit le log?

Bonjour Mips,

Voici les log tgw567

...
...
0412|DEBUG:BLEGateway:Already discovered or filtered: EC9CDF8E49BE
0413|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -58, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0414|INFO:BLEGateway:Sent 1 messages to MQTT
0415|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-75)
0416|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-72)
0417|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\x964L\x98+)\xae\xfa'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-57)
0418|DEBUG:BLEGateway:Already discovered or filtered: EC9CDF8E49BE
0419|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -57, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0420|INFO:BLEGateway:Sent 1 messages to MQTT
0421|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-75)
0422|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-74)
0423|DEBUG:BLEGateway:51:33:9B:2B:F0:49:AdvertisementData(manufacturer_data={76: b'\x16\x08\x00w`W\x9f\xa8.\x08'}, rssi=-89)
0424|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\x964L\x98+)\xae\xfa'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-57)
0425|DEBUG:BLEGateway:Already discovered or filtered: EC9CDF8E49BE
0426|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -57, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0427|INFO:BLEGateway:Sent 1 messages to MQTT
0428|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-75)
0429|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-72)
0430|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\x964L\x98+)\xae\xfa'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-58)
0431|DEBUG:BLEGateway:Already discovered or filtered: EC9CDF8E49BE
0432|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -58, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0433|INFO:BLEGateway:Sent 1 messages to MQTT
0434|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-84)
0435|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-72)
0436|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\x964L\x98+)\xae\xfa'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-60)
0437|DEBUG:BLEGateway:Already discovered or filtered: EC9CDF8E49BE
0438|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -60, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0439|INFO:BLEGateway:Sent 1 messages to MQTT
0440|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-76)
0441|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-75)
0442|INFO:BLEGateway:Starting BLE scan
0443|INFO:BLEGateway:Connected to MQTT Broker!
0444|INFO:BLEGateway:Subscribed to home/+/BTtoMQTT/undecoded
0445|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-75)
0446|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-72)
0447|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\x964L\x98+)\xae\xfa'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-58)
0448|INFO:BLEGateway:publishing device `{'id': 'EC:9C:DF:8E:49:BE', 'rssi': -58, 'brand': 'Tile', 'model': 'Smart Tracker', 'model_id': 'TILE', 'type': 'TRACK', 'device': 'Tile Tracker'}`
0449|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -58, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0450|INFO:BLEGateway:Sent 1 messages to MQTT
0451|DEBUG:BLEGateway:78:69:4E:F9:49:44:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00\xa1e:\x10\x02\x08\x04'}, tx_power=12, rssi=-75)
0452|DEBUG:BLEGateway:64:C5:AA:DA:FB:22:AdvertisementData(manufacturer_data={76: b'	\x08\x13\x87\xc0\xa8\x01	\x1bX\x16\x08\x00\x97}i\x83w*Y'}, rssi=-74)
0453|ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress
0454|Traceback (most recent call last):
0455|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/TheengsGateway/ble_gateway.py", line 376, in ble_scan_loop
0456|await scanner.stop()
0457|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/__init__.py", line 186, in stop
0458|await self._backend.stop()
0459|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/backends/bluezdbus/scanner.py", line 203, in stop
0460|await stop()
0461|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/backends/bluezdbus/manager.py", line 390, in stop
0462|assert_reply(reply)
0463|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/backends/bluezdbus/utils.py", line 22, in assert_reply
0464|raise BleakDBusError(reply.error_name, reply.body)
0465|bleak.exc.BleakDBusError: [org.bluez.Error.InProgress] Operation already in progress
0466|INFO:BLEGateway:Sent 0 messages to MQTT
0467|ERROR:BLEGateway:BLE scan loop stopped
0468|INFO:BLEGateway:Starting BLE scan
0469|INFO:BLEGateway:Connected to MQTT Broker!
0470|INFO:BLEGateway:Subscribed to home/+/BTtoMQTT/undecoded
0471|DEBUG:BLEGateway:46:3A:8E:7C:A1:F2:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00&k{\x10\x02\x02\x04'}, tx_power=12, rssi=-73)
0472|DEBUG:BLEGateway:7A:B5:CB:D8:6F:83:AdvertisementData(manufacturer_data={76: b'	\x08\x13\xd9\xc0\xa8\x01	\x1bX\x16\x08\x00L=m\xae0\xc1?'}, rssi=-74)
0473|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\xc3\x87\x03w\xeb/\xe0\xc0'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-57)
0474|INFO:BLEGateway:publishing device `{'id': 'EC:9C:DF:8E:49:BE', 'rssi': -57, 'brand': 'Tile', 'model': 'Smart Tracker', 'model_id': 'TILE', 'type': 'TRACK', 'device': 'Tile Tracker'}`
0475|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -57, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0476|INFO:BLEGateway:Sent 1 messages to MQTT
0477|DEBUG:BLEGateway:7A:B5:CB:D8:6F:83:AdvertisementData(manufacturer_data={76: b'	\x08\x13\xd9\xc0\xa8\x01	\x1bX\x16\x08\x00L=m\xae0\xc1?'}, rssi=-74)
0478|DEBUG:BLEGateway:46:3A:8E:7C:A1:F2:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00&k{\x10\x02\x02\x04'}, tx_power=12, rssi=-74)
0479|DEBUG:BLEGateway:EC:9C:DF:8E:49:BE:AdvertisementData(service_data={'0000feed-0000-1000-8000-00805f9b34fb': b'\x02\x00\xc3\x87\x03w\xeb/\xe0\xc0'}, service_uuids=['0000feed-0000-1000-8000-00805f9b34fb'], rssi=-57)
0480|DEBUG:BLEGateway:Already discovered or filtered: EC9CDF8E49BE
0481|DEBUG:BLEGateway:Sent `{"id": "EC:9C:DF:8E:49:BE", "rssi": -57, "brand": "Tile", "model": "Smart Tracker", "model_id": "TILE", "type": "TRACK", "device": "Tile Tracker"}` to topic `home/TGW_567/BTtoMQTT/EC9CDF8E49BE`
0482|INFO:BLEGateway:Sent 1 messages to MQTT
0483|DEBUG:BLEGateway:46:3A:8E:7C:A1:F2:AdvertisementData(manufacturer_data={76: b'\x0f\x05\x90\x00&k{\x10\x02\x02\x04'}, tx_power=12, rssi=-85)
0484|DEBUG:BLEGateway:7A:B5:CB:D8:6F:83:AdvertisementData(manufacturer_data={76: b'	\x08\x13\xd9\xc0\xa8\x01	\x1bX\x16\x08\x00L=m\xae0\xc1?'}, rssi=-74)
0485|ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress
0486|Traceback (most recent call last):
0487|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/TheengsGateway/ble_gateway.py", line 376, in ble_scan_loop
0488|await scanner.stop()
0489|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/__init__.py", line 186, in stop
0490|await self._backend.stop()
0491|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/backends/bluezdbus/scanner.py", line 203, in stop
0492|await stop()
0493|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/backends/bluezdbus/manager.py", line 390, in stop
0494|assert_reply(reply)
0495|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/bleak/backends/bluezdbus/utils.py", line 22, in assert_reply
0496|raise BleakDBusError(reply.error_name, reply.body)
0497|bleak.exc.BleakDBusError: [org.bluez.Error.InProgress] Operation already in progress
0498|INFO:BLEGateway:Sent 0 messages to MQTT
0499|ERROR:BLEGateway:BLE scan loop stopped

Et les logs tgw


0045|[2024-01-13 11:19:04]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0046|[2024-01-13 11:19:04]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0047|[2024-01-13 11:19:04]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0048|[2024-01-13 11:19:04]INFO : LWT update:offline
0049|[2024-01-13 11:19:05]DEBUG : local exec:sudo systemctl daemon-reload =>
0050|[2024-01-13 11:19:06]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0051|[2024-01-13 11:19:07]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0052|[2024-01-13 11:19:07]INFO : LWT update:online
0053|[2024-01-13 11:22:00]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0054|[2024-01-13 11:22:00]INFO : LWT update:online
0055|[2024-01-13 13:49:20]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0056|[2024-01-14 10:57:50]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0057|[2024-01-14 10:57:55]DEBUG : adapter changed
0058|[2024-01-14 10:57:55]DEBUG : Listening to topic:'tgw'
0059|[2024-01-14 10:57:55]INFO : Configuration de l'antenne 'RPI BLE'
0060|[2024-01-14 10:57:55]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0061|[2024-01-14 10:57:55]DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0062|[2024-01-14 10:57:55]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0063|[2024-01-14 10:57:55]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0064|[2024-01-14 10:57:55]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0065|[2024-01-14 10:57:55]INFO : LWT update:offline
0066|[2024-01-14 10:57:56]DEBUG : local exec:sudo systemctl daemon-reload =>
0067|[2024-01-14 10:57:57]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0068|[2024-01-14 10:57:58]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0069|[2024-01-14 10:57:59]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0070|[2024-01-14 10:57:59]INFO : LWT update:online
0071|[2024-01-14 10:58:03]DEBUG : Listening to topic:'tgw'
0072|[2024-01-14 10:58:03]INFO : Configuration de l'antenne 'RPI BLE'
0073|[2024-01-14 10:58:03]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0074|[2024-01-14 10:58:04]DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0075|[2024-01-14 10:58:04]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0076|[2024-01-14 10:58:04]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0077|[2024-01-14 10:58:04]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0078|[2024-01-14 10:58:04]INFO : LWT update:offline
0079|[2024-01-14 10:58:05]DEBUG : local exec:sudo systemctl daemon-reload =>
0080|[2024-01-14 10:58:06]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0081|[2024-01-14 10:58:07]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0082|[2024-01-14 10:58:07]INFO : LWT update:online
0083|[2024-01-14 10:58:17]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0084|[2024-01-14 11:00:05]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0085|[2024-01-14 11:00:05]INFO : LWT update:online
0086|[2024-01-14 13:29:51]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0087|[2024-01-14 13:29:56]DEBUG : adapter changed
0088|[2024-01-14 13:29:57]DEBUG : Listening to topic:'tgw'
0089|[2024-01-14 13:29:57]INFO : Configuration de l'antenne 'RPI BLE'
0090|[2024-01-14 13:29:57]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0091|[2024-01-14 13:29:57]DEBUG : local exec:echo '{"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0092|[2024-01-14 13:29:57]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0093|[2024-01-14 13:29:57]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0094|[2024-01-14 13:29:57]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0095|[2024-01-14 13:29:57]INFO : LWT update:offline
0096|[2024-01-14 13:29:58]DEBUG : local exec:sudo systemctl daemon-reload =>
0097|[2024-01-14 13:29:59]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0098|[2024-01-14 13:30:00]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0099|[2024-01-14 13:30:01]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0100|[2024-01-14 13:30:01]INFO : LWT update:online
0101|[2024-01-14 13:30:02]DEBUG : Listening to topic:'tgw'
0102|[2024-01-14 13:30:02]INFO : Configuration de l'antenne 'RPI BLE'
0103|[2024-01-14 13:30:02]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0104|[2024-01-14 13:30:02]DEBUG : local exec:echo '{"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0105|[2024-01-14 13:30:02]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0106|[2024-01-14 13:30:02]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0107|[2024-01-14 13:30:03]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0108|[2024-01-14 13:30:03]INFO : LWT update:offline
0109|[2024-01-14 13:30:04]DEBUG : local exec:sudo systemctl daemon-reload =>
0110|[2024-01-14 13:30:05]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0111|[2024-01-14 13:30:07]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0112|[2024-01-14 13:30:07]INFO : LWT update:online
0113|[2024-01-14 13:32:46]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0114|[2024-01-14 13:34:59]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0115|[2024-01-14 13:34:59]INFO : LWT update:online
0116|[2024-01-16 17:10:30]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0117|[2024-01-16 17:10:30]INFO : LWT update:online
0118|[2024-01-16 17:53:35]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0119|[2024-01-16 17:53:41]DEBUG : adapter changed
0120|[2024-01-16 17:53:41]DEBUG : Listening to topic:'tgw'
0121|[2024-01-16 17:53:41]INFO : Configuration de l'antenne 'RPI BLE'
0122|[2024-01-16 17:53:41]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0123|[2024-01-16 17:53:41]DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0124|[2024-01-16 17:53:41]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0125|[2024-01-16 17:53:41]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0126|[2024-01-16 17:53:41]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0127|[2024-01-16 17:53:41]INFO : LWT update:offline
0128|[2024-01-16 17:53:42]DEBUG : local exec:sudo systemctl daemon-reload =>
0129|[2024-01-16 17:53:43]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0130|[2024-01-16 17:53:44]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0131|[2024-01-16 17:53:45]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0132|[2024-01-16 17:53:45]INFO : LWT update:online
0133|[2024-01-16 17:53:47]DEBUG : Listening to topic:'tgw'
0134|[2024-01-16 17:53:47]INFO : Configuration de l'antenne 'RPI BLE'
0135|[2024-01-16 17:53:47]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0136|[2024-01-16 17:53:47]DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0137|[2024-01-16 17:53:47]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0138|[2024-01-16 17:53:48]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0139|[2024-01-16 17:53:48]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0140|[2024-01-16 17:53:48]INFO : LWT update:offline
0141|[2024-01-16 17:53:48]DEBUG : local exec:sudo systemctl daemon-reload =>
0142|[2024-01-16 17:53:49]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0143|[2024-01-16 17:53:51]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0144|[2024-01-16 17:53:51]INFO : LWT update:online
0145|[2024-01-16 17:58:02]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0146|[2024-01-16 17:58:02]INFO : LWT update:online
0147|[2024-01-16 18:02:55]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0148|[2024-01-16 18:03:00]DEBUG : adapter changed
0149|[2024-01-16 18:03:00]DEBUG : Listening to topic:'tgw'
0150|[2024-01-16 18:03:00]INFO : Configuration de l'antenne 'RPI BLE'
0151|[2024-01-16 18:03:00]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0152|[2024-01-16 18:03:00]DEBUG : local exec:echo '{"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0153|[2024-01-16 18:03:00]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0154|[2024-01-16 18:03:00]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0155|[2024-01-16 18:03:00]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0156|[2024-01-16 18:03:00]INFO : LWT update:offline
0157|[2024-01-16 18:03:01]DEBUG : local exec:sudo systemctl daemon-reload =>
0158|[2024-01-16 18:03:02]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0159|[2024-01-16 18:03:04]DEBUG : local exec:hcitool dev | grep hci => 	hci1	B8:27:EB:6E:0D:E8
0160|[2024-01-16 18:03:05]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0161|[2024-01-16 18:03:05]INFO : LWT update:online
0162|[2024-01-16 18:03:06]DEBUG : Listening to topic:'tgw'
0163|[2024-01-16 18:03:06]INFO : Configuration de l'antenne 'RPI BLE'
0164|[2024-01-16 18:03:06]DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5"}
0165|[2024-01-16 18:03:06]DEBUG : local exec:echo '{"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci1","discovery_filter":["IBEACON","GAEN","MS-CDP","APPLE_CONT","APPLE_CONTAT"],"discovery_device_name":"RPI BLE","log_level":"DEBUG","host":"192.168.1.2","port":1883,"user":"jeedom","pass":"eXTHFMVxs3nGZHavqMTpHhGrVZuQZbKdQLjnHXMtjV7YCJxuReqG6lg1fjr0vCp5","lwt_topic":"tgw\/567\/LWT","publish_topic":"home\/TGW_567\/BTtoMQTT"}
0166|[2024-01-16 18:03:06]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0167|[2024-01-16 18:03:06]DEBUG : local exec:echo '     [Unit]     Description=TheengsGateway Service     After=network-online.target      [Service]     Type=simple     ExecStart=/root/.local/bin/TheengsGateway     Restart=always     RestartSec=10     StandardOutput=append:/var/www/html/log/tgw_567     StandardError=append:/var/www/html/log/tgw_567      [Install]     WantedBy=multi-user.target     ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
0168|[2024-01-16 18:03:07]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"offline"}}}
0169|[2024-01-16 18:03:07]INFO : LWT update:offline
0170|[2024-01-16 18:03:07]DEBUG : local exec:sudo systemctl daemon-reload =>
0171|[2024-01-16 18:03:08]DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
0172|[2024-01-16 18:03:09]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0173|[2024-01-16 18:03:09]INFO : LWT update:online
0174|[2024-01-16 18:09:29]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0175|[2024-01-16 18:09:29]INFO : LWT update:online
0176|[2024-01-17 14:12:31]DEBUG : handle Mqtt Message:{"tgw":{"567":{"LWT":"online"}}}
0177|[2024-01-17 14:12:31]INFO : LWT update:online

Merci d 'avance pour ton aide précieuse !

Belle journée,

c’est (encore) cette même erreur:

[org.bluez.Error.InProgress] Operation already in progress

une cause probable c’est qu’un autre process utilise le bluetooth en même temps que theengsgateway.

plus d’antenne blea ou phone detection qui tourne?

Merci pour ton retour.

Non, aucun plug in utilisant le bluetooth ne tourne sur jeedom

Blea a été desinstallé et phone detection n’a jamais été installé lui

mais il l’était?
en local?

essayez de redémarrer jeedom

Oui il était installé en local.

Je l’ai fais deja 20 fois … La connexion se fait et au bout d’un moment ca se coupe. Le temps de est aléatoire

Bonjour Mips,

Excuse moi de te déranger à nouveau.

J’ai réinstallé BLEA, tout désactivé et un désinstallé, mais le périphérique se coupe de nouveau.

Une idée de ce que je peux faire ?

Merci pour ton aide,

On discute du même problème ici [org.bluez.Error.InProgress] Operation already in progress

On peut peut-être clôturer ici et continuer sur l’autre post.

Il y a quelques pistes déjà

Ok, on fait ca.

Merci !

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