Setting up Google Actions for Assistant

Setting up multiple lights in one room

Just wanted to post this in case anyone else is trying to figure this out.
I have two lights controlled by a Broadlink TC2 in my kitchen, one light over the sink/cooker and the other over the dining table. I wanted to be able to control them individually as well as a group.
eg

Hey Google turn on/off the sink light
Hey Google turn on/off the diner light
Hey Google turn off/on all the Kitchen lights

So I used the nickname feature in Google Home App to name each light , one called Sink and one called Diner and placed them both into the same room “Kitchen” . This seems to work well. you dont need to have “light” in the nickname

I’m sure one can do this in HA but I havent played with groups and scripts yet in HA

1 Like

Hi how have you gotten project 2 to work. I can’t seem to figure out how to get my Dialogflow project onto my google Assistant can you point me ind right direction???

I have the same issue, it seems like a merged PR will fix it in the next release.

Any solution for update the devices in the home control other than unlink and link again?
This is deleting all the nicknames and rooms every time i want to add devices

Good question. At least a workaround is to add the nicknames already in Hass customize section.
For Rooms I don’t know if that’s possible.

Hi,

I used this https://home-assistant.io/components/dialogflow/ and this Need help with API.AI to set up Dialogflow by itself. I think I had to use https://myhome.duckdns.org/api/apiai?api_password=HA_PASSWORD instead of https://myhome.duckdns.org/api/dialogflow?api_password=HA_PASSWORD though. You can then test if Dialogflow can connect with your HA.

Then the next step is to connect Dialogflow with Google actions and for that you can have a look at https://dialogflow.com/docs/integrations/google-assistant and https://developers.google.com/actions/dialogflow/first-app

Hope that helps!

still, what more can i test?

I keep getting the ‘Something went wrong. Try again.’ error message for the last step of setting everything up (adding my project in the Assistant app).

I’ve set everything up in Home Assistant, console.actions.google.com etc. and everything seems fine.

But every time I add the project in the Assistant app > Settings > Home Control > Add Device it goes to my DuckDNS url, oath etc. then back to Devices, the circular loading thing spins for a while then shows the ‘Something went wrong. Try again.’ error message, like mp3llll’s above.

I’ve double checked everything, tried adding my project on WiFi, mobile data etc. but still no luck.

Anyone know why it’s failing at the last hurdle, and how to fix this?

ive also tried everything in this thread and others, but am still getting the “couldnt update the setting, check your connection issue.”

here´s my client id I´ve put the same one in my yaml config but still I´m gettinh invalid client Id after trying to click in home control

I’ve managed to solve the problem of ‘Something went wrong. Try again.’ when trying to connect my project in the Assistant app.

I added this to Home Assistant’s configuration.yaml

expose_by_default: false


After restarting Home Assistant some entities showed up in the Assistant app. So it must have successfully connected in the past, but I have a ‘lot going on’ in Home Assistant which was probably too much for the Assistant app to handle.

I’m now adding ‘google_assistant: true’ to scripts, scenes etc. so that only those show up in Home Assistant rather than everything :slightly_smiling_face:

Okay so i got the whole device control thing through google assistant in my first try and worked pretty well.
Then i went on to make home assistant chatbot for google assistant that would get information from home assistant which worked out as well as you can see here https://youtu.be/k6tlKCK2Ssk
Now these are two different projects in the gactions console and inorder for them to work you need to press the test button which uploads it to the servers and makes it available on your google account and the problem i am facing is that only one of them an be uploaded to the severs (with the test button) at a time,
Is there any way i could just add the dialogflow part in to home control project used for controling home assistant?

So I see that https://github.com/home-assistant/home-assistant/pull/10165 has now been merged? Does this mean we can now refresh? What steps do we need to do in the App to refresh? I still only see the unlink option.

It will be available in the next release.

1 Like

did you solve?

WHich error you get?

was it giving you succesfully linked (even if it was not linking?)

Anyone know if the new “Implicit discovery” feature announced by Google will improve the integration with HASS, or is it not relevant?

I received that too, after a second try, it says SUCCESSFUL LINKED, but it will not look link anything

can I use it now, or is not possible?

Will this REFRESH add new devices, and before do a “forget devices”?

I ask this because I have a weird problem, and I am not the only one. If I unlink and relink GH will add ONLY new devices, and the OLD devices (previously linked) will not be added anymore; hence they DISAPPEAR, and cannot be called. The only way to have them back is by renaming the entity ID or adding aliases (ALL THE TIME A NEW ALIAS).