PHP API for the Nest Thermostat Hot Water Boost (UK)
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 9 commits ahead of ablyler:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Licence and Readme update Oct 10, 2017 Added blog post link to readme Nov 7, 2017
example_boost_hot_water.php Moved variables to top Nov 7, 2017
example_cancel_hot_water.php Moved variables to top Nov 7, 2017
nest-php-api.php Added better error checking for invalid login Nov 29, 2018

Nest PHP API to control Hot Water (unofficial)

PHP API to control Hot Water for the Nest Thermostat (UK)

After making several requests on the Nest Community forums, to be blown of by the Nest admins I decided to reverse engineer the web app to create a script that can boost hot water so I can use my alexa to control the hot water. and more recently

My aim was to keep it as simple as possible, not my best work nor is it commented well but it works. Might neaten it in the future. Thanks to Andy Blyler for his original curl functions and work.

I will update this page to include the information I post on my blog but for now I've not written it :) Blog post ->


// include the nest api library

// create new nest object w/ login information
$nest = new Nest('', 'password');

// boost hot water for 30 minutes

// boost hot water for X minutes

// cancel the current boost

// or you can also cancel by calling the following

// when you either set or cancel the boost a json response will be returned
{"success":true,"code":200,"data":"Boom, hot water changed. Or you set it to the same as before."}