feat(energy): device details panels for Deye, Fronius and the house meter #71

Open
mariusz.pacek wants to merge 0 commits from mariusz.pacek/feat/energy-details AGit into master
pull from: mariusz.pacek/feat/energy-details
Owner

The energy screen stays as it is; a new Urządzenia card has clearly tappable Szczegóły rows that open a bottom sheet with every value of the device. Backend: GET /api/energy/details with the label/unit catalog in EnergyDetailsService; stale devices show no values, unreported fields are omitted.

The energy screen stays as it is; a new Urządzenia card has clearly tappable Szczegóły rows that open a bottom sheet with every value of the device. Backend: GET /api/energy/details with the label/unit catalog in EnergyDetailsService; stale devices show no values, unreported fields are omitted.
mariusz.pacek added 2 commits 2026-10-24 10:40:03 +00:00
Groups of labelled values for the Deye, Fronius and house meter, so the
energy screen can show more without crowding it. A stale device has no
groups; a field the device did not report is left out.

The catalog of labels, units and groups lives in the backend
(EnergyDetailsService): the frontend renders whatever groups arrive, so
a new field is one line in one file and needs no UI release. It also
keeps field names out of TypeScript and lets the backend round values
(Wh to kWh) once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(web): open device details from the energy screen
CI / Check (gateway, backend, frontend) (push) Successful in 1m17s
35b3f8e1e0
A "Urządzenia" card lists the Deye, Fronius and house meter as rows with
a "Szczegóły ›" chevron, 56 px high. Tapping one opens a bottom sheet on
a phone (a dialog on wide screens) with the grouped values; it closes by
button, backdrop or Escape and returns focus to the row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mariusz.pacek added 1 commit 2026-10-24 10:48:59 +00:00
feat(energy): show Deye totals, inverter and per-phase meter energy
CI / Check (gateway, backend, frontend) (push) Successful in 1m16s
6f50f5b7b9
The gateway now reads the Deye lifetime counters, inverter power and
temperatures, and the meter's per-phase energy into house_meter_phases.
A group can take its fields from another measurement of the same device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
CI / Check (gateway, backend, frontend) (push) Successful in 1m16s
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/71/head:mariusz.pacek/feat/energy-details
git checkout mariusz.pacek/feat/energy-details
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#71