From 9609598ff5ea7ed70745c9880df6013c14b60106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Mon, 22 Dec 2025 13:47:18 +0100 Subject: [PATCH] Add maximum charging current to the electric vehicle inteface --- libnymea/interfaces/electricvehicle.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libnymea/interfaces/electricvehicle.json b/libnymea/interfaces/electricvehicle.json index c700afc7..dc612a53 100644 --- a/libnymea/interfaces/electricvehicle.json +++ b/libnymea/interfaces/electricvehicle.json @@ -1,5 +1,5 @@ { - "description": "Interface for electric vehicles. Some electric cars require a minimum charging current, otherwise they don't start charging. Default is a minimum of 6 ampere.", + "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": [ { @@ -15,6 +15,14 @@ "maxValue": 16, "optional": true }, + { + "name": "maxChargingCurrent", + "type": "uint", + "unit": "Ampere", + "minValue": 16, + "maxValue": 80, + "optional": true + }, { "name": "phaseCount", "type": "uint",