feat: heat pump statistics per day in the Historia tab #85

Open
mariusz.pacek wants to merge 0 commits from mariusz.pacek/feat/heat-pump-stats AGit into master
pull from: mariusz.pacek/feat/heat-pump-stats
Owner

Adds GET /api/stats (hours, starts, temperatures per Warsaw day, 7d/30d) and the Statystyki view next to the charts in Historia, to see compressor cycling and electric heater use.

Adds GET /api/stats (hours, starts, temperatures per Warsaw day, 7d/30d) and the Statystyki view next to the charts in Historia, to see compressor cycling and electric heater use.
mariusz.pacek added 1 commit 2026-10-24 15:01:05 +00:00
feat: heat pump statistics per day in the Historia tab
CI / Check (gateway, backend, frontend) (push) Successful in 1m24s
cbf507fa18
GET /api/stats?range=7d|30d computes compressor, CWU, CO and heater hours,
compressor starts and temperatures per Europe/Warsaw day from the raw
heat_pump polls. Hours hold each poll for at most 600 s so gaps add nothing;
starts are 0 -> >0 transitions and are a lower bound at 300 s polling.
Historia gets a Wykresy | Statystyki switch (shared SubView helper, also
used by Energia) with totals tiles, a daily chart and a cycling hint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mariusz.pacek added 1 commit 2026-10-24 15:08:49 +00:00
Merge master into feat/heat-pump-stats
CI / Check (gateway, backend, frontend) (push) Successful in 1m26s
860269a353
# Conflicts:
#	backend/src/main/java/home/backend/Backend.java
#	backend/src/main/java/home/backend/adapters/http/ApiServer.java
#	backend/src/test/java/home/backend/adapters/http/ApiServerTest.java
#	frontend/README.md
All checks were successful
CI / Check (gateway, backend, frontend) (push) Successful in 1m26s
This branch is already included in the target branch. There is nothing to merge.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin refs/pull/85/head:mariusz.pacek/feat/heat-pump-stats
git checkout mariusz.pacek/feat/heat-pump-stats
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mariusz.pacek/home-pump#85