Google Assistant Component Issue

I feel like I must be missing something obvious here. I’ve gone through the instructions for setting up Google Assistant integration and everything appears to work until I go through the OAuth step. The Home app sees my Action, I can login to my HA system at the URL setup in the Action, but then it just redirects back to the Home app and no device setup happens.

My configuration entry:

google_assistant:
  project_id: XXXXXXXXXXX
  api_key: XXXXXXXXXXXX
  exposed_domains:
    - SWITCH
    - LIGHT

As I’m not getting any errors, I’m unsure where to start on the troubleshooting.

My HA system is exposed via a secure tunnel hosted on a Google Compute Engine instance which is running on port 8443. DNS/SSL is handled through Cloudflare which points to that tunnel instance and all traffic is then connected to the local system.

2 Likes

I am getting the exact same!
Tried following the guide several times to see if i missed something, (https://www.home-assistant.io/components/google_assistant/)

I don’t have any errors either. The app seems to successfully log on to my HA then only flashing by the device add page and then back to the google home app.

I am running HASSIO version 0.82.

I read somewhere that it could be related to ROOT CA. But in that case it said that the Let’s Encrypt Cert was OK to use.
My Cert looks like this:
DST Root CA X3
—Let’s Encrypt Authourity X3
—mydomain.com

The Certificate is created using Caddy proxy addon.

Can someone please help us with this issue??

1 Like

Same problem. No errors, it just won’t work.

I can see in the logs how Google accesses my HA and goes through the log-in process and then leaves without any errors.

Hass 0.82

Change the exposed domain names to lower case.

1 Like

Unfortunately, that won’t be the solution for me. I’m already using all lower case.

1 Like

The lowercase tip works for me! Thanks ALOT!

Are you sure? In your config entry above you show otherwise,
“- SWITCH”
has to be
“- switch”

etc…

Ah, my mistake, I misinterpreted “domain” and was thinking web domain. Will try that when I return home this evening.

1 Like

Thanks for the tip about lowercase, was driving me mad trying to get it to work!

Lowercase fixed. Thanks much.