Tsar
(Christian)
February 5, 2022, 7:52pm
1
Hello,
Sorry, new to this stuff…
I put this in my configuration.yaml file :
# Text to speech
tts:
- platform: google_translate
cache: true
cache_dir: /tmp/tts
time_memory: 300
base_url: https://xxx.duckdns.org/
service_name: google_say
But when trying this :
- service: tts.google_say
data:
entity_id: media_player.nest_hub_living
message: Hello everyone !
No sound…only a streaming icon on the screen.
Can someone help me out, please ?
Service name looks wrong;
service: tts.google_translate_say
data:
entity_id: media_player.floor
message: "May the force be with you."
Tsar
(Christian)
February 6, 2022, 7:45am
3
I don’t have that service available ?
Only these 2 :
You are right, you have overridden it under tts configuration as google_say, i missed it.
Tsar
(Christian)
February 6, 2022, 7:53am
5
Should I ommit it for playing on a google nest hub ?
No, it won’t cause an issue, you can keep it like that.
Can you also try to add language option to your service call? Example below;
service: tts.google_say
data:
entity_id: media_player.floor
message: "test message"
language: "en"
Tsar
(Christian)
February 6, 2022, 8:02am
7
No…
There just a text showing up (I cann’t read it, it’s too fast) and then the icon.
Sorry, i am out of options. Let’s hope someone elde with nest hub can help.
FPro
(Florian)
February 6, 2022, 9:08am
9
Look into the cache directory, if there are any files.
If so you probably have issues with casting.
If not you probably have issues with the TTS service.
Film the message to read it. It might have something useful to say
Tsar
(Christian)
February 7, 2022, 7:06am
10
FPro:
cache directory
I changed this :
cache_dir: /config/www/tts
Good tips !
When testing there is a file in this directory and on the screen apears shortly “Default media receiver afspelen” (playing on default receiver). I tried to play it on an audio chromecast I have here, but same thing.
Playing music on these devices works fine.