Repository navigation
v0.1.11
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 (consumersandconsumersTotal)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).