Google Home not linking

Hello,

I am having some trouble in the last step of home assistant wiki when trying to setup google home with HA.
I am in this last step:

Click the + sign, and near the bottom, you should have [test] your app name listed under ‘Add new.’ Selecting that should lead you to a browser to login your Home Assistant instance, then redirect back to a screen where you can set rooms for your devices or nicknames for your devices.

When I click that button to link my google action it says liked successfully but then it doesn’t prompt me the devices, and when clicking again the + button is seems not to be linked

Do you know if having ssl auto signed was working fine?
I was just trying with the following:
http:
ssl_certificate: /root/.homeassistant/certificate.pem
ssl_key: /root/.homeassistant/privkey.pem
in HA config with certificates being auto signed

And when I tried with reverse apache proxy with SSL autosigned also it tells me this other when trying to add it to home app:

https://prnt.sc/ngfu1s

So might think if SSL could be the problem.

Kind regards

Do you have entities exposed?

Hello,

Yes I have this config:

google_assistant:
project_id: home-assistant-238520
api_key: ****
exposed_domains:
- switch
- light
entity_config:
light.mqtt_light:
name: Luz
aliases:
- light
cover.mqtt_cover:
expose: false
room: livingroom
group.all_automations:
expose: false

Kind regards

Do we know if self signed SSL certificates are not gonna work with google or alexa?
Could that be the problem?

Kind regards

Hello,

I have finally added signed SSL certificate with let’s encrypt, and when I am redirected to login home assistant page from the app, it prompts me with the following error:

I also have a reverse apache proxy for this, and when being redirected from google home app and having that error, I am getting also this in my logs:

2019-04-25 00:38:03 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py”, line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File “aiohttp/_http_parser.pyx”, line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2019-04-25 00:38:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py”, line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File “aiohttp/_http_parser.pyx”, line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2019-04-25 00:38:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py”, line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File “aiohttp/_http_parser.pyx”, line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2019-04-25 00:38:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py”, line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File “aiohttp/_http_parser.pyx”, line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method

Does anyone know why it is not working?

Kind regards

Hello Guys,

No worries, it seems it is solved now :slight_smile:

Kind regards