Google TTS Stopped Working aagain

TTS was working fine however it stopped working.

I found this error when the automation runs:

Logger: homeassistant.components.automation.fridge_open_for_x_minutes
Source: helpers/
Integration: Automation (documentation, issues)
First occurred: 8:45:54 PM (3 occurrences)
Last logged: 8:48:31 PM

Fridge open for X minutes: Error executing script. Service not found for call_service at pos 2: Unable to find service tts.google_translate_say
Fridge open for X minutes: Error executing script. Invalid data for call_service at pos 2: required key not provided @ data['message']

This is my automation:

  - service: tts.google_say
      entity_id: media_player.all_the_speakers
      message: open fridge
mode: single

this is my config:

  - platform: google_translate
    base_url: https://MyExternalURL:8123
#    base_url: https://192.168.1.XX:8123
    cache: true
    cache_dir: /tmp/tts
    time_memory: 300
    service_name: google_say

The base_url: command is depreciated. Try adding the following to your config file;

internal_url: http://“your internal IP”:8123
external_url: https://“your Nabu Casa ID”

1 Like

Thanks for the tip. I did not realize that my internal_url was not set properly, but my external_url was. I do HA in a Docker container and this used to work fine. However, I am still having issues. My HA logs have Failed to determine cast type for host <unknown> (<urlopen error _ssl.c:1112: The handshake operation timed out>)

I think there is a real issue though with tts not working. The following issue is open on the HA GitHub.

My core is Core: 2022.5.4 FYI