Reputation: 27
I would like to get the current temperature set on heat mode of the Nest thermostat (not the ambient measure temperature).
Is there a way to do that from Google Scripts?
I looked at the Google Apps scripts documentation but found nothing about this.
Upvotes: 0
Views: 126
Reputation: 27
I did it! I used this code (by chance):
var settemp = device['traits']['sdm.devices.traits.ThermostatTemperatureSetpoint']['heatCelsius'];
Logger.log('settemp' + settemp);
Upvotes: 2