Using a temperature sensor, an Arduino, and a Raspberry Pi to control a Nest Thermostat.
Full instructions for the project here: https://www.hackster.io/ithinkso/automating-a-nest-thermostat-cbf8b3
The instructions for downloading node.js for Raspberry Pi is here: https://github.com/nathanjohnson320/node_arm
You will also have to download the packages serialport, ws and raspi-i2c via npm:
$ npm install serialport
$ npm install ws
$ npm install raspi-i2c
The code for the Arduino is the IoT-temp-sensor.ino file.
The schematics are avaliable here: https://circuits.io/circuits/2557943-temperature-sensor