Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This branch is 15 commits ahead of ablyler:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Update 21/04/2020

This is retired. If you want to do it use the following API. It's epic!!!

To get it working with Nest login, just need to do the following.

I'll add details of how I integrate it with Alexa later.

UPDATE 15/11/2019

Sorry everyone, Google has broken this and added a reCaptcha to the login page that means that automation of logging in is now well and truly broken. It was great while it lasted but I don't think it will be fixable.

UPDATE 25/11/2019

Malcolm has come up with an android workaround thats worth a read dated. November 20, 2019 at 3:12 pm

I have also found another way that I will post once I have a more robust script. It uses headless chrome, python and selenium.

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."}


PHP API for the Nest Thermostat Hot Water Boost (UK)







No releases published


No packages published


  • PHP 100.0%