nymea/libnymea/interfaces/evcharger.json

40 lines
1.0 KiB
JSON

{
"description": "An EV-charger. Extends the power interface for charging/not charging an electric vehicle. Supports regulation of the max. charging current in addition to be powered on or off.",
"extends": ["power"],
"states": [
{
"name": "maxChargingCurrent",
"type": "uint",
"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": "sessionEnergy",
"type": "double",
"logged": true,
"unit": "KiloWattHour",
"optional": true
}
]
}