Nest Temperature Resolution

User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Nest Temperature Resolution

Post by SSteve »

Thanks a bunch for making this plugin. I've just started a temperature logging project and this is working perfectly for getting the temperature from my three thermostats. I've noticed that the temperatures (in Fahrenheit) are always whole numbers. Is this inherent in the Nest or am I getting the value incorrectly? Here's the pertinent code:

Code: Select all

import time
f = open ("/Users/steve/Documents/Temperature History/Temperature History.csv", "a")
f.write(time.asctime() + ", " + str(indigo.devices[622658917].sensorValue) + ", " + str(indigo.devices[1018854453].temperatures[0]) + ", " + str(indigo.devices[1176616821].temperatures[0]) + ", " + str(indigo.devices[986957268].temperatures[0]) + "\n")
f.close()
The first device is a Z-Wave multi sensor. The other three are Nests.

(I know my Python is primitive. I'm just starting to program in it.)
Chameleon
Posts: 611
Joined: Sat Oct 04, 2014 9:50 am

Re: Nest Temperature Resolution

Post by Chameleon »

SSteve wrote:Thanks a bunch for making this plugin. I've just started a temperature logging project and this is working perfectly for getting the temperature from my three thermostats. I've noticed that the temperatures (in Fahrenheit) are always whole numbers. Is this inherent in the Nest or am I getting the value incorrectly? Here's the pertinent code:

Code: Select all

import time
f = open ("/Users/steve/Documents/Temperature History/Temperature History.csv", "a")
f.write(time.asctime() + ", " + str(indigo.devices[622658917].sensorValue) + ", " + str(indigo.devices[1018854453].temperatures[0]) + ", " + str(indigo.devices[1176616821].temperatures[0]) + ", " + str(indigo.devices[986957268].temperatures[0]) + "\n")
f.close()
The first device is a Z-Wave multi sensor. The other three are Nests.

(I know my Python is primitive. I'm just starting to program in it.)
Steve

You python is fine... I'm learning as well :)

That's what the API provides for Fahrenheit scales. Centigrade is in 0.5C steps. I guess you could convert the Centigrade value to Fahrenheit to get slightly better resolution but I don't think it would be that much better.

Apparently the NEST can provide temperature changes in 0.1 (unit) steps but it's not accessible sorry :(

Maybe we could try and collaborate on the temperature logging project as I've been thinking of adding some graphs or at least Excel formatted files.

Mike
Post Reply

Return to “NEST Home”