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

Changed api and Sensor filtering #21

Closed Pwiky closed 4 years ago

Pwiky commented 4 years ago

In where I live the widget takes the closest sensor which hasn't posted data since 8 days. Since, the sensor listing results have no info on last seen data I switched it to the /json endpoint instead. I then proceeded to add a rule on maximum last seen date (4 hours). If you have any comments feel free to give some feedback.

jasonsnell commented 4 years ago

Love it.

On Mon, Nov 2, 2020 at 7:54 AM Brian Donovan notifications@github.com wrote:

@eventualbuddha approved this pull request.

Seems reasonable to me.

— 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/pull/21#pullrequestreview-521758270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4G3ARJHAZS6PDSXEQ46O3SN3I3NANCNFSM4THGMUKQ .