Hi All,
I’m to the point with my setup I’d like to start integrating audio. I know I’ll be tweaking ad-infintum, but I’d like to get started with some BT speakers and ESPs I have.
I had screwed around a bit with it previously, with little luck, but I was very early on. I’d like to dig in this weekend, but want to double check an understanding:
If I flash an ESP as a BT proxy, I should be able to add it to HA (via ESPHome?), then pair a BT speaker with it, which HA will now recognize and be able to pipe audio to?
-
How does pairing the speaker work? When I put the speaker in discovery mode will HA show it as a device I can add?
-
Do I need an integration to act as a manager/mixer for my various speakers?
As a bonus, if there is an integration that allows me to sync up the various speakers (if it’s not done automatically), that would be amazing. I’d be thrilled just with audio, but my house happens to have a bathroom vent with integrated BT speaker. It would be cool to have that synced with the living room audio when I have people over the game or similar.


I’m not an expert, so anybody feel free to correct me, but this should be pretty simple. Configure and flash the ESP devices as BT proxies using ESPHome, and all of the configuration to hook it into Home Assistant will be taken care of automatically. The device will show up as a Bluetooth adapter in HA, so then just pair the speakers. To sync various speakers, install the Sendspin Bluetooth Bridge to add Sendspin player capability to those speakers. Then, install Music Assistant to create groups of Sendspin players (a.k.a. speakers). At that point, you’re all set to play media from Music Assistant to the synced speaker group.
The hitch is then playing audio from an external source (like a television) on that group. There’s a Music Assistant plugin that’ll stream any devices that are a Sendspin Source, so hook the audio output to an ESP32 with an audio input, and that’ll stream to MA, which will play it on all of the speakers.
It may not have an elegant UI, but I think it should work.
Thanks for the write-up. Just tried it myself, but couldn’t connect any speakers. This is what I tried:
rpi pico w (1) with esphome
direct BT adapter
Any idea what I’m doing wrong? Could find any information regarding the Sendspin Bluetooth Bridge and Bluetooth proxies online.
I don’t know if I can help, as I’m having different issues, I’m not clear how to get Sendspin bluetooth bridge running.
I flashed an ESP32-C as a proxy, and verified it’s working as I got all sorts of notifications to adds for various devices that had BT next to other connective options and I was using the other one.
I did read somewhere that BT proxy may not be able to pick up audio devices, but I can’t seem to find that now and it didn’t seem that definitive.
You wouldn’t happen to have any tips on how I’d go about setting it up on Unraid would you? Unraid was a great way to get started, but the downside is it leaves you unfamiliar with how to do docker composes, and there’s not one in their app portal for sendspin bt-bridge.
Sadly I don’t have any experience with Unraid. But I’m familiar with docker and docker compose.
You have a few options on how to install Sendspin Bt Bridge.
As I did directly in GA. Open the marketplace (or hacs if you haven’t updated). Search for Sendspin Bluetooth Bridge, hit install and done. If your HA is running on the Unraid, I’d probably go with this.
Via docker or docker compose. Depending on what is available on Unraid you can either run a container directly or start it with docker compose. I found a Unraid docker compose plugin, but can’t test it.
If you can run generic docker containers (with or without compose) you can follow the official documentation.
If you can’t, maybe it’s possible to start a generic linux virtual machine, install docker on it and start the docker container from within.
Ok so I feel dumb. I did manage to get that running via market place (From within HA like you said), but I’m not clear on how to configure. I’m not clear on what the “host” is and figured I needed another process running (like with matter), which is why I was asking about doing it via docker/unraid. Is the host Music Assistant? Home Assistant? I tried pointing it at music assistant (IP and port) but it rejected the token.
Don’t worry, the setup seems rather complicated. Especially since bt doesn’t work as we are used to from pcs and phones. You’re almost as far as I am.
After that you are exactly where I stand
Thank you! It looks like the documentation is lagging behind a few updates. I followed those steps, but I am getting a “token rejected - make sure it was just minted and not revoked”.
May I ask what you put into the “host” field? Is it just the IP address for the server (that has HA and MA on it in my case)? Do you include the port number even though it asks for it next? This is the part that lead me to believe it was a separate service. Thanks for the help, if I can “catch up” maybe I can help crack the bluetooth adapter issue, as my BT proxy is defnitley doing something.
Yeah, I also found some snippets with yaml config in the docs, which seem to have a config UI now.
My host is set to “auto”. If this doesn’t work, I’d try the IP of your HA server or localhost or 127.0.0.1 and see if anything works.
No joy. When you say you set it to “auto”, was that a drop down menu or something you have to manually put in? I have a window with 3 enterable fields that I have to type in (host, port, bearer token) and a checkbox at the bottom for “use https”. Also what kind of HA/MA are you running? HAOS, Container? I’m getting the impression they focused on developing for HAOS.
Thanks for all your help, if I can’t crack it I’m going to see if I can’t solve via hardware. The ESP-32s can have trouble using bluetooth and wifi heavily at the same time, but there are libraries to turn it into a DLNA client.
You are AWESOME.
Even if it doesn’t play out just like that, getting some confirmation on gameplan and the sendspin tip off is awesome.
I’m planning on doing a write up when I’m done for anyone else curious. Everyone’s been so helpful in this community!
Before you get in too deep (I might already be too late), you should know that the sendspin bt bridge doesn’t work with Bluetooth proxies: https://github.com/trudenboy/sendspin-bt-bridge/discussions/256#discussioncomment-16888374