So I bought 3 of the devices pictured here https://bthome.io/ esp32 did pick them up, then it added xiaomi ble integration automatically, but in only got data for signal strength, no other sensor shown, so I went for the Telink Flasher v4.4 firmware, added the integration to HA and and again, only showing signal strength.
Iāve got several of these devices working just fine using the RPi4 built-in Bluetooth. The trick (as you have likely found out through scrolling here etc) is to have them advertise as BTHome, not the other choices. My sensors are transmitting temperature, humidity, and all their other usual data.
Can you please elaborate on this more? I flashed the esp chip using Bluetooth proxy website and thatās all I did. Should I add BTHome integration and connect the esp again? Sorry I am still learning
I would like some clarification on this as Iām new to this as well. Am I misunderstanding it if I am thinking this would make my esp32 into a Bluetooth range extender? For example, I have an August bluetooth lock that I have setup via cloud but Iād like to use the August Bluetooth integration. However, the lock is out of range from my Bluetooth dongle. If I were to place an active Bluetooth proxy esp32 close to the lock, would it be able to see it and report it to HA integrations? Or is this new update only a way to have active connections to BLE devices already setup?
Your understanding is correct, as far as my experience has gone - Iāve set up a m5stack Atom Lite device as a Bluetooth proxy and plugging this in has allowed my HA to connect with Bluetooth devices that were previously out of range. It should just be that easy.
The ESP32 Bluetooth proxy only works with an ESP device being the proxy, so wonāt (as I understand it) work with any other devices being the proxy - or do you mean that you have an esp32 device already successfully set up as a proxy (using the details here) and youāre not seeing connections coming through from your distant devices? Iām unclear from your description.
I have an esp32 setup as an active proxy with those instructions but my integrations that use Bluetooth, Yale Access Bluetooth and a Bluetooth2MQTT setup, canāt use it as the main adapter and only work if I plug in a USB adapter, but theyāre out of range at their normal location.
Right, thanks for explaining. Your HA wonāt use the proxy as an adapter. What I see on my own system is this:
Iām running on a Pi4 with its inbuilt Bluetooth adapter, which is shown in my integrations
I set up the m5stack device as a BT proxy using those instructions on the ESPhome website
The proxy device was detected by the ESPhome integration and I see it listed in that block within my integrations page, as well as on the ESPhome addonās interface page
I had already checked that my BT devices could be detected by HA prior to the proxy, and that HA lost the signal from them when I moved them farther away (mine are passive temperature sensors)
I moved the proxy device to a place in my house between my HA Pi4 and my distant BT devices
I observed that the BT device signal (and data) was picked up again by HA
Unsure if any of this is helpful to you - if not perhaps someone else with more active devices can help?
From my understanding from my replies in the release discussion thread, these proxies can be used without any other Bluetooth adapter, so Iām even more confused now lol.
I donāt have any onboard bluetooth and with the proxies it does pick up an ibeacon somewhere but for the integrations I want to use that I mentioned, it doesnāt seem to work.
This is really usefull and I have a similar setup. I just donāt understand if the bluetooth_proxy is also sending command like for example to a Switchbot button.
Thigns have changed as of ESPHome version 2022.9.3 and HA 2022.10.x
Now BLE Proxy does support Active connections. Unfortunately SOME locks still wonāt work (looking at Yale Access integration with August locks grrrr.) but a lot of active products such as MiFlora battery sensor, a lot of light globes and a lot of switchbot items will now work with BLE Proxy.
If you ahev an ESPHome evice you just add
bluetooth_proxy:
active: true
If you built a dedicated BLE Proxy using the script on the website, it will automatically update to the Active true status as far as I know.
I have been having general issues getting my bluetooth device_tracker entities to track correctly over the past few updates (all devices showing as not_home), so decided to get an M5-lite to use as a bluetooth proxy to see if it would help.
Iāve the proxy it to HA and it appears to be connected, however none of my device_trackers are showing as home. This is what i have on my configuration.yaml
Hi @Dilby
This may be best presented in itās own topic as Bluetooth tracking is a different topic to the Bluetooth Proxy.
Bluetooth Proxy is for connecting Bluetooth devices, such as sensors, light globes and other bluetooth devices to Home Assistant. Although it is Bluetooth, it is not the Bluetooth tracking integration.
You will need to setup using the ble tracking component.
The below link may give some ideas. ESP32 Bluetooth Low Energy Tracker Hub ā ESPHome
I havenāt used Bluetooth Proxy to detect devices for tracking as ESP Home has itās own BLE Tracking component that works quite well and would likely be more reliable.
I absolutely cannot figure this out. Today I installed Passive BLE Monitor via HACS to try to detect my device, a SmartDry, but it cannot detect it with my esp32 nor any BLE signals if I donāt have a USB bluetooth adapter plugged in. I have tried three different esp32 boards all flashed with the same configuration:
And nothing every pops up under the BLE integration. However, if I plug in my USB bluetooth adapter, it is able to find things. What am I doing wrong here? Any help would be greatly appreciated, Iāve spent all weekend testing thisā¦
@Dilby It can be used for tracking devices, see #29. But After some testing, ESPresense seems to work way better using the same hardware, though it requieres MQTT server add-on. Itās also fine-tuned for Apple Watches, etc.