Skip to content

Commit 1493e7c

Browse files
committed
update evharger model
1 parent 60a98b5 commit 1493e7c

1 file changed

Lines changed: 0 additions & 54 deletions

File tree

docs/developer/data-models.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ Grid meter data with import/export and phase-level measurements:
304304

305305
```json
306306
{
307-
<<<<<<< HEAD
308307
"type": "ev_charger",
309308
"make": "Ferroamp",
310309
"status": "charging",
@@ -335,39 +334,11 @@ Grid meter data with import/export and phase-level measurements:
335334
"session_discharge_Wh": 0,
336335
"total_charge_Wh": 142000,
337336
"total_discharge_Wh": 5100
338-
=======
339-
"type": "charger",
340-
"make": "Ambibox",
341-
"timestamp": 1731573040000,
342-
"read_time_ms": 42,
343-
"W": 6400,
344-
"L1_V": 228.03,
345-
"L1_A": 9.228,
346-
"L1_W": 2104,
347-
"L2_V": 227.92,
348-
"L2_A": 9.333,
349-
"L2_W": 2127,
350-
"L3_V": 227.62,
351-
"L3_A": 9.444,
352-
"L3_W": 2150,
353-
"status": "charging",
354-
"vehicle_id": "my_tesla_model3",
355-
"vehicle_capacity_Wh": 75000,
356-
"vehicle_SoC_fract": 0.65,
357-
"SoC_source": "vehicle",
358-
"capacity_source": "user",
359-
"total_import_Wh": 3623394,
360-
"total_export_Wh": 12000,
361-
"session_id": "1234",
362-
"session_import_Wh": 15200,
363-
"session_export_Wh": 0
364-
>>>>>>> 80c42c135267afe99420ab74b3176adcb6891689
365337
}
366338
```
367339

368340
**Fields Definition:**
369341

370-
<<<<<<< HEAD
371342
| Field | Unit | Data Type | Description |
372343
|-------|------|-----------|-------------|
373344
| `type` | - | string | Always "ev_charger" |
@@ -394,31 +365,6 @@ Grid meter data with import/export and phase-level measurements:
394365
| `session_discharge_Wh` | Wh | integer | Energy exported by EV during this session |
395366
| `total_charge_Wh` | Wh | integer | Lifetime Energy delivered to EV |
396367
| `total_discharge_Wh` | Wh | integer | Lifetime Energy exported from EV (V2G) |
397-
=======
398-
| Field | Unit | Data Type | Description |
399-
|----------------------|-----------|-----------|-----------------------------------------------------------------------------|
400-
| `W` | W | integer | Active Power (+ charge/import to vehicle, - discharge/export from vehicle) |
401-
| `L1_V` | V | float | L1 Phase Voltage |
402-
| `L1_A` | A | float | L1 Phase Current |
403-
| `L1_W` | W | float | L1 Phase Power (computed as V * A) |
404-
| `L2_V` | V | float | L2 Phase Voltage |
405-
| `L2_A` | A | float | L2 Phase Current |
406-
| `L2_W` | W | float | L2 Phase Power (computed as V * A) |
407-
| `L3_V` | V | float | L3 Phase Voltage |
408-
| `L3_A` | A | float | L3 Phase Current |
409-
| `L3_W` | W | float | L3 Phase Power (computed as V * A) |
410-
| `status` | - | string | Charger status: "charging", "available", "preparing", "error" |
411-
| `vehicle_id` | - | string, optional | User-supplied or detected vehicle reference (null if unknown) |
412-
| `vehicle_capacity_Wh`| Wh | integer, optional | Vehicle battery capacity (null if unknown) |
413-
| `vehicle_SoC_fract` | fraction | float, optional | State of Charge (0.0-1.0, null if unknown) |
414-
| `SoC_source` | - | string, optional | Data source ("vehicle", "estimated", "manual", "unknown") |
415-
| `capacity_source` | - | string, optional | Data source ("vehicle", "user", "default") |
416-
| `total_import_Wh` | Wh | integer | Total Energy Imported (lifetime charge energy) |
417-
| `total_export_Wh` | Wh | integer | Total Energy Exported (lifetime discharge energy; 0 if no V2G support) |
418-
| `session_id` | - | string | Session identifier |
419-
| `session_import_Wh` | Wh | integer | Session Energy Imported (reset on connect/disconnect) |
420-
| `session_export_Wh` | Wh | integer | Session Energy Exported (reset on connect/disconnect) |
421-
>>>>>>> 80c42c135267afe99420ab74b3176adcb6891689
422368

423369
**Status Values:**
424370

0 commit comments

Comments
 (0)