Show theoretical hardware limit for the charging current
parent
cd79bb517f
commit
9e1780c5c4
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue