Nest Thermostat logging
Switch branches/tags
Nothing to show
Clone or download
Thomas101 Update package.json
version bump
Latest commit b9e9ae9 May 8, 2016

Nest History

Travis Build Status js-standard-style npm

A scratch your own itch nest thermostat history logger. Logs current temperature and humidity every 5 minutes then gives you a web UI to view it. Uses weather underground to log outside temperature and for graphing. I've got this running on a raspberry pi at home on my local network



Capture 1

Day View

Capture 2


Create the following two files...


"use strict"
module.exports = Object.freeze({
	STORAGE_PATH 				: '../db/',
	MAX_DAYS 					: 120,
	RECORD_MINS 				: 5,
	NEST_USERNAME 				: '<nest username>',
	NEST_PASSWORD				: '<nest password>',
	WUNDERGROUND_KEY 			: '<weather underground key>',
	SERVER_PORT 				: 8080


window.CONSTANTS = {
	DEVICE_ID : '<nest device id>'


>> npm install
>> node index.js

Missing features

  • Multi-device support. Data is logged but only one device is shown
  • Graphing Performance is poor because of the amount of data we're showing. This could be optimised
  • Web Security. Setup on my local network at home, but if you were to put it on the web you should probably seat it behind nginx and use some http authorization to prevent unauthorized access
  • Works on the latest chrome. Might be issues with not-so-old browsers.