Netatmo API valves : real temperature issue

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
SpeedForEver
Posts: 3
Joined: 09 Mar 2021, 08:50

Netatmo API valves : real temperature issue

Post by SpeedForEver »

Hello,
Hello
i recently use api netatmo Energy .. for controling valves.
I schedule a task to check temperature mesured by valves and compare it to reference temperature (thermometer in the same room) ... if difference is greater than 1 degree i correct the temperature mesured by valve.
For doing it i use endpoint https://app.netatmo.net/api/truetemperature .. all is ok but when i want to recover the valve temperature i have a strange behaviour ... with endpoint api.netatmo.com/api/getroommeasure the new value is not present and the mesure of temperature is not every 10 minutes like usually ... if i use endpoint api.netatmo.com/api/homestatus i have the good value but rounded ... why this behaviour ?
Endpoint api.netatmo.com/api/getroommeasure is just an historical and not real time in contrary of endpoint api.netatmo.com/api/homestatus, isn'it ?

For example : response of api/getroommeasure after setTrueTemperature

{
"body": {
"1615213362": [
18.4
],
"1615213962": [
21
],
"1615214562": [
19.8
],
"1615215162": [
19.8
],
"1615215762": [
19.9
],
"1615216362": [
19.7
]
},
"status": "ok",
"time_exec": 0.058914899826049805,
"time_server": 1615218098
}

we can observe the the last time value is 1615216362 ==> 8/3/2021 à 15:12:42 and the real time (same day) is 16h44 …

Is there a endpoiont through new api netatmo (pi.netatmo.com/api) for setting true temperature ?
I hope i am clear ....
Feel free for any question.
Best regards,
Ps : Please, excuse me for my poor English it is not my natal language ... :-)
Post Reply

Return to “Netatmo API”