PCE: Add new settings and adopt to firmware 0.22
parent
8f47c12b23
commit
d90edc7aae
|
|
@ -118,6 +118,10 @@
|
|||
{
|
||||
"key": "PwmS0Enabled",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"key": "LimitS0Enabled",
|
||||
"value": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -295,6 +299,31 @@
|
|||
"access": "R"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "update2",
|
||||
"readSchedule": "update",
|
||||
"registers": [
|
||||
{
|
||||
"id": "currentPower",
|
||||
"address": 144,
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"registerType": "holdingRegister",
|
||||
"description": "Actual charging power (Since firmware version: 0.22)",
|
||||
"unit": "W",
|
||||
"access": "RO"
|
||||
},
|
||||
{
|
||||
"id": "digitalInputFlag",
|
||||
"address": 145,
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"registerType": "holdingRegister",
|
||||
"description": "Actual digital input (Since firmware version: 0.22)",
|
||||
"access": "RO"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"registers": [
|
||||
|
|
@ -356,6 +385,38 @@
|
|||
"description": "Digital input mode",
|
||||
"enum": "DigitalInputMode",
|
||||
"access": "RW"
|
||||
},
|
||||
{
|
||||
"id": "phaseAutoSwitchPause",
|
||||
"address": 206,
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"registerType": "holdingRegister",
|
||||
"description": "Phase auto switch pause (Since firmware version: 0.22)",
|
||||
"unit": "s",
|
||||
"defaultValue": "6",
|
||||
"access": "RW"
|
||||
},
|
||||
{
|
||||
"id": "phaseAutoSwitchMinChargingTime",
|
||||
"address": 207,
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"registerType": "holdingRegister",
|
||||
"description": "Phase auto switch min charging time (Since firmware version: 0.22)",
|
||||
"unit": "s",
|
||||
"defaultValue": "120",
|
||||
"access": "RW"
|
||||
},
|
||||
{
|
||||
"id": "forceChargingResume",
|
||||
"address": 208,
|
||||
"size": 1,
|
||||
"type": "uint16",
|
||||
"registerType": "holdingRegister",
|
||||
"description": "Force charging resume (Since firmware version: 0.22)",
|
||||
"defaultValue": "0",
|
||||
"access": "RW"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ IntegrationPluginPcElectric::IntegrationPluginPcElectric()
|
|||
|
||||
void IntegrationPluginPcElectric::init()
|
||||
{
|
||||
|
||||
//qCCritical(dcPcElectric()) << QString("%1").arg(QString::number(49155, 2));
|
||||
}
|
||||
|
||||
void IntegrationPluginPcElectric::discoverThings(ThingDiscoveryInfo *info)
|
||||
|
|
@ -212,7 +212,7 @@ void IntegrationPluginPcElectric::executeAction(ThingActionInfo *info)
|
|||
|
||||
quint16 registerValue = PceWallbox::deriveRegisterFromStates(m_chargingCurrentStateBuffer.value(thing));
|
||||
qCDebug(dcPcElectric()) << "Writing charging current register" << registerValue;
|
||||
QueuedModbusReply *reply = connection->setChargingCurrent(registerValue);
|
||||
QueuedModbusReply *reply = connection->setChargingCurrentAsync(registerValue);
|
||||
connect(reply, &QueuedModbusReply::finished, info, [reply, info, thing, power, registerValue](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set power state to" << power << "(" << registerValue << ")" << reply->errorString();
|
||||
|
|
@ -237,7 +237,7 @@ void IntegrationPluginPcElectric::executeAction(ThingActionInfo *info)
|
|||
|
||||
quint16 registerValue = PceWallbox::deriveRegisterFromStates(m_chargingCurrentStateBuffer.value(thing));
|
||||
qCDebug(dcPcElectric()) << "Writing charging current register" << registerValue;
|
||||
QueuedModbusReply *reply = connection->setChargingCurrent(registerValue);
|
||||
QueuedModbusReply *reply = connection->setChargingCurrentAsync(registerValue);
|
||||
connect(reply, &QueuedModbusReply::finished, info, [reply, info, thing, desiredChargingCurrent](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set charging current to" << desiredChargingCurrent << reply->errorString();
|
||||
|
|
@ -262,7 +262,7 @@ void IntegrationPluginPcElectric::executeAction(ThingActionInfo *info)
|
|||
|
||||
quint16 registerValue = PceWallbox::deriveRegisterFromStates(m_chargingCurrentStateBuffer.value(thing));
|
||||
qCDebug(dcPcElectric()) << "Writing charging current register" << registerValue;
|
||||
QueuedModbusReply *reply = connection->setChargingCurrent(registerValue);
|
||||
QueuedModbusReply *reply = connection->setChargingCurrentAsync(registerValue);
|
||||
connect(reply, &QueuedModbusReply::finished, info, [reply, info, thing, desiredPhaseCount](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set desired phase count to" << desiredPhaseCount << reply->errorString();
|
||||
|
|
@ -413,8 +413,23 @@ void IntegrationPluginPcElectric::setupConnection(ThingSetupInfo *info)
|
|||
case EV11ModbusTcpConnection::DigitalInputModePwmS0Enabled:
|
||||
thing->setSettingValue(ev11SettingsDigitalInputModeParamTypeId, "2 | PWM and S0 signaling");
|
||||
break;
|
||||
case EV11ModbusTcpConnection::DigitalInputModeLimitS0Enabled:
|
||||
thing->setSettingValue(ev11SettingsDigitalInputModeParamTypeId, "3 | Limit and S0 signaling");
|
||||
break;
|
||||
}
|
||||
|
||||
if (connection->firmwareRevision() >= "0022") {
|
||||
thing->setSettingValue(ev11SettingsPhaseAutoSwitchPauseParamTypeId, connection->phaseAutoSwitchPause());
|
||||
thing->setStateValue(ev11SettingsPhaseAutoSwitchMinChargingTimeParamTypeId, connection->phaseAutoSwitchMinChargingTime());
|
||||
thing->setStateValue(ev11SettingsForceChargingResumeParamTypeId, connection->forceChargingResume() == 1 ? true : false);
|
||||
}
|
||||
}
|
||||
|
||||
if (connection->firmwareRevision() >= "0022") {
|
||||
thing->setStateValue(ev11CurrentPowerStateTypeId, connection->currentPower());
|
||||
thing->setStateValue(ev11DigitalInputFlagStateTypeId, QString("0b%1").arg(connection->digitalInputFlag(), 16, 2, QLatin1Char('0')));
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
connect(thing, &Thing::settingChanged, connection, [thing, connection](const ParamTypeId ¶mTypeId, const QVariant &value){
|
||||
|
|
@ -423,7 +438,7 @@ void IntegrationPluginPcElectric::setupConnection(ThingSetupInfo *info)
|
|||
quint16 percentage = value.toUInt();
|
||||
|
||||
qCDebug(dcPcElectric()) << "Setting LED brightness to" << percentage << "%";
|
||||
QueuedModbusReply *reply = connection->setLedBrightness(percentage);
|
||||
QueuedModbusReply *reply = connection->setLedBrightnessAsync(percentage);
|
||||
connect(reply, &QueuedModbusReply::finished, thing, [reply, percentage](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set led brightness to" << percentage << "%" << reply->errorString();
|
||||
|
|
@ -443,12 +458,14 @@ void IntegrationPluginPcElectric::setupConnection(ThingSetupInfo *info)
|
|||
modeValue = EV11ModbusTcpConnection::DigitalInputModeEnableChargingInverted;
|
||||
} else if (mode == "2 | PWM and S0 signaling") {
|
||||
modeValue = EV11ModbusTcpConnection::DigitalInputModePwmS0Enabled;
|
||||
} else if (mode == "3 | Limit and S0 signaling") {
|
||||
modeValue = EV11ModbusTcpConnection::DigitalInputModeLimitS0Enabled;
|
||||
} else {
|
||||
qCWarning(dcPcElectric()) << "Unknown mode value" << mode;
|
||||
qCWarning(dcPcElectric()) << "Unknown digital input mode value" << mode;
|
||||
return;
|
||||
}
|
||||
|
||||
QueuedModbusReply *reply = connection->setDigitalInputMode(modeValue);
|
||||
QueuedModbusReply *reply = connection->setDigitalInputModeAsync(modeValue);
|
||||
connect(reply, &QueuedModbusReply::finished, thing, [reply, modeValue](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set digital input mode to" << modeValue << reply->errorString();
|
||||
|
|
@ -457,6 +474,45 @@ void IntegrationPluginPcElectric::setupConnection(ThingSetupInfo *info)
|
|||
|
||||
qCDebug(dcPcElectric()) << "Successfully set digital input mode to" << modeValue;
|
||||
});
|
||||
} else if (paramTypeId == ev11SettingsPhaseAutoSwitchPauseParamTypeId) {
|
||||
quint16 registerValue = value.toUInt();
|
||||
|
||||
qCDebug(dcPcElectric()) << "Setting phase auto switch pause to" << registerValue << "s";
|
||||
QueuedModbusReply *reply = connection->setPhaseAutoSwitchPauseAsync(registerValue);
|
||||
connect(reply, &QueuedModbusReply::finished, thing, [reply, registerValue](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set phase auto switch pause to" << registerValue << "s" << reply->errorString();
|
||||
return;
|
||||
}
|
||||
|
||||
qCDebug(dcPcElectric()) << "Successfully set phase auto switch pause to" << registerValue << "s";
|
||||
});
|
||||
} else if (paramTypeId == ev11SettingsPhaseAutoSwitchMinChargingTimeParamTypeId) {
|
||||
quint16 registerValue = value.toUInt();
|
||||
|
||||
qCDebug(dcPcElectric()) << "Setting phase auto switch min charging current" << registerValue << "s";
|
||||
QueuedModbusReply *reply = connection->setPhaseAutoSwitchMinChargingTimeAsync(registerValue);
|
||||
connect(reply, &QueuedModbusReply::finished, thing, [reply, registerValue](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set phase auto switch min charging current to" << registerValue << "s" << reply->errorString();
|
||||
return;
|
||||
}
|
||||
|
||||
qCDebug(dcPcElectric()) << "Successfully set phase auto switch min charging current to" << registerValue << "s";
|
||||
});
|
||||
} else if (paramTypeId == ev11SettingsForceChargingResumeParamTypeId) {
|
||||
quint16 registerValue = value.toBool() ? 1 : 0;
|
||||
|
||||
qCDebug(dcPcElectric()) << "Setting force charging resume to" << registerValue;
|
||||
QueuedModbusReply *reply = connection->setForceChargingResumeAsync(registerValue);
|
||||
connect(reply, &QueuedModbusReply::finished, thing, [reply, registerValue](){
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Could not set force charging resume to" << registerValue << reply->errorString();
|
||||
return;
|
||||
}
|
||||
|
||||
qCDebug(dcPcElectric()) << "Successfully set force charging resume to" << registerValue;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -68,8 +68,36 @@
|
|||
"allowedValues": [
|
||||
"0 | Charging allowed",
|
||||
"1 | Charging allowed inverted",
|
||||
"2 | PWM and S0 signaling"
|
||||
"2 | PWM and S0 signaling",
|
||||
"3 | Limit and S0 signaling"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "a5354c66-0a7a-44a8-bea0-0305b91b63cf",
|
||||
"name": "phaseAutoSwitchPause",
|
||||
"displayName": "Phase autoswitch pause",
|
||||
"type": "int",
|
||||
"unit": "Seconds",
|
||||
"minValue": 5,
|
||||
"maxValue": 600,
|
||||
"defaultValue": 6
|
||||
},
|
||||
{
|
||||
"id": "7b0b5375-7980-4f99-9542-1dcb0390fb22",
|
||||
"name": "phaseAutoSwitchMinChargingTime",
|
||||
"displayName": "Phase autoswitch minimal charging time",
|
||||
"type": "int",
|
||||
"unit": "Seconds",
|
||||
"minValue": 5,
|
||||
"maxValue": 600,
|
||||
"defaultValue": 120
|
||||
},
|
||||
{
|
||||
"id": "5cece964-fe64-4e26-86ee-ba8fbbedd523",
|
||||
"name": "forceChargingResume",
|
||||
"displayName": "Force charging resume",
|
||||
"type": "bool",
|
||||
"defaultValue": false
|
||||
}
|
||||
],
|
||||
"stateTypes": [
|
||||
|
|
@ -142,6 +170,15 @@
|
|||
"defaultValue": 3,
|
||||
"writable": true
|
||||
},
|
||||
{
|
||||
"id": "bbe97e15-8fa7-42e0-9023-1d41425ccbee",
|
||||
"name": "currentPower",
|
||||
"displayName": "Active power",
|
||||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"defaultValue": 0,
|
||||
"cached": false
|
||||
},
|
||||
{
|
||||
"id": "3da3ee80-e9e7-4237-85a6-b4adcb2f483b",
|
||||
"name": "sessionEnergy",
|
||||
|
|
@ -174,6 +211,13 @@
|
|||
"displayName": "Firmware version",
|
||||
"type": "QString",
|
||||
"defaultValue": ""
|
||||
},
|
||||
{
|
||||
"id": "c606c59b-6b3e-4de8-aaf8-aea4742200d9",
|
||||
"name": "digitalInputFlag",
|
||||
"displayName": "Digital input flag",
|
||||
"type": "QString",
|
||||
"defaultValue": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
*
|
||||
* Copyright 2013 - 2024, nymea GmbH
|
||||
* Copyright 2013 - 2025, nymea GmbH
|
||||
* Contact: contact@nymea.io
|
||||
*
|
||||
* This file is part of nymea.
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ bool PceWallbox::update()
|
|||
|
||||
enqueueRequest(reply);
|
||||
|
||||
|
||||
// charging current register. Contains
|
||||
// - power state
|
||||
// - chargingcurrent (if power is true)
|
||||
|
|
@ -200,16 +201,158 @@ bool PceWallbox::update()
|
|||
const QVector<quint16> values = unit.values();
|
||||
processLedBrightnessRegisterValues(values);
|
||||
|
||||
emit updateFinished();
|
||||
if (firmwareRevision() < "0022")
|
||||
emit updateFinished();
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
}
|
||||
|
||||
|
||||
if (firmwareRevision() < "0022")
|
||||
return true;
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------------------
|
||||
// Registers since 0022 (V 0.22)
|
||||
|
||||
// Make sure we only have one update 2 call in the queue
|
||||
bool update2Queued = false;
|
||||
foreach (QueuedModbusReply *r, m_readQueue) {
|
||||
if (r->dataUnit().startAddress() == readBlockUpdate2DataUnit().startAddress()) {
|
||||
update2Queued = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!update2Queued) {
|
||||
reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeRead, readBlockUpdate2DataUnit(), this);
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
qCWarning(dcPcElectric()) << "Failed to fetch update 2 block" << reply->error() << reply->errorString();
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
}
|
||||
|
||||
const QModbusDataUnit unit = reply->reply()->result();
|
||||
const QVector<quint16> blockValues = unit.values();
|
||||
processBlockUpdate2RegisterValues(blockValues);
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
}
|
||||
|
||||
|
||||
bool phaseAutoSwitchPauseQueued = false;
|
||||
foreach (QueuedModbusReply *r, m_readQueue) {
|
||||
if (r->dataUnit().startAddress() == phaseAutoSwitchPauseDataUnit().startAddress()) {
|
||||
phaseAutoSwitchPauseQueued = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!phaseAutoSwitchPauseQueued) {
|
||||
reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeRead, phaseAutoSwitchPauseDataUnit(), this);
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
}
|
||||
|
||||
const QModbusDataUnit unit = reply->reply()->result();
|
||||
const QVector<quint16> values = unit.values();
|
||||
processPhaseAutoSwitchPauseRegisterValues(values);
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
}
|
||||
|
||||
// Phase auto switch pause (since firmware version 0.22 ...)
|
||||
bool phaseAutoSwitchMinChargingTimeQueued = false;
|
||||
foreach (QueuedModbusReply *r, m_readQueue) {
|
||||
if (r->dataUnit().startAddress() == phaseAutoSwitchMinChargingTimeDataUnit().startAddress()) {
|
||||
phaseAutoSwitchMinChargingTimeQueued = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!phaseAutoSwitchMinChargingTimeQueued) {
|
||||
reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeRead, phaseAutoSwitchMinChargingTimeDataUnit(), this);
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
}
|
||||
|
||||
const QModbusDataUnit unit = reply->reply()->result();
|
||||
const QVector<quint16> values = unit.values();
|
||||
processPhaseAutoSwitchMinChargingTimeRegisterValues(values);
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
}
|
||||
|
||||
// Phase auto switch pause (since firmware version 0.22 ...)
|
||||
bool forceChargingResumeQueued = false;
|
||||
foreach (QueuedModbusReply *r, m_readQueue) {
|
||||
if (r->dataUnit().startAddress() == forceChargingResumeDataUnit().startAddress()) {
|
||||
forceChargingResumeQueued = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!forceChargingResumeQueued) {
|
||||
reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeRead, forceChargingResumeDataUnit(), this);
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
if (reply->error() != QModbusDevice::NoError) {
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
}
|
||||
|
||||
const QModbusDataUnit unit = reply->reply()->result();
|
||||
const QVector<quint16> values = unit.values();
|
||||
processForceChargingResumeRegisterValues(values);
|
||||
|
||||
emit updateFinished();
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
QueuedModbusReply *PceWallbox::setChargingCurrent(quint16 chargingCurrent)
|
||||
QueuedModbusReply *PceWallbox::setChargingCurrentAsync(quint16 chargingCurrent)
|
||||
{
|
||||
if (m_aboutToDelete)
|
||||
return nullptr;
|
||||
|
|
@ -229,7 +372,7 @@ QueuedModbusReply *PceWallbox::setChargingCurrent(quint16 chargingCurrent)
|
|||
return reply;
|
||||
}
|
||||
|
||||
QueuedModbusReply *PceWallbox::setLedBrightness(quint16 percentage)
|
||||
QueuedModbusReply *PceWallbox::setLedBrightnessAsync(quint16 percentage)
|
||||
{
|
||||
if (m_aboutToDelete)
|
||||
return nullptr;
|
||||
|
|
@ -249,7 +392,67 @@ QueuedModbusReply *PceWallbox::setLedBrightness(quint16 percentage)
|
|||
return reply;
|
||||
}
|
||||
|
||||
QueuedModbusReply *PceWallbox::setDigitalInputMode(DigitalInputMode digitalInputMode)
|
||||
QueuedModbusReply *PceWallbox::setPhaseAutoSwitchPauseAsync(quint16 seconds)
|
||||
{
|
||||
if (m_aboutToDelete)
|
||||
return nullptr;
|
||||
|
||||
QueuedModbusReply *reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeWrite, setPhaseAutoSwitchPauseDataUnit(seconds), this);
|
||||
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
return reply;
|
||||
}
|
||||
|
||||
QueuedModbusReply *PceWallbox::setPhaseAutoSwitchMinChargingTimeAsync(quint16 seconds)
|
||||
{
|
||||
if (m_aboutToDelete)
|
||||
return nullptr;
|
||||
|
||||
QueuedModbusReply *reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeWrite, setPhaseAutoSwitchMinChargingTimeDataUnit(seconds), this);
|
||||
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
return reply;
|
||||
}
|
||||
|
||||
QueuedModbusReply *PceWallbox::setForceChargingResumeAsync(quint16 value)
|
||||
{
|
||||
if (m_aboutToDelete)
|
||||
return nullptr;
|
||||
|
||||
QueuedModbusReply *reply = new QueuedModbusReply(QueuedModbusReply::RequestTypeWrite, setForceChargingResumeDataUnit(value), this);
|
||||
|
||||
connect(reply, &QueuedModbusReply::finished, reply, &QueuedModbusReply::deleteLater);
|
||||
connect(reply, &QueuedModbusReply::finished, this, [this, reply](){
|
||||
if (m_currentReply == reply)
|
||||
m_currentReply = nullptr;
|
||||
|
||||
QTimer::singleShot(0, this, &PceWallbox::sendNextRequest);
|
||||
return;
|
||||
});
|
||||
|
||||
enqueueRequest(reply);
|
||||
return reply;
|
||||
}
|
||||
|
||||
QueuedModbusReply *PceWallbox::setDigitalInputModeAsync(DigitalInputMode digitalInputMode)
|
||||
{
|
||||
if (m_aboutToDelete)
|
||||
return nullptr;
|
||||
|
|
@ -267,7 +470,6 @@ QueuedModbusReply *PceWallbox::setDigitalInputMode(DigitalInputMode digitalInput
|
|||
|
||||
enqueueRequest(reply);
|
||||
return reply;
|
||||
|
||||
}
|
||||
|
||||
void PceWallbox::gracefullDeleteLater()
|
||||
|
|
|
|||
|
|
@ -54,11 +54,14 @@ public:
|
|||
|
||||
bool update() override;
|
||||
|
||||
QueuedModbusReply *setChargingCurrent(quint16 chargingCurrent); // mA
|
||||
QueuedModbusReply *setChargingCurrentAsync(quint16 chargingCurrent); // mA
|
||||
|
||||
QueuedModbusReply *setLedBrightness(quint16 percentage);
|
||||
QueuedModbusReply *setLedBrightnessAsync(quint16 percentage);
|
||||
QueuedModbusReply *setPhaseAutoSwitchPauseAsync(quint16 seconds);
|
||||
QueuedModbusReply *setPhaseAutoSwitchMinChargingTimeAsync(quint16 seconds);
|
||||
QueuedModbusReply *setForceChargingResumeAsync(quint16 value);
|
||||
|
||||
QueuedModbusReply *setDigitalInputMode(DigitalInputMode digitalInputMode);
|
||||
QueuedModbusReply *setDigitalInputModeAsync(DigitalInputMode digitalInputMode);
|
||||
|
||||
|
||||
// Note: the modbus implementation of the wallbox gets stuck if a Modbus request has been sent
|
||||
|
|
|
|||
|
|
@ -8,41 +8,42 @@
|
|||
<source>The network device discovery is not available.</source>
|
||||
<translation>Die Netzwerk Suche ist nicht verfügbar.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../integrationpluginpcelectric.cpp" line="103"/>
|
||||
<source>The MAC address is not known. Please reconfigure the thing.</source>
|
||||
<translation>Die MAC-Adresse ist nicht bekannt. Bitte richte das Gerät erneut ein.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PcElectric</name>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="48"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="56"/>
|
||||
<source>1</source>
|
||||
<extracomment>The name of a possible value of StateType {d91f7d96-2599-400a-91da-d164477098b7} of ThingClass ev11</extracomment>
|
||||
<translation>1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="51"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="59"/>
|
||||
<source>3</source>
|
||||
<extracomment>The name of a possible value of StateType {d91f7d96-2599-400a-91da-d164477098b7} of ThingClass ev11</extracomment>
|
||||
<translation>3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="54"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="62"/>
|
||||
<source>Active phases</source>
|
||||
<extracomment>The name of the StateType ({bca88c23-e940-40c1-afca-eb511fd17aab}) of ThingClass ev11</extracomment>
|
||||
<translation>Aktive Phasen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="57"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="65"/>
|
||||
<source>Active power</source>
|
||||
<extracomment>The name of the StateType ({bbe97e15-8fa7-42e0-9023-1d41425ccbee}) of ThingClass ev11</extracomment>
|
||||
<translation>Aktive Leistung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="68"/>
|
||||
<source>Charging</source>
|
||||
<extracomment>The name of the StateType ({b7972cd7-471a-46bd-ab99-f49997f12309}) of ThingClass ev11</extracomment>
|
||||
<translation>Lädt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="60"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="63"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="71"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="74"/>
|
||||
<source>Charging enabled</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, ActionType: power, ID: {c12a7a27-fa56-450c-a1ec-717c868554f2})
|
||||
----------
|
||||
|
|
@ -50,14 +51,14 @@ The name of the StateType ({c12a7a27-fa56-450c-a1ec-717c868554f2}) of ThingClass
|
|||
<translation>Laden eingeschalten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="66"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="77"/>
|
||||
<source>Connected</source>
|
||||
<extracomment>The name of the StateType ({ca8d680c-c2f8-456a-a246-9c6cd64e25a7}) of ThingClass ev11</extracomment>
|
||||
<translation>Verbunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="69"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="72"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="80"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="83"/>
|
||||
<source>Desired phase count</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, ActionType: desiredPhaseCount, ID: {d91f7d96-2599-400a-91da-d164477098b7})
|
||||
----------
|
||||
|
|
@ -65,50 +66,80 @@ The name of the StateType ({d91f7d96-2599-400a-91da-d164477098b7}) of ThingClass
|
|||
<translation>Gewünschte Phasenanzahl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="75"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="86"/>
|
||||
<source>Digital input flag</source>
|
||||
<extracomment>The name of the StateType ({c606c59b-6b3e-4de8-aaf8-aea4742200d9}) of ThingClass ev11</extracomment>
|
||||
<translation>Digitale Eingänge Werte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="89"/>
|
||||
<source>Digital input mode</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {930e0bf9-0038-436d-9eae-5c0f1cb28825})</extracomment>
|
||||
<translation>Digitale Eingänge Modi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="92"/>
|
||||
<source>Enable or disable charging</source>
|
||||
<extracomment>The name of the ActionType ({c12a7a27-fa56-450c-a1ec-717c868554f2}) of ThingClass ev11</extracomment>
|
||||
<translation>Laden starten/stoppen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="78"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="95"/>
|
||||
<source>Error</source>
|
||||
<extracomment>The name of the StateType ({2ea1a53f-b2b0-452d-8060-cdb114db05a7}) of ThingClass ev11</extracomment>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="81"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="98"/>
|
||||
<source>Firmware version</source>
|
||||
<extracomment>The name of the StateType ({142b4276-e2e9-4149-adc4-89d9d3e31117}) of ThingClass ev11</extracomment>
|
||||
<translation>Firmware Version</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="96"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="101"/>
|
||||
<source>Force charging resume</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {5cece964-fe64-4e26-86ee-ba8fbbedd523})</extracomment>
|
||||
<translation>Erzwinge Ladefortsezung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="104"/>
|
||||
<source>Host address</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {aa18f1ae-e2d5-4918-9230-ab3f6fb49010})</extracomment>
|
||||
<translation>IP Adresse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="107"/>
|
||||
<source>Host name</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {a8b81e4a-f4ec-479b-9cb8-19147759c4cc})</extracomment>
|
||||
<translation>Hostname</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="122"/>
|
||||
<source>Onboard temperature</source>
|
||||
<extracomment>The name of the StateType ({bb092562-377e-458e-bb8a-735af9036652}) of ThingClass ev11</extracomment>
|
||||
<translation>Temperatur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="105"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="131"/>
|
||||
<source>PCE EV11.3</source>
|
||||
<extracomment>The name of the ThingClass ({88d96940-a940-4a07-8176-5e6aba7ca832})</extracomment>
|
||||
<translation>PCE EV11.3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="84"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="110"/>
|
||||
<source>LED brightness</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {3a1329a2-84cc-47b9-a6c2-e96fdfd0c454})</extracomment>
|
||||
<translation>LED Helligkeit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="87"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="113"/>
|
||||
<source>MAC address</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {0a3f8d12-9d33-4ae2-b763-9568f32e8da1})</extracomment>
|
||||
<translation>MAC Adresse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="90"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="93"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="116"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="119"/>
|
||||
<source>Maximum charging current</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, ActionType: maxChargingCurrent, ID: {b5bbf23c-06db-463b-bb5c-3aea38e18818})
|
||||
----------
|
||||
|
|
@ -116,43 +147,55 @@ The name of the StateType ({b5bbf23c-06db-463b-bb5c-3aea38e18818}) of ThingClass
|
|||
<translation>Maximaler Ladestrom</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="99"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="125"/>
|
||||
<source>PC Electric</source>
|
||||
<extracomment>The name of the plugin PcElectric ({aa7ff833-a8e0-45cc-a1ef-65f05871f272})</extracomment>
|
||||
<translation>PC Electric</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="102"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="128"/>
|
||||
<source>PC Electric GmbH</source>
|
||||
<extracomment>The name of the vendor ({b365937b-f1d6-46bf-9ff1-e787373b8aa6})</extracomment>
|
||||
<translation>PC Electric GmbH</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="108"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="134"/>
|
||||
<source>Phase autoswitch minimal charging time</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {7b0b5375-7980-4f99-9542-1dcb0390fb22})</extracomment>
|
||||
<translation>Mindestladezeit nach Phasenumschaltung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="137"/>
|
||||
<source>Phase autoswitch pause</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {a5354c66-0a7a-44a8-bea0-0305b91b63cf})</extracomment>
|
||||
<translation>Pause nach Phasenumschaltung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="140"/>
|
||||
<source>Plugged in</source>
|
||||
<extracomment>The name of the StateType ({50164bbd-9802-4cf6-82de-626b74293a1b}) of ThingClass ev11</extracomment>
|
||||
<translation>Angesteckt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="111"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="143"/>
|
||||
<source>Serial number</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {db834ca7-934a-473b-8bd8-c641ff0ea879})</extracomment>
|
||||
<translation>Seriennummer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="114"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="146"/>
|
||||
<source>Session energy</source>
|
||||
<extracomment>The name of the StateType ({3da3ee80-e9e7-4237-85a6-b4adcb2f483b}) of ThingClass ev11</extracomment>
|
||||
<translation>Geladene Energie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="117"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="149"/>
|
||||
<source>Set desired phase count</source>
|
||||
<extracomment>The name of the ActionType ({d91f7d96-2599-400a-91da-d164477098b7}) of ThingClass ev11</extracomment>
|
||||
<translation>Setze gewünschte Phasenanzahl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="120"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="152"/>
|
||||
<source>Set maximum charging current</source>
|
||||
<extracomment>The name of the ActionType ({b5bbf23c-06db-463b-bb5c-3aea38e18818}) of ThingClass ev11</extracomment>
|
||||
<translation>Setze maximalen Ladestrom</translation>
|
||||
|
|
|
|||
|
|
@ -8,41 +8,42 @@
|
|||
<source>The network device discovery is not available.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../integrationpluginpcelectric.cpp" line="103"/>
|
||||
<source>The MAC address is not known. Please reconfigure the thing.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PcElectric</name>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="48"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="56"/>
|
||||
<source>1</source>
|
||||
<extracomment>The name of a possible value of StateType {d91f7d96-2599-400a-91da-d164477098b7} of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="51"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="59"/>
|
||||
<source>3</source>
|
||||
<extracomment>The name of a possible value of StateType {d91f7d96-2599-400a-91da-d164477098b7} of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="54"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="62"/>
|
||||
<source>Active phases</source>
|
||||
<extracomment>The name of the StateType ({bca88c23-e940-40c1-afca-eb511fd17aab}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="57"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="65"/>
|
||||
<source>Active power</source>
|
||||
<extracomment>The name of the StateType ({bbe97e15-8fa7-42e0-9023-1d41425ccbee}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="68"/>
|
||||
<source>Charging</source>
|
||||
<extracomment>The name of the StateType ({b7972cd7-471a-46bd-ab99-f49997f12309}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="60"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="63"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="71"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="74"/>
|
||||
<source>Charging enabled</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, ActionType: power, ID: {c12a7a27-fa56-450c-a1ec-717c868554f2})
|
||||
----------
|
||||
|
|
@ -50,14 +51,14 @@ The name of the StateType ({c12a7a27-fa56-450c-a1ec-717c868554f2}) of ThingClass
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="66"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="77"/>
|
||||
<source>Connected</source>
|
||||
<extracomment>The name of the StateType ({ca8d680c-c2f8-456a-a246-9c6cd64e25a7}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="69"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="72"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="80"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="83"/>
|
||||
<source>Desired phase count</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, ActionType: desiredPhaseCount, ID: {d91f7d96-2599-400a-91da-d164477098b7})
|
||||
----------
|
||||
|
|
@ -65,50 +66,80 @@ The name of the StateType ({d91f7d96-2599-400a-91da-d164477098b7}) of ThingClass
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="75"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="86"/>
|
||||
<source>Digital input flag</source>
|
||||
<extracomment>The name of the StateType ({c606c59b-6b3e-4de8-aaf8-aea4742200d9}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="89"/>
|
||||
<source>Digital input mode</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {930e0bf9-0038-436d-9eae-5c0f1cb28825})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="92"/>
|
||||
<source>Enable or disable charging</source>
|
||||
<extracomment>The name of the ActionType ({c12a7a27-fa56-450c-a1ec-717c868554f2}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="78"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="95"/>
|
||||
<source>Error</source>
|
||||
<extracomment>The name of the StateType ({2ea1a53f-b2b0-452d-8060-cdb114db05a7}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="81"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="98"/>
|
||||
<source>Firmware version</source>
|
||||
<extracomment>The name of the StateType ({142b4276-e2e9-4149-adc4-89d9d3e31117}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="96"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="101"/>
|
||||
<source>Force charging resume</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {5cece964-fe64-4e26-86ee-ba8fbbedd523})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="104"/>
|
||||
<source>Host address</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {aa18f1ae-e2d5-4918-9230-ab3f6fb49010})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="107"/>
|
||||
<source>Host name</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {a8b81e4a-f4ec-479b-9cb8-19147759c4cc})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="122"/>
|
||||
<source>Onboard temperature</source>
|
||||
<extracomment>The name of the StateType ({bb092562-377e-458e-bb8a-735af9036652}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="105"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="131"/>
|
||||
<source>PCE EV11.3</source>
|
||||
<extracomment>The name of the ThingClass ({88d96940-a940-4a07-8176-5e6aba7ca832})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="84"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="110"/>
|
||||
<source>LED brightness</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {3a1329a2-84cc-47b9-a6c2-e96fdfd0c454})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="87"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="113"/>
|
||||
<source>MAC address</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {0a3f8d12-9d33-4ae2-b763-9568f32e8da1})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="90"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="93"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="116"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="119"/>
|
||||
<source>Maximum charging current</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, ActionType: maxChargingCurrent, ID: {b5bbf23c-06db-463b-bb5c-3aea38e18818})
|
||||
----------
|
||||
|
|
@ -116,43 +147,55 @@ The name of the StateType ({b5bbf23c-06db-463b-bb5c-3aea38e18818}) of ThingClass
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="99"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="125"/>
|
||||
<source>PC Electric</source>
|
||||
<extracomment>The name of the plugin PcElectric ({aa7ff833-a8e0-45cc-a1ef-65f05871f272})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="102"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="128"/>
|
||||
<source>PC Electric GmbH</source>
|
||||
<extracomment>The name of the vendor ({b365937b-f1d6-46bf-9ff1-e787373b8aa6})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="108"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="134"/>
|
||||
<source>Phase autoswitch minimal charging time</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {7b0b5375-7980-4f99-9542-1dcb0390fb22})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="137"/>
|
||||
<source>Phase autoswitch pause</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: settings, ID: {a5354c66-0a7a-44a8-bea0-0305b91b63cf})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="140"/>
|
||||
<source>Plugged in</source>
|
||||
<extracomment>The name of the StateType ({50164bbd-9802-4cf6-82de-626b74293a1b}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="111"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="143"/>
|
||||
<source>Serial number</source>
|
||||
<extracomment>The name of the ParamType (ThingClass: ev11, Type: thing, ID: {db834ca7-934a-473b-8bd8-c641ff0ea879})</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="114"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="146"/>
|
||||
<source>Session energy</source>
|
||||
<extracomment>The name of the StateType ({3da3ee80-e9e7-4237-85a6-b4adcb2f483b}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="117"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="149"/>
|
||||
<source>Set desired phase count</source>
|
||||
<extracomment>The name of the ActionType ({d91f7d96-2599-400a-91da-d164477098b7}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="120"/>
|
||||
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/pcelectric/plugininfo.h" line="152"/>
|
||||
<source>Set maximum charging current</source>
|
||||
<extracomment>The name of the ActionType ({b5bbf23c-06db-463b-bb5c-3aea38e18818}) of ThingClass ev11</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
|
|
|||
Loading…
Reference in New Issue