Homey - Google Nest SDM
  • Nederlandse Gids
    • Wat is Google Nest SDM?
    • App Setup
      • Installeren van de HCS Store
      • De Homey Google Nest SDM App
      • Google Cloud Project
        • Aanmaken van het Google Project
        • Maak de Consent page
        • Create OAuth Credentials
        • Enable APIs
      • Device Access Project
      • Eerste keer aanmelden
      • Legacy Nest toegang
      • Nieuwe Nest apparaten autoriseren
    • Homey Flows
    • Problemen gedurende de setup
  • English Guide
    • What is Google Nest SDM?
    • App Setup
      • Installing the app from HCS
      • The Homey Google Nest SDM App
      • Google Cloud Project
        • Create the Google Project
        • Create the Consent page
        • Create OAuth Credentials
        • Enable APIs
      • Device Access Project
      • Login first time
      • Legacy Nest access
      • Add new Nest devices after a while
    • Flows
      • Nest Cameras
        • Trigger Flowcards
        • Condition Flowcards
        • Action Flowcards
      • Nest Thermostats
        • Trigger Flowcards
        • Condition Flowcards
        • Action Flowcards
      • Nest Protect
        • Trigger Flowcards
        • Condition Flowcards
        • Action Flowcards
      • Tags
    • Problems during setup
      • First Login issues
        • No access to partner
Powered by GitBook
On this page
  1. English Guide
  2. App Setup

Legacy Nest access

PreviousLogin first timeNextAdd new Nest devices after a while

Last updated 2 years ago

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 .

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

https://tools.developer.homey.app/tools/app-settings