icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Nest Home Thermostat
SHA256 checksum (nest-home-thermostat_103.tgz) 5b903f38473e9db7d543a73e50f045104902dbcc1d0f27239b42bbef39898975
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Nest Home Thermostat

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
The Nest is a smart and self-learning thermostat device for your home's heating and cooling systems.

The Nest.com Web application lets you control your thermostat remotely and see recent climate and heating/cooling schedules. However, this data is only kept for a relatively short period of time on their site.

This app lets you extract data from Nest.com's web application and feed it into Splunk for long-term storage and reporting!

Splunk for Nest Thermostats

What is a Nest?

The Nest is a smart and self-learning thermostat device for your home's heating and cooling systems. Alongside an easy to use interface, it also includes an Android app, an iPhone app, and a browser-based app to let you view the status and control the device.

What does this app do?

One of the "issues" I had with the web-based application was the limited amount of data and metrics it presented to you. On top of that, the data was locked-in - there was no data to export to feed into your own systems for further processing and long-term keeping. The Nest apps seem to only keep data for about 10 days.

This app includes a Splunk Modular Input that when provided with your Nest's login credentials will periodically poll the same APIs the Android, iPhone, and web apps connect to and pull down schedule, temperature, and many other metrics from the site.

The app provides a set of dashboards to visualize some, but not all, of the collected data. There's a lot of data, so feel free to explore everything under sourcetype = nest and see what you can come up with!

Contributing

If you have any suggested improvements, feel free to issue me a pull request on GitHub:

Credits

  • My wonderful fiancée, Erica Feldman, for suggesting the idea of Splunk-ing my Nest thermostat in the first place.
  • Scott M. Baker (smbaker), the author of pynest - a Python library that lets you control your nest via the command line. I used his Python code to help me understand exactly what was happening behind the scenes when talking to Nest.com.
  • Splunk, for hosting a Hackathon in late 2012 that drove me to write a very hacked-together version of this app.

Disclaimer

This is an unoffical app, and is not sponsored, endorsed by, or have any connection with Nest Labs, the creators of the Nest thermostat.

This app uses undocumented APIs on Nest.com's website. It is entirely possible that everything may break if they decide to update their APIs, which would likely break existing dashboards, or break the data collection altogether.

Although the script only scrapes data using read-only API endpoints, I am also not responsible if the script somehow sets your thermostat to extreme temperatures.

Setting up the App

Via inputs.conf

The most straight-forward way is to simply create an entry in inputs.conf. The pre-built dashboards are not hard-coded to any specific index, so feel free to use an index of your choosing. A recommended interval value should be around 300-600 seconds (5 to 10 minutes).

[nest://My Nest Thermostat]
username = me@example.com
password = mypassword
interval = 300
index = myIndex

Via the Splunk Web GUI

Log into Splunk, and go to:

Settings > Data Inputs > Nest Thermostat Information > Add New

Fill in your username and password for your Nest.com account. Make sure to check the More Settings box, and specify an interval. As mentioned above, an interval of 300 to 600 seconds is recommended.

Release Notes

Version 1.0.3
April 10, 2014

1.0.3 - Code cleanup.
1.0.2 - Cleaned up unnecessary DS_Store files left over by OS X
1.0.1 - My first public release! Please let me know of any bugs or issues. The collection scripts will support multiple Nest thermostats and multiple accounts, but the dashboards currently do not.


Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.