Commit Graph
7 Commits
Author SHA1 Message Date
Matthias JacobandCopilot b9cee0a7fb feat: add alarm_thresholds to pegel detail endpoint
Scrape the official alarm level thresholds (Richtwasserstände) from the
station detail page and include them in GET /api/pegel/{pegel_id} as
alarm_thresholds, cached for 24 hours with a stale-cache fallback on
errors. null for stations without a flood alert function.

Also clarify in the flood_alert_level docs that 'Kein Hochwassermeldepegel'
means the station is not used for official flood alerts/control, not
that measurement data is missing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-28 01:42:10 +01:00
Matthias Jacob 489a026b9c docs: document flood_alert_level values and placeholder filtering
Add observed values and expected Alarmstufe levels to README and OpenAPI schema.
2026-10-27 23:37:15 +01:00
Matthias Jacob bc70066bc2 docs: expand pegels API documentation 2026-10-14 05:33:29 +02:00
Matthias Jacob 85df0c47f5 Update README.md 2026-05-05 04:12:05 +02:00
Matthias Jacob 9b01145f07 add index endpoint 2026-05-05 03:54:21 +02:00
Matthias Jacob b5950b6ce1 Update README.md with detailed descriptions 2026-05-05 03:22:39 +02:00
cyroxx d10a81fe8b Initial commit 2026-05-05 03:12:52 +02:00