Nov 072018
 
Nest

Nest App

I like data. I’ve always been a bit of a data junky.  In my personal life, I’ve found looking at the data is usually interesting but not terribly useful.  But at work, I identify issues all of the time just by keeping different data up on my dashboards.    This write up however, is for my home, and my new Nest thermostat.  I was so excited to get this thing, I was curious about a dozen different aspects of these smart thermostats.  However, I was terribly disappointed when I got it installed and working and realized that the Nest only stores the last 10 days worth of data.  My assumption is they keep all the data (doesn’t everybody?) but for speed purposes they only let the customer access the last 10 days.  Whatever, its frustrating, but its not like their going to change it for little old me.

Imagine my surprise when I discovered they have an API that the customer can access. I had been bitching about the fact that Nest doesn’t give the customer access to this data, like on the website or something.. somewhere at least.  About 3 weeks later my buddy Buddah sends me this link that I guess showed up on his FaceBalls.

… I may have gotten a lil chub from this.

The guide will get you through the specific steps to making this whole thing happen.

Here’s my notes;Nest Data

  • I had issues getting google sheets to run the app.  I’d set it to run every 15 minutes, and sometimes it would happen sometimes it would not.  My guess is that either the jobs are queued or that sometimes the first couple take a bit longer.    I had a lot more luck when I’d set it to 15mins and then wait 30 for it to work.
  • The Nest API only allows 1 query every 5 minutes, its real easy to go over this when your coding.  If you go over, they’ll send a denied response which this script isn’t built to handle, so you just end up with no data.
  • Same with the openweathermap.org API.
  • Michael P. got the openweathermap.org to respond to a zip code.  I couldn’t get it to for some reason. I ended up going with city ID instead (its in their documentation).
  • The data from openweathermap.org isn’t super consistent.  My guess is its the opensource-ness of the project.  Inconsistent weather and humidity readings.

 Posted by at 6:04 pm

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)