TTS and media stopped working on Nest Audio Speaker, works fine on other Google Cast devices

I’ve been able to play media and TTS through Google Cast devices for a long time, but sometime in the last week or two it stopped working on just one device, a Nest Audio Speaker, even though I’ve made no changes on my end. My other Google Cast devices work fine.

A Reddit user experienced a similar issue and it seemed to have to do with his network setup: https://www.reddit.com/r/homeassistant/comments/1e1nzqv/play_media_to_google_nest_audio/

I’ve experimented with all the integrations that seem relevant, and they all exhibit the same symptom: the Nest Audio Speaker makes a notification sound, and nothing else.

I am using a self-signed certificate for my HA instance, but I’m not sure how that would lead to the symptoms I’m observing. I am connected to Nabu Casa.

Integrations I’ve tried, all of which exhibit the same behavior (works on Google Cast devices other than the Google Nest Audio)

  • tts.google_translate_say
  • tts.speak using tts.google_cloud
  • tts.speak using tts.home_assistant_cloud
  • tts.cloud_say
  • google_assistant_sdk.send_text_command
  • media_play.play_media

Ideas on how to diagnose / fix?

Check your logs, if i had to guess the self signed certificate is causing issues. It would probably show an error as unreachable.

Google devices are hard coded to use 8.8.8.8 and 8.8.4.4 regardless.

Same here with nabucasa cloud tts. All my other google nest audio work fine. Don t understand what happen…

See that in my log :

Enregistreur: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:405
intégration: Google Cast (documentation, problèmes)
S'est produit pour la première fois: 12:13:10 (1 occurrences)
Dernier enregistrement: 12:13:10

Failed to cast media http://192.168.1.41:8123/api/tts_proxy/0b1ab1b10b35959a150acb914ecf991bde23173e_fr-fr_e43c31a13b_cloud.mp3 from internal_url (http://192.168.1.41:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

Same issue here, on two nest minis. Connected with nabu casa and have tried unplugging and reconnecting power to the minis. Tried changing ‘local network’ under network settings to/from auto to a fixed ip adress.

The only thing I know thats changed on my end since it stopped working is updating music assistant and installing latest two HA versions 2024.9.1 and 2024.9.2.

Same for me. It seems to be since 2024.9.1
I don t see any git issue. Have you found it ?

You can fix this by intercepting google dns and redirecting it to something else, like a local DNS.

There’s a git issue filed about this: Media playback suddenly stopped working · Issue #125545 · home-assistant/core (github.com)

I noticed my TTS wasn’t working after upgrading to 2024.9.2 but I just ignored it because I noticed at night and I was tired. I just went to test it out now (the next day) and at first, my TTS script I had didn’t work, but then I went in to devices, found the media player I was trying to use and noticed it was “off”. I used the power button in HA and turned it on, then tried my TTS script and it worked.

Either the media player needs to be “on” before TTS will get passed to it now, or it was something temporary and resolved itself (or maybe it was a one-time state that fixed itself when I turned it on manually). I did tweak my script so it checks the media player state first and will turn it on before trying to send TTS.

Unlike others mentioning they’re getting errors, I had no errors recorded at all - it would set the volume and I’d hear a little boop, but nothing would be said afterwards.

It ok this morning.

Mine stopped working on Monday (Sep 16th).

Edit: I set up Music Assistant as a workaround and changed everything to use the same Nest Mini exposed by MA as an entity in HA.

Odd that this is an ‘issue’ now when this issue has been going on for years.

1 Like

Yeah, but it’s on & off, or, up & down, or…
You get the picture :slight_smile:
Seems to me that the tts part is working, on my end at least. Eg. generating.
But the “unknown, no id3” .mp3 file resulting, is thrown away by MA, somehow.
The “turn-on-before-play” work around stopped working for me for a month or 2.
It was my last solution, now it seems harder to work around.

Again. It all comes down to DNS, Google Devices, and Home Assistant.

Drop the Google DNS to something else (Preferably local) and you’ll never have these issue.

This a 3-4+ year old issue. Has been going on for a while. The immediate option to fix was to move to Nabu Casa and yadda yadda. Sorry, fix it at the source. Drop Google DNS and redirect elsewhere. I can almost guarantee with 99.99% certainity your issue will fix.

But, take what I say with a grain of salt. I am but a mere early HA adopter, owner of the very first run HA shirts, and around before CSS and Lovelace was ever a thing.

YMMV