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

Multiple Nests on 1 account #1

Open
ryanbuckner opened this issue May 27, 2012 · 4 comments
Open

Multiple Nests on 1 account #1

ryanbuckner opened this issue May 27, 2012 · 4 comments

Comments

@ryanbuckner
Copy link

First of all, awesome! Thank you. I tried your script and I have 2 Nests on my account. Your commands only communicate with the first Nest it sees on the account. Can you add a parameter for the "name"?

@smbaker
Copy link
Owner

smbaker commented May 27, 2012

Hello Ryan,

I just pushed an update to github that should have support for
multiple nests. I’ve provided two ways to do it. One is to use the
“–index” argument. For example, “–index 1″ to use the second nest.

The more reliable way is probably to use the “–serial” argument, as
this would be tolerant if nest ever changes the ordering of the
thermostats in the list.

Both options are untested, as I only have one nest.

Scott

On Sat, May 26, 2012 at 6:11 PM, ryanbuckner
reply@reply.github.com
wrote:

First of all, awesome! Thank you. I tried your script and I have 2 Nests on my account. Your commands only communicate with the first Nest it sees on the account. Can you add a parameter for the "name"?


Reply to this email directly or view it on GitHub:
#1

@ryanbuckner
Copy link
Author

Thank worked, thanks!!

Now I wish I could figure out how to install the json module on my python
2.5 implementation for Indigo

On Sun, May 27, 2012 at 2:30 PM, smbaker <
reply@reply.github.com

wrote:

Hello Ryan,

I just pushed an update to github that should have support for
multiple nests. I’ve provided two ways to do it. One is to use the
“–index” argument. For example, “–index 1″ to use the second nest.

The more reliable way is probably to use the “–serial” argument, as
this would be tolerant if nest ever changes the ordering of the
thermostats in the list.

Both options are untested, as I only have one nest.

Scott

On Sat, May 26, 2012 at 6:11 PM, ryanbuckner
reply@reply.github.com
wrote:

First of all, awesome! Thank you. I tried your script and I have 2 Nests
on my account. Your commands only communicate with the first Nest it sees
on the account. Can you add a parameter for the "name"?


Reply to this email directly or view it on GitHub:
#1


Reply to this email directly or view it on GitHub:
#1 (comment)

@ryanbuckner
Copy link
Author

The simplejson import worked too. Thanks!!

jsquyres referenced this issue in jsquyres/pynest Feb 17, 2013
@AshuJoshi
Copy link

Many Thanks - Code works great - tried it with two Nests. My Python skills are rusty. I am hoping to figure out a way to encrypt the Username/Password so that if I were to run this on something like AWS - my account info is NOT in the bash (command) history of the shell!

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