[RaspberryPi 3B+ and openhabian 1.5 running OH stable 2.5.7]
I would like to use bluetooth for presence detection and I know there are a lot of threads about this here.
Unfortunately I did not find what I was looking for.
First of all:
I used the 3rd party bluetooth from @vkolotov uccesfully with my FlowerCare (Xiaomi).
However, the connection is unreliable, so I decided to use the “official” OH bluetoth binding for presence detection.
Now my questions:
I have installed the bluetooth binding and used this help to make it run:
I can see multiple devices running
sudo hcitool lescan
I also see these in PaperUI some as
Bluetooth Device (Apple, Inc.) - none of mine though - possibly the neighbours’.
So why don’t I see my MAC adresses there? And what kind of Device is the iphone (BLE, Beacon, Generic, …)
So it seems bluetooth is working, but I dont see my devices (except My Sony TV)
I was able to discover my iPhone (with the right MAC) automatically in PaperUI, but there is no MAC visible in the config!?
If I want to add it manually ther are too many choices for me - which is the right one?
Bluethooth Deivce / Connected BT Device?
When trying to connect with bluetoothctl I get:
[bluetooth]# connect D0:C5:F3:xx:xx:xx Attempting to connect to D0:C5:F3:xx:xx:xx Failed to connect: org.bluez.Error.Failed