Sonos `announce` feature doesn't play


I am trying to configure announcements on Sonos speakers - specifically a Sonos Ray.

I am using the following service call:

service: media_player.play_media
  entity_id: media_player.bedroom
  media_content_id: >
  media_content_type: "music"
  announce: true
    volume: 20

And nothing happens. However when I remove announce: true, the file plays back fine.

The speaker has S2 firmware, and is on the same network as HA with no firewall that would interfere.

I know that I can instead snapshot, play media, and restore but I would rather get the overlaid audio working. It seems from reading around that others have had success but I can’t see where I am going wrong.

Has anyone had experience with this?

Core: 2024.5.3
Supervisor: 2024.05.1
OS: 12.0
Frontend: 20240501.1


This works for me:

  - service: media_player.play_media
      announce: true
      media_content_type: music
      media_content_id: http://homeassistant.local:8123/local/sounds/bathroom_window.mp3
        volume: 50
    enabled: true

Take a look at this post. The user experienced a problem with using announce in the recent release and has a work around. Check to see if you have the same issue.

What version are you running and which Sonos devices?

I don’t seem to get any response unless I remove announce: true. Otherwise the audio plays fine.

Thanks, unfortunately, that doesn’t fix anything for me.

  • Core 2024.4.4
  • Supervisor 2024.05.1
  • Operating System 12.3
  • Frontend 20240404.2

The speakers are all Sonos Play:1 - quite old now.

You tried changing it to something like this?


I have tried playing from ‘media’ but an using a file served over basic HTTP. Neither is working unless I disable ‘announce’.

Which firmware version? The latest one is 16.2.

That’s the one that was released for use with the latest version of the Sonos app (version 80, the half-baked one that’s laggy and missing features and downvoted into oblivion in both app stores).

1 Like

Honestly, not sure how to check in the app, I cannot see anything in the system pages in the new or old app.

I’d presume the latest as it arrived on the launch day of the new app and an update was required as part of the setup.

A little upset with my choice to re-buy into Sonos at the moment. It doesn’t work with Qobuz very well, so I’ve sideloaded the old app onto my phone - until that stops working anyway.

In Home Assistant, go to Settings → Devices, pick one of your Sonos speakers and its firmware version will be displayed in the Device Info section at the top of the page.

" Playing audio using the announce option or TTS requires TCP port 1443 on each Sonos device to be reachable from the Home Assistant host."

Perhaps a firewall problem.