feat(backend): capture voltage, current and sample context in meter samples

The charger sends Voltage/Current.Import in every MeterValues frame but
we only stored energy/power/SoC. samples now also record voltage_v,
current_a and the OCPP context (Sample.Periodic vs Transaction.Begin/End
snapshots, which are legitimately all-zero). Existing dbs migrate via
ALTER TABLE on open.
This commit is contained in:
2026-07-12 09:32:32 +02:00
parent 9562fdaf6b
commit 8d8affe6ff
4 changed files with 25 additions and 10 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export default function History() {
<p className="empty">
{admin
? "No charging sessions yet. The first card tap or in-app start will appear here with who, when, how, and how many kWh."
: "No charging sessions of yours yet. Sessions you start — by card or in-app — appear here."}
: "No charging sessions yet. Sessions you start — by card or in-app — appear here."}
</p>
);