Stream media (music) from HA to Sonos and disparate speakers?

I have a Xiaomi Mi Smart Speaker and a pair of Sonos Ones, both of which are WiFi smart speakers.

Desired outcome: Play the same music on all of them, a playlist ideally, as a speaker group.

Spotify would be fine, but the player does not allow me to group different types of speakers.

Ideally: Some way to control by HA that would play the music on all the speakers.
Acceptable alternative: Stream music to a wifi speaker, drive the same playlist via aux cable audio out from the Pi4. (No clue if this is possible.)

I’d be happy to setup a Plex server pointed at MP3s of the music, but I’m not convinced that this is supported?

Could anyone suggest what approach might work, or point to a resource that would get me on the way? I have spent many hours researching and apologize for any redundancy in advance.

Specs: I am running running full Home Assistant Operating System on a Pi 4. There is a Win10 PC available on the network which I could put to use, but if there is a 100% HA solution, that would be rad.

Thank you for your time and attention. Please let me know if I have failed to include any essential information. :slight_smile:

Best,

Theon Kittyjoy

I could be dead wrong here…but I don’t think this is possible. It’s my understanding that the Sonos stream is delivered through the Sonos Cloud, so I think it would be darn near impossible to reliably get non-sonos speakers to sync with them in Home Assistant…I could be wrong, but I’d be very interested to know if someone found a way around it.

1 Like

Theon
I too wanted the same. I have now setup the logitech media server on my HA. I have installled the plugins for UPNP and Spotty (spotify).
This setup flawlessly picks up my sonos one, my google home mini speaker, my google nest hub and any other device that i can install the squuezelite player onto which also includes my android phone.
This allows me to play different streams to all different devices or group whichever I want.
I have also linked in a database of songs from my NAS (truenas) to play.
None of my previous attempts to achieve all the above were successful - this included plex and kodi.
Happy to help out if you have any questions as this was all achieved through the support of this forum.
Pat

1 Like

Thank Patraff, I’ll hit you up after getting a chance to follow your crumb trail enough to have non-stupid questions to put to you, many thanks!

Spotty and UPNP are LMS plugins?
Squeezelite player is not server- or HA-level but basically a player that can make all this magic happen thru LMS?

You said that you made this happen with forum support, if you can lead me to any of those links then maybe I would not need to bug you further, many thanks again!

Theon
most of the answers I got were in the forum Australian certified hardware. Happy to answer any of your questions if i can. I didn’t document all steps and would be going by memory. 60 year old brain cells aren’t quite the same speed.
Pat

1 Like

So in answer - sorry there is the brain cells leaking.
Yes - Spotty and UPNP are plugins. Here are the plugins I have installed that got me where I am - chromecast bridge - for google devices
network bridge - assisted with the link to truenas
UPNP - both bridge and media interface
Pat

1 Like

Theon - just another update.
check out this forum thread - Should I go there? Whole house audio and then some
I have followed how Nickrout set his up - I haven’t yet gone the pi zero with a hat but that is in the expanding project list.
I have found Nick to be very helpful and concise
Pat

1 Like