Skip to content

ablyler/nest-php-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Nest PHP API (unofficial)

PHP API to the Nest Thermostat

Usage

// include the nest api library
include_once('./nest-php-api.php');

// create new nest object w/ login information
$nest = new Nest('john@doe.com', 'password');

// print the current house state
echo $nest->house_state_get();

// set the house to away
$nest->house_state_set('away');

// set the temp to 72 degrees fahrenheit
$nest->temperature_set(72);

// obtain all the status information from nest
var_dump($nest->status_get());

About

PHP API to the Nest Thermostat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages