15 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 15c9a8cb70 fix: filter out entries without measurement values
The source sometimes returns placeholder entries (no water level, no flow) for the newest timestamps. Skip them so latest is the most recent entry with real data.
2026-10-27 23:28:53 +01:00
Matthias Jacob fc46d8fe92 feat: add redirect from root to API documentation 2026-10-14 05:59:49 +02:00
Matthias Jacob bc70066bc2 docs: expand pegels API documentation 2026-10-14 05:33:29 +02:00
Matthias Jacob 7e9dc86446 add MIT License file 2026-05-05 04:19:20 +02:00
Matthias Jacob c5a8e835d4 add uvicorn to requirements.txt 2026-05-05 04:12:19 +02:00
Matthias Jacob 85df0c47f5 Update README.md 2026-05-05 04:12:05 +02:00
Matthias Jacob 9c46c5a4ff add stations overview CSV file with station IDs and titles 2026-05-05 04:02:13 +02:00
Matthias Jacob 9b01145f07 add index endpoint 2026-05-05 03:54:21 +02:00
Matthias Jacob 883e3aa9d1 prefer timestamp from title (which includes German tz) 2026-05-05 03:28:07 +02:00
Matthias Jacob b5950b6ce1 Update README.md with detailed descriptions 2026-05-05 03:22:39 +02:00
Matthias Jacob 8b53d5cdf1 add first implementation 2026-05-05 03:18:42 +02:00
Matthias Jacob a9ae00528d Add project-specific ignore for Vercel configuration 2026-05-05 03:18:11 +02:00
cyroxx d10a81fe8b Initial commit 2026-05-05 03:12:52 +02:00