Initial commit

This commit is contained in:
2025-11-15 13:38:10 +02:00
commit bfe5d92add
21 changed files with 4627 additions and 0 deletions

16
src/types.ts Normal file
View File

@@ -0,0 +1,16 @@
export interface ChargingSession {
id: string;
startedAt: string; // ISO timestamp
endedAt: string; // ISO timestamp
sohStart: number; // e.g. 94.3 (%)
sohEnd: number; // e.g. 94.1 (%)
socStart?: number; // %
socEnd?: number; // %
energyAddedKWh?: number;
avgTempC?: number;
locationName?: string;
}
export interface SessionsResponse {
sessions: ChargingSession[];
}