I just followed this tutorial to set it up. Some of the buttons on googles site have moved around a tiny bit like where to generate the key but I think the changes are logical and easy enough to figure out with no background in using these google tools. @@Spy653
Nice, detailed tutorial! Can you follow up with a step by step on how to enable "local fulfillment" in Assistant so commands can be routed from Home devices through local network, rather than through the cloud?
Thanks! I literally just left a comment wondering if the process was the same. Reverse proxying HA won't be that hard (I think) but connecting it to Google Assistant seemed like a pain. After watching this video, I'm confident I could do this in like an hour or two
It's worth mentioning that the exposed_domains setting (and a couple of others) in the home assistant config can be used to exclude certain devices from being exposed to google assistant. This is useful for devices that support google assistant control directly. For example Hue lights can be controlled directly from Google home, it's useful to still have the configured in home assistant for other purposes (eg routines & dashboards) but not have them duplicated in google home.
I'm having lots issues with stairs switch and colour lighting Bulbs, was informed to use Phillip Hue lighting but no clue on their setup at all I have always avoided there bulbs but maybe to resolve the switch on the stairs it might be worth investing in two of their bulbs if I could get them to work through Home Assistant, Goggle, Alexa, or Smartlife with Android Mobiles. I do not want any more than this as its confusing as it for a Diabetic to stay alive without more on top, Any further help will be much appreciated! thanks for me seeing this tip here now from you!
@@EverythingSmartHome finally got everything working after a faff regarding duck dns and my pf sense fire wall but house is finally online with google! brilliant guide nice one!
Awesome, glad it worked! If you need help in future feel free to hop into the discord and someone will help you out! Or of course if you just wanna hang out in general 😅
I got to the point where I open the Google Home app on my mobile device, add device, and see my project in the list. However, when I go to tap on it, I get a toast message that just says "Something went wrong." Any idea as to what might be happening here? Otherwise, super clear tutorial and appreciate you putting this together. Thanks!
great tutorial, followed your previous guide using cloudflare then this guide, initially it didn't work until I removed the port numbers when setting up Google. all working 100% now. thanks for your time and effort
Haha, same here. Only belatedly realizing that he can't have been using the Cloudflared config because this video was posted nearly two years ago (plus I'm pretty sure the Cloudflare tunnel implementation was different before March 2022). And here I am scratching my head, "why am I putting the ports in when I have a tunnel set up? Oh well, la di da!"
Great tutorial (I know you did this almost 2 years ago) and I was finally able to get it going. One quick thing, what's the best way to use SSL on Home assistant (running inside Docker) aside from using duckdns?
LOVE YOUR TUTORIALS!! Seriously I'm new to home assistant, and as someone who is technically literate, but not coding literate, your tutorials have been a life saver. Always VERY in depth and good explanations as to why were are doing something, but never TOO in depth as to scare you away from finishing. Plus his smooth Irish accent is always so reassuring haha jk!! The only thing I could be missing would be if you maybe included your key strokes on screen, as someone new to this may have missed a space here or there that would make this not work for 5 mins and make him start from the beginning thinking I missed a crucial step and making him want to defenestrate himself out of a window trying to figure out where he F****d up only to realize it was literally just a missing space in the config file or something like that. Not sure if that would ever happen to anyone.........
So needed this video! I have my Zigbee devices connected to a Smartthings hub which is connected to HA via the Smartthings ntegration. I've decided to connect my Zigbee devices via ZHA (with a Sonoff Dongle). I realised the devices connected to ZHA didn't appear on Google Home and I have a number of Google Hubs. This video saved the day. Thank you very much!
I think this technique doesnt work any more, I just went through the tutorial, enter my credentials into the link screen (home assistant login) then all i get is "could not reach test ****** please try again" not sure why if anybody has an idea
like the features, setup was difficult for some of my devices (August Door lock, ua-cam.com/users/postUgkxhB5YOMNj04GuoAosExygP4cH-dKeb4aB Bose speaker)... but all switches and outlets (5), thermostat, tankless water heater. Unfortunately all I can do is turn on/off Bose. It doesn't support volume or changing channels, but I believe that is due to the particular speaker I have.... Worth getting if you already have other devices to use it with... I don't sit around and ask Alexa questions much so that doesn't really matter to me....
This must be the best video I've ever seen about this topic! For the first time ever I can finally use Google Home to control Home Assistant! Thank you so much!
This worked perfectly. Some slight interfaces like the keys moving to a tab but pretty much the same as you demoed. Thank you so much stepping through this
You saved my life in 2022. It was a lot of time i was not understanding how to configure the voice command and just following this tutorial you made, you made my year. Thanks a lot 😁
Another great tutorial. thank you. how can one go the other way around to import google home "skills" into HA. I am not sure if you are familiar with Broadlink I have a Broadlink RM4 Pro controling few dumb devices using the broadlink native app and integreated with Google Home. I would like to import everything in HA without having it to relearn codes and just simply import them to HA?
Video worked perfectly! Thanks to much! Only have one annoyance, my Google Nest Mini now shows twice in the app, one locally from Google Home’s connection and one from it pulling from my HA’s list. Is there a way to hide certain devices from getting sent to Google, so that it only shows the local connection? Not assigning the speaker to my home doesn’t make it disappear, just has it sitting at the bottom saying it’s a linked device not in my home and I can’t remove it without unlinking everything.
It's worth mentioning that the exposed_domains setting (and a couple of others) in the home assistant config can be used to exclude certain devices from being exposed to google assistant. This is useful for devices that support google assistant control directly. For example Hue lights can be controlled directly from Google home, it's useful to still have the configured in home assistant for other purposes (eg routines & dashboards) but not have them duplicated in google home. - (comment from someone else)
One topic/issue I never was able to figure out and doesn't seem to be explained on the web: How to add multiple users to Google Nest and have these individual users connecting to Home Assistant through Google Home. Currently you can easily add users to your Google Home so they can talk and play music with they linked services (e;g Spotify, UA-cam, Netflix). However regarding the Home Assistant linked service, this is using the main user account. Meaning whenever another household user performs a command to turn on a light in the home, it is not the household user that is used to perform the action, but the main user is referenced in triggers, logbook entries, history, etc... Any idea if this can be fixed ?
Absolutely brilliant tutorial. Struggled to work out why I couldn't connect the home assistant integration to my Google Home - I had a firewall rule in Cloudflare blocking access to my domain from any country that is not the UK. I tried to then also allow the US, but Google Home doesn't actually report any country when it makes the connection, so I had to add a firewall rule to allow /api/google_assistant after getting the initial auth set up. Thanks again!
@@kimheymans6662 I'm no expert when it comes to Cloudflare, so use this at your own risk! Under my domain > Security > WAF, I have a single rule which is set up as follows: When ... Country does not equal United Kingdom AND URI Path does not equal /api/google_assistant AND URI Path does not contain /api/alexa/ AND URI Path does not contain /auth/ Then... BLOCK. The expression for this rule is: (ip.geoip.country ne "GB" and http.request.uri.path ne "/api/google_assistant" and not http.request.uri.path contains "/api/alexa/" and not http.request.uri.path contains "/auth/") As said though, I'm no expert, and would welcome anyone else with more experience to correct me if this is unsafe. I'd love to know how you got on though!
THANK YOU!, i have been trying to resolve an issue with adding HA to Google Home app for the past 24hrs. it turns out I too was blocking everything outside the UK on Cloudflare, I resolved the issue by allowing everything from googles ASN number (15169) through the WAF
@tomikohonen did you find it out? I have the same problem. But I think in my case it is due to not having https but http, but what do I need to do to get https... any idea anyone?
Great video! I just had one issue that I had to delete my port information in all the setup even though I am using 8123, maybe is my issue but that just solved it.
Hey man I also used port 8123, and it works but it doesnt show any devices of home assistant in google home, should I also remove all the port specifics in the setup of google?
I had the same issue. After removing the port info in the URLs, everything worked fine. Thanks for this great video! Without this I wouldn't be able to connect my nest mini to HA
Hi! I carefully followed all the steps you described in the video. However, when I select add device + works with google + test home assistant in the Google Home app, there was a problem. I get the error message 'Try again. Can you help me?
Same for me. It says "could not reach [test] Home Assistant. Please try again. I checked the auth URLs I entered, they are good, and my HA instance is reachable from outside my network in https. Edit : I had to remove port 8123 in the auth URLs, even if I am using duckdns ...
Same here. Apparently there are some added steps like adding a logo, description etc required by Google now. So this guide unfortunately won't work. I was up until 2 AM last Night trying to figure it out but so far no luck.
Works pretty good thanks. I was stuck at the JSON file part until I found your video. I have a question. I've setup a SONOFF solenoid to open/close my garage door. I have also attached a door sensor from AQARA so I can tell if the door is open or closed. In google assistant I have setup a routine so that I can say "Open the garage door" and it will interpret it as "turn the garage door on". So the solenoid is activated. How do I integrate the door position sensor so that the door will only open if it is sensed closed?
@@EverythingSmartHome Thanks I will give that a shot! Another question, now my lights are duplicated on google home. Both from the HUE connection and from HA that I just setup. Would you recommend keeping just the HA assistance or the HUE?
Unfortunately I'm getting an error when I want to integrate HA into GHome. "Could not reach [test]. Please try again. Having a day off tomorrow so I'll give it another try :) I noticed the layout of some website components have been changed, but not drasticly.
Thank you for your another great presentation. Unfortunately, I must have missed something here, since I get "Error: invalid client id or redirect url" in my iPhone. My homeassistant has working same internal/external url. (thanks to one of your your video). The fragment 4:31 was unclear for me. 'Client secret ' - what should be typed there?
Hello and thanks! Hmm that's a strange one, can you show me what you are using as a URL, make sure to remove your domain part. The client secret does not matter, enter anything you want
Great Tutorial!! I'm planning to setup Home Assistant instance behind HAProxy running on my PfSense firewall. Is it possible to integrate Google Home with Home Assistant behind PfSense's HAProxy? Thanks
perfect tutorial! but i did not follow your first recommendation to use the google account email address same as the google home. i have tried to add a new user to the project but did not succeeded to see the project in adding service in home app.. is there a way to add a new google account to the cloud project and have it working?
Followed along with the video and it worked the first time. Didn't understand ANYTHING within the cloud but it works lol. I did add port 443 just in case.
Following the steps.. immediately after project creation, there is "Conversational Actions have been sunset. Changes can't be made to any actions. You can still view the Actions for a limited time." Isn't this a problem ?
Awesome tutorial, but I'm rather stuck. @11:27. After selecting, I'm getting an error saying that it could not reach it. Just wondering what I might doing wrong? Thanks
Figured it out. I missed clicking on the test button @5.37. all is well now. A question please - can I select certain devices that I want Google assistant to see? Because I have nest thermostats, they're now showing twice in there.
everything was going flawless until 11:25 when u enter my credentials it just says "could not reach {test} google home please try again"....i have no idea what to do. i've checked for typo's everywhere. oh and i followed the duck DNS video. i have port 8123 and 433 pointed at the raspberry from the router and i have the same ports pointed from the modem to the router.
Nice tutorial! I'll keep using my cloud subscription though as I enjoy home assistant so much I want to support them. It's good that there's a free alternative as well though (as there should with an open source project like this)!
Thank you very ver much , I supported creators for a year but I needed to use the money to support others. Great video, a little fast and a lot of pauses to complete, google console has changed and I had some trouble finding the right options but in less than 30 minutes I got it to work.
Is it possible to get a robust voice assistant that can do everything a voice assistant needs to do, but without collecting all your data? Preferablyself hosted. Google voice assistant and Amazon echo are just sooo useful, but I don’t like that big data collecting corporations have such control and insight into my (smart)home. I’m sure if they wanted to (or had because government) they could listen to everything I say and probably also give commands to control the network. I’m not it’s happened before but I don’t want anyone to have that kind of control.
The Instructions worked great but I have one question. Is there a way to only sync some of my HA devices to Google Home? If I sync them all I end up with many duplicates and google doesn't know what device to control any longer.
I have got Google Working now thanks to your guide. Question: a toggle helper switch appears in Google Home but why not a momentary Button. Would be nice to have a Voice scene activator 🙏😊
Going to try this! Is there a video or a tutorial on simple command I can give to my Home Mini device that will start up a automation or scene? I'm newbie so an example how it works would be great 👍
Would really love to know if the new "local home SDK" would work with this? Google added local fulfillment to route smart home intents a while back. This removes the need to manage open ports or public routing of any kind.
I mention it in tomorrow's video :) do you have a source for it not needing open ports? I'd imagine you'd still have to do it for the initial connection etc
@@EverythingSmartHome from my understanding, that's the entire point of the local fulfillment SDK. It prevents the necessity to use hole punching, opening ports, and getting around firewalls. It works similar to a VPN where the locally hosted instance connects as a client and proxies Intent commands issued from the cloud. I've played around with their Nodejs examples and never had to do any of that. It worked but making it go further than the examples was a pain.
I tried linking to the source twice but seems to be getting flagged by UA-cam's algorithms. Let me know if you still need the source, but it can be found pretty easily in the "How it works" section of the SDK website.
Thank you so much, I can't tell you how many times i've tried to get tasmota/sonoff in home assistant tied to google home, this the ONLY video that explained it start to finish with ease and simplicity.......bring on the automations ;-)
Do you have any tutorial on enabling DialogFlow with Home Assistant? (so you can ask for example what is the tempeature in the kitchen and HA will send the answer to Google Assistant who will "speak" the answer to you. I've been struggling to enable that..
Hi, This is all new to me, and I have no programming skills at all. So this video is exactly what I need! However, I get stuck in the beginning. when I try to start a new project I cannot click START BUILDING. I only have the option to go to DEVELOPER CONSOLE. Any idea how I can get it fixed from there?
Fantastic Video! Made it so much easier. FYI, apparently now there is an additional ste under Google Actions where you need to add a description of the app, a logo for the app, your name and email, plus a privacy policy. There is a guide on the home assistant community if you google "can no longer link google assistant"
Lewis! You are Awesome as always! I had this already setup and working but had some minor errors I ignored in the logs. Followed your video and realized my mistakes and easily fixed them! Thanks Again!!
Great video! I noticed that not all my sensors are sent to GA, despite me specifically allowing "sensors" or the the actual sensor name with in entity config. What gives? Do I have to set up the sensor properly in HA? For the specific sensor I'm not seeing if from an MQTT broker. HA sees and logs the sensor no problem, but GA cannot see it.
Hi, thanks for another great video, got it up an running like a charm. I'm trying to capture all my automation logic in Node Red and was wondering if this could be used to trigger NR sequences?
Isn't there a way to do this "pairing" of Google Home to Home Assistante to be able to use commands over the Google Nest without having the Home Assistant instance outside of the local network only? Since the Google Devices are in the same network has the HA?
@Everything Smart Home, This tutorial is offcourse really really good... but I got a question... I also followed your cloudflare setup tutorial for access HASS without port forwarding and setup the tunnel.... when I try to add the project to google home it does not link me to my hass url and does not show up my credentials login page... Can you help me what I am doing wrong? Because if I type port 8123 in the account linking url's that does not work....
Hi Lewis, just followed this to setup Google Assistant with HA. In the google home app, I get as far as authorising OAUTH (it opens up my HA instance and ask for user credentials). I input user credentials and then, it says "linking your account" and then fails, with "unable to reach". Any ideas?
I could fix this issue with a fix of a typo in Action Console > Develp > Actions > Fulfillment URL > [domain]/api/google_assistant I was missing the underline between google and assistant. After that I had to change the name of the whole action, otherwise it was always using the old data. Hope this helps fixing the issue.
@@schi9207 ty for that suggestion it was the one thing I had not looked at yet. I had the video playing in the background and was not watching at that moment. phew. now to thin out the 10000 devices that got added to Google home.
Great video....as usual... followed all the steps, seemed to be going alright, just got stuck toward the end... @10:27, google home couldn't add the project. The created project is shown when setting up the device but it doesn't take me to home assistant login instance. Did I miss smth? Any pointers where I might have gone wrong? Thanks in advance!
It worked for me, I can see my Next Hub Max stream in HA, but it does not trigger the automation with the motion or person events! Where you able to make it work?
Hi, I successfully did the setup by following another tutorial a couple weeks ago. But since this week Google Home is not finding my devices anymore, because of some problem with the connection to Home Assistant. I tried doing the whole setup again on a different google account using this video, but I get a notification that "[Test] HomeAssistant" is not reachable after trying to add it as a device in the Google Home app. I double checked everything, from url's to login credentials, but nothing seems to work. I also disconnected the originally created connection ant tried to reconnect, but that gives me the same notification. I'm wondering if I'm the only one with this problem. If not, maybe something changed in the way it needs to be setup.
I'm getting "Error: Invalid client id" when trying to log in using Google Home @ 11:27 , tried following the steps two times, what could be the Problem? please Help
Love this video, it's how I set up my integration with Google Home. But now I am facing the fact I have exposed too many devices to Home, which causes my AdGuard to turn off when I tell google to turn everything off, but I can not find a way to remove individual devices? Is my only option to delete the complete integration and reconnect?
Why are all my speakers and speaker groups shown as "Digital Box"? Is there any way to control what devices are put through and also to define what kind of device it it? Cheers!
Another GREAT VIDEO -- added this to my new HA setup....but does not appear that I have have those lines in a separate .yaml file: 'google_assistant: ' project_id: {blanked} ' service_account: !include SERVICE_ACCOUNT.json ' report_state: true
Hi - I am unable to find nest mini even after following the instructions fully. Could you provide some hints on why it is happening? I am able to detect my Nest Mini from my phone but not through Home Assistant.
Hi, what a nice video and have followed all the steps. It sync'ed one time to my google home. But when i want to sync my devices I receive the following error from Home Assistant : "Failed to call service button. Unable to sync devices with resultcode 404. Check the logs for more. Also when i say to google nest "sync devices'the message will be reported that devices cannot be sync'ed. I have tried to make new projects, but with every attemp i get the same results. I have looked several forums but i cannot find the cause of the problem.
Apparently google has added a little splash sceen to the flow that happens before it calls your domain. In the Action console you need to provide: 'description of your app', 'logo image', 'your name and e-mail' and 'a link to a privacy policy'
Another great video Thankyou! do you know if there is a way for homeassistant actions to differ dependin on which Alexa/google assistant you are talking to. eg bedroom/livingroom
Another great no-nonsense tutorial. Question: When I completed this it populated Google Home with devices from HA. Home Assistant did not seem to get my devices that are only on Google Home(e.g. A GE Cync bulb that is supported by Google but unsupported by HA) . Am I correct that the population of devices only goes one way?
❓Great tutorial and works well. Question: If I deploy this, will it be available to anybody or will it only be available when logged it to my Google Home account?
I followed your steps and now see the device int he google home app. When I select it, instead of home screen, it returns the 404. And yes, HA is accessible via https outside the network.
It works, great! Other UA-cam tutorials didn't work in the past. There is some way to make it recognize even "ping" entities in HA (to ask for their state)? Or trigger the actions of the Broadlink RM integration I made via HA?
@@DomenicoGiambra Binairy sensors don't show up in GH. Make a template switch that uses the state of the sensor. The switch will get exposed to GH so you can see it's state.
Many thanks for your video, really helpful. I got stucked adding home assistant to Google home and I got an error "could not reach home assistant [test].... Please try again". Knowing that I am using Tailscale for remote access. Even turning on Tailscale nothing is changing
Thanks for a great video.. I did not get it working. When testing in Action Consol i get this - "We're sorry, but something went wrong. Please try again". I did check every line again, but did not find any mistake. What did i do wrong? Kim
Hi does google have a fixed IP which i can whitelist on my firewall. im just concious about opening up ports on my home router.ideally would like to create a firewall rule which only allows traffic from google to homeassistant
Great tutorial as always. I want to ask a question. I have pfsense & I can connect to my HA through OpenVPN and therefore HA is not exposed externally. Shall I implement DuckDNS & Let’s Encrypt to integrate Google Home/Google Assistant with HA? Thanks a lot!!
Want to know how to add your scenes, automations and scripts into Google Home? I gotchu covered 👇
ua-cam.com/video/h7SsPhEfNEI/v-deo.html
yeeeeeees
is this still current?
I just followed this tutorial to set it up. Some of the buttons on googles site have moved around a tiny bit like where to generate the key but I think the changes are logical and easy enough to figure out with no background in using these google tools.
@@Spy653
Any idea why this results in "Something went wrong" @EverythingSmartHome ?
This is by far the most technical video I have watched. Very well done. As long as I pause it every 10 seconds - I can get through this! Thanks!
Thanks Robert, appreciate it! You can do it 🙌
Nice, detailed tutorial! Can you follow up with a step by step on how to enable "local fulfillment" in Assistant so commands can be routed from Home devices through local network, rather than through the cloud?
I had no idea that this was a thing - it's exactly what is needed!
3 years later, still going strong. I followed all the steps and it still works! Thanks for all the help and saved frustration :)
Thanks! I literally just left a comment wondering if the process was the same. Reverse proxying HA won't be that hard (I think) but connecting it to Google Assistant seemed like a pain. After watching this video, I'm confident I could do this in like an hour or two
@@fantaz_official I am doing it as I am typing this haha
It's worth mentioning that the exposed_domains setting (and a couple of others) in the home assistant config can be used to exclude certain devices from being exposed to google assistant. This is useful for devices that support google assistant control directly. For example Hue lights can be controlled directly from Google home, it's useful to still have the configured in home assistant for other purposes (eg routines & dashboards) but not have them duplicated in google home.
Yep definitely a good point!
yeah i use that, i have nothing configured in google home directly, its only allowed to know about what i tell it from within HASS
Can you exclude specific devices by ID or so? Or can you include only specific devices instead?
Very good to know, thank you.
I'm having lots issues with stairs switch and colour lighting Bulbs, was informed to use Phillip Hue lighting but no clue on their setup at all I have always avoided there bulbs but maybe to resolve the switch on the stairs it might be worth investing in two of their bulbs if I could get them to work through Home Assistant, Goggle, Alexa, or Smartlife with Android Mobiles. I do not want any more than this as its confusing as it for a Diabetic to stay alive without more on top, Any further help will be much appreciated! thanks for me seeing this tip here now from you!
just literally switched on youtube to do this and was the first video in my feed, good timing!
Mind reader 🤯😂
@@EverythingSmartHome finally got everything working after a faff regarding duck dns and my pf sense fire wall but house is finally online with google! brilliant guide nice one!
Awesome, glad it worked! If you need help in future feel free to hop into the discord and someone will help you out! Or of course if you just wanna hang out in general 😅
I got to the point where I open the Google Home app on my mobile device, add device, and see my project in the list. However, when I go to tap on it, I get a toast message that just says "Something went wrong."
Any idea as to what might be happening here?
Otherwise, super clear tutorial and appreciate you putting this together. Thanks!
Getting the same issue here
same here
Same issue here
Same for me
same here
great tutorial, followed your previous guide using cloudflare then this guide, initially it didn't work until I removed the port numbers when setting up Google. all working 100% now. thanks for your time and effort
Haha, same here. Only belatedly realizing that he can't have been using the Cloudflared config because this video was posted nearly two years ago (plus I'm pretty sure the Cloudflare tunnel implementation was different before March 2022). And here I am scratching my head, "why am I putting the ports in when I have a tunnel set up? Oh well, la di da!"
Great tutorial (I know you did this almost 2 years ago) and I was finally able to get it going. One quick thing, what's the best way to use SSL on Home assistant (running inside Docker) aside from using duckdns?
hi great explanation but can you explain what is Fulfillment URL and from where can i get it
Try this video ua-cam.com/video/xXAwT9N-7Hw/v-deo.html
Wow! Thank you so much!!! This step by step tutorial was so clear and detailed. ESH IS the reference for the smart home!
Thank you sir, appreciate it 🙏
LOVE YOUR TUTORIALS!! Seriously I'm new to home assistant, and as someone who is technically literate, but not coding literate, your tutorials have been a life saver. Always VERY in depth and good explanations as to why were are doing something, but never TOO in depth as to scare you away from finishing. Plus his smooth Irish accent is always so reassuring haha jk!!
The only thing I could be missing would be if you maybe included your key strokes on screen, as someone new to this may have missed a space here or there that would make this not work for 5 mins and make him start from the beginning thinking I missed a crucial step and making him want to defenestrate himself out of a window trying to figure out where he F****d up only to realize it was literally just a missing space in the config file or something like that. Not sure if that would ever happen to anyone.........
Haha thanks, glad they are useful and appreciate the feedback! Also, it's a Scottish accent but you were close 😅
Amazing explanation of how to make this work! Thank you. Thank goodness for the pause and rewind button! Well done.
Thank you for watching!
So needed this video! I have my Zigbee devices connected to a Smartthings hub which is connected to HA via the Smartthings ntegration. I've decided to connect my Zigbee devices via ZHA (with a Sonoff Dongle). I realised the devices connected to ZHA didn't appear on Google Home and I have a number of Google Hubs. This video saved the day. Thank you very much!
I think this technique doesnt work any more, I just went through the tutorial, enter my credentials into the link screen (home assistant login) then all i get is "could not reach test ****** please try again" not sure why if anybody has an idea
This happened to me too. If you are using Cloudflare, disable "Bot Fight Mode" and it will fix it
like the features, setup was difficult for some of my devices (August Door lock, ua-cam.com/users/postUgkxhB5YOMNj04GuoAosExygP4cH-dKeb4aB Bose speaker)... but all switches and outlets (5), thermostat, tankless water heater. Unfortunately all I can do is turn on/off Bose. It doesn't support volume or changing channels, but I believe that is due to the particular speaker I have.... Worth getting if you already have other devices to use it with... I don't sit around and ask Alexa questions much so that doesn't really matter to me....
This must be the best video I've ever seen about this topic!
For the first time ever I can finally use Google Home to control Home Assistant!
Thank you so much!
Haha thanks, glad it was useful!
This worked perfectly. Some slight interfaces like the keys moving to a tab but pretty much the same as you demoed. Thank you so much stepping through this
Nice one!
Thanks, worked the first time. Where can I find more examples of voice commands that it will recognize?
You saved my life in 2022. It was a lot of time i was not understanding how to configure the voice command and just following this tutorial you made, you made my year. Thanks a lot 😁
Nice one, glad it helped!
Thanks for the guide.
I have some questions, Can i Use Google Nest Hub (Gen 1) and Google Nest mini as with Home Assistant local assistent?
Excellent tutorial on how to set it up
Im just missing 1 thing.
Can it use voice recognition? and if so, how to add more users?
Another great tutorial. thank you. how can one go the other way around to import google home "skills" into HA. I am not sure if you are familiar with Broadlink I have a Broadlink RM4 Pro controling few dumb devices using the broadlink native app and integreated with Google Home. I would like to import everything in HA without having it to relearn codes and just simply import them to HA?
Video worked perfectly! Thanks to much! Only have one annoyance, my Google Nest Mini now shows twice in the app, one locally from Google Home’s connection and one from it pulling from my HA’s list. Is there a way to hide certain devices from getting sent to Google, so that it only shows the local connection? Not assigning the speaker to my home doesn’t make it disappear, just has it sitting at the bottom saying it’s a linked device not in my home and I can’t remove it without unlinking everything.
Did you figure it out? I'm having the same issue. It works, but pretty annoying seeing duplicates.
It's worth mentioning that the exposed_domains setting (and a couple of others) in the home assistant config can be used to exclude certain devices from being exposed to google assistant. This is useful for devices that support google assistant control directly. For example Hue lights can be controlled directly from Google home, it's useful to still have the configured in home assistant for other purposes (eg routines & dashboards) but not have them duplicated in google home. - (comment from someone else)
One topic/issue I never was able to figure out and doesn't seem to be explained on the web:
How to add multiple users to Google Nest and have these individual users connecting to Home Assistant through Google Home.
Currently you can easily add users to your Google Home so they can talk and play music with they linked services (e;g Spotify, UA-cam, Netflix).
However regarding the Home Assistant linked service, this is using the main user account. Meaning whenever another household user performs a command to turn on a light in the home, it is not the household user that is used to perform the action, but the main user is referenced in triggers, logbook entries, history, etc...
Any idea if this can be fixed ?
Absolutely brilliant tutorial. Struggled to work out why I couldn't connect the home assistant integration to my Google Home - I had a firewall rule in Cloudflare blocking access to my domain from any country that is not the UK. I tried to then also allow the US, but Google Home doesn't actually report any country when it makes the connection, so I had to add a firewall rule to allow /api/google_assistant after getting the initial auth set up. Thanks again!
I Seem to have the same issue. How exactly did you fix this in Cloudflare?
@@kimheymans6662 I'm no expert when it comes to Cloudflare, so use this at your own risk!
Under my domain > Security > WAF, I have a single rule which is set up as follows:
When ...
Country does not equal United Kingdom
AND
URI Path does not equal /api/google_assistant
AND
URI Path does not contain /api/alexa/
AND
URI Path does not contain /auth/
Then...
BLOCK.
The expression for this rule is:
(ip.geoip.country ne "GB" and http.request.uri.path ne "/api/google_assistant" and not http.request.uri.path contains "/api/alexa/" and not http.request.uri.path contains "/auth/")
As said though, I'm no expert, and would welcome anyone else with more experience to correct me if this is unsafe. I'd love to know how you got on though!
@@TheBelfastBikerOfficial thanks for the reply! In the meantime I fixed it. I’ve been too quick when creating the Google part and made a stupid typo…
Thank you! I was having the same issue and your idea worked.
THANK YOU!, i have been trying to resolve an issue with adding HA to Google Home app for the past 24hrs. it turns out I too was blocking everything outside the UK on Cloudflare, I resolved the issue by allowing everything from googles ASN number (15169) through the WAF
I get an error while adding the project in google home "could not reach Home Assistant, Please try again." Any ideas where I could have gone wrong?
Did you ever figure this out?
@@cdfox85 Yes I did. I needed to enable remote access first.
@@m.danial225 Enable it within Home Assistant? How? I can't seem to find that anywhere 🤔
Sorry for the beginner question, but where did you enabled the remote access?
@tomikohonen did you find it out? I have the same problem. But I think in my case it is due to not having https but http, but what do I need to do to get https... any idea anyone?
Hi, lovely tutorial. I need to confirm something. Basically, will this google assistant integration to HA work when internet is down?
Great video! I just had one issue that I had to delete my port information in all the setup even though I am using 8123, maybe is my issue but that just solved it.
Thanks, glad you got it working!
Hey man I also used port 8123, and it works but it doesnt show any devices of home assistant in google home, should I also remove all the port specifics in the setup of google?
I had the same issue. After removing the port info in the URLs, everything worked fine. Thanks for this great video! Without this I wouldn't be able to connect my nest mini to HA
Easy peasy lemon squeezy. Awesome tutorial that works just as expected. Thank you!
Excellent!
Hi! I carefully followed all the steps you described in the video. However, when I select add device + works with google + test home assistant in the Google Home app, there was a problem. I get the error message 'Try again. Can you help me?
Same for me. It says "could not reach [test] Home Assistant. Please try again. I checked the auth URLs I entered, they are good, and my HA instance is reachable from outside my network in https.
Edit : I had to remove port 8123 in the auth URLs, even if I am using duckdns ...
Same here. Apparently there are some added steps like adding a logo, description etc required by Google now. So this guide unfortunately won't work. I was up until 2 AM last Night trying to figure it out but so far no luck.
I took the port out, the :8123 out of the urls and it worked. I used cloudflare tunnel to go remote
There is a manual on the official ha website google ‘home assistant google assistant’ worked for me. Good luck!
Works pretty good thanks. I was stuck at the JSON file part until I found your video.
I have a question. I've setup a SONOFF solenoid to open/close my garage door. I have also attached a door sensor from AQARA so I can tell if the door is open or closed. In google assistant I have setup a routine so that I can say "Open the garage door" and it will interpret it as "turn the garage door on". So the solenoid is activated. How do I integrate the door position sensor so that the door will only open if it is sensed closed?
Excellent! I would do this via HA instead of Google home, use Google Home for voice yes but use a HA automation instead
@@EverythingSmartHome Thanks I will give that a shot! Another question, now my lights are duplicated on google home. Both from the HUE connection and from HA that I just setup. Would you recommend keeping just the HA assistance or the HUE?
Unfortunately I'm getting an error when I want to integrate HA into GHome. "Could not reach [test]. Please try again.
Having a day off tomorrow so I'll give it another try :) I noticed the layout of some website components have been changed, but not drasticly.
same issue....
Did you manage to fix? Sadly my instance stopped working...
@@piereligio_ds still haven't found time to tinker. After the next attempt I'll post an update 😉
@@xisop thank you 😊
@@piereligio_ds I got it to work with the tutorial from Juan 😉.
Slightly different setup
Thank you for the explanation. The instructions were really clear and easy to follow without any unnecessary details or complications.
Thank you for your another great presentation. Unfortunately, I must have missed something here, since I get "Error: invalid client id or redirect url" in my iPhone. My homeassistant has working same internal/external url. (thanks to one of your your video). The fragment 4:31 was unclear for me. 'Client secret ' - what should be typed there?
Hello and thanks! Hmm that's a strange one, can you show me what you are using as a URL, make sure to remove your domain part. The client secret does not matter, enter anything you want
I will try to reach you on Discord..
That will be easiest!
Yes I have yet to see this error without someone who hasn't made a typo in the URLs 😅 if your stuck hop into the discord and we can help you out!
I had this problem too and it ended up being a typo. "autorize" is what I wrote lol
Great Tutorial!!
I'm planning to setup Home Assistant instance behind HAProxy running on my PfSense firewall. Is it possible to integrate Google Home with Home Assistant behind PfSense's HAProxy? Thanks
Great video as always, thanks!
Will I be able to query status of sensors "hey Google, what's the temperature in the bedroom?" with this setup?
perfect tutorial! but i did not follow your first recommendation to use the google account email address same as the google home.
i have tried to add a new user to the project but did not succeeded to see the project in adding service in home app.. is there a way to add a new google account to the cloud project and have it working?
Great tutorial. I really enjoy watching your tutorials and running through all that HA stuff step by step. Many Thanks!
Thank you, really appreciate it!
Followed along with the video and it worked the first time. Didn't understand ANYTHING within the cloud but it works lol. I did add port 443 just in case.
Following the steps.. immediately after project creation, there is "Conversational Actions have been sunset. Changes can't be made to any actions. You can still view the Actions for a limited time." Isn't this a problem ?
Yea, this doesn't seem to work anymore. I'm going to give Nabu Casa a shot.
@@Drop_DAD that's not working either. There are some new instructions @ github but nothing "official" yet.
Hi Lewis! In your experience is it quicker to do Google or Alexa for the average user ?
Hey! I would say Google is much quicker IMO!
Awesome tutorial, but I'm rather stuck. @11:27. After selecting, I'm getting an error saying that it could not reach it. Just wondering what I might doing wrong? Thanks
Figured it out. I missed clicking on the test button @5.37. all is well now. A question please - can I select certain devices that I want Google assistant to see? Because I have nest thermostats, they're now showing twice in there.
everything was going flawless until 11:25 when u enter my credentials it just says "could not reach {test} google home please try again"....i have no idea what to do.
i've checked for typo's everywhere.
oh and i followed the duck DNS video.
i have port 8123 and 433 pointed at the raspberry from the router
and i have the same ports pointed from the modem to the router.
Same problem here. Have you resolved the issue?
@@donkey0aty no not yet I haven't had the time yet.
But I don't even know where to begin....maybe this method is outdated?
@@donkey0aty could be a firewall issue.....
@@dvs482 Google changed something in the last months... Someone proposed a solution but I'm not sure it works. For now it didn't
Mine only worked without putting the port number in the URL in the earlier steps of the actions creation.
Nice tutorial! I'll keep using my cloud subscription though as I enjoy home assistant so much I want to support them. It's good that there's a free alternative as well though (as there should with an open source project like this)!
Hi is it possible to do the command flow other way around? can I turn on do not disturb on Google Nest thru Home Assistant?
Thank you very ver much , I supported creators for a year but I needed to use the money to support others. Great video, a little fast and a lot of pauses to complete, google console has changed and I had some trouble finding the right options but in less than 30 minutes I got it to work.
Cheers!
I had done it before ages ago, but this gave me the latest way of doing it. Saved a lot of time, appreciate it.
Excellent glad it was useful!
Is it possible to get a robust voice assistant that can do everything a voice assistant needs to do, but without collecting all your data? Preferablyself hosted.
Google voice assistant and Amazon echo are just sooo useful, but I don’t like that big data collecting corporations have such control and insight into my (smart)home. I’m sure if they wanted to (or had because government) they could listen to everything I say and probably also give commands to control the network. I’m not it’s happened before but I don’t want anyone to have that kind of control.
The Instructions worked great but I have one question. Is there a way to only sync some of my HA devices to Google Home? If I sync them all I end up with many duplicates and google doesn't know what device to control any longer.
Is it possible to use speaker connected to HA through 3.5 jack as speaker in Google Home (play music, add to groups etc)
Thanks man got it working when i use my phone but when i use my nest mini it seems not recognizing the orders or my devices am i missing something?
Will this allow you to use voice command with google speakers to run a HA automation ?
I have got Google Working now thanks to your guide. Question: a toggle helper switch appears in Google Home but why not a momentary Button. Would be nice to have a Voice scene activator 🙏😊
Going to try this! Is there a video or a tutorial on simple command I can give to my Home Mini device that will start up a automation or scene? I'm newbie so an example how it works would be great 👍
Thanks! Yes there should be a round-about way of doing it, I'll see what I can come up with!
Would really love to know if the new "local home SDK" would work with this? Google added local fulfillment to route smart home intents a while back. This removes the need to manage open ports or public routing of any kind.
I mention it in tomorrow's video :) do you have a source for it not needing open ports? I'd imagine you'd still have to do it for the initial connection etc
@@EverythingSmartHome from my understanding, that's the entire point of the local fulfillment SDK. It prevents the necessity to use hole punching, opening ports, and getting around firewalls. It works similar to a VPN where the locally hosted instance connects as a client and proxies Intent commands issued from the cloud.
I've played around with their Nodejs examples and never had to do any of that. It worked but making it go further than the examples was a pain.
I tried linking to the source twice but seems to be getting flagged by UA-cam's algorithms. Let me know if you still need the source, but it can be found pretty easily in the "How it works" section of the SDK website.
awesome guide, but i have a problem. HA Studio Code can't find my project id? Does someone have a fix for that?
Thank you so much, I can't tell you how many times i've tried to get tasmota/sonoff in home assistant tied to google home, this the ONLY video that explained it start to finish with ease and simplicity.......bring on the automations ;-)
Nice one, glad it worked! 👍
Do you have any tutorial on enabling DialogFlow with Home Assistant? (so you can ask for example what is the tempeature in the kitchen and HA will send the answer to Google Assistant who will "speak" the answer to you. I've been struggling to enable that..
Your smile after the first voice command was exactly the same as my smile ;) thx for this tutorial!!!
Hi, This is all new to me, and I have no programming skills at all. So this video is exactly what I need! However, I get stuck in the beginning. when I try to start a new project I cannot click START BUILDING. I only have the option to go to DEVELOPER CONSOLE. Any idea how I can get it fixed from there?
Fantastic Video! Made it so much easier. FYI, apparently now there is an additional ste under Google Actions where you need to add a description of the app, a logo for the app, your name and email, plus a privacy policy. There is a guide on the home assistant community if you google "can no longer link google assistant"
Lewis! You are Awesome as always! I had this already setup and working but had some minor errors I ignored in the logs. Followed your video and realized my mistakes and easily fixed them! Thanks Again!!
Your too kind Mark, thanks for watching and commenting! Glad you got it sorted 🙏
Great video! I noticed that not all my sensors are sent to GA, despite me specifically allowing "sensors" or the the actual sensor name with in entity config. What gives? Do I have to set up the sensor properly in HA? For the specific sensor I'm not seeing if from an MQTT broker. HA sees and logs the sensor no problem, but GA cannot see it.
I followed the guide to setup cloudflare from your yt as the tunnel. Can this be use for google assistant too?
Hi, thanks for another great video, got it up an running like a charm. I'm trying to capture all my automation logic in Node Red and was wondering if this could be used to trigger NR sequences?
Isn't there a way to do this "pairing" of Google Home to Home Assistante to be able to use commands over the Google Nest without having the Home Assistant instance outside of the local network only? Since the Google Devices are in the same network has the HA?
3:33 is it possible to use the local home sdk?
@Everything Smart Home, This tutorial is offcourse really really good... but I got a question... I also followed your cloudflare setup tutorial for access HASS without port forwarding and setup the tunnel.... when I try to add the project to google home it does not link me to my hass url and does not show up my credentials login page... Can you help me what I am doing wrong? Because if I type port 8123 in the account linking url's that does not work....
Did you find a solution to this?
Hi Lewis, just followed this to setup Google Assistant with HA. In the google home app, I get as far as authorising OAUTH (it opens up my HA instance and ask for user credentials). I input user credentials and then, it says "linking your account" and then fails, with "unable to reach". Any ideas?
I could fix this issue with a fix of a typo in Action Console > Develp > Actions > Fulfillment URL > [domain]/api/google_assistant
I was missing the underline between google and assistant.
After that I had to change the name of the whole action, otherwise it was always using the old data.
Hope this helps fixing the issue.
@@schi9207 ty for that suggestion it was the one thing I had not looked at yet. I had the video playing in the background and was not watching at that moment. phew. now to thin out the 10000 devices that got added to Google home.
Great video....as usual...
followed all the steps, seemed to be going alright, just got stuck toward the end... @10:27, google home couldn't add the project. The created project is shown when setting up the device but it doesn't take me to home assistant login instance. Did I miss smth? Any pointers where I might have gone wrong?
Thanks in advance!
Thanks! This usually means you have your URL incorrect, check all 4 for any typos! If your still stuck feel free to join us in discord!
It worked for me, I can see my Next Hub Max stream in HA, but it does not trigger the automation with the motion or person events! Where you able to make it work?
Sorry I'm not sure which bit you are talking about?
Thanks a lot for yet another great video! Unfortnunately at the end it doesn't link with home assistant. It just logs in into home assistant instead.
I would guess you've made a typo, join the discord and I'm sure we can get it working
Hi, I successfully did the setup by following another tutorial a couple weeks ago. But since this week Google Home is not finding my devices anymore, because of some problem with the connection to Home Assistant. I tried doing the whole setup again on a different google account using this video, but I get a notification that "[Test] HomeAssistant" is not reachable after trying to add it as a device in the Google Home app. I double checked everything, from url's to login credentials, but nothing seems to work. I also disconnected the originally created connection ant tried to reconnect, but that gives me the same notification.
I'm wondering if I'm the only one with this problem. If not, maybe something changed in the way it needs to be setup.
i have been trying to do this for such a long time. your video is brilliant. it explained what i had to do and worked first time. thank you so much.
Awesome, glad it was useful!
I'm getting "Error: Invalid client id" when trying to log in using Google Home @ 11:27 , tried following the steps two times, what could be the Problem? please Help
Love this video, it's how I set up my integration with Google Home. But now I am facing the fact I have exposed too many devices to Home, which causes my AdGuard to turn off when I tell google to turn everything off, but I can not find a way to remove individual devices? Is my only option to delete the complete integration and reconnect?
Why are all my speakers and speaker groups shown as "Digital Box"? Is there any way to control what devices are put through and also to define what kind of device it it? Cheers!
Another GREAT VIDEO -- added this to my new HA setup....but does not appear that I have have those lines in a separate .yaml file:
'google_assistant:
' project_id: {blanked}
' service_account: !include SERVICE_ACCOUNT.json
' report_state: true
Hi - I am unable to find nest mini even after following the instructions fully. Could you provide some hints on why it is happening? I am able to detect my Nest Mini from my phone but not through Home Assistant.
Hi, what a nice video and have followed all the steps. It sync'ed one time to my google home. But when i want to sync my devices I receive the following error from Home Assistant : "Failed to call service button. Unable to sync devices with resultcode 404. Check the logs for more. Also when i say to google nest "sync devices'the message will be reported that devices cannot be sync'ed. I have tried to make new projects, but with every attemp i get the same results. I have looked several forums but i cannot find the cause of the problem.
Apparently google has added a little splash sceen to the flow that happens before it calls your domain. In the Action console you need to provide: 'description of your app', 'logo image', 'your name and e-mail' and 'a link to a privacy policy'
Can this be done with Apple HomePods and Apple HomeKit ?
Another great video Thankyou! do you know if there is a way for homeassistant actions to differ dependin on which Alexa/google assistant you are talking to. eg bedroom/livingroom
Thanks! Unfortunately don't think that is possible
Another great no-nonsense tutorial. Question: When I completed this it populated Google Home with devices from HA. Home Assistant did not seem to get my devices that are only on Google Home(e.g. A GE Cync bulb that is supported by Google but unsupported by HA) . Am I correct that the population of devices only goes one way?
Thanks James! Yes that's right, this only syncs devices to Google home and not the other way around unfortunately
❓Great tutorial and works well. Question: If I deploy this, will it be available to anybody or will it only be available when logged it to my Google Home account?
I followed your steps and now see the device int he google home app. When I select it, instead of home screen, it returns the 404.
And yes, HA is accessible via https outside the network.
Where did you create the json file in the same directory as the config ?
can you control things from your phone or only via google speakers?
It works, great! Other UA-cam tutorials didn't work in the past. There is some way to make it recognize even "ping" entities in HA (to ask for their state)? Or trigger the actions of the Broadlink RM integration I made via HA?
Thanks, glad it works! 🙏 Yes that should be do-able if they are recognised as sensors or switches
@@EverythingSmartHome Thanks for the reply! The ping ones are in the config file as binary sensors, but still don't show up in Google Home 🤔
@@DomenicoGiambra Binairy sensors don't show up in GH. Make a template switch that uses the state of the sensor. The switch will get exposed to GH so you can see it's state.
Thank you Thank you Thank you! Ive been trying to do this for a year and a half, this is the only tutorial that worked for me
Nice 🙌
Awesome video! I'm getting a "Pin not setup" error inside Google Home when I try to unlock my front door. Any thoughts?
getting same message, Did you find out why ?
Is it possible to only add a few specific devices from home assistant into Google assistant?
Many thanks for your video, really helpful. I got stucked adding home assistant to Google home and I got an error "could not reach home assistant [test].... Please try again". Knowing that I am using Tailscale for remote access. Even turning on Tailscale nothing is changing
Can you make a video to record video 24X7 in rasbarry pi with esp eye
Thanks for a great video.. I did not get it working. When testing in Action Consol i get this - "We're sorry, but something went wrong. Please try again".
I did check every line again, but did not find any mistake.
What did i do wrong?
Kim
Hello, this is usually a typo in the URLs in the console
@@EverythingSmartHome Thanks for your reply. im not able to connect to my HA with https only http? Is that the problem?
Hi does google have a fixed IP which i can whitelist on my firewall. im just concious about opening up ports on my home router.ideally would like to create a firewall rule which only allows traffic from google to homeassistant
3:03 excuse me, how to get fulfillement url..?
thaks
Great tutorial as always. I want to ask a question. I have pfsense & I can connect to my HA through OpenVPN and therefore HA is not exposed externally. Shall I implement DuckDNS & Let’s Encrypt to integrate Google Home/Google Assistant with HA? Thanks a lot!!
Thanks! Yes you will need it externally available for the Google services to connect!
@@EverythingSmartHome Thanks a lot for your answer!
Please make an update video :(. This feature isnt supported anymore