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

0 Members and 1 Guest are viewing this topic.

Offline TinkerTown

  • Senior Member
  • **
  • Posts: 56
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 https://github.com/jonathankoren/weewx-aqi
Ecowitt WH41 PM2.5 Air Quality Sensor Monitor Outdoor
https://lovingtonweather.com

Ecowitt GW1000 | WS-2902C |Weewx on Raspberry Pi
WU: KNMLOVIN14  |  PWSweather: PWSLOVNM1
CWOP: FW9112; https://maladomini.net; https://lovingtonweather.com

Offline ajay

  • Member
  • *
  • Posts: 15
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: 1032
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 https://github.com/gjr80/weewx-gw1000/wiki (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.
Froggit WH4000SE (=EW 2320E) 1.6.1/GW1100 2.0.8/Froggit DP1500 1.6.8 (+EW GW1000 (4) 1.6.8 test/backup)/HP1000SE Pro (HP2551) 1.6.1/1.7.6, WH2650 WiFi (2) 1.6.8
Ecowitt WS80,WH40,WH65,WH31(5),WH31-EP(1),WN30/DP30 (1),WH32(1),WH32-EP(1),WH32B [T/H/P] (1), WH57 [Lightning] (1), WH41 [PM2.5] (2), WH51 [SoilMoisture] (5), WH45, WH55 (2)
Meteobridge Pro (2) [test,prod] 5.2 Nov 21 2021, 14636 - Blake-Larsen Sun Recorder - RPi4/weewx 4.5.1/CumulusMX 3159/MB RPi4 (2665)
Meteoshield Pro, MetSpec Rad02
Ecowitt 5763,34418;WU ISAARB3(WH4000SE), ISAARB22(HP2553);Weathercloud 3011399141, http://meshka.eu/