forked from dingo35/SmartEVSE-3.5
-
Notifications
You must be signed in to change notification settings - Fork 0
[Plan-14] Increment 5: Session log integration #110
Copy link
Copy link
Closed
Labels
plan-14Plan 14: CircuitMeter — Subpanel MeteringPlan 14: CircuitMeter — Subpanel Metering
Description
Context
Plan 14: CircuitMeter — Increment 5 of 6
Scope
Add circuit energy fields to session_record_t for ERE reporting.
Acceptance Criteria
- session_record_t has circuit_start_energy_wh, circuit_end_energy_wh, circuit_energy_wh
- session_start extended to accept circuit start energy
- JSON output includes circuit_kwh when > 0
- Backwards compatible: circuit fields default to 0 when CircuitMeter disabled
- Existing session tests still pass
Dependencies
Increment 4
Files
- Modify:
src/session_log.h,src/session_log.c,test/native/tests/test_session_log.c
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
plan-14Plan 14: CircuitMeter — Subpanel MeteringPlan 14: CircuitMeter — Subpanel Metering