MB PRO - export and graphic depiction of air quality sensors (air0pm, air1pm) fails ** solved **

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

MB PRO - export and graphic depiction of air quality sensors (air0pm, air1pm) fails ** solved **

Post by Gyvate »

I'm trying to export all my sensor values (by minute) at once via an export script, but somehow the air quality sensor data don't come.
it (MB-pro) shows the data in the live view and in the history tab for the respective sensor (at least the min/max/avg).
It doesn't change if I choose the hourly export option.

Then I tried to add the sensors to a .metachart graphics definition - it shows all sensors I define - but not the PM2.5 sensors (air0pm, air1pm).

What am I doing wrong ?
Please advise.


below script and result: (instead of the the , , , I would expect some values)

# modified Standard CSV template with data in metric units
#
$# date, time, temperature[C], humidity[%], dew point[C], sealevel pressure[hPa], avg wind speed[m/s], gust speed[m/s], winddir, rainfall[mm], Solar [W/m2], PM25(1) [ug/m3], PM25(2), extra-temp1 [°C], extra-hum [%], soil moisture (1) [%], SM2, SM3
[YYYY]-[MM]-[DD],[hh]:[mm],[th0temp-avg.1:],[th0hum-avg.0:],[th0dew-avg.1:],[thb0seapress-avg.1:],[wind0avgwind-avg.1:],[wind0wind-max.1:],[wind0dir-avg.0:],[rain0total-sum.1:], [sol0rad-avg.2:], [air0pm-avg.0:], [air1pm-avg.1:], [th1temp-avg.1:], [th1hum-avg.0:], [th20hum-avg.0:], [th21hum-avg.0:], [th22hum-avg.0:]
----------------------------------------------------
here is an excerpt of the created file
----------------------------------------------------
2020-05-14,11:48,14.1,52,4.3,1014.6,0.8,1.0,216,0.0, 926.00, , , 16.3, 47, 46, 52, 51
2020-05-14,11:49,14.3,52,4.5,1014.3,0.3,1.0,127,0.0, 929.50, , , 16.3, 46, 46, 52, 51
2020-05-14,11:50,14.4,52,4.7,1014.4,0.5,1.0,177,0.0, 916.67, , , 16.3, 46, 46, 51, 52
2020-05-14,11:51,14.4,52,4.7,1014.4,0.5,1.0,177,0.0, 916.67, , , 16.3, 46, 46, 51, 52
2020-05-14,11:52,14.4,52,4.7,1014.4,0.5,1.0,177,0.0, 916.67, , , 16.3, 46, 46, 51, 52
2020-05-14,11:53,14.4,52,4.7,1014.4,0.5,1.0,177,0.0, 916.67, , , 16.3, 46, 46, 51, 52
2020-05-14,11:54,14.7,51,4.5,1014.5,0.5,1.5,120,0.0, 912.50, , , 16.6, 46, 46, 52, 52
2020-05-14,11:55,14.9,50,4.6,1014.4,0.7,1.5,191,0.0, 901.00, , , 16.7, 46, 46, 52, 51
2020-05-14,11:56,14.9,51,4.9,1014.6,0.8,1.5,218,0.0, 902.40, , , 16.7, 46, 47, 52, 52
2020-05-14,11:57,14.7,51,4.7,1014.5,0.7,1.5,245,0.0, 900.00, , , 16.7, 46, 47, 51, 52
2020-05-14,11:58,14.6,49,4.0,1014.5,0.1,1.0,140,0.0, 897.00, , , 16.7, 45, 46, 51, 51
2020-05-14,11:59,14.7,49,4.2,1014.4,0.8,1.5,140,0.0, 895.33, , , 16.7, 45, 46, 52, 51
2020-05-14,12:00,14.9,49,4.3,1014.3,0.4,1.5,119,0.0, 889.25, , , 16.8, 45, 46, 52, 51
2020-05-14,12:01,15.0,48,4.1,1014.3,0.8,2.0,102,0.0, 900.00, , , 16.9, 45, 46, 52, 51
2020-05-14,12:02,15.4,48,4.5,1014.3,0.8,2.0,88,0.0, 905.00, , , 17.0, 44, 46, 52, 51
2020-05-14,12:03,15.5,49,4.7,1014.3,1.0,2.6,101,0.0, 861.00, , , 17.1, 44, 46, 52, 51
2020-05-14,12:04,15.5,48,4.5,1014.3,0.4,1.0,114,0.0, 798.25, , , 17.3, 45, 46, 52, 51
2020-05-14,12:05,15.5,49,4.7,1014.4,1.3,2.6,92,0.0, 579.50, , , 17.3, 45, 46, 52, 51
Live Data
Live Data
MB-Pro_PM2.5-data1.JPG (80.78 KiB) Viewed 3984 times
History Data
History Data
MB-Pro_PM2.5-data2.JPG (89.62 KiB) Viewed 3984 times
With a software update today the issue was solved and the [air0pm-avg.1:] and [air1pm-avg.1:] variables are now filled with proper values.
Meteobridge 4.3 (May 28 2020, build 13497), FW 1.4
Meteobridge 4.3 (May 28 2020, build 13497)
Meteobridge 4.3 (May 28 2020, build 13497)
Meteobridge 4.3 (May 28 2020, build 13497).JPG (53.98 KiB) Viewed 3777 times
2020-05-28,21:00,19.5,33,2.8,1024.9,0.2,0.5,99,0.0, 10.00, 5.0, 5.0, 21.7, 29, 39, 47,
2020-05-28,21:01,19.5,33,2.8,1024.8,0.4,1.0,98,0.0, 9.33, 5.0, 5.0, 21.7, 30, 39, 46,
2020-05-28,21:02,19.3,33,2.6,1024.8,0.2,1.0,96,0.0, 8.50, 5.0, 5.0, 21.7, 30, 39, 47, 37
2020-05-28,21:03,19.3,33,2.6,1024.9,0.2,0.5,102,0.0, 8.00, 4.5, 5.0, 21.7, 30, 39, 46, 37
2020-05-28,21:04,19.2,34,2.8,1024.9,0.2,0.5,99,0.0, 8.00, 4.0, 5.0, 21.7, 30, 39, 47, 37
Graph of minute based PM2.5 sensor data
Graph of minute based PM2.5 sensor data
PM2.5-Graph-MB-Pro.JPG (112.83 KiB) Viewed 3777 times
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
Post Reply