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

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) cf7329b88ca6b6e7e225644a9c154a19b87d17df6ab5f473570ed6365235be37
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

Nest Home Thermostat

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.

29
Installs
1,528
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

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

Follow Us:
© 2005-2018 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and 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.