The IP address is correct. I have this in an automation:
service: rest_command.rhasspy_speak
data:
payload_template: >-
Today is {{ now().strftime("%A") }} the {{ now().strftime("%-d")}} {{
now().strftime("%B") }} {{ now().strftime("%y") }}
The action is triggered by a rhasspy sentence and produces this trace:
Executed: July 14, 2022 at 17:49:53
Result:
params:
domain: rest_command
service: rhasspy_speak
service_data:
payload_template: Today is Thursday the 14 July 2022
target: {}
running_script: false
limit: 10
The trace shows that the payload was sent to rhasspy, but the payload is not spoken by rhasspy. If I paste the payload into the NanoTTS Speak field, rhasspy will say the sentence. Where is this going wrong? Thanks for any help.
Why don’t you try and see if just text will work? The rest_command I showed you is what I have in my HA (with my IP obviously). My URL and method don’t have any quotes. Also, long shot, but I’ve had issues with quotes copied and pasted from the internet. Might want to check to make sure the single quotes are indeed single quotes.