This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Simon Stürz 7e070aeccb Update evcharger interface and change maxChargingCurrent to double
for precise energy adjustments if possible
2026-01-07 15:18:56 +01:00

49 lines
1.3 KiB
JSON

{
"description": "An electric vehicle charger. Extends the power interface to report plug/charge state and session energy, and to optionally control charging current and phase count in addition to on/off power control.",
"extends": ["power"],
"states": [
{
"name": "maxChargingCurrent",
"type": "double",
"writable": true,
"unit": "Ampere",
"minValue": "any",
"maxValue": "any"
},
{
"name": "pluggedIn",
"type": "bool",
"optional": true
},
{
"name": "charging",
"type": "bool",
"logged": true,
"optional": true
},
{
"name": "phaseCount",
"type": "uint",
"minValue": 1,
"maxValue": 3,
"optional": true
},
{
"name": "desiredPhaseCount",
"type": "uint",
"minValue": 1,
"maxValue": 3,
"possibleValues": "any",
"writable": true,
"optional": true
},
{
"name": "sessionEnergy",
"type": "double",
"logged": true,
"unit": "KiloWattHour",
"optional": true
}
]
}