I had no idea Home Assistant and Sonos could work this well together


I’ve owned Sonos speakers for several years and lived through the horror of the Sonos app overhaul. I’ve used Home Assistant for a similar length of time, and I only just realized how well the two work together.

Three smart speakers with some collected data around them


These Smart Speaker Brands Collect Minimal Data

Google and Amazon already know enough about you.

What Home Assistant exposes for Sonos speakers

Easier control than using the app

Sonos Move 2 sitting next to the Move 1
Original Move speaker (left) in black and new Move 2 in Olive
Credit: Tyler Hayes / How-To Geek

I’ve had the Sonos integration installed in Home Assistant for as long as I can remember. I knew that it was exposing my Sonos speakers as media players, but I hadn’t looked any closer at what else was exposed. This is one of the problems with Home Assistant; there’s so much that it can do that you often install an integration and then completely forget to do anything with it, as you’re busy using some of the other integrations you installed at the same time.

It was only recently that I spotted the Sonos integration in my list and had a closer look at what entities and controls it exposed. There was a lot more than I expected.

You get number, select, or switch entities to control bass, treble, loudness, crossfade, alarms, the status light, and touch controls. There are also actions for playing music, getting the current queue, joining speaker groups, and more.

If you have Sonos home theater devices, there are extra controls for things such as Night Sound, Speech Enhancement, Surround Level, and Audio Delay. Using Home Assistant to change some of these Sonos settings is far easier than diving into the official app.

TTS announcements that don’t break the flow

Please don’t stop the music

One of the best features of the Sonos integration is something that I was completely unaware of. Since the Sonos speakers are exposed as media players, I’ve been using them for a long time as a way to play audio announcements.

Reading through the integration documentation, I discovered that there was a very useful argument called announce. By setting announce to true, when you send a text-to-speech (TTS) or audio file to the Sonos while music is playing, it doesn’t stop the music. Instead, it lowers the volume and plays the announcement over the top, so that the music isn’t interrupted.

There’s also a sonos.snapshot action that you can use to capture what is currently playing on the Sonos speaker. You can then pause the music to make announcements and resume from the same place using the sonos.restore action.

Music Assistant makes Sonos speakers even better

Play music from any source

The Home Screen of Music Assistant on an iPhone. Credit: Adam Davidson/How-To Geek

I’ve been using Music Assistant for a while as my main method of playing music in my home. It’s a great way to access all of my music, including music from streaming services such as Spotify and Apple Music, as well as music I have stored locally. There’s a Sonos player provider that lets you stream music from Music Assistant to Sonos speakers.

Sonos speakers are auto-detected by Music Assistant, so it’s easy to add them. If you have multiple Sonos speakers, you can group them and have them all play the same music in sync.

What’s great about Music Assistant is that I can access music from all of my sources, including my local music files, and easily transfer music from one speaker to another. I don’t have to wade through the Sonos app to find the music I want to play; I can control everything from Music Assistant without touching the Sonos app at all.

Creating automations with Sonos speakers

There’s a lot you can do

Sonos Era 300 in white sitting on a shelf next to a record player. Credit: Tyler Hayes / How-To Geek

One of the best things about using Home Assistant with Sonos speakers is that you can use them in automations. I’d already been using them for spoken announcements, but now I’ve been able to improve those announcements by having the music duck slightly when they’re played.

Combining the Sonos speakers, Music Assistant, and presence sensors, I can play music on the Sonos speaker in the dining room, then move to the living room, and have the music continue on the Sonos speaker in there, automatically turning off in the dining room. If I return to the dining room, the music stops playing in the living room and carries on in the dining room instead, making me feel like I’m living in the future.

I can also do things such as automatically lowering the volume after the kids have gone to bed, stopping the speakers when everyone has left the house, and having specific playlists start when we all sit down to eat in the dining room.


My Sonos speakers are more useful than ever

Home Assistant is so packed with features that it’s easy to miss some of the best features of integrations that you already use. Discovering the capabilities of the Sonos integration that I’d been missing out on has made me want to take a closer look at some of the other integrations I’ve been using for years.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


The battle between AMD and NVIDIA rages on eternally, it seems, though it’s rather a one-sided battle in the desktop PC market, where NVIDIA holds something like 95%, and AMD most of what’s left apart from Intel’s (almost) 1%.

But as dominant and popular as NVIDIA is, AMD proponents could always raise the value argument. On a per-dollar basis, you get more value with an AMD card, and even better, you have the benefit of AMD “FineWine” which ensures your card will become even better with time.

What “FineWine” meant—and why it mattered

FineWine was something that AMD fans began to notice during the GCN (Graphics Core Next) architecture. Incidentally, the last AMD dedicated GPU I bought was the R9 390, which was of that lineage. Since then, all my AMD GPUs have been embedded in consoles or handheld PCs, but I digress.

The R9 390 is actually a good example of FineWine. Launched in 2015, like many AMD cards, the R9 390 had a rough start, and I sold mine in exchange for a stopgap card in the form of the RTX 2060, because I wanted to play Cyberpunk 2077 on PC, where it wasn’t broken the way it was on consoles. Even though, on paper, the raw power of the RTX 2060 wasn’t much more than a 390, the AMD card’s performance on my (then) 1080p monitor was a stuttery mess, whereas everything suddenly ran great on my 2060 the minute the AMD GPU was expunged from the system.

But, a decade later, that same game is perfectly playable on this card, as you can see in this TechLabUK video.

A lot of it is because the developers have kept patching and improving the game, but this is something you see across the board for AMD cards on various games. This is FineWine. Years later, with continued driver updates from AMD, the cards go from being a little worse than their NVIDIA equivalent at launch to being as good or even a little better in the long run.

Of course, that’s not super helpful to customers who buy hardware at launch, but it has given some AMD users computers with longer lifespans than you’d think, and made many used AMD cards an even better bargain.

Why AMD’s FineWine era worked

A bit of smoke and mirrors

The PULSE AMD Radeon RX 6800 XT next to an AMD RX 6600 XT Phantom Gaming D. Credit: Ismar Hrnjicevic / How-To Geek

FineWine wasn’t magic, of course. The phenomenon was the result of a mix of factors. AMD’s architectures were in some cases a little too forward-thinking for the APIs of the day. Massively parallel with a focus on compute, they’d only come into their own with DirectX 12 and more modern games. NVIDIA’s cards at the time were better optimized to run current games well. Over time, NVIDIA cards would make similar architectural changes, but with better timing.

The other reason FineWine was a thing came down to driver maturity. As a much smaller company with fewer resources, it seems that AMD had some trouble releasing cards with optimized drivers. So, over time, the card would start performing as intended.

In both cases, you could frame FineWine not as the card getting better, but rather getting “less worse” over time. If you set the bar low at launch, the only way is up. However, there’s a third factor to take into account as well. AMD dominates console gaming. The two major home console series have now run on AMD GPUs for two generations, and so games are developed with that hardware in mind. This also gives newer titles a bit of a leg up, though it’s hard to know exactly by how much.

How AMD moved on from FineWine

It seems worse, but it’s actually better

An AMD RX 9070 XT Gigabyte gaming graphics card. Credit: Ismar Hrnjicevic / How-To Geek

With the shift to RDNA architecture, AMD made a deliberate change in philosophy. Modern Radeon GPUs are designed to perform well right out of the gate. Reviews on day one are much closer to what you could expect years later. There are still decent gains to be had on RDNA cards with game-specific optimizations (Spider-Man on PC is a great example), but the golden age of FineWine seems to be in the past now.

That’s a good thing! Products should put their best foot forward on day one, so let’s not shed a tear for FineWine in that regard. So it’s not so much that AMD doesn’t care about improving the performance and stability of older cards over the years, it’s that the company is now better at its job, and so there’s less room for improvement.

Sapphire NITRO+ AMD Radeon RX 9070 XT GPU

Cooling Method

Air

GPU Speed

2520Mhz

The AMD Radeon RX 9070 XT from Sapphire features 16GB of DDR6 memory, two HDMI and two DisplayPorts, and an overengineered cooling setup that will keep the card cool and whisper quiet no matter the workload.


NVIDIA kept the idea—but changed the formula

It’s all about AI

It’s funny, but these days I think of NVIDIA cards as the ones with major longevity. Take the venerable GTX 1080 and 1080 Ti cards. These cards only lost game-ready driver support in 2025, which doesn’t immediately make them useless, it just means no more optimization for those chips. What an incredible run, getting a decade of relevant game performance from a GPU!

But, that’s not really NVIDIA’s take on FineWine. Instead, the company has taken to adding new and better features to its cards long after they’ve been launched. Starting with the 20-series, the presence of machine-learning hardware means that by improving the AI algorithms for technologies like DLSS, these cards have become more performant with better image quality over time.

While NVIDIA has made some features of its AI technology exclusive to each generation, so far all post 10-series GPUs benefit from every new generation of DLSS. Compare that to AMD which not only offers inferior versions of this new upscaling technology, but has locked the better, more usable versions to later cards, such as the case with FSR Redstone.


FineWine is an ethos, not a brand

In the case of my humble RTX 4060 laptop, the release of DLSS 4.5 has opened new possibilities, notably the ability to target a 4K output resolution, which was certainly not on the table when I first took this computer out of the box. We might not call it “FineWine,” but it sure smells like it to me!



Source link