esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
415 stars 26 forks source link

Support for A2DP Bluetooth profile (mainly audio sender) #2456

Open spudje opened 11 months ago

spudje commented 11 months ago

Describe the problem you have/What new integration you would like

No support for A2DP in ESPHome, I want it mainly as audio sender.

Please describe your use case for this integration and alternatives you've tried:

With the Bluetooth (proxy) support in ESPHome this ideally opens up the room for cheap multi-room audio streaming when ESP32s (or RP2040, I don't care which) can be connected to Bluetooth speakers (or headphones) via the A2DP profile.

I actually think the bluetooth proxy does not really add something. It's basically the ESP32 acting as mediaplayer for Hass and connecting over Bluetooth (A2DP) with speakers/headphones as "audio sink".

When I dream out loud, it would be extremely awesome to roam with a bluetooth headphone from room to room and have handovers between the ESPs... But I guess that's a few bridges too far :)

Additional context

I could find one github with an A2DP implementation for ESP32, maybe that can be used as a starting point? It both supports audio receiving & audio sending. https://github.com/pschatzmann/ESP32-A2DP However, this may be a bigger challenge than I thought: https://github.com/pschatzmann/ESP32-A2DP/wiki/WIFI-and-A2DP-Coexistence Hope it still can be done, if needed with some additional (cheap) components.

orgebar commented 9 months ago

I don‘t quite understand why bt topics in general isnt more in focus, Especially bt speakers. Its still a big disappointment that there is no (simple) solution.

Andrew49 commented 2 months ago

+1 for me

bpavlov commented 3 weeks ago

+1. My use case is to create an esp32 satellite connected to a Bluetooth speaker.