Page 2 of 3

Re: Nest Learning Thermostat

PostPosted: Fri Nov 18, 2011 12:31 pm
by Perry The Cynic
Unfortunately, we heard back from them that there is currently no API available for integration with home automation systems. We'll continue to try to work with them, but without an API it will make integration much more difficult.


Very much in the Apple Way, they want to provide a whole experience, rather than ship a component in a system they don't control. I don't mind reverse-engineering their IP interface. I'm just afraid that a lot of the raw sensor data never makes it off the device, making it necessary to hack the Nest itself.

We'll just have to see...

Cheers
-- perry

Re: Nest Learning Thermostat

PostPosted: Fri Nov 18, 2011 12:48 pm
by jay (support)
Agreed - this is what I was expecting (and predicted to Matt that would be the response). For us, reverse engineering is just not in the cards for anything (we've been avoiding it for X10 interfaces for years). Coding to specified APIs is bad enough in many cases, we just don't have the time to chase moving undocumented targets unless there's a REALLY good reason (only two I can think of in the last several years and those were to overcome shortcomings in Apple APIs).

Re: Nest Learning Thermostat

PostPosted: Fri Nov 18, 2011 6:12 pm
by matt (support)
Perry -- that would be great if you gave reverse-engineering their IP comm a shot. I haven't looked at it in detail, but hopefully it doesn't just push all of the states/temps to their servers.

And yeah, they are definitely taking the Apple stance on this. At this point, they won't hint at all if they are planning on releasing any type of API information in the future.

Re: Nest Learning Thermostat

PostPosted: Fri Nov 18, 2011 6:50 pm
by Korey
support wrote:
And yeah, they are definitely taking the Apple stance on this. At this point, they won't hint at all if they are planning on releasing any type of API information in the future.


Yeah.. This was the response I received after inquiring:

Here’s what we suggest:
Currently we haven't made any announcements, regarding API availability or any other type of integration compatibility.
Any announcements will show up on our website at nest.com. However, You can stay informed about product updates and future announcements by adding your email address to our Nest news list; the form is available near the bottom of the front page of nest.com.
(Nov 10, 2011)

:(

Re: Nest Learning Thermostat

PostPosted: Sun Nov 27, 2011 9:48 pm
by speedkills
I am really liking my Nest thermostat and it is probably my GF's favorite home automation item that I have installed. It does have a zigbee interface, not sure if they will enable it in the future and I also noticed recently that the new Comcast home automation/security product they are rolling out is also zigbee. In surveying the overall market it seems like zigbee is really gaining ground and they definitely are starting to have the most advanced modules turned out so hopefully in the future Indigo can end up with some sort of zigbee functionality, whether native or via a plugin.

Re: Nest Learning Thermostat

PostPosted: Tue Apr 10, 2012 12:31 pm
by pantalones
Perry The Cynic wrote:
Unfortunately, we heard back from them that there is currently no API available for integration with home automation systems. We'll continue to try to work with them, but without an API it will make integration much more difficult.


Very much in the Apple Way, they want to provide a whole experience, rather than ship a component in a system they don't control. I don't mind reverse-engineering their IP interface. I'm just afraid that a lot of the raw sensor data never makes it off the device, making it necessary to hack the Nest itself.

We'll just have to see...

Cheers
-- perry


For what it's worth, there is no vendor-provided api, but one could make something out of Beautiful Soup or other scriptable screen-scrapers pointing at nest.com. Control of the entire system is exposed through the web app. My hunch is it's too much work if it'll be replaced with an actual API in the near future, though.

One thing to consider is they might not be releasing an API because they intend to keep this a closed system for their own proprietary components and software in the future.

Re: Nest Learning Thermostat

PostPosted: Sat May 26, 2012 9:46 am
by terrydew
I ran across this while searching for info about Nest. There were some othe references to wired prairie. Thought this might be of help to anyone thinking of a plugin.

http://www.smbaker.com/a-python-api-for ... thermostat

Re: Nest Learning Thermostat

PostPosted: Sat May 26, 2012 10:12 am
by matt (support)
Great info -- using python with the json library looks like it is relatively easy to communicate with the Nest.

For anyone wishing to take a shot at a Nest plugin, also be sure and download the Indigo Plugin SDK. It includes an example plugin that creates a thermostat device type, which will be a helpful template for a Nest plugin.

Re: Nest Learning Thermostat

PostPosted: Sat May 26, 2012 12:43 pm
by Aeolius
A Nest-related thread popped up on MacRumors, as the Apple store may start carrying the Nest.

http://forums.macrumors.com/showthread.php?t=1375724

Re: Nest Learning Thermostat

PostPosted: Sat May 26, 2012 12:55 pm
by matt (support)
Aeolius -- thanks for dropping the Indigo reference and link on that thread. :-)

Re: Nest Learning Thermostat

PostPosted: Sat May 26, 2012 8:40 pm
by ryanbuckner
I gave the script a shot and it seems to work great through the terminal command window. However, when I try to use his commands through an embedded python script in Indigo it throws a syntax error.

The following command sets the temperature on the Nest to 73:

Code: Select all
nest.py --user joe@user.com --password swordfish temp 73

Re: Nest Learning Thermostat

PostPosted: Sat May 26, 2012 9:14 pm
by bschollnick2
ryanbuckner wrote:
I gave the script a shot and it seems to work great through the terminal command window. However, when I try to use his commands through an embedded python script in Indigo it throws a syntax error.

The following command sets the temperature on the Nest to 73:

Code: Select all
nest.py --user joe@user.com --password swordfish temp 73


You don't indicate what the syntax error is that is being reported.... ?

Re: Nest Learning Thermostat

PostPosted: Sun May 27, 2012 7:44 am
by ryanbuckner
Sorry, it's pretty generic. I've removed my real username and password. This is the error in the event window but the same error appears in the embedded script window.

Code: Select all
 
Script Error                    embedded script: invalid syntax
Script Error                    around line 1 - "nest.py --user joe@user.com --password swordfish temp 73"

Re: Nest Learning Thermostat

PostPosted: Sun May 27, 2012 9:45 am
by bschollnick2
ryanbuckner wrote:
Sorry, it's pretty generic. I've removed my real username and password. This is the error in the event window but the same error appears in the embedded script window.

Code: Select all
 
Script Error                    embedded script: invalid syntax
Script Error                    around line 1 - "nest.py --user joe@user.com --password swordfish temp 73"


Is "nest.py --user joe@user.com --password swordfish temp 73" the entire contents of the embedded script?

If so, I think your misunderstanding how the embedded scripts work... It has to be the text of the script, not the command line. You could switch it to an external file, and put your credentials in the nest.py file....

Re: Nest Learning Thermostat

PostPosted: Sun May 27, 2012 10:00 am
by terrydew
I just got one to try and it is a really nice (I would say cool but my son says I am to old to say cool :D ) product. I think it is worth the extra $ just from looks alone. I took their post installation survey and added the comment below. If more people do this maybe they will get the word.

Yes! This is a wonderful product that is marred because you have not released an API so that it can be integrated with other home automation systems. I use Indigo from Perceptive Automation as i am totally mac based. This would not be hard to do so I can't understand why you haven't released this already. It could only help your sales. I have a total of 11 thermostats and I got one Nest to try but I can not justify 10 more with out the API or at least a statement that one is on the way. Again great product.