Show theoretical hardware limit for the charging current

master
Simon Stürz 2021-11-04 13:22:43 +01:00
parent cd79bb517f
commit 9e1780c5c4
2 changed files with 11 additions and 0 deletions

View File

@ -433,6 +433,7 @@ void IntegrationPluginKeba::onReportTwoReceived(const KeContact::ReportTwo &repo
thing->setStateValue(wallboxMaxChargingCurrentStateTypeId, qRound(reportTwo.currentUser));
thing->setStateValue(wallboxMaxChargingCurrentPercentStateTypeId, reportTwo.maxCurrentPercentage);
thing->setStateValue(wallboxMaxChargingCurrentHardwareStateTypeId, reportTwo.currentHardwareLimitation);
// Set the state limits according to the hardware limits
if (reportTwo.currentHardwareLimitation > 0) {

View File

@ -153,6 +153,16 @@
"minValue": 0,
"maxValue": 100
},
{
"id": "33e2ed95-f01e-44db-8156-34d124a8ecc8",
"name": "maxChargingCurrentHardware",
"displayName": "Maximal hardware charging current",
"displayNameEvent": "Maximal hardware charging current changed",
"type": "uint",
"unit": "Ampere",
"defaultValue": 32,
"suggestLogging": true
},
{
"id": "4a2d75d8-a3a0-4b40-9ca7-e8b6f11d0ef9",
"name": "voltagePhaseA",