chrisjshull / homebridge-nest

Nest plugin for HomeBridge
707 stars 111 forks source link

Google authentication issue using Nest Protect #518

Closed LawrenceEmlyn closed 2 years ago

LawrenceEmlyn commented 2 years ago

Hello,

After running fine for a few months I am now unable to connect HB to my Nest smoke detectors, unable to authenticate.

I'm attaching the log for your reference.

Any help is appreciated of course homebridge.log.txt config.json.txt !

johnniemalm commented 2 years ago

Passform and everything is in this files ?

adriancable commented 2 years ago

@LawrenceEmlyn - what happens when you get a new refresh token (repeat the process you went through to get the one you're using now)?

There are several things that can cause the refresh token to expire - changing the password on your Google account is the most common.

LawrenceEmlyn commented 2 years ago

So I logged in again using the Google refresh token method, copied the token to the config.json, restarted and got the exact same results. My Google account password has not changed.

@johnniemalm how do I see this?

LawrenceEmlyn commented 2 years ago

Ok, so I went ahead with the cookies method and it's working now.

Still wondering why? Does this mean I will be facing the same issue some time from now?

Thanks guys!

adriancable commented 2 years ago

Sorry, @LawrenceEmlyn , I'm really not sure what the root issue could be, and without other reports of anything similar happening to other people it appears isolated and so hard to debug. Closing for now.