Bonjour à tous,
Je sous RPI 3B+ sous Buster / Jeedom v4.038 / BLEA sur bluetooth interne, pas d’antenne déportée, j’ai une nut find 3 (en mode « sans perte », appli désactivée) et 1 itag (pas cher) (plus du rfxcom, conbee/deconz).
très régulièrement je perd la connexion avec les tags, en même temps, et je les récupère à peu près en même temps.
(en haut RSSI et en bas présence, les tags sont à 1 m de mon PI et distant entre eux de 1 m également.
pendant que c’es down j’ai voulu vérifier l’état du BT (suis pas un grand connaisseur non plus!) :
user@monPI:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-02-14 11:12:09 CET; 11 months 14 days ago
Docs: man:bluetoothd(8)
Main PID: 675 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2200)
Memory: 1.3M
CGroup: /system.slice/bluetooth.service
└─675 /usr/lib/bluetooth/bluetoothd
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
user@monPI:~ $ hciconfig
hci0: Type: Primary Bus: UART
BD Address: XX:XX:XX:XX:XX ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:42849750 acl:6933 sco:160 events:2459919 errors:0
TX bytes:10545806 acl:6959 sco:0 commands:1439009 errors:0
user@monPI:~ $ ps -ef | grep "blea"
pi 15321 7654 0 21:14 pts/0 00:00:00 grep --color=auto blea
root 15509 1 0 20:37 ? 00:00:00 sudo /usr/bin/python3 /var/www/html/plugins/blea/resources/blead/blead.py --loglevel debug --device hci0 --socketport 55008 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn --daemonname local --noseeninterval 4 --scaninterval 29 --scanmode passive --pid /tmp/jeedom/blea/deamon.pid
root 15515 15509 3 20:37 ? 00:01:16 /usr/bin/python3 /var/www/html/plugins/blea/resources/blead/blead.py --loglevel debug --device hci0 --socketport 55008 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn --daemonname local --noseeninterval 4 --scaninterval 29 --scanmode passive --pid /tmp/jeedom/blea/deamon.pid
dans mes logs debug j’ai très régulièrement (log BLEA)
[2020-01-29 20:37:56][INFO] : Launching remotes …
[2020-01-29 20:37:57][INFO] : Lancement démon blea : sudo /usr/bin/python3 /var/www/html/plugins/blea/resources/blead/blead.py --loglevel debug --device hci0 --socketport 55008 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --daemonname local --noseeninterval 4 --scaninterval 29 --scanmode passive --pid /tmp/jeedom/blea/deamon.pid
[2020-01-29 20:38:01][INFO] : Antenna local alive sending known devices
[2020-01-29 20:38:01][INFO] : Sending ready to daemons
[2020-01-29 20:38:02][INFO] : Launching remotes …
c’est normal de relancer le démon régulièrement? (ça varie entre 1h et 15 minutes)
au moment ou c’est tombé :
[2020-01-29 21:10:38][INFO] : This is a heartbeat from antenna local
[2020-01-29 21:11:34][INFO] : This is a heartbeat from antenna local
[2020-01-29 21:12:30][INFO] : This is a heartbeat from antenna local
[2020-01-29 21:13:26][INFO] : This is a heartbeat from antenna local
[2020-01-29 21:14:22][INFO] : This is a heartbeat from antenna local
[2020-01-29 21:15:18][INFO] : This is a heartbeat from antenna local
dans le log blea local :
[2020-01-29 21:11:43.178][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-29 21:11:43.296][DEBUG] : http://127.0.0.1:80 « POST /plugins/blea/core/php/jeeBlea.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1 » 200 0
[2020-01-29 21:12:18.780][DEBUG] : SCANNER------Clearing seen
[2020-01-29 21:12:30.416][DEBUG] : Send to jeedom : {‹ heartbeat ›: 1, ‹ source ›: ‹ local ›, ‹ version ›: ‹ 2.9 ›}
[2020-01-29 21:12:30.427][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-29 21:12:30.459][DEBUG] : http://127.0.0.1:80 « POST /plugins/blea/core/php/jeeBlea.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1 » 200 0
[2020-01-29 21:12:49.142][DEBUG] : SCANNER------Clearing seen
[2020-01-29 21:13:19.514][DEBUG] : SCANNER------Clearing seen
[2020-01-29 21:13:26.471][DEBUG] : Send to jeedom : {‹ heartbeat ›: 1, ‹ source ›: ‹ local ›, ‹ version ›: ‹ 2.9 ›}
[2020-01-29 21:13:26.482][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-29 21:13:26.514][DEBUG] : http://127.0.0.1:80 « POST /plugins/blea/core/php/jeeBlea.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1 » 200 0
[2020-01-29 21:13:38.484][INFO] : Not SEEEEEEEEEN------ since 116s 11:22:33:44:55:66
[2020-01-29 21:13:38.583][DEBUG] : Send to jeedom : {‹ devices ›: {‹ 11:22:33:44:55:66 ›: {‹ present ›: 0, ‹ id ›: ‹ 11:22:33:44:55:66 ›, ‹ rssi ›: -200, ‹ source ›: ‹ local ›}}}
[2020-01-29 21:13:38.591][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-29 21:13:38.773][DEBUG] : http://127.0.0.1:80 « POST /plugins/blea/core/php/jeeBlea.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1 » 200 0
[2020-01-29 21:13:39.486][INFO] : Not SEEEEEEEEEN------ since 116s AA:BB:CC:DD:ZZ:FF
[2020-01-29 21:13:39.779][DEBUG] : Send to jeedom : {‹ devices ›: {‹ AA:BB:CC:DD:ZZ:FF ›: {‹ present ›: 0, ‹ id ›: ‹ AA:BB:CC:DD:ZZ:FF ›, ‹ rssi ›: -200, ‹ source ›: ‹ local ›}}}
[2020-01-29 21:13:39.787][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
les coupure peuvent durer de 5 min à 15+
j’ai réinstallé, relancé l’installation des dépendances, rien n’y fait.
Je ne sais pas quoi donner comme info supplémentaires.
Est ce un problème connnu? connu sur PI?
Des pistes ou chercher?
[Edit] C’est le seul moyen de notifier la présence que ma femme serait susceptible de potentiellement accepter !