Hello everyone! I am new to HA and am currently leaving Fibaro which is stuck in the stone age with its outdated software.
A small problem has now arisen that I was wondering if you could help me with…
I have long used a TTS solution where I send my text to a Tablet with the following HTTP command:
“http://192.168.1.17:8080/tts=This is my TTS message&vol=10”
In configuration.yaml I have entered the following code:
----------------------------------------
rest_command:
tts_request:
url: "http://192.168.1.17:8080/tts="
----------------------------------------
And in automation.yaml I have the following code:
`----------------------------------------
- id: '1645281816449'
alias: My_TTS
description: Send a text string to my TTS tablet.
trigger:
- platform: time
at: '12:00'
condition: []
action:
- service: rest_command.tts_request
data: {}
mode: single
-----------------------------------------`
I notice that my tablet reacts (plays a sound) when the automation is triggered.
But how do I attach a text so that it can be read?
I’ve searched the forums and I’ve tried lots of code examples, but I’m not succeeding.
Probably it is very simple, so if someone can show me how to do it I would be very happy.