I replaced the Sonos app with Music Assistant in Home Assistant, and my Sonos and AirPlay speakers play in sync

I replaced the Sonos app with Music Assistant in Home Assistant, and my Sonos and AirPlay speakers play in sync

Published Dec 2, 2026, 1:00 PM EST Maker, meme-r, and unabashed geek, Joe has been writing about technology since starting his career in 2018 at KnowTechie. He's covered everything from Apple to apps and crowdfunding and loves getting to the bottom of complicated topics. In that time, he's also written for SlashGear and numerous corporate clients before finding his home at XDA in the spring of 2023. He was the kid who took apart every toy to see how it worked, even if it didn't exactly go back together afterward. That's given him a solid background for explaining how complex systems work together, and he promises he's gotten better at the putting things back together stage since then. I've got a huge variety of smart speakers in my house, which I picked up over the years for different uses. The Sonos kit used to be spread around the rooms, but now it's the main theater TV setup, and I've got a mix of HomePod minis and Echos scattered around. Multiple apps don't play nice with each other, and I always wanted to use all my speakers in sync but couldn't. I already added the Sonos speaker to Home Assistant when the Sonos app took a wrong turn off a cliff, and the HomePods are also in Home Assistant. But without anything linking them, that's just one more app that can't quite sync them all. Until I found Music Assistant, which lets my smart speakers sing in harmonious sync (for once!), even if it's not quite the way you'd expect.​ Sonos and HomePod speakers each keep their own time Every brand syncs its own speakers with a protocol the others can't join Okay, I know I said that part of the problem is that the apps don't talk to each other, but it's deeper than that. Sync is a clock problem, not an app one, and each system dances to the beat of a different drum. Sonos has its own protocol: the lead speaker sets the clock, and the rest of the group follows. AirPlay 2 buffers audio then lines speakers up against a shared network clock. I've got some Google Cast devices as well, and those use another method. Music Assistant exposes both PTP and NTP timing modes, which gives me all the tools I need to get my smart speakers playing nice. Older Sonos speakers are locked out of AirPlay entirely I don't own any older Sonos speakers, but if I did, I couldn't add them to the Sonos app even if I wanted. The S1 systems are walled off from the S2 ones, and I'd have to connect them with an intermediary. The early ones didn't even get AirPlay 2, so I couldn't use my iPhone to play music to those. AirPlay 2 already links newer Sonos speakers and HomePods, as long as an iPhone is doing the streaming Look, I know I can use AirPlay 2 for every Sonos speaker I own, and play music on those and my HomePods at the same time. That's fine for me, because I use an iPhone and have an Apple TV 4K in the office that I could use for AirPlay 2 as well. But the rest of the household is mostly Android, and that breaks everything. That also means no other devices can start playback or automate anything. I can't use the Echo Dots that I jailbroke to control Home Assistant with those speakers either, at least not before I added Music Assistant to the mix. Music Assistant gives every speaker one source and one clock It doesn't translate between Sonos and AirPlay, it picks one for everybody Adding Music Assistant to Home Assistant gives me one more app to control my speakers, and it actually works. It finds my speakers over the network via their native provider, Sonos from the Sonos provider, and the HomePods from AirPlay. But when grouped, the Sonos speakers move over to the AirPlay provider, so sync is handled via the HomePod's clock. That gives me similar control to the AirPlay 2 route from my iPhone, except it's usable from any device that can control Music Assistant. The HomePod minis needed one setting changed in the Home app first AirPlay access is limited to the members of your Apple Home by default. A quick dive into the Home app to change access to "everyone on the same network" fixes that and lets Music Assistant stream to the HomePods. Three sets of speakers, one click, no echo Now I can use my HomePods mini in one room, the Era 300s in other rooms, and the Arc with Sub in my office, filling the entire house with synced sound. There's nothing worse than having the same music playing in multiple rooms and not being perfectly in sync, and I can still tweak the delay between speakers if they're not quite right due to distance or reflections. The only thing about using them this way is that I can't use the Era 300s as rear surrounds, but I find they don't often play anything when watching movies or TV shows through streaming, and I get more use out of them when listening to music. Music Assistant also works as an AirPlay target Anything you can AirPlay from a phone can fan out to every speaker in the house Music Assistant is also an AirPlay target, so I can stream the same things I'd normally send to my speakers to the app, and have them stream out to the rest of the house. This also works if I have Google Cast-enabled speakers or older Sonos ones in the mix, where the app handles getting the music out to them. The Sonos app still has a job, and so do the Sonos Ace Ultra headphones I can't quite replace everything with Music Assistant. The app doesn't handle firmware for either the Sonos speakers or the HomePod minis. It also doesn't handle Trueplay for tweaking the audio to my room's acoustics, or let me group speakers up as surrounds. That's all fine, honestly, for music playing. The Apple Home app also doesn't show what's playing on the HomePods if I use this route, but that's okay. The other thing is that it doesn't support the features I use most on the Sonos Ace Ultra, like headphone linking between those and my soundbar, so I can use headphones to watch TV late at night. But at the same time, Music Assistant doesn't stop those things from working; it just means I have to use the other app for those. One app now runs every speaker I own I've never liked tying myself down to one ecosystem, which is a large part of why my smart home is a mess. But Home Assistant and apps like Music Assistant have given me a platform to connect all those disparate ecosystems under one roof. Now I have synced music in every room, from a collection of speakers that wouldn't normally talk to each other. And the rest of my smart home behaves similarly, with Home Assistant tying it all together. Home Assistant OS Windows, macOS, Linux, Android, iOS, web iOS compatible Yes

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.