Hi! I have search the community but I can’t tts to google home and google home mini. When i try to send a text to my devices it’s react but I don’t hear any sound but In the folder tts mp3 files is saved. This is my config for tts and i have tried port 443 and 8123 with no luck.
http:
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
base_url: myorg.org
ssl_certificate: /etc/letsencrypt/live/myorg.org/fullchain.pem
ssl_key: /etc/letsencrypt/live/myorg.org/privkey.pem
# Text to speech
tts:
- platform: google_translate
service_name: google_say
Ok, I am pretty much lost here to get this working…
I have nat loopback - but I installed dnsmasq (that is working)
I have tried with adding the base url
I am almost certain I have all ports forwarded
Just cant hear the TTS
I hear the chime that rings if you wake up the device, but it just cant find the mp3 file.
so you know that the mp3 files are ok, and thus the tts part works - just not playing the file on a home device.
is there anything in the logfiles once you try a speech? On my install (ubuntu + virtenv python), I get the standard home_assistant.log plus additional messages to /var/syslog…
I am using tts.google_translate_say - but it is not working.
I have NAT Loopback, but I have successfully installed DNSMasq (other devices are working)
Reading in other treads and from input from a collegue,
I have installed a webserver and with link to the file location.
Now my files are accessible via http://xxx.xxx.x.xxx:21500/file-name.mp4
Register a DuckDNS domain and set it to the local IP address of your HA server. Use that domain as your base_url under the tts config entry.
The Google Home Mini is hard-coded to use Google’s DNS servers. Google’s DNS servers will look up the IP associated with your DuckDNS domain and get a local IP address in return and give that to the Google Home Mini. The Google Home Mini can now find your HA server locally (which it needs to do to find the tts mp3 files).