Author Topic: Configure Weewx-AQI with Ecowitt PM2_5  (Read 648 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 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://lovingtonweather.com

Offline ajay

  • Member
  • *
  • Posts: 21
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: 1792
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.
WS2350 1.6.4, GW1000(3) 1.7.4, WH2650 WiFi (2) 1.7.4 (test/backup), GW1100 2.1.7, GW2000(3) 2.1.7, HP2551 1.6.4/1.8.1;
Ecowitt WS90(2), WS80, WH40, WH65, WH31(5), WH31-EP, WN30, WH32, WH32-EP, WH32B, WH57 [Lightning] (1), WH41 [PM2.5] (2), WH51 (5), WH45, WH55 (2)
MeteobridgePro(2)[test,prod 5.4 Aug 2 2022, 14798 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/CumulusMX 3196/MB RPi4(2826)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE), ISAARB22(HP2553), http://meshka.eu

 

anything