Easy setup guide for google home assistant device with hass.io (for beginners)

hi all,

sorry if this is already answered somewhere else, but i have not been able to find it.

Target:
I want to setup my home assistant so i can access it via a google home device (mini) to control lights and macros.

I also have a google home assistant that i have setup on a rpi2 that i would like to get working too, but first - i need it to work with the google home mini

My setup:
I have a fine working ha setup (hassio) with external access (via public ip and port forwarding) on a rpi.

i am trying to find a working guide. I have looked at this section:

but I stall at the first part where it says:
Note:
To use Google Assistant your Home Assistant configuration has to be externally accessible, with a hostname and SSL certificate. If you haven’t already configured that you should do so before continuing.

I don’t understand what exactly is needed here. I do have a public ip from which i can access my rpi via port forwarding. Is that the same as “externally accessible, with a hostname”?

And also i have not been able to find a guide to the “SSL certificate” part.

can somebody pls help or push me in the right direction with a link or two.

thanks
peter

You need to install a LetsEncrypt certificate. If youre running hassio you have probably done this if you have done what you describe. Are you using a duck dns IP address to access hassio externally?

Sounds to me like you are good to go.

hi David, thanks for your reply.

I have a fixed public IP and all i have done is to setup port forwarding in my router so i can access my home assistant when i am not at home.

I’ll try to follow this:

and get back.

thanks
/Peter

If you have external static IP, you only need install the LetsEncrypt addon to provide an SSL certificate.

I’m really interested in reading thru a step by step guide also for getting Google assistant to work. I’ve got the ssl cert working and can access my Hassio via https on duckdns. I’ve tried the hass.io add-on but just can’t get it to work. I’ve also got a rpi3 which as the voice phat from the AIY kit.

Perhaps you are looking for this:


It’s a component for Hass - not an add-on for hassio - it gets a bit confusing.

I’m stuck at the final hurdle, when i go into the google home app and add Home assistant, it doesnt display the auth page. do i need to open a port?

finally got HA to show up in my Home device list, but i cantg get it to link. I’m getting the ‘unable to update…’ error.

Success! Racked my brain and realised that I needed to add the :8123 port to my url in project.json since I’d changed it in the actions console. Let’s see what the next road block is!