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.
powersync-core/libnymea/interfaces/electricvehicle.json

35 lines
966 B
JSON

{
"description": "Interface for electric vehicles. Some cars require a minimum charging current to start charging (typically 6 A), and may also enforce a maximum charging current even if the charger supports more.",
"extends": ["battery"],
"states": [
{
"name": "capacity",
"type": "double",
"unit": "KiloWattHour"
},
{
"name": "minChargingCurrent",
"type": "uint",
"unit": "Ampere",
"minValue": 6,
"maxValue": 16,
"optional": true
},
{
"name": "maxChargingCurrent",
"type": "uint",
"unit": "Ampere",
"minValue": 16,
"maxValue": 80,
"optional": true
},
{
"name": "phaseCount",
"type": "uint",
"minValue": 1,
"maxValue": 3,
"optional": true
}
]
}