Python sample app
This app features the following integration functionality:
- Select structures with a structure picker
- Set the structure to Home or Away
- View the Smoke+CO alarm status
- View Camera status and images
- Set Camera streaming
- View Thermostat status and history
- Schedule updates to Home/Away status
- Schedule Cameras to turn on/off
Details | |
---|---|
Languages | Python and JavaScript |
Devices | Nest Learning Thermostat, Nest Cam, Nest Protect |
Required Client Permissions | Away read/write / v2 Camera read/write + images / v3-v4 Thermostat read / v6 Smoke+CO read / v5 |
Source Code | github.com/nestlabs/nest-python |
Codelab | https://codelabs.developers.google.com/codelabs/nest-ten-tips-for-success/ |
Video Series | https://www.youtube.com/playlist?list=PLAdP2gzuu3qR5S4j7XcFvWy5DGCjVCtin |
iOS sample app
A sample iPhone application that shows you how to:
- Authorize a Works with Nest connection using OAuth 2.0
- Read Nest Thermostat devices using REST
- Update Nest Thermostat devices using REST
This app features the following Thermostat integration functionality:
- Change target temperature —
target_temperature_f
ortarget_temperature_c
- Toggle the fan —
fan_timer_active
- Switch thermostats (if multiple thermostats are tied to the structure) —
device_id
Details | |
---|---|
Languages | Objective-C |
Devices | Nest Learning Thermostat |
Required Client Permissions | Thermostat read/write / v1-v6 |
Source Code | github.com/nestlabs/ios-NestDK |
Android-SDK
Android-SDK is an Android-based Java library that shows you how to:
- Authorize a Works with Nest connection using OAuth 2.0
- Listen for updates of Nest structures and devices using REST streaming
- Update Nest structures and devices using REST
Details | |
---|---|
Languages | Java |
Libraries | OkHttp |
Devices | Nest Learning Thermostat, Nest Protect, Nest Cam |
Source Code | github.com/nestlabs/android-sdk |
Android sample app
A sample Android application based on Android-SDK that features the following Thermostat integration functionality:
- Toggle HVAC modes —
hvac_mode
- Change target temperature —
target_temperature_f
ortarget_temperature_c
- Change Home/Away state —
away
Details | |
---|---|
Languages | Java |
Libraries | Nest Android-SDK |
Devices | Nest Learning Thermostat |
Required Client Permissions | Thermostat read/write / v1-v6 Away read/write / v1-v2 |
Source Code | github.com/nestlabs/android-sdk-sample |
Nest streaming dashboard
A web app that uses REST streaming to get real-time updates of Nest devices and display them in a browser using Node.js. The streaming dashboard shows you how to:
- Authorize a Works with Nest connection using OAuth 2.0
- Listen for updates of all Nest structures and devices using REST streaming
- Display updates in a web browser using Node.js
Details | |
---|---|
Languages | JavaScript |
Libraries | Node.js, jQuery, Passport, JsRender |
Devices | Nest Learning Thermostat, Nest Protect, Nest Cam |
Required Client Permissions | Thermostat read / v1-v6 Smoke+CO read / v1-v5 Camera read + images / v1-v4 Away read / v1-v2 |
Source Code | github.com/nestlabs/rest-streaming |