Repository navigation
v0.7.0 — History ranges up to 2 years
Long-term statistics are never purged — 5-minute rows compact into hourly ones kept indefinitely — so a two-year view needs no config change and no growing database.
History gains 30 days / 90 days / 1 year / 2 years. Aggregation follows the range, because 730 daily bars is unreadable on a phone:
| range | buckets |
|---|---|
| 30 days | daily — 30 bars |
| 90 days | weekly — 13 bars |
| 1 year | weekly — 52 bars |
| 2 years | monthly — 24 bars |
Axis labels follow suit, so month buckets read Sep 26 rather than 1 Sep.
The saving chart deliberately does not follow the range. It stays daily and never reaches back more than 90 days, because cost is only comparable within a rate regime — rates changed on 20/07/2026 and will change again, and a two-year saving chart would silently mix figures computed at different prices. Energy in kWh has no such problem. The cap is stated on the chart, not just enforced in code.
module_url is ?v=0.7.0.