Google TTS with Ubiquity on different networks

Hi. I have setup Home Assistant with it being able to discover all the Google Hubs that i have available and was successfully able to bring them into my frontend. I get the box for tts but it does not work all i get is that hub coming active and no sound playing indefinitely.

I have a unifi system setup with home assistant on my primary network and all the google hubs on a vlan.

The below is from my config.yaml

tts:
   - platform: google_translate
     base_url: http://192.168.1.26:8123
     service_name: google_say
     cache: true

are there any specific ports that need to be opened. I have checked on this as much as possible but cannot find the right solution.

1 Like

I got mine to work by adding a firewall rule (LAN IN) to allow the google hub(s) to TCP port 8123 for my HomeAssistant IP address.

2 Likes

Wow so simple. It worked. Sometimes we just overthink simple stuff… thanks a lot.

Could you provide more details? I just got a UDM and followed some guides online for segmenting IoT networks on VLANS, but I’m having trouble applying what I’ve learned about firewalls for this.

Did your home assistant detect all the google devices?

Yes. I just have the one Google Nest Mini and HA sees it just fine. What I try to use tts the Mini plays the hub coming active sound you mentioned, but does not speak the text.

This is my firewall rule:

Update: I shotgunned a bunch of solutions and it is working now, but I think it’s most likely because I put it on the main network as opposed to the IoT VLAN. Mufidsyed, I appreciate you replying to this old thread! If you still have any insight for how to properly poke a hole in the firewall please do post. I would still like to not have this device on my main network. Thanks!

Its ok… for my setup I followed this video and then implemented this solution. hope this helps

Beautifully simple! I just began moving some of my Google Homes into a separate VLAN and ran into this exact issue. Added a simple Allow rule in SRM (Synology router) and stuff started flowing. Word to anyone doing this in SRM, and probably most firewalls, order of rules matter. My rule to deny all traffic from the VLAN to the primary network was above the new allow rule for port 8123 on my Home Assistant IP, which made the allow rule ineffective. Swapped the order and Home Assistant can TTS on my Google Homes =]