PCE: Update EV charger interface and add full charging current resolution

master
Simon Stürz 2025-12-22 15:18:41 +01:00
parent c525b33d44
commit 4bcfe7c029
2 changed files with 3 additions and 2 deletions

View File

@ -223,7 +223,7 @@ void IntegrationPluginPcElectric::executeAction(ThingActionInfo *info)
} else if (info->action().actionTypeId() == ev11MaxChargingCurrentActionTypeId) { } else if (info->action().actionTypeId() == ev11MaxChargingCurrentActionTypeId) {
uint desiredChargingCurrent = info->action().paramValue(ev11MaxChargingCurrentActionMaxChargingCurrentParamTypeId).toUInt(); double desiredChargingCurrent = info->action().paramValue(ev11MaxChargingCurrentActionMaxChargingCurrentParamTypeId).toDouble();
qCDebug(dcPcElectric()) << "Set max charging current to" << desiredChargingCurrent << "A"; qCDebug(dcPcElectric()) << "Set max charging current to" << desiredChargingCurrent << "A";
// Update buffer // Update buffer

View File

@ -126,11 +126,12 @@
"displayName": "Maximum charging current", "displayName": "Maximum charging current",
"displayNameEvent": "Maximum charging current changed", "displayNameEvent": "Maximum charging current changed",
"displayNameAction": "Set maximum charging current", "displayNameAction": "Set maximum charging current",
"type": "uint", "type": "double",
"unit": "Ampere", "unit": "Ampere",
"defaultValue": 6, "defaultValue": 6,
"minValue": 6, "minValue": 6,
"maxValue": 16, "maxValue": 16,
"stepSize": 0.01,
"writable": true "writable": true
}, },
{ {