Finally! A WORKING NEST Integration with Home Assistant using Oauth!
Vložit
- čas přidán 30. 07. 2024
- A COMPLETE GUIDE for connecting NEST to Home Assistant using Google Smart Device API and OAuth for Web Applications. This also uses the new Application Credentials in Home Assistant. NO YAML or config files. It's all done in the UI now.
Support this channel by becoming a member:
/ @mostlychris
Discord: / discord
Links:
Nest Integration: www.home-assistant.io/integra...
Application Credentials: www.home-assistant.io/integra...
If you would like to support me:
Buy me a beverage: ko-fi.com/mostlychris
Become a patron: / mostlychris
Products I reference in my videos (contains affiliate links)
www.mostlychris.com/my-smart-...
My Website: www.mostlychris.com
DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.
Want to send me something? Send it here!
Mostlychris
24165 IH-10 West
STE 217 Box 164
San Antonio, TX 78257
#HomeAssistant
#Nest
00:00 Intro
00:34 Nest Desktop Auth Deprecation
01:38 API Supported Devices
02:47 Add the Nest Integration
04:15 Create and Configure Cloud Project
06:47 Configure OAuth Consent Screen
08:42 Configure OAuth Credentials
11:27 Create Device Access Project (SDM API)
13:32 Link Google Account to Home Assistant
19:42 Final Thoughts and Wrap - Věda a technologie
If you are having issues with the credentials are having errors related to already existing Nest credentials in Home Assistant, take a look here: www.mostlychris.com/nest-integration-with-home-assistant/
There is a quick note about how to delete your old credentials so the new ones can be used.
From what it says on the integration guide in HA does that mean this will break come October 2022?
Ooops after tree try’s miss worker, i read this comment. Please integrate a short notice in your video. Would be great! Thanx for the help! 💪🏻💪🏻
tried from scratch removed credentials from HA .. and now it just comes up with a small bubble window saying Google Nest . the question mark.. the x.. and the close button.. nothing to select.. just blank otherwise
@@bryonhulcher851 I have done the same...same message, nothing I can do
Absolutely fantastic step by step guide. I was having a lot of trouble and started a fresh following your guide. Worked first time. Thank you!!
Tried to do this several times - finally succeeded following this awesome video. Model of clarity to navigate a pretty gnarly setup process. Thanks Chris!!!
That is the most horrendous process I have ever seen. What in the world is google thinking?
Its Google. I avoid it in anyways I can. I bought my Nest thermostat before it was taken over by Google.
I almost gave up on Nest and Home Assistant. I figured I would check the project one more time and voila! And on my birthday no less! This is awesome and working thank you!!!
Thank you so much for the support and glad you got it working! Shout out to Allen Porter for getting it all working.
I'm new to home assistant and trying to figure out how to make all my different devices connect and work together. This video took care of every issue my Nest was giving me and I'm able to use it perfectly with HA now. It's people like you who are knowledgeable and helpful that help these projects spread and grow the community. Thank you so much!
This is hands down the best tutorial on how to accomplish this. Thank you so much Chris!
Hello Chris, thanks so much. Very nice step by step tutorial. It worked PERFECT. I appreciate your efforts and the patience to have this video completed in a such professional way. I am follower and will keep an eye on your videos. Awesome job. ~Miguel
Thanks Miguel! Kudos to Allen Porter for building the integration.
For anyone getting "Can't link" errors - you *must* delete your old Application Credentials first! I've wasted hours because of this.
1. Go to "Devices & Services"
2. Click the 3 dots in the top right
3. Click "Application Credentials"
4. Select your old credentials, then click "Remove Selected"
@mostlychris would be great if you could add this step or just pin a comment. Thanks for this excellent video!
Let me do that. I'll add a pinned comment to YT that points to my blog post.
Yes! Thank you so much for this comment! I was going crazy but this got me fixed up right away!!
You and me both! haha@@Farizno
New to Home Assistant and getting to know the environment. Followed your video on setting up the integration for Google Nest to get my thermostat into HA, and of course it worked flawlessly. You do a great job of walking through this process and explaining what steps are needed and in what order. The fact you also point out some "gotchas" is great as well so we do not make mistakes. Great job, and your work is appreciated!
Welcome to the rabbit hole! Glad you got it working. This is probably one of the most complex of the integrations in HA.
Hi Chris, thank you very much for this greatly detailed guide! I followed it step by step and got the Google Nest Thermostat finally integrated to Home Assistant. Thanks!
OMFG. I kept screwing up on the Device Access ID and was entering OATH ID. I's been nearly a year and I finally have this working, thanks to your video clearly pointing me at the right locations for project ID and device access ID
Congratulations on your guide! Complete newbie here and following your guide I have my nest equipment integrated first time. Many thanks
Amazing stuff! If you do everything that is demonstrated here then you are SOLID!
I had a few problems at the start but your video cleared everything up. my thermostat and camera are working. Thank you
This was an excellent step by step tutorial, especially for someone who's never leveraged this before. Thank you!
You're very welcome!
@@mostlychris Going through your videos (hopefully I find it soon) - do you have one on how to create a custom card, from beginning to end? I've read the documentation multiple times, and i believe i'm missing a step somewhere in the process because i receive the error "custom element not found" thanks in advance!
If you are getting that error, either you haven't installed the custom element you are trying to use or you have a cached version of the frontend that will require you to clear your cache in your browser. The easiest thing to do is search HACS for the custom card you are trying to use and install it. If you don't have HACS installed, I have a back to the beginners series that has a section on installing and using HACS. You can also look through my Dashboard playlist that has some custom card stuff in it.
Absolutely fantastic! I got my thermostat added. Awesome. Thank you!🤩
Thank you. It all felt immensely complicated, imagine my surprise when it actually worked!
HOLY Frig'N Shoot! IT WORKED!!! I cant tell you how many of these type of vids I have watched and half way through, got lost, or the process had changed, etc, and just had to give up, this one worked! Overall, had to note my excitement, and wanted to shre some heartbreaks along the way, for laughs or etc.
- 10:39 - (due to my paranoia, trying to meticulously follow along) We dont actually see you hit "submit" it just jumps to the next screen and after multiple rewinds and fast forwards, I can see a wisp of a "creating" in the bottom right that gave me the confidence to move forward
- 16:18 - LOL I was gaining confidence and had already pasted the WRONG ID in there, and thought, I'll just wait to double check what he says! LOL Thank goodness, thank you so much for clarifying which one we were pasting! THANK YOU
- 17:50 - Mine errored! OMG NO! I was able to go to integrations and get going again. I was so panicked that after all this "I had blown it" (like I said inititally)
Thank you so much for such a detail oriented Video! Liked / Subscribed and did a little dance too!
After having tried it several times with other videos and now having no hair left I stumbled upon your video. Thank you so much for this tutorial. I was able to get it working thanks to you.
Excellent! Good job!
Thanks. Extraordinary piece of work! The integration worked first time.
Love to hear that. Thank you so much for the support!
Excellent documentation and walk through!! Thank you. I added nest to HA without a single mistake.
That is great to hear!
Wow that was a lot of steps great video all up & running for me thanks😁
Worked out great for me! Thanks for this excellent walk-through which was very easy to follow!
A year later and this still holds up, thank you so much!
Thank you so much. Took 2 tries but working like a charm now!!
Just used this in January 2024 and it still works like a charm! Thanks a lot!
It took me two or three tries but your tutorial has got my Nest Thermostat back inside Home Assistant. Thank you very much 🙂
Outstanding! Glad you got it working!
Man thank you so much. I was not able to integrate Nest (following the documentation from HA to the letter). I don't know what changed but I followed your video, and when you said "Delete your device management app if you have issues" I did it and recreated it. That's the only thing I changed, and voilà ! Also it's important to be connected with the same email adress between Google and HA, but you said it too. People, this is a perfect guide, follow it step by step and it should work.
This is a great tutorial! Followed along and set things up...works like a charm!
Excellent! Good job!
Thank you for such a comprehensive and well explained guide. I was struggling with this for hours before finding your guide. The Google side is so complicated!
Glad it helped!
Thank you very much for this. The last part is always so confusing! Thank you again!!!
Nice update. I was following your prior guide yesterday to integrate my Nest Hub Max. I finally manage to make it work with your video and the official documentation when I found about the changes. Nice that you made the update!
By the way. Still cannot see the camera from that hub :(
Me too! Cannot see the camera streaming from my hub max. The logs have an authentication error. :(
Check the troubleshooting page for the Nest integration to make sure there aren't any outstanding issues with cameras.
Thanks, Chris. very well and concisely explained.
Thanks for updating the video. I was less than successful the last time. A couple of takeaways that might help others.
Basically what I had before was correctly configured except the Desktop versus Web Application. Once I deleted those credentials I also needed to update the Device.
You are really configuring two distinct Google products. The first part was setting up access to Google API. The second part was linking Nest to your Google project. Not sure if others didn't find that very clear.
I also have more than one Home Assistant running and the redirect after authentication went to the other one. I just updated the URL in the browser location bar and got a blank page. When I went to the browser tab with Home Assistant it was ready to continue.
Thanks again.
Thanks for the pointers. I think I mentioned the linking but it might not have been clear. In the my.homeassistant.... you have to specify the correct location for the device you are integrating with. I originally had it pointing to Pi but changed to my Blue so I could run the integration.
@@mostlychris Others may have found it clear but since I was trying to fix a previous setup instead of recreating it as you had suggested, I was jumping around and trying to understand what I was doing. So often when I am just following steps, I don’t understand the big picture and struggle if something doesn’t work.
Thanks! got mine setup, no issues!
Had one which started no to work with several problems . I couldn't reuse anything whatsoever . Did it all over and now it works again! thx
Brilliant, you made this easy to follow - I got it setup with ease.
Glad to hear! Thanks for watching!
Thanks very much Chris! Your patient step by step tutorial was so helpful :)
Welcome!
You've earned my sub with this one! I was ripping my hair out a month ago trying to get my Nest cams into HA and just finding little scraps of info that folks had used to get it working. The most viable solution at the time was to have to re-auth every 7 days and that just didn't gel with me. Thank you so much for this follow up video! I look forward to the next one when Google breaks it again. T-T
Thanks for the sub! Glad you got it working. Here's hoping Googs leaves it alone for awhile. If I have to do this again, it might just be time to change thermos. I've had these Nests for 8 or more years now I think.
May I ask if you had to do any extra steps to have the cams show up in HA? I have an IQoutdoor cam and a thermostat, but only the latter showed up in HA after going through these steps
Thank you, thank you, thank you! You made it so easy to follow, I really appreciate it. I was able to get my cams setup and working in HA. I will say though, having gone through all these steps to get it integrated in HA, which was one of the most intense integrations I've personally had to setup. Plus having to pay $5, which is a first for any integration. I'm very underwhelmed with what I can do with my Nest Hello and Nest IQ cameras. From my experience, the live stream is several seconds behind what I can see in the Google Home/Nest Apps. Also, the integration for the cameras have no switch to toggle the cameras on/off. The integration just says "Streaming" all the time regardless if it's actually streaming or not. There's also no exposed sensors so I can't even setup motion based automations from the cameras; literally all the integration does is give you a live (delayed) feed and that's it. Anyone else experience then same?
At OP, these negatives are at all no way shape or form a negative towards you. Your video walkthrough was absolutely fantastic. Just frustrating to feel constantly let down by Google. Please keep up the excellent content! Thanks for what you do.
Thank you Justin. We are of course ath the mercy of what Google will expose. I'm still waiting on the Nest Protects, if that ever happens. At least we can access what is exposed now and not have the auth problems.
Thanks for this guide. it was complicated for me. But it works now. thanks again
Excellent Chris - many thanks. Very helpful
Many thanx! After a couple of months finally got it working!
Congrats!
Thank you. I had nothing but headaches with auth, but redoing the device app fixed it for me.
Glad you got it working.
19:43 😂
Took me about a day and a half to get it right, but it's working! 💪
Much thanks Chris & keep up the great work. Greetings Gustaaf
Glad you got it going. Thanks for watching!
WOW , ive just folllowed these instructions, its the first thing i have done in HA , it took me about hour and half but i did it, Thank you for the guidance
Glad it helped! You tackled one of the harder things first. Good job!
Very nice job on this video! Incredible work! Thank you!!
Thank you!
Followed your last tutorial you posted that got me up and working with the disclaimer. Followed this new tutorial to immediate success with no headaches. Thanks so much. These videos have been absolutely crucial to me getting my Home Assistant to the next level.
It would have been nice to provide a shortcut abridged text version of what changed for the integration so that maybe we could cut over.
Thanks for the feedback and glad you were able to get it working. My blog might be a future location for the abridged version.
Great video. I wish you created every tutorial video I have to watch!
Thanks a lot! this worked flawlessly. Great stuff!!
Thank you! This was nerve wracking and this video helped enormously.
Glad it helped!
Got it to work straight off the bat, thanks much appreciated
Excellent! Good job!
You are a god. Thank you for the useful and careful walkthrough. It worked!!
Thanks, many thanks for your step by step video and well explained, it works again!
You're welcome and thank you for the support!
This helped so much after so much time of struggeling! Thanks a lot. Actually first time donating on CZcams 😋👍🏽
My replies all got lost so thanking you again for the support!
Awesome step by step vid, much appreciated!
You're welcome.
You are an angel I was pulling my hair out with this integration finally doing the things 😭😄
thank you for such a well detailed video
AWESOME. It still works in July 2024! Thank you!!
Made it. At some moment I had to have input the wrong credentials, I had to delete them from the menu and create the correct ones. Once created Home Assistant keeps using them and starts at the project ID step, not the credentials step. But Things work now. This was a huge help !
Had the same error after failing the first set-up. Revisited the integration with the help of this video but kept getting the "can't link to [name]" error. My credentials had carried over from my first attempt. Thank you for saving me a ton of time trying to Google the issue!
This was a great guide but stuck at the very end with the URI redirection. Ultimately after a lot of tinering I reloaded Home Assistant and then everything worked. Thank you so much for this.
I’m having this problem now. What’s best to do?
Thanks for this video. I was stuck and the Nest Setup was very cumbersome. Thanks for making this video.
Glad it was helpful. This is one of the more configuration heavy setups so it can seem daunting for sure.
That worked! I was pulling my hair out. Thanks!!
This was a great step by step. Thanks!
Thanks for watching.
Great video. I had followed your older video right before the process changed. Make sure you follow this exactly and if the first menu to store creds doesn't pop up your old creds are saved and it won't work. Make sure you delete them! Thanks again for the great video
That is a great point. It won't ask again for the creds if they are already stored. After the fact I thought about having that in the video.
THANK YOU !! I had it running about 6 months ago, then removed the configuration from my configuration.yaml, and I was not aware that it would still save those crendentials.
For others: The applications are stored in the top right corner of the integration menu, the 3 dots. There was my old and no longer working credentials.
I added a note to my blog and a pinned comment linking to the blog. App credentials are hitting a lot of people.
@@mostlychris Wow, I'm glad I posted this. If it helped one person, its worth it. Of course the hard work was from @mostlychris!!! Well done sir
Thank you for the video it really helped.
I went through this guide and added my first nest doorbell. Worked like a charm! I then added another nest doorbell to my home and thought through reloading the integration on home assistant it might just pull the next device through. Didn't.
Question is therefore, what do I need to do once I have this setup and I add a second nest doorbell device?
TIA.
Great video. Thanks!
Thank you so much. Because of your help I got it finally working :)
Glad I could help! Congrats!
Worked a treat, Thanks
Great!!
Great how to video. Very thorough and easy to follow. Thank you!!! I'm brand new to HA....literally today! HAHA!
Welcome and thanks for watching!
Best tutorial ever. Thank You
Hello, Thank you so much for helping me to get nest integrated into HA. I had to clear out the credentials like you said. I'm just starting to learn HA and i just loaded it on a PI4. I'm excited to start integrating. I have over 30 Insteon devices controlled through a ISY994. I put to many eggs in one basket. I'm trying to find a new brand of smart switches that can do 3way, but they are all very expensive.
Again thanks for the help
Thank you So much for your help.. Worked!!
Finally!!! Thank you sir!
Thank You so much, it worked great following your video. I enjoy your channel.
Outstanding!
Something i've found frustrating about this integration is that if I add stuff to google home then it doesn't get synced to HA without having to delete and re-add the whole thing. It would be nice if the integration could detect new devices and take you to the permissions screen to add that device.
Perfect video. Small detail with oauth was tripping me up and this solved it.
Excellent. Thanks for watching!
Great video, worked a treat (Eventually after I removed old Nest credentials).
FYI, Not sure if you are aware, but there is an Integration for Nest Protect in HACS.
I am aware but purposely not pushing it. It uses a method that potentially doesn't follow best practices and could go away at any time. Not a good thing for life and death devices.
I actually found a way to do it for free! What I did is I set up Homebridge (I installed it on the same computer that runs my HA), then added my nest thermostat to Homebridge using the Homebridge Nest plugin (it's very easy with the UI). Then in Home Assistant, I added the integration "HomeKit Controller" (NOT "HomeKit", that caused me problems). Then I was able to control my Nest thermostat in Home Assistant.
Always different ways to accomplish tasks in the IT world. Only thing is that you have one additional point of failure. Not a big deal if you are comfortable with that.
Worked on the first try. Thank you!
I don't hear that very often. Congratulations!
Chris - I followed the instructions to your video a month ago, and I was successful in the configuration. I have since installed an extra Nest device, however it did not automatically flow through into Home Assistant. When trying to "Add Device" in HA, I plugged in the Project ID and the DAC Project ID and receive a pop up which reads "Account is already configured." How do you add additional Google/Nest products after the Oauth has already been configured?
edit: for context - when I followed your instructions, my Nest thermostat flowed from Google Home into Home Assistant. I recently installed a Nest x Yale lock, however I am unable to add that device into Home Assistant. I also just purchased a Google Nest doorbell (though haven't installed it) and want to ensure I can get that product to flow into Home Assistant as well.
OMG ty, you couldn't have been clearer and I still had issues with what ID went where.
Great video. Works perfect!
Thanks! Glad it's working.
Excellent tutorial, thanks!
Thanks for watching!
i have a nest project setup with my cameras and thermostat in hoe assistant, but i recently include a new camera in my google home app and want it to show up in my home assistant. how do i do that?
Really good video!!!!
Hi Chris, any thoughts on how to expose the RTSP feed for the Google Nest Cam (2nd Gen) to use for Frigate?
Thank you!
Thank you thank youuuu SO MUCH!
Very helpful, it was a confusing proces but this helped! Before I had my Nest devices linked through homebridge. It gave may more entities; occupy sensor, eco switch, warmwater, etc. do you know how to acces those through the google Nest integration?
That was a lot of steps, seems overly complicated, but finally Nest is linked to Home Assistant. I have ecobee and honeywell thermostats that were much easier to integrate. Thank you for the tutorial.
Yep. It just depends on the product and how the vendor chooses to implement connectivity.
Hi Chris, Great video. I set this up a year ago and it's fantastic. I've just added a new camera to my Google account. How do I get it to show up in the HA integration. Any guidance very welcome.
Question. I recently switch one of my google nest thermostat from a second generation to the 3rd generation thermostat. Now I don't see my upstairs thermostat is not showing any entity . The upstairs thermostat was the one I replaced. Do I need to re integrate Google again. or how can I fix it? thanks
Dude, thank you, this worked perfectly for me.👍👏👏👏
I like seeing that many people are getting this to work. Let's just hope no changes to the API are made so it continues to work for a long time.
Excellent video. I have followed all steps multiple times thoroughly and every time I have done so all I receive is a Ring box with an x in the corner. I have my ring integration fully setup, but for some reason it seems the two are tied together. I have no integrations showing up for nest, just the ring has remained. Any advice?
Hi Chris, I have integrated Google Nest in HA but I have a problem, it does not refresh itself at the temperature, does not decrease or increase. Respond to orders instead. Where would the problem be or how could I solve it? Thanks for every step in the Video.
Thanks man!
You sir are the MAN!!!! thank you.
Thanks for video. Comprehensive explanation. It worked for several months but now HA integration thermostat says unavailable. Checked everything on Google and appears working (oauth and project active). Console will not allow me to add new project. Deleted integration and added again. No go.