nest-api

OpenThread using Nest Learning Thermostat

雨燕双飞 提交于 2019-12-11 07:59:21
问题 I'm a seasoned developer who is jumping into to OpenThread for home automation specifically for Nest products. I'm more interested in exploring the possibility of communicating with Nest devices through local protocols via border routers, local link and local mesh presence of FTD's & MTD's. I'm not interested if it can be avoided to use the Nest API through the cloud and user accounts. I've started with the Nest Learning Thermostat and I'm prototyping on a Raspberry Pi 3 and have successfully

Nest API Query - Control of system from Intruder Alarm

眉间皱痕 提交于 2019-12-11 04:04:22
问题 I'm considering the purchase of a Nest and have some thoughts in relation to the API capabilities. I have a intruder/security alarm with PIRs around the house. What I intend to do is to develop an interface between this system and Nest via the API. My reasoning for this is to use the motion detection from the alarms PIR sensors to 'inform' Nest that someone is still on the premises (due to their movement) and hence prevent Nest switching to its Auto-Away state when the house is inhabited.

android-NestDK stuck with pincode

◇◆丶佛笑我妖孽 提交于 2019-12-11 02:51:43
问题 I'm trying to figure out how to connect my NestDK app to the nest API. After Login in with my user and password, I am getting a "Use this Pincode to connect with Nest. XXXXXX". What am I supposed to do with this ? I expected the access_token request to be happening in the background but I get stuck on this page. I set REDIRECT_URL to https://api.home.nest.com/oauth2/access_token?client_id=[myClientId]&code=AUTHORIZATION_CODE&client_secret=[myClientSecret]&grant_type=authorization_code Any

Unable to read/write values to Nest Firebase with newest Firebase Framework

南楼画角 提交于 2019-12-10 20:44:39
问题 I have been trying to integrate nest into my iOS application, following all the instructions regarding user authentication and then making calls to the nest API. I used Nest's iOS example app as a reference: https://github.com/nestlabs/iOS-NestDK I confirmed that their project is working. Here is some code that comes from their project which I modified to look and see if anything was set for "data". self.rootFirebase = [[Firebase alloc] initWithUrl:@"https://developer-api.nest.com/"]; [self

How do i set temperature by using plain REST not firebase api

有些话、适合烂在心里 提交于 2019-12-10 19:46:34
问题 I could not find any information on how to set the target temperature or set Away mode. Has anyone successfully gotten it to work? https://developer-api.nest.com/devices.json?auth=asdasdasd ^ Provides the information but how do we modify the temperature or away mode?? 回答1: Keep the auth in the querystring, and PUT the JSON-formatted change to the appropriate endpoint. eg (PHP): To set target temperature: $ch = curl_init("https://developer-api.nest.com/devices/thermostats/$THERMOSTAT_ID?auth=

What happens after the Nest access token expires?

那年仲夏 提交于 2019-12-10 16:08:36
问题 Question says it all. I couldn't find anywhere in the API that states what happens when it expires. Do you have to open that "Works with Nest" webpage again and get a new authorization code? Or, using the same authorization code, just get a new token? And how will Nest indicate the token has expired? 回答1: Expiration date comes back in the OAuth response and is set to 10 years in the future, which is practically forever. That gives Nest quite a few years to come up with a refresh or expiration

Authorization using git bash

倾然丶 夕夏残阳落幕 提交于 2019-12-10 10:38:47
问题 I've been trying to work with my Nest thermostat so I can work it into home automation run by my Arduino-based projects. So far, I've completely failed to get anything done. I would greatly appreciate input or redirection to other resources. I signed up under the Nest developer and created a client with read/write permissions. I'm at the OAuth step where I want to start pulling basic information out of thermostat. I went to https://home.nest.com/login/oauth2?client_id=[clientID]&state=STATE

Will the Nest API support reading the state of the system? [closed]

醉酒当歌 提交于 2019-12-08 05:11:11
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . The API doesn't give any information on the state of the HVAC system, i.e. heating, cooling, fan. Will this be added in the future? 回答1: You can determine the cooling/heating mode using the "hvac_mode" property (https://developer.nest.com/documentation/api#hvac_mode), and "fan

Will the Nest API support reading the state of the system? [closed]

我的梦境 提交于 2019-12-06 15:58:02
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 5 years ago . The API doesn't give any information on the state of the HVAC system, i.e. heating, cooling, fan. Will this be added in the future? You can determine the cooling/heating mode using the "hvac_mode" property ( https://developer.nest.com/documentation/api#hvac_mode ), and "fan_timer_active" to check if the fan timer is running. You can also query the target properties, starting with

Authorization using git bash

与世无争的帅哥 提交于 2019-12-06 04:17:56
I've been trying to work with my Nest thermostat so I can work it into home automation run by my Arduino-based projects. So far, I've completely failed to get anything done. I would greatly appreciate input or redirection to other resources. I signed up under the Nest developer and created a client with read/write permissions. I'm at the OAuth step where I want to start pulling basic information out of thermostat. I went to https://home.nest.com/login/oauth2?client_id=[clientID]&state=STATE where clientID is the clientID for my project. I left STATE as is. I received the PIN that I'll call