Selora Homes Selora Homes Academy

Audio in Home Assistant

10 min

You will be able to

  • Add Sonos and WiiM to Home Assistant through the right integration
  • Use the zones for announcements and grouping
  • Work through a zone that's missing or slow to update

With every zone playing from the app, Home Assistant usually finds the system on its own. Each zone becomes a media player: the entity that automations play to, group, and announce through.

Sonos

Sonos speakers show up under Discovered in Devices & Services: confirm once, and every zone comes in, named as in the Sonos app. No password: the Sonos integration talks to the speakers on the local network.

The speakers also talk back, which is what keeps Home Assistant up to date the moment someone presses pause:

  • Each speaker sends its updates to Home Assistant on TCP port 1400. Blocked, the integration falls back to polling, and Home Assistant lags behind the room.
  • Announcements need TCP port 1443 on each speaker, the other way.

On a home network with the Hub on the same network as the speakers, neither needs any setting. They matter when a firewall or VLAN sits in between.

Check yourself Single answer

Adding Sonos to Home Assistant fails with a 403 error. The speakers play fine from the app. What do you change?

Not graded: try as often as you like.

WiiM

A WiiM device is found by four integrations at once: WiiM, LinkPlay, Google Cast and DLNA, because it speaks all their protocols. Add it under WiiM only, and ignore the other discoveries. Each one you accept adds a second media player for the same device, and automations end up split between them.

The WiiM integration is new (Home Assistant 2026.4), and some guides still say LinkPlay. Use WiiM. Like Sonos, the device sends its updates back, so Home Assistant needs a correct internal URL (Settings › System › Network) that the device can reach.

What the homeowner gets

  • Announcements. "The washing machine is done" plays over the music, which drops in volume and comes back after. On Sonos, that's media_player.play_media with announce: true.
  • Grouping. media_player.join puts zones together, as the app does: "music everywhere" is one action. Sonos groups with Sonos, WiiM with WiiM.
  • Scenes. A "dinner" scene can start a playlist in the kitchen at a low volume, along with the lights.
Check yourself Single answer

After adding a WiiM Amp, Home Assistant shows three media players for the living room. Why?

Not graded: try as often as you like.

A zone that's missing or slow

From the most likely cause:

  1. It's on another network: the guest network, or a VLAN the Hub isn't on. Discovery doesn't cross networks.
  2. Its address changed. Check the reservation.
  3. For Sonos, UPnP is off: adding it fails with a 403.
  4. Updates arrive late: something blocks the speakers from reaching Home Assistant (port 1400 for Sonos, the internal URL for WiiM).

Go further on selorahomes.com

What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.

This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.