Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

CO2 data not properly downloaded from ecowitt.net - 3278 (solved with 3279)

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

CO2 data not properly downloaded from ecowitt.net - 3278 (solved with 3279)

Post by Gyvate »

CMX build 3278
the data (down)loading and processing after restart and time gap between last writing to today.ini is incomplete.
It downloads only CO2 and CO2 24h avg, but not the PM2.5, PM1.0 and T/H values (see MXdiags),.
stored in the extra data log is nothing (resp. 0), even not the downloaded CO2 values
Leaf Wetness data is also missing - and the data exists at ecowitt.net
below an excerpt from ExtraLog202401.txt with the last downloaded values and the transition to normal processing
23.01.24;10:45;5,9;4,5;6,2;5,8;-15,4;6,7;9,0;0,0;0,0;0,0;93;0;87;93;0;93;62;0;0;0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0;22;36;39;0;0;0;0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;0,0;44;31;0;0;0;0;0;0;0;0;0;0;7,0;4,0;0,0;0,0;0,0;0,0;0,0;0,0;2,0;0,1;0,0;0,0;0,0;0,0;0,0;0,0;0;0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0;0;0;0;0;0;0;0;0;0;10,0;4,0;0,0;0,0;7,1;3,9;0,0;0,0;2,0;0,1;0,0;0,0;0,0;0,0;0,0;0,0;749;736;4,7;3,2;5,7;3,9;21,4;41

That same phenomenon already occured with another user in the German Ecowitt forum.
MXdiags file attached
You do not have the required permissions to view the files attached to this post.
Last edited by Gyvate on Wed 24 Jan 2024 7:04 pm, edited 1 time in total.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by mcrossley »

OK, the CO2 and CO2 avg not being logged, I see the problem and will fix it.

Ecowitt only send those two values for the CO2 Combo sensor in the historic data, there is no PM or T/H data.

Your historic data does contain PM 2.5 values for sensors 1 & 2, and they are correctly logged in the file as AirQuality1 and AirQuality2

Leaf wetness and extra T/H dew point is just MIA - I'll add them.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by Gyvate »

Ecowitt only send those two values for the CO2 Combo sensor in the historic data, there is no PM or T/H data.
I'd think it hasn't been requested

maybe the request is not complete as the PM25 and PM10 data plus the WH45 T/H data from the WH45 is in the ecowitt.net records
(see attachment) - also MIA ;) ??
I can't see the following portions in the call return listed - only co2 and co2-24vag - json example below (values are examples from the API doc)
there is a direct jump from co2 24h avg to pm25_ch1, the WH41 in the returned data - the WH45 return (and probably the request) is incomplete
Even so, I would epect at least the CO2 and CO2 24h avg to be stored what isn't the case either.

Code: Select all

...leaf_ch1,leaf_ch2,leaf_ch3,leaf_ch4,leaf_ch5,leaf_ch6,leaf_ch7,leaf_ch8,indoor_co2,co2_aqi_combo,pm25_ch1,pm25_ch2,pm25_ch3,pm25_ch4&cycle_type=5min ....
"co2_aqi_combo": {
"co2": {
"unit": "ppm",
"list": {
"1647993600": "18976",
"1648008000": "18023",
"1648022400": "17493",
"1648080000": "19357",
"1648166400": "17463"
}
},
"24_hours_average": {
"unit": "ppm",
"list": {
"1647993600": "19637",
"1648008000": "19436",
"1648022400": "18043",
"1648080000": "20236",
"1648166400": "20165"
}
}
},

"pm25_aqi_combo": {
"pm25": {
"unit": "µg/m3",
"list": {
"1647993600": "516",
"1648008000": "519",
"1648022400": "490",
"1648080000": "485",
"1648166400": "506"
}
}
},
"pm10_aqi_combo": {
"pm10": {
"unit": "µg/m3",
"list": {
"1647993600": "456",
"1648008000": "465",
"1648022400": "550",
"1648080000": "464",
"1648166400": "511"
}
}
},
"pm1_aqi_combo": {
"pm1": {
"unit": "µg/m3",
"list": {
"1647993600": "513",
"1648008000": "515",
"1648022400": "486",
"1648080000": "485",
"1648166400": "490"
}
}
},
"pm4_aqi_combo": {
"pm4": {
"unit": "µg/m3",
"list": {
"1647993600": "476",
"1648008000": "486",
"1648022400": "476",
"1648080000": "485",
"1648166400": "482"
}
}
},
"t_rh_aqi_combo": {
"temperature": {
"unit": "ºF",
"list": {
"1647993600": "46.5",
"1648008000": "41.6",
"1648022400": "41.3",
"1648080000": "48.8",
"1648166400": "35.0"
}
},
"humidity": {
"unit": "%",
"list": {
"1647993600": "58",
"1648008000": "52",
"1648022400": "51",
"1648080000": "53",
"1648166400": "51"
}
}
},

"pm25_ch1": {
"pm25": {
"unit": "µg/m3",
"list": {
"1647993600": "553",
"1648008000": "514",
"1648022400": "511",
"1648080000": "539",
"1648166400": "480"
}
}
},
"pm25_ch2": {
"pm25": {
"unit": "µg/m3",
"list": {
"1647993600": "496",
"1648008000": "492",
"1648022400": "482",
"1648080000": "525",
"1648166400": "573"
}
}

},
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by mcrossley »

MIA = missing in action

You're right they weren't being requested. part of the problem is that Ecowitt do not list all the valid call-backs, they just give a few examples, and you are left to figure out for yourself which sensors the values relate to, particularly the "combo" values.

I'm now adding 49 callback types, I just wish they gave you the option of "all", it would be so much easier.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by Gyvate »

mcrossley wrote: Tue 23 Jan 2024 4:26 pm MIA = missing in action
I figured that out ;)
" - also MIA ;) ??" was more of a rhethorical question ... wanting to say that they are also missing
I just wish they gave you the option of "all", it would be so much easier.
agreed

what happens if you simply request the full list even though only parts of the sensors are registered ?
An error message or just only all what's been stored ?
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by mcrossley »

Thankfully it just sends the values for the sensors it has - hence I add all 49 options (just missing off the camera data as that is handled differently).

Stupidly with the "realtime" API call you can give the callback the value "all", but not the historic :(
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by mcrossley »

Anyway, I think it is all sorted now, CO2 values, CO2 T/H, CO2 PM, and extra T/H sensor dewpoints all added.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by Gyvate »

:) - new build ? (or test build to verify ?)
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by mcrossley »

I'll push it out untested in the next release - I wanted to get that out last weekend but have been too busy. If it works fine, if it still has issues then I'll create a further test release, nothing lost.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278

Post by Gyvate »

3.28.2 build 3279 tested - and now all WH45, WN35 etc. values are downloaded during the refill. :)
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CO2 data not properly downloaded from ecowitt.net - 3278 (solved with 3279)

Post by mcrossley »

Great, thanks for confirming it works.
Post Reply