Skip to content

PurpleAir sensors report old data when the sensor goes offline #21

@lxndrcx

Description

@lxndrcx

It appears that when a sensor goes offline CanberraAir continues to show the last seen air quality from that sensor even though the sensor is no longer updating and the air quality has changed. E.g. the "N. Cbr" sensor has been offline for 20 hours at the time of writing and shows up grey on the PurpleAir map, but CanberraAir continues to show
N. Cbr: 77 (19 PM2.5) worsening | 10min: 64 (16 PM2.5) | 30min: 62 (15 PM2.5)

I propose that a sensor either doesn't show up if it's offline or it explicitly says it's offline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions