Author Topic: Configure Weewx-AQI with Ecowitt PM2_5  (Read 692 times)

0 Members and 1 Guest are viewing this topic.

Offline TinkerTown

  • Senior Member
  • **
  • Posts: 61
Configure Weewx-AQI with Ecowitt PM2_5
« on: July 02, 2021, 04:42:36 PM »
I was thinking of adding an Air Quality display to my Weewx running the Belchertown skin and someone pointed me to this extension Weewx-AQI, but it is configured to work with a Purple Air sensor.

I was wondering if anyone had the settings, or a guide, to configuring that extension, but with the Ecowitt PM2_5 sensor? I am not too good on coding and my Google searches haven't had much luck finding a guide or anything to getting it working with the Ecowitt sensor, so I thought I would ask here.

Weewx-AQI Extension
Ecowitt WH41 PM2.5 Air Quality Sensor Monitor Outdoor

Ecowitt GW1000 | WS-2902C |Weewx on Raspberry Pi
CWOP: FW9112;

Offline ajay

  • Member
  • *
  • Posts: 23
Re: Configure Weewx-AQI with Ecowitt PM2_5
« Reply #1 on: August 10, 2021, 10:12:52 PM »
I'd like to know the same! Anyone?

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 1948
Re: Configure Weewx-AQI with Ecowitt PM2_5
« Reply #2 on: August 11, 2021, 05:15:06 PM »
I'm not working with the Belchertown skin, but in principle you should be able to depict - at least as a table or as a graph - all values from the weewx database.
The WH41/43 or the WH45 with its PM2.5 and PM10 observations should be stored in the weewx database if you use the proper database schema and have either created the missing entries/rows or have repurposed other fields/rows to accommodate the AQ observations.

That said, if you own a GW1000 the fields/values are available and only need to be placed on the skin. The fields and their names can be found in the Gary's GW1000 wiki at (field map).

What I would do is go through the skin.conf and related files of the Belchertown skin and see how e.g. temperature or humidity are put into a graph, copy that  section and then add the pm_25 etc. fields by renaming the copied tempout etc. fields. That should work.
WS2350 1.6.4, GW1000(3) 1.7.5, WH2650 WiFi (2) 1.7.5 (test/backup), GW1100 2.1.8, GW2000(3) 2.1.8/9, HP2551 1.6.4/1.8.5;
Ecowitt WS90(2), WS80, WH40, WH65, WH31(5), WH31-EP, WN30, WH32, WH32-EP, WH32B, WH57 [Lightning] (1), WH41 [PM2.5] (2), WH51 (4), WH45, WH55 (1)
MeteobridgePro(2)[test,prod] 5.4 Sep 7 2022, 14816 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/CumulusMX 3205/MB RPi4(2850)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE), ISAARB22(HP2553),