Hello. I have read the documentation and 1000 posts but tts on google mini does not work.
I set up an automation to give an alarm. When it clicks I hear a sound on GM but no words.
HA (version 0.92) runs on Raspbian (stretch).
This is the section in configuration.yaml.
whitelist_external_dirs:
- /home/homeassistant/.homeassistant/www
- /home/homeassistant/.homeassistant/tts
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
api_password: !secret http_password
ssl_certificate: /home/homeassistant/dehydrated/certs/mydomain.duckdns.org/fullchain.pem
ssl_key: /home/homeassistant/dehydrated/certs/mydomain.duckdns.org/privkey.pem
base_url: https://mydomain.duckdns.org:8123
duckdns:
domain: mydomain.duckdns.org
access_token: mytoken
# Text to speech
tts:
- platform: google
language: 'it'
cache: true
cache_dir: /tmp/tts
time_memory: 300
base_url: https://mydomain.duckdns.org:8123
Hi. I have also tried to replace the platform as you say but the configuration is not validated by HA. It tells me that the google_translate platform does not exist. Yet the official documentation indicates precisely that. Will it be the version of HA? however I will try your suggestion. Thank you
I had also read that page, but by replacing the platform it was not recognized. I will try the substitution more carefully. In other posts other users charged the problem either to the expiration of the certificate or to the resolution of the IP address of my HA.
Thanks