Legacy Nest access
For Nest Protect device integration you can use the Legacy Nest tab. To gain access you need to provide two fields to the app. The fields are IssuTokenURI that will request a token from Google NEST and a Cookie that is associated with that Token. The two fields will be used by the app to mimic a browser session to NEST like you are being logged on to NEST.
The instructions below will set up this session in incognito mode of Chrome. When you are ready and auth is verified with the app, DO NOT LOGOUT of the session, just close the tab/browser.
If you do logout, the session will cease to exist in both the app as in the browser.
The most convenient way to copy the values across is to open Homey Developer page on https://tools.developer.homey.app/tools/app-settings .
Instructons
Open Chrome in incognito mode
Allow cookies for 3rd parties.
Open Developer Tools (CTRL-SHIFT-I)
Click de Network tab, select preserve log
Type issueToken in the filter field
Go to Home.nest.com and login with Google
The development tools will show an entry with iframerpc. Click on the entry and under headers, general section, you will see a request url that starts with account.google.com. click right and copy value.
Paste the value in the app settings field NEST Session Issue Token URI
Type oauth2/iframe in the filter field of the developer tools.
There will be a number of iframerpc calls, click on the bottom one.
Below Headers, request headers you will find a field starting with cookie staan. Click ight and copy value.
Paste it in the app settings field NEST Session Cookie
Click Save Session Fields
Go to the Log and check if a message auth() NEST Legacy Authentication successful. appears. it might take a few seconds (press log to refresh).
Do not logout!!!! Go to browser home page and disable cookies again, close the browser.
Select the Google account that is related to Nest
Click ALLOW
Click on the copy to clipboard icon
Paste the code into the Homey Nest SDM app and SAVE CODE the code.
Done with the access to Nest Legacy
Last updated