I’m a relative noob when it comes to rhasspy, as I only recently got it working to turn on a light switch. My next project is to try and get it to return some sort of value through tts to me when I ask for something (A value from a home assistant sensor). I have found a few things around the internet, and have made it almost to the finish line, with one more hurdle.
I have this for my command code, that I’m (for now) triggering manually through a home assistant automation.
rest_command:
rhasspy_speak:
url: 'http://10.77.77.11:12101/hermes/tts/say'
method: 'POST'
content_type: text/plain
payload: 'test'
I know this at least partially works, because it is able to communicate with Rhasspy, but only to tell it a command has happened. This is what is in my logs in Rhasspy.
[DEBUG:2022-06-29 00:30:06,985] rhasspyserver_hermes: Handling TtsSayFinished (topic=hermes/tts/sayFinished, id=e9f33930-3671-42cd-85ee-34beb6b32f29)
[DEBUG:2022-06-29 00:30:06,958] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/default/playBytes/b2b5f4f2-d45e-4ebf-821b-1be909504b56, id=e9f33930-3671-42cd-85ee-34beb6b32f29)
[DEBUG:2022-06-29 00:30:06,940] rhasspyserver_hermes: Publishing 125 bytes(s) to hermes/tts/say
[DEBUG:2022-06-29 00:30:06,940] rhasspyserver_hermes: -> TtsSay(text='', site_id='default', lang=None, id='b2b5f4f2-d45e-4ebf-821b-1be909504b56', session_id='', volume=1.0)
[DEBUG:2022-06-29 00:30:06,939] rhasspyserver_hermes: TTS timeout will be 30 second(s)
I mainly see this post most often Rhasspy demo with HassIO but have come across others that say to use /hermes/tts/say or whatever, but to no avail. Is it something simple that I’m missing? I can see the TtsSay is missing the text field, but I have no idea where I could get that from. Thanks for any help!