Setting up Google Actions for Assistant

I had Google refusing to sync but still working, then yesterday I couldn’t make it work to control lights. Did the re-link gactions thing and no joy. In the end I unlinked it and then relinked the app and I was surprised that it retained the room accocations! And now it’s working.

Haven’t tried syncing again yet though until I get 0.63 (Hassio) as my Xiaomi switches aren’t working at the moment… When I added the app again in Google assistant they were still there as well. Maybe because it’s still configured in Google Assistant in config yaml file.

Hey how did you build that up? Any docs?

Looking for any alternative :slight_smile:

Ah scratch that - I had to reassign devices to rooms…

I’ll write something up soon and post back. Wasn’t sure anyone wanted one so didn’t do it yet.

Couldn’t update the setting. Check your connection.

here it still does not work.
already tried these solutions and none worked:

add :8123 at the the url
install a new navigator
delete and create a new project
client_id of all sizes and shapes

Hi guys!

I have set up the Google assistant component in Hass.io and everything is working fine, google can see and command my devices but I have a problem with my lg webos tv (media_player). Google sees it as a switch (as it should be) but when asking to set the volume (by asking to set the brightness) google says it doesn’t understand refusing to execute. Turning on/off works normally. If I set type: light in entity_config then it works as it should, but this way it can be turned on/off accidentally with the other lights in the room. Any idea what the problem might be?

To be able to set volume you need to expose the TV as a light - lights have on/off and brightness commands as they are dimmable. Switches only have on/off commands. So if your TV is exposed as a switch, then all you can do is turn it on and off.

In the component documentation page it says that switches can adjust volume too:
media_player = switch (on/off/set volume (brightness) )

From looking at smart_home.py it seems that it is implemented too.

@r4nd0mbr1ck - I’ve been getting a bunch of the same error in the cloud console log. the payload is SYNC: Request ID 000000000000 failed with code: OPEN_AUTH_FAILURE.

Did un-linking and re-linking the home control account fix it for you?

If it does fix the problem for me, it’s only for a few seconds. Then it comes back. If I ask google assistant to sync my devices, I get an error response and it logs the error.

same here, I asked google to sync via voice command through a google home and am getting the error response for my gactions project. everything else syncs (arlo, nest, etc) …is there a conflict having devices connected both ways?

Well hello everyone for those who are still facing this problem… I’ve figured what the real problem behind “Could not update the setting. Please check your connection” & “account link failed” is not the google assistant bug but one simple mistake

  • When you are trying to link your test app to the google assistant from your mobile make sure you switch to the account in “google assistant” and “google chrome” to the account from which you created the project in

  • For the guys who are facing “account link failed error” in the test app linking process its the problem with google chrome’s linked account not matching with the account you created project. Simple solution for this problem is to sign out from account linked in google chrome

If you follow the above steps im pretty sure it will solve your problem. well that how i solved mine Thankyou

unfortunately it’s not solving my problem.
I’ve got home mini, my google project/home account etc. are the same one and only gmail address that I use with google services, and even if I can unlink/link my hass.io installation without bigger problems (I need to change at least one alias for every switch/light/etc. so the google home app can see it), even if everything works (my home mini listens and GA is turning on/off certain things that I’m asking it for) I still can’t assign my devices to rooms… still getting “Could not update the setting. Please check your connection” error. this is killing me, especially that I’ve just ordered second google home mini to put it with other things, in other room.

FYI: using latest (0.65.5) hass.io on raspberry pi and duckdns.

any other ideas how in the world I can pass that issue and successfully assign rooms?

There is a Google Assistant problem at the moment…
Look Here

1 Like

whoa! that’s a good news I think :slight_smile: I was worried it’s something bad with my install.

and - as I saw the last post in given subreddit - it is started to work again. still gives me an error, but at least devices are assigned to the right room, so it’s good now. I can live with error notification if it’s working anyway :wink:

Hi every one.
Hoppefuly someone can help me with this lilttle issue of mine.

I have been trying to set up the google_assistant component and was quite successful but not completely.
The last step failed for me.
Steps that I hopefully have managed to complete correctly:

raspberry pi 3 is externally accessible with a hostname and SSL certificate, done via duck dns, via add on in hass
I linked my home assistant with google home in the developer console
I can access Settings > Home Control+ sign, and there I have my test your “app name”
Everything seams to be set up correctly, only it is not.
Once I tap on the test your app in the google home assistant app, where the google home should connect to home assistant, I get the following message:

This site can’t provide a secure connection
xxxxxxxx.duckdns.org sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
RELOAD

I know that my Pi is communicating with the google home app because in the lock from my home assistant I get the following message:
Error handling request
14:07 /usr/lib/python3.6/site-packages/aiohttp/web_protocol.py (ERROR)
Error handling request
14:07 /usr/lib/python3.6/site-packages/aiohttp/web_protocol.py (ERROR)
Error handling request
14:07 /usr/lib/python3.6/site-packages/aiohttp/web_protocol.py (ERROR)
Error handling request
14:07 /usr/lib/python3.6/site-packages/aiohttp/web_protocol.py (ERROR)

My configuration
raspberry pi 3
home assistant version 0,65.6
add on duck dns version 1.2
ssh server version 1.2

Any suggestion what might be wrong with it will be greatly appreciated.

Thank you in advance

Hi extremsx,

It sounds like you are using http instead of https in one of your configuration urls. If that is the case, SSL won’t work as you are defining an incorrect protocol.

E.g. “https://xxxxxxxx.duckdns.org” is correct.
http://xxxxxxxx.duckdns.org” and “xxxxxxxx.duckdns.org” may not work.

Hi FrikinImpossible

Thank you so much for your advice.
It has pointed me in the right direction and I could solve this issue.
You were right the problems were the http-https protocols.
The first point I was missing were these lines in my yalm file

http:
base_url: https://my-domain.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

Second
I had double entries in my google developer console https://http ://my-domain.duckdns.org:8123
It could not have worked, once I have cleared those double entries, everything started to work like a charm.

So once again thank you

Hi guys, I unlinked the Google Assistant test app from the Home control page, now I can’t see it in the list of the available apps anymore. Ideas?

I have had this happen a few times. I don’t have the ability to get to the page right now, but basically goto the Google project pages linked in the instructions then re-do the last step where you click “Test Draft” or something like that. Then it should show up in your Google Home app again. If not, restart your phone or force close the app first.

1 Like

Thanks it worked!