Skip to content

HAP NodeJS and Nest Thermostat

Amruth Pabba edited this page Sep 19, 2016 · 1 revision

Hey, welcome to the Nest Thermostat tutorial!

This page has instructions on how to add a Nest Thermostat to HomeKit. This is now compatible with iOS 10 and latest versions of Node.JS

This only works if you already have installed HAP-NodeJS. Also ensure that HAP-NodeJS isn't working when you are falling through this tutorial.

The first command you want to run is: cd /home/pi/HAP-NodeJS/

This command takes you to HAP-NodeJS folder.


The next command you want to run is: sudo apt-get install libcurl4-openssl-dev

This command installs the required packages for the Nest-HAP connection.


The next command you want to run is: sudo npm install http-sync-4

This command installs the required Node module for the Nest-HAP connection.


The next command you want to run is: cd /home/pi/HAP-NodeJS/accessories

This command takes you to HAP-NodeJS accessories folder.


The next command you want to run is: sudo wget https://goo.gl/JDbr4H -O NestThermostat_accessory.js

This command downloads the Nest Accessory file so that you can have the Nest work with HomeKit


The next command you want to run is: sudo wget http://goo.gl/rjoieZ -O Nest_Info.js

This command downloads the Nest Info file so that you can have the Nest authenticate with HomeKit


Follow my tutorial from the time 2:30. Here is a direct link: link.

Follow my steps from this part of the tutorial and you should be set. Ensure you are in the HAP-NodeJS/accessories directory when you follow the steps.


Once you finish the steps in the remaining of the video, you are complete with the configuration.

Clone this wiki locally