tliu93
57f2459f60
M6-T09: add Energy data API (prices/costs/summary/dsmr-latest/recompute/tibber-test)
...
- routes/api/energy.py + schemas/energy.py: GET prices (tibber points or manual
tariff, buy/sell consistent with the pricing strategies), GET costs (time
window + limit, ascending), GET costs/summary (summarize passthrough), GET
dsmr/latest, POST costs/recompute (idempotent, <=366d guard, CSRF), POST
tibber/test (three-state, token never echoed, CSRF).
- main.py registers router; OpenAPI re-exported; tests for all endpoints.
2026-06-23 23:05:45 +02:00
..
2026-06-21 21:20:28 +02:00
2026-06-21 22:27:07 +02:00
2026-06-23 20:43:46 +02:00
2026-06-13 15:20:50 +02:00
2026-06-23 21:19:25 +02:00
2026-06-23 23:05:45 +02:00
2026-06-22 20:11:54 +02:00
2026-06-22 14:17:59 +02:00
2026-06-12 23:33:08 +02:00
2026-06-21 22:08:55 +02:00
2026-06-21 22:08:55 +02:00
2026-06-13 15:20:50 +02:00
2026-06-21 21:38:22 +02:00
2026-06-12 16:57:54 +02:00
2026-06-13 15:20:50 +02:00
2026-06-23 21:52:57 +02:00
2026-06-23 22:26:56 +02:00
2026-06-23 22:44:41 +02:00
2026-06-23 20:33:35 +02:00
2026-06-23 22:44:41 +02:00
2026-06-22 20:11:54 +02:00
2026-06-12 16:50:05 +02:00
2026-04-20 11:48:48 +02:00
2026-06-12 16:50:05 +02:00
2026-06-21 21:20:28 +02:00
2026-06-12 19:11:13 +02:00
2026-06-22 13:03:50 +02:00
2026-06-22 13:03:50 +02:00
2026-06-22 20:45:47 +02:00
2026-06-22 13:24:11 +02:00
2026-06-22 13:03:50 +02:00
2026-06-22 15:06:30 +02:00
2026-06-23 21:52:57 +02:00
2026-06-12 16:50:05 +02:00
2026-06-23 20:58:34 +02:00
2026-06-23 20:58:34 +02:00
2026-06-13 15:20:50 +02:00
2026-06-13 15:20:50 +02:00
2026-06-13 15:20:50 +02:00
2026-06-23 21:35:29 +02:00
2026-06-23 21:35:29 +02:00
2026-06-13 15:20:50 +02:00
2026-06-22 12:45:50 +02:00