Skip to content

Instantly share code, notes, and snippets.

@jeffremps
jeffremps / update_nest_target_humidity.php
Created November 8, 2021 16:53 — forked from joe248/update_nest_target_humidity.php
PHP Script to update Nest thermostat target humidity based on outside temperature
<?php
require_once dirname(__FILE__) . '/../includes/nest.class.php';
// Your Nest username and password.
define('USERNAME', 'YOUR_NEST_USERNAME');
define('PASSWORD', 'YOUR_NEST_PASSWORD');
define("MAX_HUMIDITY", 45);
define("MIN_HUMIDITY", 15);