Page 1 of 1

CumulusMX - Display of the values from the Ecowitt WH41

Posted: Tue 27 Feb 2024 10:55 am
by HAT
Hello,

unfortunately I have a problem where I cannot find a solution.

CumulusMX 3.28.4 - b3281
Station: Ecowitt HP2550 (latest firmware)
Data source: Ecowitt.net
Sensor: Ecowitt WH41

Five values are displayed in the "Ecowitt.net" dashboard. (see attachment 1)

According to the log file, a total of three values are transmitted to CMX.

Code: Select all

"pm25_ch1":{"real_time_aqi":{"time":"1709026547","unit":"µg\/m³","value":"72"},"pm25":{"time":"1709026547","unit":"µg\/m³","value":"22"},"24_hours_aqi":{"time":"1709026547","unit":"µg\/m³","value":"94"}},
real_time_aqi
pm25
24_hours_aqi

Only one value is displayed on the CMX dashboard.
The second value is missing. (see attachment 2)

In CMX, the corresponding values are set to "Visible".

There are entries in the list of "Webtags":
AirQuality1...4
AirQualityAvg1...4

Why is the value "AirQualityAvg1" in CMX missing?
Have I overlooked something in the settings?
Is this perhaps a problem with CMX?

Best regards to all forum members
HAT

Re: CumulusMX - Display of the values from the Ecowitt WH41

Posted: Tue 27 Feb 2024 11:19 am
by mcrossley
It's MX, the code for the average is there, but commented out. I'll have to look back to understand why I did that...

Re: CumulusMX - Display of the values from the Ecowitt WH41

Posted: Tue 27 Feb 2024 3:23 pm
by mcrossley
I cannot see a reason why I disabled the average!

I have enabled it on a test version and dug out a WH41 and the average value is working fine.

It will be in fixed in the next release.

Re: CumulusMX - Display of the values from the Ecowitt WH41

Posted: Wed 28 Feb 2024 9:45 pm
by HAT
Hello,

that's all right.
Is there any chance that the third value (I think it's "real_time_aqi") will also be included in the list of processed values?

Thanks for your time and energy to help Cumulus move forward.
Do you also have a donation button or a donation Paypal address? :clap:



Best regards to all forum members
HAT

Re: CumulusMX - Display of the values from the Ecowitt WH41

Posted: Thu 29 Feb 2024 12:02 pm
by mcrossley
I've realised why I commented out the 24 average.

Ecowitt are sending a unitless AQI value (despite the JSON implying it is a PM count value by saying the units are µg/m³, just another error in Ecowitt's APIs).

MX does not use AQI values from the station, it uses PM counts and converts it to the whichever AQI scale the user wants.

Ecowitt do not say which AQI scale they are using but it looks like the US EPA scale - not much use if you live outside the US!

Re: CumulusMX - Display of the values from the Ecowitt WH41

Posted: Thu 29 Feb 2024 12:44 pm
by HansR
mcrossley wrote: Thu 29 Feb 2024 12:02 pm I've realised why I commented out the 24 average.

Ecowitt are sending a unitless AQI value (despite the JSON implying it is a PM count value by saying the units are µg/m³, just another error in Ecowitt's APIs).

MX does not use AQI values from the station, it uses PM counts and converts it to the whichever AQI scale the user wants.

Ecowitt do not say which AQI scale they are using but it looks like the US EPA scale - not much use if you live outside the US!
Does this mean you disable it again?

Re: CumulusMX - Display of the values from the Ecowitt WH41

Posted: Thu 29 Feb 2024 1:12 pm
by mcrossley
Yes. Because it means an AQI value is being put into a PM count field.