Controlling Google Home With Home Assistant!

preview_player
Показать описание
A few years ago, I did a tutorial on how to link your Google Assistant to Home Assistant so that you can control devices connected to HA using Google Home. However, what if you wanted to do it the other way round and control your smart home devices that are only connected to your Google Home inside of Home Assistant? Thanks to a recent addition to Home Assistant 2023.1, you are now able to do just that & in this video, I show you how to set it up.

For the authorised redirect URI so you can copy & paste:

If you'd like to support me and future projects:

Patreon:

Links:

Home Assistant Release Notes:

Buy Me a Coffee:

Written Article:

EVERYWHERE YOU CAN FIND ME:
Everything Smart Home Community Discord:

#homeassistant #smarthome
________________________

Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!
Рекомендации по теме
Комментарии
Автор

Lewis, would you mind adding chapter markers? That helps people using this video as a reference how-to, rather than just watching once

Автор

Instructions have changed a little since this video was posted but overall I'm really thankful for this. Managed to get my new 'RainPoint Wi-Fi Automatic Watering System' for my indoor plants connected to Home Assistant!!!

For anyone else struggling with the services section under Developer Tools, I couldn't find that either but the 'Actions' option worked instead. Similarly when getting to the scripts section, when pressing 'Add Script', the layout is a bit different and you have to add the SDK text command first, then any further actions before saving and finally giving the script a name.

Now onto finding some moisture sensors so this can all be properly automated, a daily timer for watering will do for the moment :D

nocerame
Автор

I've been using the custom Assistant Relay integration for this job and it had been quite buggy for the last couple of months so I was very excited to see this integration being implemented.

tricky
Автор

You can also easily broadcast messages to all your google home speakers, as a sort of 'announce mode' without actually stopping the music or other media playing on those devices. Where the native Home Assistant casting option will always stop the current media playing on these devices.

robbebultynck
Автор

For that light switch example, you don't need to use the template button and two different scripts because you can just tell Google to toggle a light and that will turn it on or off depending on what the current state already is.

CoryAlbrecht
Автор

Was so pleased to see this become available, previously struggled to get the home assistant relay and others to work after the OAuth2 change.
I'm using this to turn off TVs with chromecasts connected. So when it's time to sleep I can silently tap a script instead of having to issue a voice command

paulcunningham
Автор

I literally setup it 1 hour ago and when I finished I got the notification for the new video. <3

Автор

Spent hours a couple of weeks ago trying to do exactly this. Finally found the repository for this and set it up. Would’ve been nice if this could’ve been released then. But better late than never. Great integration for my devices not compatible with HA

tvvill
Автор

2:47 that email address lolololololol. Nice one, Lewis!

BallsworthBallsbury
Автор

Thank you! I really have quite a few devices that were not picked up by Home Assistant and finally your video saved me and the lost devices! :-)

Your solution was successful and works for me, thank you again!

ElishaiPoran
Автор

So there is a workaround to getting state information from Google for some devices if you are syncing your Home assistant devices to Google home as well.
1. Create a template switch in home assistant and share it with Google home.
2. Using Google home routines, you can create a routine that Google's the template switch when a device is turned off or on. You may need to create 2 routines, one for on and one for off.
3. Send command through Google SDK as shown in video. The routine will now toggle the template switch.
4. Add to dashboard with action calling the a script instead of tooling the switch state.

StephenHale
Автор

Thanks you! I had a bit of trouble in Google Developer, but I was not copying the link you included in the description correctly, just typing it out by hand did the trick and everything works great! thank you!

marlerman
Автор

Yes! This is great for the new Roborock MaxV Ultra we picked up over the holidays. Was disappointed the HA integration required using the Xiaomi Home app instead of the standard Roborock app (which supports a lot more features). We were stuck only controlling the device with Google Assistant and Siri Shortcuts, but this new integration lets me easily send room clean commands via HA and integrate into all our other HA automations and scripts. Super useful.

EthanTripp
Автор

Perfect exactly what I needed ! I added this for sleeping sounds and my Keurig coffee maker that wasn't supported with home assistant....

frankraym
Автор

Thank you so much. By following the steps in the video, I can now control my boiler which doesn't support home assistant but supports Google Home.

wrathofthegravis
Автор

Thanks a mil..You saved me so much hassle and frustration with a automation. I have xiaomi bulbs that are not HA supported however show on Google home as devices. I was using alexa to call google and talk the automation. It was a hit and mis way of running the automation as google would not hear alexa correctly at times and google would then turn on or off all 65 bulbs in the home. Your guide here worked flawlessly .

SnowyPe
Автор

Awesome! Now I can finally play my morning weather report on my Sonos speakers. They kept dropping off with the Sonos integration, this seems loads more stable

marck_
Автор

This is awesome, thanks! When my litter box detects a pet just did their business and leaves litter scattered on the floor, ask roomba to clean a room or zone after a number of pet visits. This has been mind numbingly complicated with rest980, which irobot tends to break with firmware changes. You can't clean a zone or room locally with homeassistant's integration.

JscoLP
Автор

This is exactly what I needed! My professionally monitored alarm integrates with Google and I couldn’t figure out how to arm the alarm via HA automation. Thanks!

jonpferreira
Автор

Haha I just set this up last night before the video came out. 🤣

Thanks as always for the awesome and clearly relevant content. 😁 Love the idea of the script and template buttons

AhrenBaderJarvis