Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Manual Authentication

Brandon McFarlin edited this page Aug 21, 2020 · 19 revisions

The values of "issueToken" 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).

Using the CLI

  1. If the plugin is installed globally, run homebridge-nest-cam login, otherwise, ensure that you are in the plugin's root directory and run node dist/login.js.
  2. Login to your Nest account.
  3. Copy the output to your config.json.

Notes:

  • If your account has 2 factor authentication, use the -h flag to start the chromium browser in headful mode.
  • If you are unable to open the chromium browser, you may need to install it manually and try again.

Manually scraping the Nest Website

  1. Open a Chrome browser tab in Incognito Mode (or clear your cache).
  2. Open Developer Tools (View/Developer/Developer Tools).
  3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.
  4. In the 'Filter' box, enter issue.
  5. Go to home.nest.com, and click 'Sign in with Google'. Log into your account.
  6. Click on the last iframerpc call.
  7. In the Headers tab, under General, copy the entire Request URL (beginning with https://accounts.google.com, ending with nest.com). This is your "issueToken" in config.json.
  8. In the Headers tab, under Request Headers, copy the entire cookie (include the whole string which is several lines long and has many field/value pairs). This is your "cookies" in config.json.
  9. Do not log out of home.nest.com, as this will invalidate your credentials. Just close the browser tab.
Clone this wiki locally