Skip to content

v0.1.11

Choose a tag to compare

@mrebbert mrebbert released this 08 Mar 18:07
· 179 commits to main since this release
9fcf3c5

What's new

Energy endpoints

  • get_energy_today(resolution="1h"|"15m") — energy summary and timeseries for today (API v2)
  • get_energy_historical(from_date, to_date, resolution="1h"|"15m") — historical energy for any date range (API v3)

New models

  • EnergyData — totals (kWh), self-sufficiency, savings, per-consumer breakdowns (consumers and consumersTotal)
  • EnergySlot — per-slot timeseries entry: PV production, household/EV/heat pump/battery consumption (kW), grid flows, battery SoC and charge/discharge

CLI

  • 1k5 energy-today [--resolution 1h|15m]
  • 1k5 energy-historical --from YYYY-MM-DD --to YYYY-MM-DD [--resolution 1h|15m]

Both commands display a summary followed by a compact timeseries table (Timestamp, PV, Grid+, Grid−, Bat%, Bat kW).