ESPHome and ESP32 to extend Bluetooth range of USB Dongle in HA?

I’m excited about the news of Bluetooth support baked into 2022.08 and now I wonder if there are plans to be able to use ESPHome on an ESP32 to extend the bluetooth coverage around the house?

From the discussion on the 2022.08 release party video the main developers are clearly thinking about esp32 devices as remote BT receivers (exactly the use case at their home), but need to build the foundations first of better BTLE support.

So Yes, just not yet!

Will we be able to connect Bluetooth Speakers that way?

Not via the Bluetooth integration - this is for Bluetooth Low Energy only.

The Media player could in theory send audio to a conventoinal Bluetooth speaker, but this is more dependent on the host operating system.

The distinction between BTLE and BT was discussed on the 2022.08 release party video.

2 Likes

https://esphome.github.io/bluetooth-proxies/

2 Likes

Does the Bluetooth proxy let me communicate with BLE devices without actually having a Bluetooth dongle in my main HA system?

1 Like

I’ve never drilled into the esp32 stuff so forgive me if this is a stupid question…

Will it be possible to use the same esp32 device as both a BTLE proxy AND as a detector for ESPresence at the same time, or would I need two devices to be able to do that?

Thanks

1 Like

We don’t know as the feature to use esp32 devices as remote BT receivers has not been released.

The best source I know is the 2022.08 release party video as the main developer, bdraco (J. Nick Koston) discusses he has just this range issue and needs a remote repeater.

EDIT: 2022.09 announced ESPHome Bluetooth proxies

One again, I’d suggest watching the release video for lots of detail and demos of ESP32 acting as remote Bluetooth receivers.

1 Like

I’d like to know this as well as I run my HA install in a HyperV VM and I cannot passthrough a USB Bluetooth device to it.

Yes it does work. It’s just transparent. BT devices are popping up in HA now. :slight_smile:

1 Like

I have created a basic ESP Bluetooth Proxy using the github code as inspiration.
It implies that these are the main components for a bluetooth proxy…

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true

bluetooth_proxy:

But no BLE devices ever get reported to HA?
This page below mentions that a tracker hub is a dependency? Can anyone help me understand this?

1 Like

i tested 2022.09 for a few hours, then reverted to 2022.04.06 as google.tts did not work.

but i hoped i can integrate my ble sensors directly instead via esphome in to HA:
i flashed one esphome device as BT proxy
and i installed the BT integration in HA
i am using 4 LYWSDCGQ and 1 CGDK2, all via esphome
it detected only the CGDK2, the worst one, which requires a bind key, but not any of the LYWSDCGQ