How to get TTS to work with Google Speakers?

I can’t get any of the TTS options to work with my Google nest speakers. I’ve tried Piper TTS, VoiceTTS and Mary, all of which have the same error, which leads me to think it’s a user error, but I’ve gone over and over the instructions so no idea what I’m doing wrong. Any help or ideas would be gratefully received!

I am using Windows 11 Desktop, and openHAB 4.2.2 on the UI version. I think those three TTS are the only ones that work on Windows and are free.

The error I’m receiving is that the speaker bleeps, but does not say anything. There are no errors in the logs.

I’ve been setting them up by, as it says in the documentation:

-installing them through the UI (and in Piper, downloading the voice separately)
-only for VoiceRSS, obtaining and testing the API key (it works)
-setting it as Default Text-to-Speech
-setting the voice chosen as default

then trying to use it, going to rules, selecting a trigger, then

Then → Add Action → Audio & Voice → Say something → Entering text, selecting voice and volume.

But whichever one I use, it only bleeps and doesn’t say anything.

My closest speaker is set as default audio anyway so I don’t understand why it won’t work. They seem to be set up correctly as I can do everything else on them.

It runs, it connects to the speaker, but it won’t speak. I see plenty of people using google nest speakers as audio sinks but none struggling with the same problem. Any help would be greatly appreciated, I’ve been stuck on this for ages!

Hello,

Sorry for the question, I don’t know the specific of nest speaker :
Which add-on is providing the sink you use ? Is it the chromecast addon ? And if so, what kind of Thing did you use as a target ? Audio device, or full fledged chromecast device ?

I don’t have a nest speaker, but I just tested the chromecast binding with piper and it works for me.

And also another test : can you test the Say action with another sink (the easiest to use is the webaudio sink, you just have to enable the option in the “about / help” section of the openHAB main gui, and you can then use your browser as an sink target by using “webaudio”)

Can you provide some openHAB log, in debug level if possible ?