Skip to content

Commit

Permalink
Update PurpleAir app to use the newest calculations
Browse files Browse the repository at this point in the history
As of September 2024, PurpleAir has updated their (default)
conversion/correction algorithms. This change updates to align the
defaults used by this app with the defaults used by PurpleAir.

Different organizations define different "AQI" metrics so this change
adds support for selecting your preferred metric. At this time, only the
US EPA AQI is implemented.

Researchers have determined the underlying sensors are inaccurate in
systematic ways, and have developed correction algorithms/formulas to
address these issues. This change adds a mechanism for selecting a
preferred correction algorithm. Only 3 of 8 correction algorithms are
implemented.
  • Loading branch information
CoatedMoose committed Nov 6, 2024
1 parent 708b402 commit 6697963
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 107 deletions.
4 changes: 2 additions & 2 deletions apps/purpleair/manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
id: purpleair
name: PurpleAir
summary: Displays local air quality
desc: Displays the local air quality index from a nearby PurpleAir sensor. Choose a sensor close to you or provide a specific sensor id.
summary: Display hyper-local air quality
desc: Displays a (partial) air quality index (AQI) from a nearby PurpleAir sensor. Due to limitations of the PurpleAir devices, only the PM2.5 component of AQI is reported.
author: posburn
fileName: purpleair.star
packageName: purpleair
Loading

0 comments on commit 6697963

Please sign in to comment.