Fork from official Jeedom plugin-nest with new Google account token & cookie access from https://github.com/gboudreau/nest-api
The values of $issue_token, and $cookies are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).
- Open a Chrome browser tab in Incognito Mode (or clear your cache).
- Open Developer Tools (View/Developer/Developer Tools).
- Click on
Networktab. Make surePreserve Logis checked. - In the
Filterbox, enterissueToken - Go to https://home.nest.com, and click
Sign in with Google. Log into your account. - One network call (beginning with
iframerpc) will appear in the Dev Tools window. Click on it. - In the
Headerstab, underGeneral, copy the entireRequest URL(beginning withhttps://accounts.google.com, ending withnest.com). This is your$issue_token. - In the
Filterbox, enteroauth2/iframe - Several network calls will appear in the Dev Tools window. Click on the last iframe call.
- In the
Headerstab, underRequest Headers, copy the entire cookie value (include the whole string which is several lines long and has many field/value pairs - do not include theCookie:prefix). This is your$cookies; make sure all of it is on a single line.