removed state and plug state translation

master
Boernsman 2020-02-19 02:50:06 +05:00 committed by bernhard.trinnes
parent 40ac15a736
commit 47e6d46b68
7 changed files with 122 additions and 227 deletions

1
debian/control vendored
View File

@ -870,6 +870,7 @@ Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
nymea-plugins-translations,
nmap,
Replaces: guh-plugin-keba
Description: nymea.io plugin for keba
The nymea daemon is a plugin based IoT (Internet of Things) server. The

View File

@ -62,7 +62,6 @@ void Discovery::discoverHosts(int timeout)
qCDebug(dcKebaKeContact()) << "Scanning network:" << "nmap" << arguments.join(" ");
discoveryProcess->start(QStringLiteral("nmap"), arguments);
}
}
void Discovery::abort()

View File

@ -46,12 +46,10 @@ public:
void discoverHosts(int timeout);
void abort();
bool isRunning() const;
signals:
void finished(QList<Host> hosts);
void finished(const QList<Host> &hosts);
private:
QStringList getDefaultTargets();
@ -71,7 +69,6 @@ private:
QHash<QProcess*, Host*> m_pendingArpLookups;
QHash<QString, Host*> m_pendingNameLookups;
QList<Host*> m_scanResults;
};
#endif // DISCOVERY_H

View File

@ -28,13 +28,12 @@
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "integrationpluginkeba.h"
#include "devicepluginkeba.h"
#include "plugininfo.h"
#include <QUrl>
#include <QUrlQuery>
#include <QJsonDocument>
#include <QPointer>
#include "plugininfo.h"
#include <QUdpSocket>
IntegrationPluginKeba::IntegrationPluginKeba()
@ -42,27 +41,19 @@ IntegrationPluginKeba::IntegrationPluginKeba()
}
void DevicePluginKeba::init()
{
}
void DevicePluginKeba::discoverDevices(DeviceDiscoveryInfo *info)
{
if (info->deviceClassId() == wallboxDeviceClassId) {
Discovery *discovery = new Discovery(this);
Discovery *discovery = new Discovery(info);
discovery->discoverHosts(25);
// clean up discovery object when this discovery info is deleted
connect(info, &DeviceDiscoveryInfo::destroyed, discovery, &Discovery::deleteLater);
connect(discovery, &Discovery::finished, info, [this, info](const QList<Host> &hosts) {
qCDebug(dcKebaKeContact()) << "Discovery finished. Found" << hosts.count() << "devices";
foreach (const Host &host, hosts) {
if (!host.hostName().contains("keba", Qt::CaseSensitivity::CaseInsensitive))
continue;
DeviceDescriptor descriptor(wallboxDeviceClassId, host.hostName().isEmpty() ? host.address() : host.hostName(), host.address() + " (" + host.macAddress() + ")");
DeviceDescriptor descriptor(wallboxDeviceClassId, "Wallbox", host.address() + " (" + host.macAddress() + ")");
foreach (Device *existingDevice, myDevices()) {
if (existingDevice->paramValue(wallboxDeviceMacAddressParamTypeId).toString() == host.macAddress()) {
@ -79,6 +70,7 @@ void DevicePluginKeba::discoverDevices(DeviceDiscoveryInfo *info)
info->finish(Device::DeviceErrorNoError);
});
} else {
qCWarning(dcKebaKeContact()) << "Discover device, unhandled device class" << info->deviceClassId();
info->finish(Device::DeviceErrorDeviceClassNotFound);
}
}
@ -115,6 +107,7 @@ void IntegrationPluginKeba::setupThing(ThingSetupInfo *info)
keba->deleteLater();
});
} else {
qCWarning(dcKebaKeContact()) << "setupDevice, unhandled device class" << device->deviceClass();
info->finish(Device::DeviceErrorDeviceClassNotFound);
}
}
@ -138,13 +131,8 @@ void IntegrationPluginKeba::postSetupThing(Thing *thing)
void DevicePluginKeba::deviceRemoved(Device *device)
{
if (device->deviceClassId() == wallboxDeviceClassId) {
m_kebaDevices.remove(device->id());
}
if(m_kebaDevices.isEmpty()){
m_kebaSocket->close();
m_kebaSocket->deleteLater();
qCDebug(dcKebaKeContact()) << "clear socket";
KeContact *keba = m_kebaDevices.take(device->id());
keba->deleteLater();
}
if (myDevices().empty()) {
@ -162,6 +150,51 @@ void IntegrationPluginKeba::updateData()
}
}
void DevicePluginKeba::setDeviceState(Device *device, KeContact::State state)
{
switch (state) {
case KeContact::StateStarting:
device->setStateValue(wallboxActivityStateTypeId, "Starting");
break;
case KeContact::StateNotReady:
device->setStateValue(wallboxActivityStateTypeId, "Not ready for charging");
break;
case KeContact::StateReady:
device->setStateValue(wallboxActivityStateTypeId, "Ready for charging");
break;
case KeContact::StateCharging:
device->setStateValue(wallboxActivityStateTypeId, "Charging");
break;
case KeContact::StateError:
device->setStateValue(wallboxActivityStateTypeId, "Error");
break;
case KeContact::StateAuthorizationRejected:
device->setStateValue(wallboxActivityStateTypeId, "Authorization rejected");
break;
}
}
void DevicePluginKeba::setDevicePlugState(Device *device, KeContact::PlugState plugState)
{
switch (plugState) {
case KeContact::PlugStateUnplugged:
device->setStateValue(wallboxPlugStateStateTypeId, "Unplugged");
break;
case KeContact::PlugStatePluggedOnChargingStation:
device->setStateValue(wallboxPlugStateStateTypeId, "Plugged in charging station");
break;
case KeContact::PlugStatePluggedOnChargingStationAndPluggedOnEV:
device->setStateValue(wallboxPlugStateStateTypeId, "Plugged in on EV");
break;
case KeContact::PlugStatePluggedOnChargingStationAndPlugLocked:
device->setStateValue(wallboxPlugStateStateTypeId, "Plugged in and locked");
break;
case KeContact::PlugStatePluggedOnChargingStationAndPlugLockedAndPluggedOnEV:
device->setStateValue(wallboxPlugStateStateTypeId, "Plugged in on EV and locked");
break;
}
}
void DevicePluginKeba::onConnectionChanged(bool status)
{
KeContact *keba = static_cast<KeContact *>(sender());
@ -217,44 +250,8 @@ void DevicePluginKeba::onReportTwoReceived(const KeContact::ReportTwo &reportTwo
device->setStateValue(wallboxPowerStateTypeId, reportTwo.enableUser);
device->setStateValue(wallboxMaxChargingCurrentPercentStateTypeId, reportTwo.MaxCurrentPercentage);
switch (reportTwo.state) {
case KeContact::StateStarting:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Starting"));
break;
case KeContact::StateNotReady:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Not ready for charging"));
break;
case KeContact::StateReady:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Ready for charging"));
break;
case KeContact::StateCharging:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Charging"));
break;
case KeContact::StateError:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Erro"));
break;
case KeContact::StateAuthorizationRejected:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Authorization rejected"));
break;
}
switch (reportTwo.plugState) {
case KeContact::PlugStateUnplugged:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Unplugged"));
break;
case KeContact::PlugStatePluggedOnChargingStation:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in charging station"));
break;
case KeContact::PlugStatePluggedOnChargingStationAndPluggedOnEV:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in on EV"));
break;
case KeContact::PlugStatePluggedOnChargingStationAndPlugLocked:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in and locked"));
break;
case KeContact::PlugStatePluggedOnChargingStationAndPlugLockedAndPluggedOnEV:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in on EV and locked"));
break;
}
setDeviceState(device, reportTwo.state);
setDevicePlugState(device, reportTwo.plugState);
}
void DevicePluginKeba::onReportThreeReceived(const KeContact::ReportThree &reportThree)
@ -284,23 +281,7 @@ void DevicePluginKeba::onBroadcastReceived(KeContact::BroadcastType type, const
switch (type) {
case KeContact::BroadcastTypePlug:
switch (KeContact::PlugState(content.toInt())) {
case KeContact::PlugStateUnplugged:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Unplugged"));
break;
case KeContact::PlugStatePluggedOnChargingStation:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in charging station"));
break;
case KeContact::PlugStatePluggedOnChargingStationAndPluggedOnEV:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in on EV"));
break;
case KeContact::PlugStatePluggedOnChargingStationAndPlugLocked:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in and locked"));
break;
case KeContact::PlugStatePluggedOnChargingStationAndPlugLockedAndPluggedOnEV:
device->setStateValue(wallboxPlugStateStateTypeId, QT_TR_NOOP("Plugged in on EV and locked"));
break;
}
setDevicePlugState(device, KeContact::PlugState(content.toInt()));
break;
case KeContact::BroadcastTypeInput:
break;
@ -308,26 +289,7 @@ void DevicePluginKeba::onBroadcastReceived(KeContact::BroadcastType type, const
device->setStateValue(wallboxEPStateTypeId, content.toInt());
break;
case KeContact::BroadcastTypeState:
switch (KeContact::State(content.toInt())) {
case KeContact::StateStarting:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Starting"));
break;
case KeContact::StateNotReady:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Not ready for charging"));
break;
case KeContact::StateReady:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Ready for charging"));
break;
case KeContact::StateCharging:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Charging"));
break;
case KeContact::StateError:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Erro"));
break;
case KeContact::StateAuthorizationRejected:
device->setStateValue(wallboxActivityStateTypeId, QT_TR_NOOP("Authorization rejected"));
break;
}
setDeviceState(device, KeContact::State(content.toInt()));
break;
case KeContact::BroadcastTypeMaxCurr:
device->setStateValue(wallboxMaxChargingCurrentStateTypeId, content.toInt());

View File

@ -67,7 +67,9 @@ private:
QHash<DeviceId, KeContact *> m_kebaDevices;
QHash<KeContact *, DeviceSetupInfo *> m_asyncSetup;
QHash<QUuid, DeviceActionInfo *> m_asyncActions;
QUdpSocket *m_kebaSocket;
void setDeviceState(Device *device, KeContact::State state);
void setDevicePlugState(Device *device, KeContact::PlugState plugState);
private slots:
void onConnectionChanged(bool status);

View File

@ -51,11 +51,6 @@ KeContact::KeContact(QHostAddress address, QObject *parent) :
KeContact::~KeContact() {
qCDebug(dcKebaKeContact()) << "Deleting KeContact connection for address" << m_address;
m_requestTimeoutTimer->deleteLater();
m_requestTimeoutTimer->stop();
m_udpSocket->close();
m_udpSocket->deleteLater();
}
bool KeContact::init(){

View File

@ -4,71 +4,16 @@
<context>
<name>IntegrationPluginKeba</name>
<message>
<location filename="../devicepluginkeba.cpp" line="104"/>
<location filename="../devicepluginkeba.cpp" line="97"/>
<source>Error opening network port.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="220"/>
<source>Starting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="223"/>
<source>Not ready for charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="226"/>
<source>Ready for charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="229"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="232"/>
<source>Erro</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="235"/>
<source>Authorization rejected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="241"/>
<source>Unplugged</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="244"/>
<source>Plugged in charging station</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="247"/>
<source>Plugged in on EV</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="250"/>
<source>Plugged in and locked</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../devicepluginkeba.cpp" line="253"/>
<source>Plugged in on EV and locked</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>KebaKeContact</name>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="146"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="149"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="145"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="148"/>
<source>Keba KeContact</source>
<extracomment>The name of the DeviceClass ({900dacec-cae7-4a37-95ba-501846368ea2})
----------
@ -76,20 +21,20 @@ The name of the plugin KebaKeContact ({9142b09f-30a9-43d0-9ede-2f8debe075ac})</e
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="143"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="142"/>
<source>Keba</source>
<extracomment>The name of the vendor ({f7cda40b-829a-4675-abaa-485697430f5f})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="86"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="85"/>
<source>Activity changed</source>
<extracomment>The name of the EventType ({539e5602-6dd9-465d-9705-3bb59bcf8982}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="80"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="83"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="79"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="82"/>
<source>Activity</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: activity, ID: {539e5602-6dd9-465d-9705-3bb59bcf8982})
----------
@ -97,8 +42,8 @@ The name of the StateType ({539e5602-6dd9-465d-9705-3bb59bcf8982}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="89"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="92"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="88"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="91"/>
<source>Connected</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: connected, ID: {ce813458-d7d8-4f40-9648-dba4c41e92f0})
----------
@ -106,14 +51,14 @@ The name of the StateType ({ce813458-d7d8-4f40-9648-dba4c41e92f0}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="95"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="94"/>
<source>Connection changed</source>
<extracomment>The name of the EventType ({ce813458-d7d8-4f40-9648-dba4c41e92f0}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="104"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="107"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="103"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="106"/>
<source>Current Phase 1</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: I1, ID: {31ec17b0-11e3-4332-92b0-fea821cf024f})
----------
@ -121,8 +66,8 @@ The name of the StateType ({31ec17b0-11e3-4332-92b0-fea821cf024f}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="110"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="113"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="109"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="112"/>
<source>Current Phase 2</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: I2, ID: {cdc7e10a-0d0a-4e93-ad2c-d34ffca45c97})
----------
@ -130,8 +75,8 @@ The name of the StateType ({cdc7e10a-0d0a-4e93-ad2c-d34ffca45c97}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="116"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="119"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="118"/>
<source>Current Phase 3</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: I3, ID: {da838dc8-85f0-4e55-b4b5-cb93a43b373d})
----------
@ -139,51 +84,51 @@ The name of the StateType ({da838dc8-85f0-4e55-b4b5-cb93a43b373d}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="125"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="124"/>
<source>Current phase 1 changed</source>
<extracomment>The name of the EventType ({31ec17b0-11e3-4332-92b0-fea821cf024f}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="128"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="127"/>
<source>Current phase 2 changed</source>
<extracomment>The name of the EventType ({cdc7e10a-0d0a-4e93-ad2c-d34ffca45c97}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="131"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="130"/>
<source>Current phase 3 changed</source>
<extracomment>The name of the EventType ({da838dc8-85f0-4e55-b4b5-cb93a43b373d}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="134"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="133"/>
<source>Display</source>
<extracomment>The name of the ActionType ({158b1a8f-fde9-4191-bf42-4ece5fe582e6}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="137"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="136"/>
<source>Display message</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, ActionType: display, ID: {4e69a761-f4f1-42d0-83db-380894a86ebc})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="140"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="139"/>
<source>IPv4 Address</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, Type: device, ID: {730cd3d3-5f0e-4028-a8c2-ced7574f13f3})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="152"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="151"/>
<source>MAC Address</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, Type: device, ID: {c2df921d-ff8b-411c-9b1d-04a437d7dfa6})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="155"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="158"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="161"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="154"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="157"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="160"/>
<source>Maximal charging current</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, ActionType: maxChargingCurrent, ID: {593656f0-babf-4308-8767-68f34e10fb15})
----------
@ -193,14 +138,14 @@ The name of the StateType ({593656f0-babf-4308-8767-68f34e10fb15}) of ThingClass
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="164"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="163"/>
<source>Maximal charging current changed</source>
<extracomment>The name of the EventType ({593656f0-babf-4308-8767-68f34e10fb15}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="167"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="170"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="166"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="169"/>
<source>Maximal charging current in Percent</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: maxChargingCurrentPercent, ID: {3c7b83a0-0e42-47bf-9788-dde6aab5ceea})
----------
@ -208,14 +153,14 @@ The name of the StateType ({3c7b83a0-0e42-47bf-9788-dde6aab5ceea}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="173"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="172"/>
<source>Maximal charging current percentage changed</source>
<extracomment>The name of the EventType ({3c7b83a0-0e42-47bf-9788-dde6aab5ceea}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="176"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="179"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="175"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="178"/>
<source>Plug State</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: plugState, ID: {3b4d29f3-3101-47ad-90fd-269b6348783b})
----------
@ -223,8 +168,8 @@ The name of the StateType ({3b4d29f3-3101-47ad-90fd-269b6348783b}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="197"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="200"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="196"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="199"/>
<source>Power consumption</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: P, ID: {7af9e93b-099d-4d9d-a480-9c0f66aecd8b})
----------
@ -232,14 +177,14 @@ The name of the StateType ({7af9e93b-099d-4d9d-a480-9c0f66aecd8b}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="203"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="202"/>
<source>Power consumtion changed</source>
<extracomment>The name of the EventType ({7af9e93b-099d-4d9d-a480-9c0f66aecd8b}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="206"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="209"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="205"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="208"/>
<source>Present energy</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: EP, ID: {8e277efe-21ef-4536-bfc0-901b32d44d7c})
----------
@ -247,32 +192,26 @@ The name of the StateType ({8e277efe-21ef-4536-bfc0-901b32d44d7c}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="212"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="211"/>
<source>Present energy changed</source>
<extracomment>The name of the EventType ({8e277efe-21ef-4536-bfc0-901b32d44d7c}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="215"/>
<source>Serialnumber</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, Type: device, ID: {1a600fb6-08b2-4155-a4ad-ceca1d4fa7e1})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="218"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="214"/>
<source>Set Power</source>
<extracomment>The name of the ActionType ({83ed0774-2a91-434d-b03c-d920d02f2981}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="221"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="217"/>
<source>Set maximal charging current</source>
<extracomment>The name of the ActionType ({593656f0-babf-4308-8767-68f34e10fb15}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="224"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="227"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="220"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="223"/>
<source>Total energy consumed</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: totalEnergyConsumed, ID: {41e179b3-29a2-43ec-b537-023a527081e8})
----------
@ -280,14 +219,14 @@ The name of the StateType ({41e179b3-29a2-43ec-b537-023a527081e8}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="230"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="226"/>
<source>Total energy consumption changed</source>
<extracomment>The name of the EventType ({41e179b3-29a2-43ec-b537-023a527081e8}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="233"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="236"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="229"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="232"/>
<source>Voltage Phase 2</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: U2, ID: {c8344ca5-21ac-4cd1-8f4b-e5ed202c5862})
----------
@ -295,8 +234,8 @@ The name of the StateType ({c8344ca5-21ac-4cd1-8f4b-e5ed202c5862}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="239"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="242"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="235"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="238"/>
<source>Voltage Phase 3</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: U3, ID: {5f01e86c-0943-4849-a01a-db441916ebd5})
----------
@ -304,8 +243,8 @@ The name of the StateType ({5f01e86c-0943-4849-a01a-db441916ebd5}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="245"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="248"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="241"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="244"/>
<source>Voltage phase 1</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: U1, ID: {4a2d75d8-a3a0-4b40-9ca7-e8b6f11d0ef9})
----------
@ -313,26 +252,26 @@ The name of the StateType ({4a2d75d8-a3a0-4b40-9ca7-e8b6f11d0ef9}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="251"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="247"/>
<source>Voltage phase 1 changed</source>
<extracomment>The name of the EventType ({4a2d75d8-a3a0-4b40-9ca7-e8b6f11d0ef9}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="254"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="250"/>
<source>Voltage phase 2 changed</source>
<extracomment>The name of the EventType ({c8344ca5-21ac-4cd1-8f4b-e5ed202c5862}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="257"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="253"/>
<source>Voltage phase 3 changed</source>
<extracomment>The name of the EventType ({5f01e86c-0943-4849-a01a-db441916ebd5}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="98"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="101"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="97"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="100"/>
<source>Current</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, EventType: current, ID: {a29c1748-fe97-4830-a56e-e1cc4e618385})
----------
@ -340,9 +279,9 @@ The name of the StateType ({a29c1748-fe97-4830-a56e-e1cc4e618385}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="185"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="188"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="191"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="184"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="187"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="190"/>
<source>Power</source>
<extracomment>The name of the ParamType (DeviceClass: wallbox, ActionType: power, ID: {83ed0774-2a91-434d-b03c-d920d02f2981})
----------
@ -352,19 +291,19 @@ The name of the StateType ({83ed0774-2a91-434d-b03c-d920d02f2981}) of DeviceClas
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="182"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="181"/>
<source>Plug State changed</source>
<extracomment>The name of the EventType ({3b4d29f3-3101-47ad-90fd-269b6348783b}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="122"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="121"/>
<source>Current changed</source>
<extracomment>The name of the EventType ({a29c1748-fe97-4830-a56e-e1cc4e618385}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="194"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/keba/plugininfo.h" line="193"/>
<source>Power changed</source>
<extracomment>The name of the EventType ({83ed0774-2a91-434d-b03c-d920d02f2981}) of DeviceClass wallbox</extracomment>
<translation type="unfinished"></translation>