"co2_calibrating" has wrong data format since fw 176

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
nommy
Posts: 16
Joined: 18 Feb 2017, 08:58
Location: Germany

"co2_calibrating" has wrong data format since fw 176

Post by nommy » 06 Mar 2020, 17:00

Hello,

since my weather-station got the firmware 176, the data format of "co2_calibrating" has changed from boolean to number (I receive a '0' instead of 'false'). According documentation it should be boolean.
This is the reason, why my openHAB home automation has constant connection errors. Was this a accidental change, or was it planned?
And can someone with a firmware prior to 176 please check, if the data format is boolean or number? https://dev.netatmo.com/apidocumentatio ... ationsdata

Code: Select all

{
"body": {
"devices": [
{
"_id": "70:ee:50:XX:XX:XX",
"station_name": "Netatmo",
"date_setup": 1486228261,
"last_setup": 1486228261,
"type": "NAMain",
"last_status_store": 1583508802,
"module_name": "Indoor",
"firmware": 176,
"last_upgrade": 1489240487,
"wifi_status": 22,
"reachable": true,
"co2_calibrating": 0,
],...
}
regards
nommy

Leslie
Posts: 3
Joined: 12 Feb 2020, 11:07

Re: "co2_calibrating" has wrong data format since fw 176

Post by Leslie » 09 Mar 2020, 10:28

Hello nommy,

Indeed, the firmware 176 sends 0 or 1 instead of "true" or "false" (it's a beta version)
It impacts not only co2_calibrating but also other fields
I warned the developer's team, it will be corrected to come back to booleans in a future version

Have a good day,
Leslie - Community Manager
Leslie - Community Manager

nommy
Posts: 16
Joined: 18 Feb 2017, 08:58
Location: Germany

Re: "co2_calibrating" has wrong data format since fw 176

Post by nommy » 09 Mar 2020, 12:25

Hi Leslie,

thanks for the feedback. I hope, it will not take too long for the fix to come up.

regards
nommy

Céline
Posts: 48
Joined: 20 Nov 2017, 18:17

Re: "co2_calibrating" has wrong data format since fw 176

Post by Céline » 10 Mar 2020, 16:33

Hi nommy,

The fix has just been pushed right now.
Céline - Netatmo Team :D

nommy
Posts: 16
Joined: 18 Feb 2017, 08:58
Location: Germany

Re: "co2_calibrating" has wrong data format since fw 176

Post by nommy » 11 Mar 2020, 10:36

Thanks, everything is working again!

Post Reply

Return to “Netatmo API”