I have successfully flashed a ESP32 with Bluetooth Poxy and connected it to my WiFi. HA can see the ESP32 however no Bluetooth devices are discovered and shown in HA.
When I download ESP32 diagnostic log through HA, I can see that many Bluetooth devices are discovered (some without names) for example like below.
I am not sure what more step I am missing, my understanding is that I do not need DBus or BlueZ as I am using a proxy and not an Adapter, is this a correct assumption.
Not sure what you mean, I added the iBeacon tracker integration, but still nothing. I am under impression that it will discover any Bluetooth devices that are sending advertisement packets. I have a few beacons which I can see on my phone. Perhaps if you give me more information I should be able to provide better answer. I am new to this BLE. Thank you for your help.
Also I enabled logging for ESP32 and I can see the HA is actually log these activities but I am not sure how to see these? Are there other integrations for BL/BLE to add ?
When I try to add Bluetooth Integration, HA says: No unconfigured Bluetooth adapters found. There are 0 ignored adapters
As @francisp mentioned, it will only work with things that have an integration. Do you have a specific device that works with a HA integration that you’re expecting to show up?
As mentioned I have some Bluetooth trackers (generic) I am hopping to be able to see. I just found a [ESPHome BLE Gateway] integration which I am playing with, but it seems that I need need a BLE gateway (from the same author) as it doesn’t work with BT proxies. Personally I think it is mess to install so many layers just to see a BLE device in HA, it should have been much simpler and more efficient.
My experience is that if the HA instance doesn’t see a local Bluetooth adapter, you can’t use Bluetooth proxies either. My HA is installed on an openwrt that isn’t detecting the built-in Bluetooth.
I got a USB-BT500 from Asus. I don’t know why I settled on rtl8761bu but here we are. I have to say I was skeptical about just installing the firmware. But it worked. Or it’s in some weird netherworld of working. hciconfig detects the device. I can scan from the command line and it’s as though it was functional. But when I go into /dev there is no HCIx device. Anyway, HA saw it enough to detect an active Bluetooth adapter and suggests a -v command for making it available to my docker container. I did that and it made no difference. At least the Bluetooth half-detection is sufficient to survive a reboot My theory is it’s colliding with the OS’ detection of an onboard Bluetooth device and not managing to use it.
I’m a little bummed it isn’t working directly but it was like hitting one of the mushrooms in Super Mario - I leveled up and all of a sudden HA started detecting Bluetooth proxies. It saw my Shelly device first, then I setup my Everything Presence sensors to proxy and it detected each of those as they came back online with that option set in their config. Eventually the emmc in the little rockchip device running HA will fail and I’ll move the Bluetooth to its successor - it’ll eventually get used directly instead of as a magic talisman that unlocked proxy detection.
I had expected to see the Shelly BT proxy show up a week ago when I re-did that switch, but it wasn’t usable in HA until the local BT adapter loaded firmware.