Google TTS Problems

only removed two lines and replaced with one line…
but i see they already did a pull request and patched the entire gtt_token.py file

follow this link

remove the lines marked in red (-)
and add the lines marked on green (+)

3 Likes

interesting… I did as you suggested - still no go. This is on a fresh (1 day old) hass.io vmdk appliance v140 0.83.

I have an older Ubuntu vm with HA 82.1 - Google TTS works on it without any issues so far.

I need coffee… vicom, your link/instructions worked!!! thank you!!!

lol… happens to all of us… I’m busy upgrading to HA 0.83 will see if it still works

i did the patch on 0.83… working so far

I’m on 0.82.1, updated to gTTS-token-1.1.3 and TTS still not working. I’ve never ever had Google TTS work in Home Assistant, even when I was at version 0.5*.*. I’m tried to play TTS to Chromecast and a Google Home Mini, it’s just silent.

Edit, I decided to troubleshoot this and fixed this. I took the following steps:
1: Update gTTS-token (resolved the “AttributeError: ‘NoneType’ object has no attribute ‘group’” error)
2: Change base_url to remove trailing slash and port number (example: https://domain.com")
3: In case of my specific environment, I’m using split-brain DNS for https://domain.com so that the IP inside is a local reverse proxy and the external IP is on another reverse proxy). In my case, I am unable to access port 443 of my public IP which is what Google Home was trying to do. Why doesn’t it use internal DNS? Well its a known issue for Chromecasts so I decided to block Google Home from Google DNS and voila. After restarting it works. Alternatively if not using HTTPS internally, you can set base_url to an IP address to avoid DNS resolution.

It looks like version 0.83.1 has not updated bug fixes for TTS

It hasn’t, but there’s a pull request for it on Github: https://github.com/home-assistant/home-assistant/pull/18824.

So, I’m guessing that when everything goes well, it should be included in 0.83.2. Can’t say for sure though.

It is also working for me. Thank you!!

Same problem here (Spain) with Hassio 0.82.1 and 0.83.1

Now I am in the office. I try your solution when I get home.

It was driving me crazy. Thank you so much!!

Was this fix on a Hassio instance? Slightly lost as to how to apply it…

apparently fixed in 0.83.2

Confirmed. Fixed in 0.83.2

Not working in 0.83.2 for me

1 Like

Me too, it not working in 0.83.2 have just sound “beep”

1 Like

Working for me now in 83.2. I just had to add https:// to the base_url

1 Like

Experienced the same issue, updating to 0.83.2 resolved the issue for me as well. No need to add the https:// though.

Not working in 0.83.3 for me

I set up Google Home with Nabu Casa, with 0.83.3 working properly.

thanks,

i hope that this error will be fixed…