VoiceRSS. Error "No TTS service can be found"

Hi everyone,

I am trying to get voice feedback on a Sonos One speaker for a rule which is powering on my coffee machine for either 90 or 180 minutes, depending on the action (triggered via button short vs. long press).

I have installed the VoiceRSS service. It shows up in the OH web interface. I tested the setup in th OH console and the voice prompts get played back well. However, when I trigger the say command from my rule, I get this error:

2024-07-24 12:02:28.933 [WARN ] [core.voice.internal.VoiceManagerImpl] - Error saying 'Espressomaschine für 90 Minuten eingeschaltet.': No TTS service can be found for voice sonos:One:kueche

This is my rule code:

rule "Espressotimer 90 On"
when
    Item TimerEspressoKurz received command ON
    then if
    (TimerEspressoBlock.state == OFF)
    {
    Smartplug_GF_Espresso.sendCommand(ON)
    logInfo("Espressomaschine", "Espressomaschine für 90 Min. eingeschaltet.")
    say ("Espressomaschine für 90 Minuten eingeschaltet.", "sonos:One:kueche")
    }
end

Any ideas why it works on the console but not from the rule? Did I do anything wrong? Did I miss a step in the OH setup process?

Best regards, Max

You used the wrong say method. The version you used waits for a voice as second parameter, not an audio sink.