TTS won't play on Sonos S1

Hi there,

Today’s project for me was to enable TTS because my wife keeps turning off a light switch I need to remain on. I’ve added the Google Translate TTS and it can play TTS files to my home cinema amp, but I want to send the TTS files to my Sonos S1 speakers (Play:1)

I’ve read that there may be some compatibility issues with the S1 speakers, but I don’t think I should be one of those from the looks of it.

There’s an error that comes up in the Sonos S1 app on my phone when I trigger a TTS from HA. This error says: “Unable to play ‘9e472f09082bb797429d07545c323836b7d175c0_en_-_tts.google_translate_en_co_uk.mp3’ - the connection to xxxxxx.duckdns.org:8123 was lost.” (where I’ve obfuscated my real home address to xxxxxx, clearly).

I run a split DNS at home so the URL listed is available both internally and externally, and it’s secured with a LetsEncrypt SSL certificate.

Any ideas on where i’m going wrong?

Post the complete error messsge.

As you’ll find in other topics, Sonos & LetsEncrypt & External URL don’t seem to mix:

And this post actually mentions a fix that I’ve now adopted as well, redirecting the external URL back to an internal one:

Just for completeness, I rebooted the Sonos the next day and it started working. The split DNS I mentioned should avoid any need for certificate-based failures as it resolves the same FQDN to the internal IP address when internal to the network. I’m also running NAT reflection on my firewall to do roughly the same thing so I think the error message was more of a misdirection than anything.