Saurabh Kumar
Saurabh Kumar

Reputation: 2367

How to set current temperature using Nest

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?

Upvotes: 2

Views: 1143

Answers (2)

thesimm
thesimm

Reputation: 774

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

Upvotes: 3

aren55555
aren55555

Reputation: 1717

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

Upvotes: 3

Related Questions