Probleme avec blea

Inquiry failed: Device or resource busy
Scanning …

ça me mets cela

et merci au passage

As-tu déjà lancé cette commande? hciconfig dev depuis un terminal
Je n’ai pas remonté tout le post ^^

oui, deja fait:

edit: oups, ça c’est hcitool dev…

hci0: Type: Primary Bus: USB
BD Address: 00:01:95:57:5F:F7 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:5336247 acl:0 sco:0 events:231717 errors:0
TX bytes:1357123 acl:0 sco:0 commands:199683 errors:0

Essaye un sudo service bluetooth status

  • bluetooth.service - Bluetooth service
    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2020-09-24 16:11:06 CEST; 21h ago
    Docs: man:bluetoothd(8)
    Main PID: 381 (bluetoothd)
    Status: « Running »
    Tasks: 1 (limit: 4915)
    CGroup: /system.slice/bluetooth.service
    `-381 /usr/lib/bluetooth/bluetoothd

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Un restart de ton bluetooth peut être envisagé avec cette commande:
sudo service bluetooth restart
Tu retournes dans ton plugin tu relances ton demon tu restes en debug pour les logs et tu lances un scan

bon ben rien test non concluant

Tes logs sont inchangés ?

toujours pareil

Essaye ça:
Arrêter le démon puis
sudo hciconfig hci0 down
sudo hciconfig hci0 up
sudo hcitool lescan

Je vois pas pourquoi le scan low energy te fait une erreur…

j’ai la même erreur que toi uniquement si le démon tourne (=> le bt est déjà utilisé)

voila j’ai tout fait

Et ça t’a retourné quoi?

Le lescan lance un scan et te retourne ce qui est capté.

voila

[2020-09-26 08:06:01.479][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:06:40.118][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:06:40.132][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:06:40.144][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:06:42.558][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:07:23.631][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:07:36.197][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:07:36.210][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:07:36.220][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:08:04.709][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:08:32.277][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:08:32.289][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:08:32.305][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:08:45.784][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:09:26.858][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:09:28.362][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:09:28.376][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:09:28.390][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:10:07.937][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:10:24.440][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:10:24.453][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:10:24.469][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:10:49.012][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:11:20.520][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:11:20.533][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:11:20.557][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:11:30.087][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:12:11.164][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:12:16.596][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:12:16.607][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:12:16.618][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:12:52.237][DEBUG] : SCANNER------Clearing seen
[2020-09-26 08:13:12.660][DEBUG] : Send to jeedom :  {'version': '2.9', 'source': 'local', 'heartbeat': 1}
[2020-09-26 08:13:12.670][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-09-26 08:13:12.680][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=XqdciJLMK2pGyHjnG0iKDcqq8OH4MIUv HTTP/1.1" 200 90
[2020-09-26 08:13:33.313][DEBUG] : SCANNER------Clearing seen

Bonjour,

Juste une petite aparté, a l’avenir merci d’utiliser les balises </> pour insérer les logs pour une meilleurs lisibilité :wink:

oups ok pas de soucis.
bon concernant mon probleme, j’ai essayé une restauration antérieur et rien, le probleme est toujours la.
j’ai donc remis ma dernière sauvegarde.

je pense que je vais faire une réinitialisation de la box et tout refaire proprement.

Ce que je te demandais est le résultat de la commande lescan en fait…

Si elle ne te retourne rien c’est que la clé ne voit pas de périphérique Bluetooth. Donc forcément le plugin n’en verra pas non plus.

Set scan parameters failed: Input/output error

Avec le démon en marche c’est normal que tu ai cette erreur