Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate Mobile ID #1

Open
coronaflyest opened this issue Jun 29, 2017 · 2 comments
Open

Unable to locate Mobile ID #1

coronaflyest opened this issue Jun 29, 2017 · 2 comments

Comments

@coronaflyest
Copy link

I'm having a hard time trying to locate the mobile ID for my Nexia thermostat. I've look almost everywhere in my Nexia account website.

Any help will be greatly appreciated.

@nelis249
Copy link

@coronaflyest
Yea I couldn't figure it out either. The nexia mobile app uses certificate pinning so it's not possible to man-in-the-middle it with fiddler.

I decided to write one here.

@cthayer
Copy link

cthayer commented Feb 3, 2018

To get the mobile ID and the api key you have to do the following:

  1. Login to mynexia.com
  2. Go the to Mobile tab
  3. Create a new mobile device
  4. Click the Get Activation code button for the new mobile device
  5. Make a call to NexiaApi.connect(activation_code) and log the output
const nexiaApi = require('nexia-api');

const activation_code = 12345;  // get this from the web ui by following directions above

nexiaApi.connect(activation_code).then((api) => {
  console.log(api);
}).catch((e) => {
  console.error(e);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants