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.
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!
If you have any suggested improvements, feel free to issue me a pull request on GitHub:
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.
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 = email@example.com password = mypassword interval = 300 index = myIndex
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.
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.
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 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.