nest-api

Starting Rest Streaming from an embedded system

馋奶兔 提交于 2019-12-23 02:31:05
问题 I'm using a fairly limited embedded system so I can't use any of the libraries and I'm on my own building HTTP requests. I'm able to handle the stats pretty well with polling but I'm trying to turn on Rest Streaming The Nest site directs you to the Firebase site which directs you to the W3C site and all I get through all of that is to 'include the header: Accept: text/event-stream in your request'. If I send the request (after the redirect): GET /?auth=[auth code] HTTP/1.1 Host: firebase

Need Working Example of Nest REST API without using Firebase API

一世执手 提交于 2019-12-21 17:56:13
问题 I'm struggling trying to find a working example of writing data to the Nest Thermostat API using plain rest. Attempting to write a C# app and cannot use Firebase. The multiple Curl examples posted so far do not work. I have a valid auth_token and can read data without issues. Finding the correct post url is elusive. Can anyone assist? Examples like curl -v -X PUT "https://developer-api.nest.com/structures/g-9y-2xkHpBh1MGkVaqXOGJiKOB9MkoW1hhYyQk2vAunCK8a731jbg?auth=<AUTH_TOKEN>" -H "Content

Nest API iOS Errors

自闭症网瘾萝莉.ら 提交于 2019-12-21 12:19:54
问题 I'm using the Nest Developer https://developer.nest.com/ API to create an iOS app. Does anyone know how to link the Firebase framework into my app? I keep getting linking errors: Undefined symbols for architecture i386: "_OBJC_CLASS_$_FTransactionResult", referenced from: objc-class-ref in NestThermostatManager.o "_OBJC_CLASS_$_Firebase", referenced from: objc-class-ref in NestThermostatManager.o objc-class-ref in NestStructureManager.o ld: symbol(s) not found for architecture i386 clang:

Acquiring and changing basic data on the Nest thermostat

孤者浪人 提交于 2019-12-18 04:14:27
问题 I've been having trouble acquiring and changing some of the basic data available from the Nest thermostat. Using a command line, how can I get or change individual settings or values on my thermostat? 回答1: This is a compilation from several users explaining how to retrieve or change some basic information with some of my own experiences added in. Wherever I use <VALUE> , replace that with the applicable information in your setup. If you're using Windows, you'll need something like git-scm.

cURL error - cannot send text value for -d

半城伤御伤魂 提交于 2019-12-13 19:30:02
问题 Executing: curl.exe -k -L -X PUT "https://developer-api.nest.com/devices/thermostats/[DEVICE_ID]/hvac_mode.json?auth=[ACCESS_TOKEN]" -H "Content-Type: application/json" -d "heat" Produces the error: {"error":"Invalid content sent"} Using the exact same command but replacing hvac_mode with target_temperature_f and "heat" with 65 (any number will work and yes without quotes) works and the data changes upstream. I've tried sending "heat" without quotes and with '' instead of "" - no difference.

What is the link between <YOUR-FIREBASE>.firebaseio.com and home.nest.com

。_饼干妹妹 提交于 2019-12-13 01:04:14
问题 I can talk to firebaseio using python-firebase but I am not finding any tutorials on how to actually communicate with a NEST device using firebaseio. None of the examples on firebaseio have anything to do with NEST and likewise it seems none of the NEST examples have anything to do with firebaseio. Is the firebaseio account supposed to somehow import the data from home.nest.com? How do I link the two? Why would I want to authenticate with firebaseio unless it has the NEST's data? python

Firebase error code 9999 “blocked”

 ̄綄美尐妖づ 提交于 2019-12-12 09:51:52
问题 All of a sudden, we are getting an error authenticating with Nest and Firebase. The error code is 9999, and the message is "blocked". The source code has not changed on the app side, so it seems like something has changed on the server side. I see a similar issue here, however they are getting a message of "too many requests", instead of "blocked". Can anyone help us resolve this issue? Thanks. 回答1: This error occurs when you have too many concurrent open connections to Nest using the same

Connecting Java standalone server to Nest cloud via Firebase-Api

不打扰是莪最后的温柔 提交于 2019-12-12 01:57:59
问题 I would like to connect a Java application to the Nest-Cloud via the Firebase-Api. The application is as simple as reading the setpoint of a nest thermostat. I spent a lot of time on developer.nest.com and firebase.com to find the required information, but failed. What is actually the base url, where the firebase is located? seems not to be home.nest.com How can I authenticate without user interaction? I tried FirebaseSimpleLogin, but the implementation depens on Android, which is not my

NEST Thermostat API

▼魔方 西西 提交于 2019-12-12 01:57:31
问题 I am trying to develop an ios app using the newly published NEST api but bit lost with their native documentation. Question:I could get an access token but do not know the thermostat endpoint to query and update "Away" state Any pointers will be greatly appreciated .. 回答1: I'm presuming you intend to use REST to query and update the away state since you mentioned "endpoint"? If not the other alternative is to use the firebase API. This is documented in the introduction section To get the away

Firebase REST streaming for multiple users

流过昼夜 提交于 2019-12-11 15:06:14
问题 I have a server that needs to receive real time updates from Firebase, for multiple users, where each user grants Oauth access to his Firebase data to my app. My server is implemented using Firebase REST Streaming, based on Server Sent Events. I need to know if there is a way to multiplex Firebase data pertaining to multiple users on a single stream. I would like to be able to set up the stream with Oauth tokens pertaining to multiple users, and to subsequently receive real time updates