Keyboard Shortcuts
Likes
Search
Nest API is now avaialble
I just received the emai from Nest. ?Who will be the first to get a Crestron Module out? "For the past year we’ve been hard at work setting everything up. And today, we’d like to announce that the Nest Developer Program and Nest API are officially open for business. The foundation is set. The API is ready. Now it’s up to you to build something great." |
||||||||||||||||||||
I was just looking at their developers website...
? There's pretty much everything you need there.? Someone who has been a bit deeper on the programming will need to look through it and see how this can be leveraged against Crestron for sure.? Seems pretty straightforward overall to get current temperature and create set points for various thermostats within a system. |
||||||||||||||||||||
S# to the rescue! On Tue, Jun 24, 2014 at 12:33 PM, cfm@... [Crestron] <Crestron@...> wrote:
|
||||||||||||||||||||
Heather Baiman
开云体育This seems like something ControlWorks would take on... what say you Lincoln? ? From: Crestron@... [mailto:Crestron@...]
Sent: Tuesday, June 24, 2014 3:34 PM To: crestron Subject: Re: [Crestron] Re: Nest API is now avaialble ?
S# to the rescue! ? On Tue, Jun 24, 2014 at 12:33 PM, cfm@... [Crestron] <Crestron@...> wrote: ? "Who will be the first to get a Crestron Module out?" I wish...? :( ?
============================================================================ Please refer to http://www.eeny.net/disclaimer.txt for important disclosures regarding this electronic communication. ============================================================================ |
||||||||||||||||||||
Heath Volmer
开云体育On Jun 24, 2014, at 1:33 PM, Nathan Hesson nhesson@... [Crestron] <Crestron@...> wrote:S# to the rescue! If someone wants to send me one ;-)... ? I've heard bad things about their reliability. ?I don't want to hear any bad things about a thermostat, especially in a state where things tend to get cold... Heath |
||||||||||||||||||||
Last I knew the protocol was to communicate with Nest servers which when connected to the stats.... Can anyone confirm this? Or has it potentially changed? On Tue, Jun 24, 2014 at 3:39 PM, Heath Volmer hvolmer@... [Crestron] <Crestron@...> wrote:
|
||||||||||||||||||||
开云体育I’ll have to defer to my module-managing colleague who would be in the next office over if he weren’t on vacation this week. ? On the commercial side we certainly don’t see demand to justify us jumping in that boat (Heck, I’ve been here 9 years and 3 days and no one on my team has had a request for HVAC aside from my own house) – but I’m not really in touch with the resi side to know what real demand is like and if we’d be able to recoup our development/testing/documentation costs with such a module. We also tend to prefer to have a direct relationship with the manufacturer and my understanding is that, at least in the past, they were not terribly receptive. ? Lincoln -- Lincoln King-Cliby, CTS, DMC-E-4K/T/D Commercial Market Director Sr. Systems Architect | Crestron Certified Master Programmer (Silver) V: 440.449.1100 x1107 F: 440-449-1106 I: Crestron Services Provider | Biamp Audia Certified | Extron Control Professional ? From: Crestron@... [mailto:Crestron@...]
Sent: Tuesday, June 24, 2014 3:36 PM To: Crestron@... Subject: RE: [Crestron] Re: Nest API is now avaialble ? This seems like something ControlWorks would take on... what say you Lincoln? ? From: Crestron@... [mailto:Crestron@...] ? S# to the rescue! ? On Tue, Jun 24, 2014 at 12:33 PM, cfm@... [Crestron] <Crestron@...> wrote: ? "Who will be the first to get a Crestron Module out?" I wish...? :( ? ? ? ? ============================================================================ Please refer to for important disclosures regarding this electronic communication. ============================================================================ |
||||||||||||||||||||
From what I saw after a 2 minute browse on their API site, you are talking to their servers and then they tell the stat what to do. ?From what I can tell on the protocol, you'll be needing HTTPS of some kind for the OAUTH authentication (and I didn't see if it was required to talk to their server), and will likely need to port some libraries around (Firebase I believe). Heath, I have a Nest at home (and a protect smoke alarm). I love them both. Haven't had any issues. On Tue, Jun 24, 2014 at 12:41 PM, Mark Delzer mdelzer@... [Crestron] <Crestron@...> wrote:
|
||||||||||||||||||||
There appears to be 2 kinds of authentication, an email/password login or a PIN based login that appears to be better suited for our world. ?There is also a full REST API that doesn't use a library. ?
I'm on the fence whether or not this is something I could accomplish (with some help) or if it's better left to the S# gurus. Either way, I have a NEST and 2 Protects at home to test on and for the record, they are fantastic and stable. There is also a Chrome plug-in emulator, Heath, so you can develop without actual product (Google to the rescue). ?I would be happy to provide you a login for testing on actual product when you are ready as well. I already have 2 active clients that would love this in their homes. ?I would be happy to pay for someone to make it happen!!! Michael Block-O-Matic, Inc. |
||||||||||||||||||||
Trey Chamrad
+1 to Michael,? have clients ready, have money to pay the powers to make it happen Thanks,
|
||||||||||||||||||||
Even with the RESTful API though, it's HTTPS right? On Tue, Jun 24, 2014 at 2:35 PM, michael@... [Crestron] <Crestron@...> wrote:
|
||||||||||||||||||||
I also have a Nest & a couple Protects. ?No issues, save for the occasional wifi disconnect (presumably due to the battery not recharging fully/properly). ?I've not encountered any issues that would prevent the stat from running the HVAC system...only the occasional issue connecting to it with the iOS app.
toggle quoted message
Show quoted text
On Tuesday, June 24, 2014, Nathan Hesson nhesson@... [Crestron] <Crestron@...> wrote:
|
||||||||||||||||||||
I don't think you could do it if it's HTTPS.? I'm a commercial guy, so I don't have a need for controlling these, but I've messed with other devices that used RESTful and JSON over HTTPS and even Crestron said you couldn't really do it, without some kind of middle-ware software that would make the HTTPS connection, and translate to non-encrypted comms with the Crestron program.? The middle-ware would have to run on a normal PC, and have access to more robust and full fledged programming libraries to make HTTPS possible, and possibly reduce the burden of parsing/handling REST and JSON easier, to make it more friendly with Crestron.
Things may be different with S#, but I asked about this in Master's class back in January, and was told that encryption library's are still sand-boxed out of S# for the time being, so there still isn't a way to do HTTPS without rolling your own encryption algorithms...that I know of. I have no idea why, as this is one thing that is needed more and more in Crestron land, especially for these devices, that seem to think that because they have a "web API" they are controllable by anything, and advertise themselves as such.? Then clients want to use them, and can't understand why Crestron can't control them, when the device says it's controllable and has an API avail.? (HaiVision, I'm looking at you!). I ran into this another time, when a device said it was controllable and had an API, and when I received the doc's from the manufacturer, it was basically a compiled .DLL file that you linked into your "standard windows program" to control the device.? Trying to explain to the client, that I couldn't use the "API" that was supplied was difficult to get across... why I couldn't just compile the .DLL file into the crestron program and use it.? The documentation basically walked through how to control the device using the functions and classes contained in the DLL file rather than actual protocol info. More and more device manufacturers are "web-enizing" all their products as the end-all, be-all for 3rd party control.? Frustrating.? As most of you know, it much more time-consuming to figure out correct PUSH and GET commands/responses and parse a webpage of info than it is to open a telnet port and just get to business.? Frustrating... |
||||||||||||||||||||
I'm sure we'll look into it, but I have no idea whether or not it would be worth it in the long run. ?To be honest, I've yet to see a Nest thermostat in any of the resi jobs I've worked on (and 99.9% of my work is resi work), so we have to factor in that, along with how many programmers are going to quickly put together modules and offer them for free. ?I think it's worth at least looking into though...but I'm only one opinion from the company :)
|
||||||||||||||||||||
Heath Volmer
开云体育Good to hear. On Jun 24, 2014, at 6:06 PM, Steve Kaudle skaudle@... [Crestron] <Crestron@...> wrote: I also have a Nest & a couple Protects. ?No issues, save for the occasional wifi disconnect (presumably due to the battery not recharging fully/properly). ?I've not encountered any issues that would prevent the stat from running the HVAC system...only the occasional issue connecting to it with the iOS app. |
||||||||||||||||||||
Has anyone made any progress on this?
Perhaps we could create a middle layer that parses http requests and acts as a proxy to various APIs such as Nest, UP, etc. I'd be willing to create the middle-layer and develop a standard for making these requests to the APIs, if someone would be able to help with the modules. ?We could secure the service via a white list IP. Any interest? |
||||||||||||||||||||
Heath Volmer
开云体育I had it about 95% but ran into a S# problem with HTTP REST streaming. ?I'm hoping Crestron fixes the problem so I can bring this to life. ?I can control the stats, but feedback is limited to polling, and too much polling will eventually get a client kicked off their service for some period of time. I've thought about creating something like you said on a server in lieu of having the fix made, but I don't really want to be responsible for such a setup - only to force everyone to change down the road. Heath On Aug 21, 2014, at 10:14 AM, jasonberk@... [Crestron] <Crestron@...> wrote:
|
||||||||||||||||||||