Google home mini as a local vui + home assistant

Hello

I’ve bought google home mini, and I wanted to integrate it as a Speech to Text/Voice User Interface for home assistant, of course I found the description of integration here:


But does it really apply to local device as google home mini ? This is a local device - do I need to have ha exposed to the internet to make use of those functionalities ?

you should be looking at the tts component. for voice control you need to expose ha to the internet or atleast use the cloud

1 Like

@lakime

Google text to speech is natively supported without exposing your HA instance to the Internet. Just use it in an automation like this:

  alias: 'Announce Doorbell'
  hide_entity: false
  trigger:
      platform: event
      event_type: xiaomi_aqara.click ## Requirement for xiaomi_aqara. added in 0.83.0 ##
      event_data:
        entity_id: binary_sensor.switch_doorbell ## binary_sensor.switch_158d0001562d98 ##
        click_type: single
  action:
    - service: tts.google_say
      entity_id:
        - media_player.kitchen_home
        - media_player.gaming_room_home
        - media_player.ensuite_speaker
      data_template:
        message: "Someone is at the front door"

Okay, but this is text to speech - It’s also cool but I would like to do it in opposite way, use google home mini to control components connected to HA

Look at this

I have created scenes exposed to GH that execute scipts on HA. So for example “hey google activate watch tv” start the script power on TV, Stereo, TV-box and set volume to a specific state.

When i say “hey google bedtime” the script bedtime activates and volume on stereo is decreased to min, TV, TV-box and stereo is shut down and all lights are turned off.

I’ve actually done what you want about a week ago. I started by following the official documentation which is located here (as has been said previously in this topic), but for some reason I couldn’t get it to work following those steps.

When I followed this guide everything worked perfectly afterwards. That guide describes both the cloud and free version (just like the Home Assistant documentation), I simply followed the steps for the non-cloud (free) version and everything worked immediately.