ThomDietrich/miflora-mqtt-daemon

`$ sudo hcitool lescan` - Input/Output error

PeterKawa opened this issue · 2 comments

Hi Thom,
Thanks for this neat tool!!
It works like a charm i.c.m. Homey.

Just FYI, one thingy I ran into:
$ sudo hcitool lescan results in Set scan parameters failed: Input/output error
but
$ bluetoothctl scan on works OK

( From config.ini and Readme.md):
# Scan for sensors from the command line with:
# $ sudo hcitool lescan

Cheers, Peter

System: Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal -Bluetooth: Device-2: 2-1.4:4 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: Bluetooth driver: btusb rev: 2.0 chip ID: 0a12:0001

Hey, are you saying the command bluetoothctl scan on produces the list of found devices? Best!

It finds one Samsung TV (from my neighbours probably), but no Ble devices.
I predefined my Ble devices by MAC, so it looked like it worked, but no data was received.
Laptop is 10yrs old, maybe the internal BT device can't handle Ble?.
Do you know how to discover this?
Hope this kind of helps.