jasonsnell / PurpleAir-AQI-Scriptable-Widget

Generate Scriptable app widget to query PurpleAir sensor and display local AQI.
The Unlicense
168 stars 38 forks source link

Scriptable AQI does not match URL AQI #1

Closed Isaac-Tait closed 4 years ago

Isaac-Tait commented 4 years ago

First let me say thank you for the great work on this service!

I set my sensor to 49237 (Fallbrook, CA) and the URL shows 70 but the Scriptable App shows 53...

If I switch to 60181 (Oceanside, CA) the URL shows 70 but the Scriptable App shows 48...

Is anyone else experiencing this dichotomy in reported numbers?

jasonsnell commented 4 years ago

Isaac,

This widget is using a new EPA calculation for smoke from wildfires to be used by low-cost sensors like PurpleAir.

PurpleAir has not yet updated its own stats to support this calculation, though if you switch the conversion setting on the PurpleAir map to "AQandU" you will get closer. That's another calculation that does a better job.

EPA seems to suggest that PurpleAir is going to add this calculation in the future, but it's in this widget now.

On Sun, Sep 27, 2020 at 9:31 AM Isaac Tait notifications@github.com wrote:

First let me say thank you for the great work on this service!

I set my sensor to 49237 (Fallbrook, CA) and the URL shows 70 but the Scriptable App shows 53...

If I switch to 60181 (Oceanside, CA) the URL shows 70 but the Scriptable App shows 48...

Is anyone else experiencing this dichotomy in reported numbers?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jasonsnell/PurpleAir-AQI-Scriptable-Widget/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4G3AWBKKBPIQ3YZL4DLDTSH5SE5ANCNFSM4R3UWISA .

jasonsnell commented 4 years ago

More info is in the README file at the top level of this project, including a couple of links. Thanks for the question @Isaac-Tait!

Isaac-Tait commented 4 years ago

Thank you for the prompt and thorough reply 💯