gboudreau / nest-api

Unofficial Nest Learning Thermostat API
GNU Lesser General Public License v3.0
299 stars 92 forks source link

Thermostat Line Power query #59

Open webpirate opened 8 years ago

webpirate commented 8 years ago

Is there a way to find out if there is power to the thermostat? like $protect->line_power_present with the protest?

MikeKemmerer commented 8 years ago

I'm not seeing anything obvious in a raw data dump of everything - $nest->getStatus();. Except there is a way to monitor the battery level in

$infos=$nest->getDeviceInfo($devices_serials[0]); print_r($infos);

Mike

On Fri, Jan 8, 2016 at 5:54 PM webpirate notifications@github.com wrote:

Is there a way to find out if there is power to the thermostat? like $protect->line_power_present with the protest?

— Reply to this email directly or view it on GitHub https://github.com/gboudreau/nest-api/issues/59.