Historically if you integrated Google Assistant with Home Assistant every time you asked "Hey Google, switch the light off" your Google device would do this:
"Hey Google" > Google Cloud > Public Internet > Home Assistant
We want it to do this:
"Hey Google" > Home Assistant
Assuming you already have the google_assistant: integration setup
- Open the project you created in the Actions on Google console.
- Click
Developon the top of the page, then clickActionslocated in the hamburger menu on the top left. - Upload
app.jsfrom here for both Node and Chrome by clicking theUpload Javascript filesbutton. - Add device scan configuration:
- Click
+ New scan configif no configuration exists - Select
MDNS - Set
MDNS service nameto_home-assistant._tcp.local - Click
Add field, then underSelect a fieldchooseName - Enter a new
Valuefield set to.*\._home-assistant\._tcp\.local - Check the box
Support local queryunderAdd capabilities. Saveyour changes.- Either wait for 30 minutes, or restart all your Google Assistant devices.
- Restart Home Assistant Core.
- With a Google Assistant device, try saying “OK Google, sync my devices.” This can be helpful to avoid issues, especially if you are enabling local fulfillment sometime after adding cloud Google Assistant support.
Alternatively, Home Assistant Cloud will configure this all for you automatically