Help with the Auth Key

ryanbuckner
Posts: 1409
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Help with the Auth Key

Post by ryanbuckner »

The following step doesn't appear to be working:

STAGE1: NEST Home will open up your browser and navigate to the home.nest.com site. You'll be asked to log into your home.nest.com account usingyour username (typically your email) and password. When you login nest will display a short PIN code (like ZASDRE). Write this code down, or paste it to the clipboard. Now you're ready for stage 2

Not sure if this was the site redesign or what, but the button doesn't launch my browser or take me to the pin retrieval page.
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Help with the Auth Key

Post by autolog »

Just a quick suggestion - I haven't checked this myself but are you running from a client mac (i.e. not on the server mac) or on the server mac?
If on a client mac, then try from the server mac and see what happens. :)
Chameleon
Posts: 611
Joined: Sat Oct 04, 2014 9:50 am

Re: Help with the Auth Key

Post by Chameleon »

I think Jon is right. I'll try it again when I get home but I'm pretty sure it should work. If you can't get it to work I'll send you another way you can achieve the same thing.

Regards

Mike
ryanbuckner
Posts: 1409
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Help with the Auth Key

Post by ryanbuckner »

That worked. Thanks guys
danieljmorel
Posts: 42
Joined: Sun Dec 11, 2016 4:45 pm

Re: Help with the Auth Key

Post by danieljmorel »

Can you post the alternate method please? I have downloaded and installed the Nest Home 3.0 version. I have launched the web page for nest home and it has sent me the pin. When I enter the pin and select Generate NEST API key I get the following:
API key not created - have you entered the PIN correctly? - Error:oauth2_error

I have contacted Google and they are telling me that the only way to access my Nest Thermostats is through their app.
danieljmorel
Posts: 42
Joined: Sun Dec 11, 2016 4:45 pm

Re: Help with the Auth Key

Post by danieljmorel »

Well I just got confirmation that years ago, Google pulled the API (Works with Nest) that allowed access to their thermostats and other devices. That is really unfortunate! Guess they want to force people into using their products. I wish I would have known that before I bought 3 of them at $250 each. Ebay, here they come.
danieljmorel
Posts: 42
Joined: Sun Dec 11, 2016 4:45 pm

Re: Help with the Auth Key

Post by danieljmorel »

I believe I have found a way to get the 146 character authorization code (however mine now starts with b. not c.): I logged into home.nest.com. They sent me a pin to my email which I entered into the home.nest.com site. At this point I was able to see my thermostats on their website. I used Google Chrome. I opened the Google Chrome preferences (on my Mac) and searched for "Cookies and other Site Data". Once there I went to "All Cookies and Site Data" then I scrolled down to nest.home.com and clicked on it. Then click on "czToken". There it was. I copied it and entered it into the Nest Home plugin and it allowed the plugin to fire up.

I am getting this error though:
NEST Home Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 2134, in deviceUpdated
File "plugin.py", line 2197, in dataChange
KeyError: key temperature_scale not found in dict

Jun 24, 2021 at 11:23:47 PM
NEST Home Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 2134, in deviceUpdated
File "plugin.py", line 2156, in dataChange
KeyError: key nestAway not found in dict

NEST Home GeoFences cannot be assigned - run iFindStuff and try again
NEST Home Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
TypeError: Expecting an object of type list; got an object of type NoneType instead

Jun 24, 2021 at 11:24:02 PM
NEST Home Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 2134, in deviceUpdated
File "plugin.py", line 2352, in dataChange
ValueError: invalid literal for int() with base 10: ''


Not sure where to go from here.
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Help with the Auth Key

Post by matt (support) »

Try restarting the plugin and/or deleting and re-creating the Nest device in Indigo. Do you still get the error?
Image
danieljmorel
Posts: 42
Joined: Sun Dec 11, 2016 4:45 pm

Re: Help with the Auth Key

Post by danieljmorel »

Sorry, I thought I replied but apparently I never press the post button.

I am still getting the same error.
Post Reply

Return to “NEST Home”