How to set current temperature using Nest

1.1k views Asked by At

Can I programmatically set a new current temperature using the Nest API? Say, I build my own raspberry or Arduino based temperature sensor. Can that measure the current room temperature, and then set that as the current house temperature on Nest? Then of course Nest should continue operating as normal to reach whatever target temperature was already set.

In other words, can the Nest API override the measured current room temperature?

2

There are 2 answers

1
thesimm On BEST ANSWER

Are you trying to override the Nest's inbuilt thermometer? Or are you just trying to define the target temperature?

If 1, then you should set the Nest target very high, and keep measuring the ambient tmeperature until it reaches your desired temp, then set the Nest target very low - in this way you are effectively switching the heating on and off manually.

If 2, then you can just set the Nest target temperature as desired.

For either case, you will need to use the appropriate one of the following parameters (depending on your operating mode and your temperature scale of choice):

target_temperature_f
target_temperature_c
target_temperature_high_f
target_temperature_high_c
target_temperature_low_f
target_temperature_low_c
1
aren55555 On

No you can not programmatically set the ambient temperature fields (ambient_temperature_f and ambient_temperature_c). It is exclusively a read only attribute.