Google Assistant: How to control HA form my phone's Google Assistant

Google Assistant only.
The other are completely separate.

Follow instructions here and when complete it will just work. It looks daunting but much easier than it seems.

1 Like

hi tmjpugh,

thanks for you’re response.

Thus, if I understand correct, I can install the Google Assistance App in HassIO and ignore the setup of a Microphone and Speaker, correct?

Then follow the documentation under the link you provided, correct?

Thanks in advance,
Regards,
Dieter

No.
Follow instructions at link and done. Google Assistant will controller Compatible HA entity and can report state.

how can i install gactions on my rapsberry pi? :frowning:

Just place in the config folder. It is used for one time setup only I believe.
project.json goes in same folder

gonna point you to this thread as well. A lot of questions are answered here already and more people there to assist with specific OS/Config

1 Like

now the “chmod +x gactions” command does not do anything.
nor the command listed in the other tread “sudo chmod +x ./gactions”
:frowning:

chmod does not DO anything you will see.
It makes file executable on system so gactions program can run
if you dont get error, likely worked

type “ls -all”
should show file as -rwxr-xr-x or similar
x is executable ( i believe…always forget this but should be x’s)

Hi, I’ve run through the comprehensive setup for Google Assistant as outlined in the component documentation. Everything seemed to setup correctly without error. But when i ask the Google Home to ‘turn on the Kitchen light’ it just says that a kitchen light is not setup yet and to go to the Home app to configure. Everything seems fine within the app so I’m not sure how to progress troubleshooting whats wrong. Any suggestions?

Does the app show a light called “Kitchen Light” or any lights assigned to the “Kitchen” room?

Yeah, under the HASS device in Home Control it has identified the HASS light ‘Kitchen’ which i have assigned to room Kitchen. I have also assigned other HASS lights that were identified to their specific room with in the Google Home app.

Try “Turn on the kitchen lights” plural see if that does anything.

Yeah I tried that too, unfortunately it just says i haven’t configured any lights for that room. I also have a HASS controlled light in my Living Room which is also associated with the Living Room’ room entity under Home Control. It also doesn’t recognise “Turn on the Living Room light/s”.

Everything looks correct, i must just be saying it incorrectly. If i have a light called ‘Kitchen’ I would just say “Hey Google, turn on Kitchen light” or “Hey Google, turn on Kitchen”? I’ve tried both and neither work :frowning:

Sounds like something isn’t linked properly then. Have you tried unlinking and relinking?

Yeah tried that a few times now. Do i have to start by saying “Hey Google, Talk to <project_id>”?

you shouldn’t have to say ‘talk to project…’ or anything like that. Is the light just called ‘kitchen’ in Hass? or ‘kitchen light’. If you say ‘hey google, turn on the kitchen light’ it will be looking for a Hass entity called ‘kitchen light’, not just a light in the room called kitchen…if that makes sense. You don’t need to allocate the Hass devices to rooms within the Google Home app either. I didn’t bother. I have a light in my kitchen controlled by Hass which I called ‘kitchen light’ (as the Hass entity) so when I say the phase as I mentioned before, it simply works.

Yeah that makes sense thanks, i’ll have a bit more of a play around with it tonight and see how i go :slight_smile:

Is there going to be a point in the future when HASS can be potentially added as an officially supported device by Google Home?

Try “Turn ON Kitchen”

It identifies by name not type(light, switch, cover) so if it shows as kitchen in app and you say “turn on kitchen light” it won’t work since there is no “kitchen light” only “kitchen”.

Also
Try “Turn Kitchen ON”

Ok, so it turns out it all works great if i use the Google Assistant on my phone but not via the Google Home Mini. Not sure whats going on, both my phone and the home mini are connected to my gmail account. I’ve rebooted the mini and it still doesnt understand the commands. The mini is definitely connected to the same account cause i can see the failed voice command attempts via my account google home history.

Does anything show up in the HASS log?