]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp): preserve metering owners and replay certainty (#2119)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 17 Sep 2026 19:05:57 +0000 (21:05 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Sep 2026 19:05:57 +0000 (21:05 +0200)
commit5ce0ccb6f43c7c46ea541df4cf8569746649fe5f
tree2731eb451a7df2aceeec206c0cbf744eba7c5c9b
parente13b903b23427290b54e7fa3a0865c0600ad57a4
fix(ocpp): preserve metering owners and replay certainty (#2119)

- settle retained eager Updated waiters before a pre-send break
- seed queued replay ambiguity from persisted delivery history
- keep live EVSE owner and baselines across same-template reload
- account interval energy from final projected samples, truncating
  serialized interval rounding while retaining remainder carry
src/charging-station/ChargingStation.ts
src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
tests/charging-station/ChargingStation-Lifecycle.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-TransactionEvent.test.ts
tests/charging-station/ocpp/OCPPServiceUtils-MeterValues.test.ts