Repository navigation
api: Serve status_detail for offline and spiking sensors - #5
Merged
Merged
Conversation
* spike cache keeps what tripped (ceiling or jump), the held back reading and the limits, so the grace period can still say why and when it clears * single sensor payloads get last_seen and that spike, and the warning text spells it out for the apps Signed-off-by: sidharthify <wednisegit@gmail.com>
This was referenced Dec 1, 2026
sidharthify
added a commit
to breathe-OSS/site
that referenced
this pull request
Dec 1, 2026
Dashboard cards, the detail page and the map panel show OFFLINE or SPIKE instead of the satellite AQI, with a short box saying why, the held back reading and when spike protection clears. On the map those sensors are darkened with an eye-off or bolt badge, and a small Live / Offline / Spike key explains each one when tapped. Needs breathe-OSS/api#5 for status_detail. Without it nothing changes. Signed-off-by: sidharthify <wednisegit@gmail.com>
Member
Author
|
Approved. |
sidharthify
added a commit
to breathe-OSS/site
that referenced
this pull request
Dec 1, 2026
Dashboard cards, the detail page and the map panel show OFFLINE or SPIKE instead of the satellite AQI, with a short box saying why, the held back reading and when spike protection clears. On the map those sensors are darkened with an eye-off or bolt badge, and a small Live / Offline / Spike key explains each one when tapped. Needs breathe-OSS/api#5 for status_detail. Without it nothing changes. Signed-off-by: sidharthify <wednisegit@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Single sensor payloads now carry a status_detail object saying whether a sensor is offline or held back by spike protection, when it was last seen, and for spikes which limit tripped, the reading that was held back and when it clears, with the warning text rewritten to say the same so the Android and iOS apps pick it up without an update.