Merge PR #314: Make use of the wirelessconnectable interface across relevant plugins

This commit is contained in:
Jenkins nymea 2020-11-02 18:47:57 +01:00
commit 0b8907283d
16 changed files with 955 additions and 352 deletions

View File

@ -65,7 +65,7 @@
"id": "ffbfec5d-06e8-4082-b62b-92cc5c3e8c4e", "id": "ffbfec5d-06e8-4082-b62b-92cc5c3e8c4e",
"name": "wallThermostat", "name": "wallThermostat",
"displayName": "Max! Wall Thermostat", "displayName": "Max! Wall Thermostat",
"interfaces": ["heating", "thermostat", "temperaturesensor", "battery", "connectable"], "interfaces": ["heating", "thermostat", "temperaturesensor", "battery", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -272,7 +272,7 @@
"id": "f80d9481-4827-45ee-a013-b97b22412d92", "id": "f80d9481-4827-45ee-a013-b97b22412d92",
"name": "radiatorThermostat", "name": "radiatorThermostat",
"displayName": "Max! Radiator Thermostat", "displayName": "Max! Radiator Thermostat",
"interfaces": ["heating", "thermostat", "battery", "connectable"], "interfaces": ["heating", "thermostat", "battery", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -533,7 +533,7 @@
"id": "3c51327b-a823-4479-bd4b-f4ba64267ed8", "id": "3c51327b-a823-4479-bd4b-f4ba64267ed8",
"name": "eqivaBluetooth", "name": "eqivaBluetooth",
"displayName": "Eqiva Bluetooth Smart Radiator Thermostat", "displayName": "Eqiva Bluetooth Smart Radiator Thermostat",
"interfaces": ["heating", "thermostat", "connectable", "battery"], "interfaces": ["heating", "thermostat", "wirelessconnectable", "battery"],
"createMethods": ["discovery"], "createMethods": ["discovery"],
"setupMethod": "JustAdd", "setupMethod": "JustAdd",
"paramTypes": [ "paramTypes": [

View File

@ -13,7 +13,7 @@
"name": "flowerCare", "name": "flowerCare",
"displayName": "Flower Care", "displayName": "Flower Care",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": ["temperaturesensor", "lightsensor", "moisturesensor", "conductivitysensor", "connectable", "batterylevel"], "interfaces": ["temperaturesensor", "lightsensor", "moisturesensor", "conductivitysensor", "wirelessconnectable", "batterylevel"],
"paramTypes": [ "paramTypes": [
{ {
"id": "fe2dba0f-2a47-463e-a645-bcd55cf09750", "id": "fe2dba0f-2a47-463e-a645-bcd55cf09750",

View File

@ -104,7 +104,7 @@
"id": "0edba26c-96ab-44fb-a6a2-c0574d19630e", "id": "0edba26c-96ab-44fb-a6a2-c0574d19630e",
"name": "colorLight", "name": "colorLight",
"displayName": "Hue color light", "displayName": "Hue color light",
"interfaces": ["colorlight", "colortemperaturelight", "alert", "connectable"], "interfaces": ["colorlight", "colortemperaturelight", "alert", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -233,7 +233,7 @@
"id": "35f749f7-b60a-4922-bd25-1bdd2eddcbe3", "id": "35f749f7-b60a-4922-bd25-1bdd2eddcbe3",
"name": "colorTemperatureLight", "name": "colorTemperatureLight",
"displayName": "Hue color temperature light", "displayName": "Hue color temperature light",
"interfaces": ["colortemperaturelight", "alert", "connectable"], "interfaces": ["colortemperaturelight", "alert", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -337,7 +337,7 @@
"id": "4fa568ef-7a3a-422b-b0c0-206d37cb4eed", "id": "4fa568ef-7a3a-422b-b0c0-206d37cb4eed",
"name": "dimmableLight", "name": "dimmableLight",
"displayName": "Hue dimmable light", "displayName": "Hue dimmable light",
"interfaces": ["dimmablelight", "alert", "connectable"], "interfaces": ["dimmablelight", "alert", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -429,7 +429,7 @@
"id": "bb482d39-67ef-46dc-88e9-7b181d642b28", "id": "bb482d39-67ef-46dc-88e9-7b181d642b28",
"name": "remote", "name": "remote",
"displayName": "Hue Remote", "displayName": "Hue Remote",
"interfaces": ["longpressmultibutton", "batterylevel", "connectable"], "interfaces": ["longpressmultibutton", "batterylevel", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -526,7 +526,7 @@
"id": "1e34a056-9f37-4741-b249-a5eca7a4ab4e", "id": "1e34a056-9f37-4741-b249-a5eca7a4ab4e",
"name": "smartButton", "name": "smartButton",
"displayName": "Hue Smart Button", "displayName": "Hue Smart Button",
"interfaces": ["longpressbutton", "connectable"], "interfaces": ["longpressbutton", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -605,7 +605,7 @@
"id": "2b8c1fb8-67ee-42e9-947b-16e0a09f0d4e", "id": "2b8c1fb8-67ee-42e9-947b-16e0a09f0d4e",
"name": "tap", "name": "tap",
"displayName": "Hue Tap", "displayName": "Hue Tap",
"interfaces": ["multibutton", "connectable"], "interfaces": ["multibutton", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -669,7 +669,7 @@
"id": "32dc6390-600f-4eb4-b349-cc2d6796a82a", "id": "32dc6390-600f-4eb4-b349-cc2d6796a82a",
"name": "outdoorSensor", "name": "outdoorSensor",
"displayName": "Hue Outdoor Sensor", "displayName": "Hue Outdoor Sensor",
"interfaces": ["presencesensor", "temperaturesensor", "lightsensor", "batterylevel", "connectable"], "interfaces": ["presencesensor", "temperaturesensor", "lightsensor", "batterylevel", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {
@ -812,7 +812,7 @@
"id": "25b79fff-4b88-4af8-b06c-2fe246238790", "id": "25b79fff-4b88-4af8-b06c-2fe246238790",
"name": "motionSensor", "name": "motionSensor",
"displayName": "Hue Motion Sensor", "displayName": "Hue Motion Sensor",
"interfaces": ["presencesensor", "temperaturesensor", "lightsensor", "batterylevel", "connectable"], "interfaces": ["presencesensor", "temperaturesensor", "lightsensor", "batterylevel", "wirelessconnectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {

View File

@ -42,6 +42,8 @@
#include "network/mqtt/mqttprovider.h" #include "network/mqtt/mqttprovider.h"
#include "network/mqtt/mqttchannel.h" #include "network/mqtt/mqttchannel.h"
#include "plugintimer.h"
#include "network/zeroconf/zeroconfservicebrowser.h" #include "network/zeroconf/zeroconfservicebrowser.h"
#include "platform/platformzeroconfcontroller.h" #include "platform/platformzeroconfcontroller.h"
@ -99,6 +101,21 @@ IntegrationPluginShelly::IntegrationPluginShelly()
m_connectedStateTypesMap[shellySocketPMThingClassId] = shellySocketPMConnectedStateTypeId; m_connectedStateTypesMap[shellySocketPMThingClassId] = shellySocketPMConnectedStateTypeId;
m_connectedStateTypesMap[shellyRollerThingClassId] = shellyRollerConnectedStateTypeId; m_connectedStateTypesMap[shellyRollerThingClassId] = shellyRollerConnectedStateTypeId;
m_signalStrengthStateTypesMap[shelly1ThingClassId] = shelly1SignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shelly1pmThingClassId] = shelly1pmSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shelly25ThingClassId] = shelly25SignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyPlugThingClassId] = shellyPlugSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyRgbw2ThingClassId] = shellyRgbw2SignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyDimmerThingClassId] = shellyDimmerSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellySwitchThingClassId] = shellySwitchSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyGenericThingClassId] = shellyGenericSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyLightThingClassId] = shellyLightSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellySocketThingClassId] = shellySocketSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyGenericPMThingClassId] = shellyGenericPMSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyLightPMThingClassId] = shellyLightPMSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellySocketPMThingClassId] = shellySocketPMSignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[shellyRollerThingClassId] = shellyRollerSignalStrengthStateTypeId;
m_powerStateTypeMap[shellyPlugThingClassId] = shellyPlugPowerStateTypeId; m_powerStateTypeMap[shellyPlugThingClassId] = shellyPlugPowerStateTypeId;
m_powerStateTypeMap[shellyRgbw2ThingClassId] = shellyRgbw2PowerStateTypeId; m_powerStateTypeMap[shellyRgbw2ThingClassId] = shellyRgbw2PowerStateTypeId;
m_powerStateTypeMap[shellyDimmerThingClassId] = shellyDimmerPowerStateTypeId; m_powerStateTypeMap[shellyDimmerThingClassId] = shellyDimmerPowerStateTypeId;
@ -256,6 +273,11 @@ void IntegrationPluginShelly::thingRemoved(Thing *thing)
if (m_mqttChannels.contains(thing)) { if (m_mqttChannels.contains(thing)) {
hardwareManager()->mqttProvider()->releaseChannel(m_mqttChannels.take(thing)); hardwareManager()->mqttProvider()->releaseChannel(m_mqttChannels.take(thing));
} }
if (myThings().isEmpty() && m_timer) {
hardwareManager()->pluginTimerManager()->unregisterTimer(m_timer);
m_timer = nullptr;
}
qCDebug(dcShelly()) << "Device removed" << thing->name(); qCDebug(dcShelly()) << "Device removed" << thing->name();
} }
@ -465,6 +487,27 @@ void IntegrationPluginShelly::onPublishReceived(MqttChannel *channel, const QStr
qCDebug(dcShelly()) << "Publish received from" << thing->name() << topic << payload; qCDebug(dcShelly()) << "Publish received from" << thing->name() << topic << payload;
QString shellyId = thing->paramValue(m_idParamTypeMap.value(thing->thingClassId())).toString(); QString shellyId = thing->paramValue(m_idParamTypeMap.value(thing->thingClassId())).toString();
if (topic == "shellies/" + shellyId + "/info") {
QJsonParseError error;
QJsonDocument jsonDoc = QJsonDocument::fromJson(payload, &error);
if (error.error != QJsonParseError::NoError) {
qCWarning(dcShelly()) << "Failed to parse shelly info payload:" << error.errorString();
qCWarning(dcShelly()) << qUtf8Printable(payload);
return;
}
QVariantMap data = jsonDoc.toVariant().toMap();
int signalStrength = -1;
if (data.value("wifi_sta").toMap().contains("rssi")) {
int rssi = data.value("wifi_sta").toMap().value("rssi").toInt();
signalStrength = qMin(100, qMax(0, (rssi + 100) * 2));
}
thing->setStateValue(m_signalStrengthStateTypesMap.value(thing->thingClassId()), signalStrength);
foreach (Thing *child, myThings().filterByParentId(thing->id())) {
child->setStateValue(m_signalStrengthStateTypesMap.value(child->thingClassId()), signalStrength);
}
}
if (topic.startsWith("shellies/" + shellyId + "/input/")) { if (topic.startsWith("shellies/" + shellyId + "/input/")) {
int channel = topic.split("/").last().toInt(); int channel = topic.split("/").last().toInt();
// "1" or "0" // "1" or "0"
@ -611,6 +654,16 @@ void IntegrationPluginShelly::onPublishReceived(MqttChannel *channel, const QStr
} }
} }
void IntegrationPluginShelly::updateStatus()
{
foreach (Thing *thing, m_mqttChannels.keys()) {
MqttChannel *channel = m_mqttChannels.value(thing);
QString shellyId = thing->paramValue(m_idParamTypeMap.value(thing->thingClassId())).toString();
qCDebug(dcShelly()) << "Requesting announcement" << QString("shellies/%1/info").arg(shellyId);
channel->publish(QString("shellies/command").arg(shellyId), "announce");
}
}
void IntegrationPluginShelly::setupShellyGateway(ThingSetupInfo *info) void IntegrationPluginShelly::setupShellyGateway(ThingSetupInfo *info)
{ {
Thing *thing = info->thing(); Thing *thing = info->thing();
@ -819,6 +872,11 @@ void IntegrationPluginShelly::setupShellyGateway(ThingSetupInfo *info)
emit autoThingsAppeared(autoChilds); emit autoThingsAppeared(autoChilds);
if (!m_timer) {
m_timer = hardwareManager()->pluginTimerManager()->registerTimer(10);
connect(m_timer, &PluginTimer::timeout, this, &IntegrationPluginShelly::updateStatus);
}
// Make sure authentication is enalbed if the user wants it // Make sure authentication is enalbed if the user wants it
QString username = info->thing()->paramValue(m_usernameParamTypeMap.value(info->thing()->thingClassId())).toString(); QString username = info->thing()->paramValue(m_usernameParamTypeMap.value(info->thing()->thingClassId())).toString();
QString password = info->thing()->paramValue(m_passwordParamTypeMap.value(info->thing()->thingClassId())).toString(); QString password = info->thing()->paramValue(m_passwordParamTypeMap.value(info->thing()->thingClassId())).toString();

View File

@ -34,6 +34,7 @@
#include "integrations/integrationplugin.h" #include "integrations/integrationplugin.h"
class ZeroConfServiceBrowser; class ZeroConfServiceBrowser;
class PluginTimer;
class MqttChannel; class MqttChannel;
@ -60,6 +61,8 @@ private slots:
void onClientDisconnected(MqttChannel* channel); void onClientDisconnected(MqttChannel* channel);
void onPublishReceived(MqttChannel* channel, const QString &topic, const QByteArray &payload); void onPublishReceived(MqttChannel* channel, const QString &topic, const QByteArray &payload);
void updateStatus();
private: private:
void setupShellyGateway(ThingSetupInfo *info); void setupShellyGateway(ThingSetupInfo *info);
void setupShellyChild(ThingSetupInfo *info); void setupShellyChild(ThingSetupInfo *info);
@ -68,6 +71,7 @@ private:
private: private:
ZeroConfServiceBrowser *m_zeroconfBrowser = nullptr; ZeroConfServiceBrowser *m_zeroconfBrowser = nullptr;
PluginTimer *m_timer = nullptr;
QHash<Thing*, MqttChannel*> m_mqttChannels; QHash<Thing*, MqttChannel*> m_mqttChannels;
@ -79,6 +83,7 @@ private:
QHash<ThingClassId, ParamTypeId> m_channelParamTypeMap; QHash<ThingClassId, ParamTypeId> m_channelParamTypeMap;
QHash<ThingClassId, StateTypeId> m_connectedStateTypesMap; QHash<ThingClassId, StateTypeId> m_connectedStateTypesMap;
QHash<ThingClassId, StateTypeId> m_signalStrengthStateTypesMap;
QHash<ThingClassId, StateTypeId> m_powerStateTypeMap; QHash<ThingClassId, StateTypeId> m_powerStateTypeMap;
QHash<ThingClassId, StateTypeId> m_currentPowerStateTypeMap; QHash<ThingClassId, StateTypeId> m_currentPowerStateTypeMap;
QHash<ThingClassId, StateTypeId> m_totalEnergyConsumedStateTypeMap; QHash<ThingClassId, StateTypeId> m_totalEnergyConsumedStateTypeMap;

View File

@ -13,7 +13,7 @@
"name": "shelly1", "name": "shelly1",
"displayName": "Shelly 1", "displayName": "Shelly 1",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "1d301dc0-5e48-473f-a611-8e407289e545", "id": "1d301dc0-5e48-473f-a611-8e407289e545",
@ -52,6 +52,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "74c631ed-fc3d-49e8-9dec-99cafa70c559",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
], ],
"actionTypes": [ "actionTypes": [
@ -67,7 +78,7 @@
"name": "shelly1pm", "name": "shelly1pm",
"displayName": "Shelly 1PM", "displayName": "Shelly 1PM",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "6df5db8a-4e27-49e5-8cf9-78cb8497d831", "id": "6df5db8a-4e27-49e5-8cf9-78cb8497d831",
@ -106,6 +117,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "58531cb9-933e-457e-af07-7c6c22c28e51",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
], ],
"actionTypes": [ "actionTypes": [
@ -121,7 +143,7 @@
"name": "shelly25", "name": "shelly25",
"displayName": "Shelly 2.5", "displayName": "Shelly 2.5",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "d79de2fa-81dd-440f-80b8-f1f71149d1f2", "id": "d79de2fa-81dd-440f-80b8-f1f71149d1f2",
@ -168,6 +190,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "35503b8a-1919-4df5-91cf-b7e381af654a",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
], ],
"actionTypes": [ "actionTypes": [
@ -183,7 +216,7 @@
"name": "shellyPlug", "name": "shellyPlug",
"displayName": "Shelly Plug/PlugS", "displayName": "Shelly Plug/PlugS",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "powersocket", "extendedsmartmeterconsumer", "connectable" ], "interfaces": [ "powersocket", "extendedsmartmeterconsumer", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "bd5679fc-b761-4a56-a472-97717418c425", "id": "bd5679fc-b761-4a56-a472-97717418c425",
@ -225,6 +258,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "0b0a73a5-d732-47eb-a075-8e22810eea55",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "d813b35f-e11e-4783-b3b3-dbecb956ffb5", "id": "d813b35f-e11e-4783-b3b3-dbecb956ffb5",
"name": "power", "name": "power",
@ -268,7 +312,7 @@
"name": "shellyRgbw2", "name": "shellyRgbw2",
"displayName": "Shelly RGBW2", "displayName": "Shelly RGBW2",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": ["colorlight", "connectable"], "interfaces": ["colorlight", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "2b0cd1b2-1648-4e0d-85d2-34aa9b9b835e", "id": "2b0cd1b2-1648-4e0d-85d2-34aa9b9b835e",
@ -300,6 +344,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "194ecf76-c45f-4c36-8695-08a26ce065f3",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "14abcd30-9db2-4065-ae81-501a55fbb145", "id": "14abcd30-9db2-4065-ae81-501a55fbb145",
"name": "power", "name": "power",
@ -367,7 +422,7 @@
"name": "shellyDimmer", "name": "shellyDimmer",
"displayName": "Shelly Dimmer / Dimmer 2", "displayName": "Shelly Dimmer / Dimmer 2",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": ["dimmablelight", "connectable"], "interfaces": ["dimmablelight", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "32e328be-2357-4d94-b438-3fe1ae94d97b", "id": "32e328be-2357-4d94-b438-3fe1ae94d97b",
@ -399,6 +454,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "a6855b46-7da8-4160-b698-7707600581b5",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "e4a6ac87-31fb-4516-9cf3-f135621e902c", "id": "e4a6ac87-31fb-4516-9cf3-f135621e902c",
"name": "power", "name": "power",
@ -445,7 +511,7 @@
"name": "shellySwitch", "name": "shellySwitch",
"displayName": "Shelly switch", "displayName": "Shelly switch",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": [ "powerswitch", "connectable"], "interfaces": [ "powerswitch", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "ce9f1650-5e12-40f4-97de-27af86afa40b", "id": "ce9f1650-5e12-40f4-97de-27af86afa40b",
@ -482,6 +548,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "5088cd2d-8f71-4cfb-a120-4a2d4a84355d",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "20f74d88-0683-4d3a-9513-6b29b5112b7b", "id": "20f74d88-0683-4d3a-9513-6b29b5112b7b",
"name": "power", "name": "power",
@ -504,7 +581,7 @@
"name": "shellyGeneric", "name": "shellyGeneric",
"displayName": "Shelly connected device", "displayName": "Shelly connected device",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["power", "connectable"], "interfaces": ["power", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "7d35aea3-1444-48c8-9732-a41bfc3b9d75", "id": "7d35aea3-1444-48c8-9732-a41bfc3b9d75",
@ -534,6 +611,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "e48d19f1-e04b-4c5d-b515-15bb22060607",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "72d7dbba-757c-4b03-a092-1d3f374fa961", "id": "72d7dbba-757c-4b03-a092-1d3f374fa961",
"name": "power", "name": "power",
@ -552,7 +640,7 @@
"name": "shellyGenericPM", "name": "shellyGenericPM",
"displayName": "Shelly connected device", "displayName": "Shelly connected device",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["power", "extendedsmartmeterconsumer", "connectable"], "interfaces": ["power", "extendedsmartmeterconsumer", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "8c60a23c-5e5b-42ba-abae-aeeb3d379d79", "id": "8c60a23c-5e5b-42ba-abae-aeeb3d379d79",
@ -591,6 +679,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "46cd6c28-b59a-4e20-b706-f202c0848b93",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "bd9480af-eec2-42d7-ab17-15715ee2e8e0", "id": "bd9480af-eec2-42d7-ab17-15715ee2e8e0",
"name": "power", "name": "power",
@ -626,7 +725,7 @@
"name": "shellyLight", "name": "shellyLight",
"displayName": "Shelly connected light", "displayName": "Shelly connected light",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["light", "connectable"], "interfaces": ["light", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "4fe9ae31-3657-41bf-bd40-a219d58465d3", "id": "4fe9ae31-3657-41bf-bd40-a219d58465d3",
@ -656,6 +755,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "739a511c-b36d-40c9-b726-acde87f63d9f",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "2ee5bfab-271e-4b95-9464-122a5208f1a5", "id": "2ee5bfab-271e-4b95-9464-122a5208f1a5",
"name": "power", "name": "power",
@ -673,7 +783,7 @@
"name": "shellyLightPM", "name": "shellyLightPM",
"displayName": "Shelly connected light", "displayName": "Shelly connected light",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["light", "extendedsmartmeterconsumer", "connectable"], "interfaces": ["light", "extendedsmartmeterconsumer", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "01cc242a-268d-4dd9-96ce-5502dd1bd430", "id": "01cc242a-268d-4dd9-96ce-5502dd1bd430",
@ -703,6 +813,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "066de9e4-41f7-4628-a83c-102a2719473a",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "e77d1c75-e856-46bc-9f38-36e59ed7849d", "id": "e77d1c75-e856-46bc-9f38-36e59ed7849d",
"name": "power", "name": "power",
@ -738,7 +859,7 @@
"name": "shellySocket", "name": "shellySocket",
"displayName": "Shelly connected power socket", "displayName": "Shelly connected power socket",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["powersocket", "connectable"], "interfaces": ["powersocket", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "9f365d87-ddb9-4764-9bfb-0e64020646b4", "id": "9f365d87-ddb9-4764-9bfb-0e64020646b4",
@ -768,6 +889,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "3459cd8a-8e27-48b1-9b14-43c6239ed3a2",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "51e897b3-dd17-4df3-aa42-52b9bb5f0df8", "id": "51e897b3-dd17-4df3-aa42-52b9bb5f0df8",
"name": "power", "name": "power",
@ -785,7 +917,7 @@
"name": "shellySocketPM", "name": "shellySocketPM",
"displayName": "Shelly connected power socket", "displayName": "Shelly connected power socket",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["powersocket", "extendedsmartmeterconsumer", "connectable"], "interfaces": ["powersocket", "extendedsmartmeterconsumer", "wirelessconnectable"],
"settingsTypes": [ "settingsTypes": [
{ {
"id": "9880a51b-57da-4b65-a0ec-23eb0fdcb8ac", "id": "9880a51b-57da-4b65-a0ec-23eb0fdcb8ac",
@ -815,6 +947,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "e81ee293-9dff-46d0-92dc-5f5627e05962",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "d6adeab6-c91d-44ba-8d01-9b5b9b7368be", "id": "d6adeab6-c91d-44ba-8d01-9b5b9b7368be",
"name": "power", "name": "power",
@ -850,7 +993,7 @@
"name": "shellyRoller", "name": "shellyRoller",
"displayName": "Shelly connected Roller Shutter", "displayName": "Shelly connected Roller Shutter",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["extendedshutter", "extendedsmartmeterconsumer", "connectable"], "interfaces": ["extendedshutter", "extendedsmartmeterconsumer", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "281385a5-5084-4ded-80a4-66c0dc1096a8", "id": "281385a5-5084-4ded-80a4-66c0dc1096a8",
@ -870,6 +1013,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "f46c52ce-58dd-4d07-bb69-e8b8719c41bc",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "a7d88654-7503-474d-9a7c-02150d61a6dc", "id": "a7d88654-7503-474d-9a7c-02150d61a6dc",
"name": "totalEnergyConsumed", "name": "totalEnergyConsumed",

View File

@ -4,38 +4,38 @@
<context> <context>
<name>IntegrationPluginShelly</name> <name>IntegrationPluginShelly</name>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="637"/> <location filename="../integrationpluginshelly.cpp" line="690"/>
<source>Unable to find the thing in the network.</source> <source>Unable to find the thing in the network.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="648"/> <location filename="../integrationpluginshelly.cpp" line="701"/>
<source>Roller shutter mode can&apos;t be mixed with relay mode. Please configure both connected devices to control a shutter or relays.</source> <source>Roller shutter mode can&apos;t be mixed with relay mode. Please configure both connected devices to control a shutter or relays.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="653"/> <location filename="../integrationpluginshelly.cpp" line="706"/>
<location filename="../integrationpluginshelly.cpp" line="658"/> <location filename="../integrationpluginshelly.cpp" line="711"/>
<source>For using a roller shutter, one channel must be set to up, the other to down.</source> <source>For using a roller shutter, one channel must be set to up, the other to down.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="671"/> <location filename="../integrationpluginshelly.cpp" line="724"/>
<source>Error creating MQTT channel. Please check MQTT server settings.</source> <source>Error creating MQTT channel. Please check MQTT server settings.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="712"/> <location filename="../integrationpluginshelly.cpp" line="765"/>
<source>Username and password not set correctly.</source> <source>Username and password not set correctly.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="714"/> <location filename="../integrationpluginshelly.cpp" line="767"/>
<source>Error connecting to Shelly device.</source> <source>Error connecting to Shelly device.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationpluginshelly.cpp" line="723"/> <location filename="../integrationpluginshelly.cpp" line="776"/>
<source>Unexpected data received from Shelly device.</source> <source>Unexpected data received from Shelly device.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -43,12 +43,12 @@
<context> <context>
<name>shelly</name> <name>shelly</name>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="241"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="282"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="244"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="285"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="247"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="288"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="250"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="291"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="253"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="294"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="256"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="297"/>
<source>Brightness</source> <source>Brightness</source>
<extracomment>The name of the ParamType (ThingClass: shellyDimmer, ActionType: brightness, ID: {f41c93ac-6911-45fc-9221-7dd26bf65fd0}) <extracomment>The name of the ParamType (ThingClass: shellyDimmer, ActionType: brightness, ID: {f41c93ac-6911-45fc-9221-7dd26bf65fd0})
---------- ----------
@ -64,8 +64,8 @@ The name of the StateType ({3f74eb92-d95b-48c2-8ac6-29bea9f65ce3}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="259"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="300"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="262"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="303"/>
<source>Brightness changed</source> <source>Brightness changed</source>
<extracomment>The name of the EventType ({f41c93ac-6911-45fc-9221-7dd26bf65fd0}) of ThingClass shellyDimmer <extracomment>The name of the EventType ({f41c93ac-6911-45fc-9221-7dd26bf65fd0}) of ThingClass shellyDimmer
---------- ----------
@ -73,26 +73,26 @@ The name of the EventType ({3f74eb92-d95b-48c2-8ac6-29bea9f65ce3}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="265"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="306"/>
<source>Button type</source> <source>Button type</source>
<extracomment>The name of the ParamType (ThingClass: shellySwitch, Type: settings, ID: {ce9f1650-5e12-40f4-97de-27af86afa40b})</extracomment> <extracomment>The name of the ParamType (ThingClass: shellySwitch, Type: settings, ID: {ce9f1650-5e12-40f4-97de-27af86afa40b})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="268"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="309"/>
<source>Calibrate</source> <source>Calibrate</source>
<extracomment>The name of the ActionType ({4e2d8a7b-821e-4ee8-9f9b-f774d631845f}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the ActionType ({4e2d8a7b-821e-4ee8-9f9b-f774d631845f}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="271"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="312"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="274"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="315"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="277"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="318"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="280"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="321"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="283"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="324"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="286"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="327"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="289"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="330"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="292"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="333"/>
<source>Channel</source> <source>Channel</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, Type: thing, ID: {281385a5-5084-4ded-80a4-66c0dc1096a8}) <extracomment>The name of the ParamType (ThingClass: shellyRoller, Type: thing, ID: {281385a5-5084-4ded-80a4-66c0dc1096a8})
---------- ----------
@ -112,15 +112,15 @@ The name of the ParamType (ThingClass: shellySwitch, Type: thing, ID: {be6bdd43-
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="295"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="336"/>
<source>Close</source> <source>Close</source>
<extracomment>The name of the ActionType ({87eb0290-615e-4c98-9ec8-a21104fcf05d}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the ActionType ({87eb0290-615e-4c98-9ec8-a21104fcf05d}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="298"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="339"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="301"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="342"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="304"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="345"/>
<source>Color</source> <source>Color</source>
<extracomment>The name of the ParamType (ThingClass: shellyRgbw2, ActionType: color, ID: {6ef7c686-350d-4069-9c41-9b90b3906748}) <extracomment>The name of the ParamType (ThingClass: shellyRgbw2, ActionType: color, ID: {6ef7c686-350d-4069-9c41-9b90b3906748})
---------- ----------
@ -130,15 +130,15 @@ The name of the StateType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="307"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="348"/>
<source>Color changed</source> <source>Color changed</source>
<extracomment>The name of the EventType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass shellyRgbw2</extracomment> <extracomment>The name of the EventType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass shellyRgbw2</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="310"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="351"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="313"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="354"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="316"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="357"/>
<source>Color temperature</source> <source>Color temperature</source>
<extracomment>The name of the ParamType (ThingClass: shellyRgbw2, ActionType: colorTemperature, ID: {a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) <extracomment>The name of the ParamType (ThingClass: shellyRgbw2, ActionType: colorTemperature, ID: {a32a457f-fdc0-46ce-9106-6f9d4f4a6b16})
---------- ----------
@ -148,40 +148,40 @@ The name of the StateType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="319"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="360"/>
<source>Color temperature changed</source> <source>Color temperature changed</source>
<extracomment>The name of the EventType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass shellyRgbw2</extracomment> <extracomment>The name of the EventType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass shellyRgbw2</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="322"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="363"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="325"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="366"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="328"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="369"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="331"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="372"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="334"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="375"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="337"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="378"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="340"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="381"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="343"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="384"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="346"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="387"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="349"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="390"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="352"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="393"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="355"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="396"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="358"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="399"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="361"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="402"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="364"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="405"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="367"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="408"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="370"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="411"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="373"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="414"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="376"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="417"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="379"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="420"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="382"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="423"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="385"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="426"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="388"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="429"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="391"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="432"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="394"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="435"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="397"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="438"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="400"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="441"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="403"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="444"/>
<source>Connected</source> <source>Connected</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: connected, ID: {d446719d-628e-477d-882c-a84210c85869}) <extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: connected, ID: {d446719d-628e-477d-882c-a84210c85869})
---------- ----------
@ -241,10 +241,10 @@ The name of the StateType ({e5d41e05-2296-457e-97d8-98a5ac0de615}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="406"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="447"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="409"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="450"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="412"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="453"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="415"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="456"/>
<source>Connected changed</source> <source>Connected changed</source>
<extracomment>The name of the EventType ({584b3558-5fb5-40a9-81ad-dc71ba68fd45}) of ThingClass shellyPlug <extracomment>The name of the EventType ({584b3558-5fb5-40a9-81ad-dc71ba68fd45}) of ThingClass shellyPlug
---------- ----------
@ -256,38 +256,35 @@ The name of the EventType ({e5d41e05-2296-457e-97d8-98a5ac0de615}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="418"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="459"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="421"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="462"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="424"/>
<source>Connected device</source> <source>Connected device</source>
<extracomment>The name of the ParamType (ThingClass: shellyPlug, Type: thing, ID: {9686b1ca-e71f-4e62-beb0-6a20f21550e9}) <extracomment>The name of the ParamType (ThingClass: shelly1pm, Type: thing, ID: {3aacd693-3f1a-4040-be3a-953e600da44f})
----------
The name of the ParamType (ThingClass: shelly1pm, Type: thing, ID: {3aacd693-3f1a-4040-be3a-953e600da44f})
---------- ----------
The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {d0e0499e-faa0-432a-a760-c295b0aefed0})</extracomment> The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {d0e0499e-faa0-432a-a760-c295b0aefed0})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="427"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="465"/>
<source>Connected device 1</source> <source>Connected device 1</source>
<extracomment>The name of the ParamType (ThingClass: shelly25, Type: thing, ID: {dc8a02fb-baa4-40bf-9e00-684b17794287})</extracomment> <extracomment>The name of the ParamType (ThingClass: shelly25, Type: thing, ID: {dc8a02fb-baa4-40bf-9e00-684b17794287})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="430"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="468"/>
<source>Connected device 2</source> <source>Connected device 2</source>
<extracomment>The name of the ParamType (ThingClass: shelly25, Type: thing, ID: {1e6925f8-1613-4fe4-8234-e4a4e973ef83})</extracomment> <extracomment>The name of the ParamType (ThingClass: shelly25, Type: thing, ID: {1e6925f8-1613-4fe4-8234-e4a4e973ef83})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="433"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="471"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="436"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="474"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="439"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="477"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="442"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="480"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="445"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="483"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="448"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="486"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="451"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="489"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="454"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="492"/>
<source>Connected or disconnected</source> <source>Connected or disconnected</source>
<extracomment>The name of the EventType ({d446719d-628e-477d-882c-a84210c85869}) of ThingClass shellyRoller <extracomment>The name of the EventType ({d446719d-628e-477d-882c-a84210c85869}) of ThingClass shellyRoller
---------- ----------
@ -307,8 +304,8 @@ The name of the EventType ({0c233312-7b8f-4ca3-880d-523cab9b3ccb}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="457"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="495"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="460"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="498"/>
<source>Connected/disconnected</source> <source>Connected/disconnected</source>
<extracomment>The name of the EventType ({49ff0891-1798-459f-a97c-f1cc4e643a46}) of ThingClass shellyDimmer <extracomment>The name of the EventType ({49ff0891-1798-459f-a97c-f1cc4e643a46}) of ThingClass shellyDimmer
---------- ----------
@ -316,24 +313,24 @@ The name of the EventType ({98b6e1ba-8d5c-4cb1-82a0-2d06c71cdba6}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="463"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="501"/>
<source>Consumed energy changed</source> <source>Consumed energy changed</source>
<extracomment>The name of the EventType ({962fec29-6be0-452e-87c5-5ff71435c40f}) of ThingClass shellyPlug</extracomment> <extracomment>The name of the EventType ({962fec29-6be0-452e-87c5-5ff71435c40f}) of ThingClass shellyPlug</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="466"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="504"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="469"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="507"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="472"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="510"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="475"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="513"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="478"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="516"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="481"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="519"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="484"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="522"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="487"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="525"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="490"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="528"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="493"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="531"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="496"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="534"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="499"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="537"/>
<source>Current power consumption</source> <source>Current power consumption</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: currentPower, ID: {0d7cb1cf-3fff-4d0b-96c2-c02e9a92af57}) <extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: currentPower, ID: {0d7cb1cf-3fff-4d0b-96c2-c02e9a92af57})
---------- ----------
@ -361,8 +358,8 @@ The name of the StateType ({82ce0c4f-cb81-43c7-bc07-003f8a3cfbc8}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="502"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="540"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="505"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="543"/>
<source>Current power consumption changed</source> <source>Current power consumption changed</source>
<extracomment>The name of the EventType ({b3336ca6-1577-4230-8708-98875148606e}) of ThingClass shellyDimmer <extracomment>The name of the EventType ({b3336ca6-1577-4230-8708-98875148606e}) of ThingClass shellyDimmer
---------- ----------
@ -370,13 +367,13 @@ The name of the EventType ({82ce0c4f-cb81-43c7-bc07-003f8a3cfbc8}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="508"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="546"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="511"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="549"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="514"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="552"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="517"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="555"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="520"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="558"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="523"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="561"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="526"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="564"/>
<source>Default state</source> <source>Default state</source>
<extracomment>The name of the ParamType (ThingClass: shellySocketPM, Type: settings, ID: {9880a51b-57da-4b65-a0ec-23eb0fdcb8ac}) <extracomment>The name of the ParamType (ThingClass: shellySocketPM, Type: settings, ID: {9880a51b-57da-4b65-a0ec-23eb0fdcb8ac})
---------- ----------
@ -394,14 +391,14 @@ The name of the ParamType (ThingClass: shellyPlug, Type: settings, ID: {40f251db
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="529"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="567"/>
<source>Invert button</source> <source>Invert button</source>
<extracomment>The name of the ParamType (ThingClass: shellySwitch, Type: settings, ID: {f31eb52b-9aaf-409d-8bba-badda7c1a249})</extracomment> <extracomment>The name of the ParamType (ThingClass: shellySwitch, Type: settings, ID: {f31eb52b-9aaf-409d-8bba-badda7c1a249})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="532"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="570"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="535"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="573"/>
<source>Moving</source> <source>Moving</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: moving, ID: {2729d4e0-c38c-47b8-a0e8-26959090fe74}) <extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: moving, ID: {2729d4e0-c38c-47b8-a0e8-26959090fe74})
---------- ----------
@ -409,18 +406,18 @@ The name of the StateType ({2729d4e0-c38c-47b8-a0e8-26959090fe74}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="538"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="576"/>
<source>Moving changed</source> <source>Moving changed</source>
<extracomment>The name of the EventType ({2729d4e0-c38c-47b8-a0e8-26959090fe74}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the EventType ({2729d4e0-c38c-47b8-a0e8-26959090fe74}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="541"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="579"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="544"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="582"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="547"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="585"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="550"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="588"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="553"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="591"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="556"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="594"/>
<source>On</source> <source>On</source>
<extracomment>The name of the ParamType (ThingClass: shellyDimmer, ActionType: power, ID: {e4a6ac87-31fb-4516-9cf3-f135621e902c}) <extracomment>The name of the ParamType (ThingClass: shellyDimmer, ActionType: power, ID: {e4a6ac87-31fb-4516-9cf3-f135621e902c})
---------- ----------
@ -436,8 +433,8 @@ The name of the StateType ({14abcd30-9db2-4065-ae81-501a55fbb145}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="559"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="597"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="562"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="600"/>
<source>On/Off</source> <source>On/Off</source>
<extracomment>The name of the ParamType (ThingClass: shellySwitch, EventType: power, ID: {20f74d88-0683-4d3a-9513-6b29b5112b7b}) <extracomment>The name of the ParamType (ThingClass: shellySwitch, EventType: power, ID: {20f74d88-0683-4d3a-9513-6b29b5112b7b})
---------- ----------
@ -445,24 +442,24 @@ The name of the StateType ({20f74d88-0683-4d3a-9513-6b29b5112b7b}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="565"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="603"/>
<source>On/Off toggled</source> <source>On/Off toggled</source>
<extracomment>The name of the EventType ({20f74d88-0683-4d3a-9513-6b29b5112b7b}) of ThingClass shellySwitch</extracomment> <extracomment>The name of the EventType ({20f74d88-0683-4d3a-9513-6b29b5112b7b}) of ThingClass shellySwitch</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="568"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="606"/>
<source>Open</source> <source>Open</source>
<extracomment>The name of the ActionType ({b96a8f85-c39e-499b-abbd-40b18788e907}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the ActionType ({b96a8f85-c39e-499b-abbd-40b18788e907}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="571"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="609"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="574"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="612"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="577"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="615"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="580"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="618"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="583"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="621"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="586"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="624"/>
<source>Password (optional)</source> <source>Password (optional)</source>
<extracomment>The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {b181bf78-a19c-4f97-9264-f16fbac64ee2}) <extracomment>The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {b181bf78-a19c-4f97-9264-f16fbac64ee2})
---------- ----------
@ -478,9 +475,9 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {d29b8399-bfa6-
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="589"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="627"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="592"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="630"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="595"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="633"/>
<source>Position</source> <source>Position</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, ActionType: percentage, ID: {86270b8b-bce4-4d8a-9bc9-d72af36b991c}) <extracomment>The name of the ParamType (ThingClass: shellyRoller, ActionType: percentage, ID: {86270b8b-bce4-4d8a-9bc9-d72af36b991c})
---------- ----------
@ -490,30 +487,30 @@ The name of the StateType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="598"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="636"/>
<source>Position changed</source> <source>Position changed</source>
<extracomment>The name of the EventType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the EventType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="601"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="639"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="604"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="642"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="607"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="645"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="610"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="648"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="613"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="651"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="616"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="654"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="619"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="657"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="622"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="660"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="625"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="663"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="628"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="666"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="631"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="669"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="634"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="672"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="637"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="675"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="640"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="678"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="643"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="681"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="646"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="684"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="649"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="687"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="652"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="690"/>
<source>Power</source> <source>Power</source>
<extracomment>The name of the ParamType (ThingClass: shellySocketPM, ActionType: power, ID: {d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) <extracomment>The name of the ParamType (ThingClass: shellySocketPM, ActionType: power, ID: {d6adeab6-c91d-44ba-8d01-9b5b9b7368be})
---------- ----------
@ -553,8 +550,8 @@ The name of the StateType ({72d7dbba-757c-4b03-a092-1d3f374fa961}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="655"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="693"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="658"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="696"/>
<source>Power consumption</source> <source>Power consumption</source>
<extracomment>The name of the ParamType (ThingClass: shellyPlug, EventType: currentPower, ID: {202ea409-650e-48b2-9aae-d4ebe9d505fd}) <extracomment>The name of the ParamType (ThingClass: shellyPlug, EventType: currentPower, ID: {202ea409-650e-48b2-9aae-d4ebe9d505fd})
---------- ----------
@ -562,11 +559,11 @@ The name of the StateType ({202ea409-650e-48b2-9aae-d4ebe9d505fd}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="661"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="699"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="664"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="702"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="667"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="705"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="670"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="708"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="673"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="711"/>
<source>Power consumption changed</source> <source>Power consumption changed</source>
<extracomment>The name of the EventType ({0d7cb1cf-3fff-4d0b-96c2-c02e9a92af57}) of ThingClass shellyRoller <extracomment>The name of the EventType ({0d7cb1cf-3fff-4d0b-96c2-c02e9a92af57}) of ThingClass shellyRoller
---------- ----------
@ -580,9 +577,9 @@ The name of the EventType ({202ea409-650e-48b2-9aae-d4ebe9d505fd}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="676"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="714"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="679"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="717"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="682"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="720"/>
<source>Powered</source> <source>Powered</source>
<extracomment>The name of the ParamType (ThingClass: shellyPlug, ActionType: power, ID: {d813b35f-e11e-4783-b3b3-dbecb956ffb5}) <extracomment>The name of the ParamType (ThingClass: shellyPlug, ActionType: power, ID: {d813b35f-e11e-4783-b3b3-dbecb956ffb5})
---------- ----------
@ -592,18 +589,18 @@ The name of the StateType ({d813b35f-e11e-4783-b3b3-dbecb956ffb5}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="685"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="723"/>
<source>Pressed</source> <source>Pressed</source>
<extracomment>The name of the EventType ({41498655-1943-4b46-ac36-adea7bafab87}) of ThingClass shellySwitch</extracomment> <extracomment>The name of the EventType ({41498655-1943-4b46-ac36-adea7bafab87}) of ThingClass shellySwitch</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="688"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="726"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="691"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="729"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="694"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="732"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="697"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="735"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="700"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="738"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="703"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="741"/>
<source>Reboot</source> <source>Reboot</source>
<extracomment>The name of the ActionType ({dca1d1bb-b377-41b8-ac26-579060448fd7}) of ThingClass shellyDimmer <extracomment>The name of the ActionType ({dca1d1bb-b377-41b8-ac26-579060448fd7}) of ThingClass shellyDimmer
---------- ----------
@ -619,8 +616,8 @@ The name of the ActionType ({b4067d54-36c5-4d30-bbc3-c8c712d6fd32}) of ThingClas
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="706"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="744"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="709"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="747"/>
<source>Set brightness</source> <source>Set brightness</source>
<extracomment>The name of the ActionType ({f41c93ac-6911-45fc-9221-7dd26bf65fd0}) of ThingClass shellyDimmer <extracomment>The name of the ActionType ({f41c93ac-6911-45fc-9221-7dd26bf65fd0}) of ThingClass shellyDimmer
---------- ----------
@ -628,26 +625,26 @@ The name of the ActionType ({3f74eb92-d95b-48c2-8ac6-29bea9f65ce3}) of ThingClas
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="712"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="750"/>
<source>Set color</source> <source>Set color</source>
<extracomment>The name of the ActionType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass shellyRgbw2</extracomment> <extracomment>The name of the ActionType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass shellyRgbw2</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="715"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="753"/>
<source>Set color temperature</source> <source>Set color temperature</source>
<extracomment>The name of the ActionType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass shellyRgbw2</extracomment> <extracomment>The name of the ActionType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass shellyRgbw2</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="718"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="756"/>
<source>Set position</source> <source>Set position</source>
<extracomment>The name of the ActionType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the ActionType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="721"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="759"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="724"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="762"/>
<source>Shelly</source> <source>Shelly</source>
<extracomment>The name of the vendor ({d8e45fc2-90af-492e-8305-50baa1ec4c18}) <extracomment>The name of the vendor ({d8e45fc2-90af-492e-8305-50baa1ec4c18})
---------- ----------
@ -655,36 +652,36 @@ The name of the plugin shelly ({6162773b-0435-408c-a4f8-7860d38031a9})</extracom
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="727"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="765"/>
<source>Shelly 1</source> <source>Shelly 1</source>
<extracomment>The name of the ThingClass ({f810b66a-7177-4397-9771-4229abaabbb6})</extracomment> <extracomment>The name of the ThingClass ({f810b66a-7177-4397-9771-4229abaabbb6})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="730"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="768"/>
<source>Shelly 1PM</source> <source>Shelly 1PM</source>
<extracomment>The name of the ThingClass ({30e74e9f-57f4-4bbc-b0df-f2c4f28b2f06})</extracomment> <extracomment>The name of the ThingClass ({30e74e9f-57f4-4bbc-b0df-f2c4f28b2f06})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="733"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="771"/>
<source>Shelly 2.5</source> <source>Shelly 2.5</source>
<extracomment>The name of the ThingClass ({465efb0d-da68-4177-a040-940c7f451e29})</extracomment> <extracomment>The name of the ThingClass ({465efb0d-da68-4177-a040-940c7f451e29})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="736"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="774"/>
<source>Shelly Dimmer</source> <source>Shelly Dimmer / Dimmer 2</source>
<extracomment>The name of the ThingClass ({3a1d6fc1-c623-4b45-9c81-1573fcc15f99})</extracomment> <extracomment>The name of the ThingClass ({3a1d6fc1-c623-4b45-9c81-1573fcc15f99})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="739"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="777"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="742"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="780"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="745"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="783"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="748"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="786"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="751"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="789"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="754"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="792"/>
<source>Shelly ID</source> <source>Shelly ID</source>
<extracomment>The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {32e328be-2357-4d94-b438-3fe1ae94d97b}) <extracomment>The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {32e328be-2357-4d94-b438-3fe1ae94d97b})
---------- ----------
@ -700,26 +697,26 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {1d301dc0-5e48-
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="757"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="795"/>
<source>Shelly Plug/PlugS</source> <source>Shelly Plug/PlugS</source>
<extracomment>The name of the ThingClass ({22229a6d-2af8-44e0-bea9-310a0f2769ef})</extracomment> <extracomment>The name of the ThingClass ({22229a6d-2af8-44e0-bea9-310a0f2769ef})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="760"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="798"/>
<source>Shelly RGBW2</source> <source>Shelly RGBW2</source>
<extracomment>The name of the ThingClass ({17f24cec-e6ed-4abd-9d42-60999f391dba})</extracomment> <extracomment>The name of the ThingClass ({17f24cec-e6ed-4abd-9d42-60999f391dba})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="763"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="801"/>
<source>Shelly connected Roller Shutter</source> <source>Shelly connected Roller Shutter</source>
<extracomment>The name of the ThingClass ({d681a4cb-481a-4469-a49a-e6bbb11eb9c9})</extracomment> <extracomment>The name of the ThingClass ({d681a4cb-481a-4469-a49a-e6bbb11eb9c9})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="766"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="804"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="769"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="807"/>
<source>Shelly connected device</source> <source>Shelly connected device</source>
<extracomment>The name of the ThingClass ({3bd614e0-72c4-4fbe-8c70-ce6c48d04bce}) <extracomment>The name of the ThingClass ({3bd614e0-72c4-4fbe-8c70-ce6c48d04bce})
---------- ----------
@ -727,8 +724,8 @@ The name of the ThingClass ({512c3c7d-d6a6-4d2a-bccd-83147e5f9a25})</extracommen
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="772"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="810"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="775"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="813"/>
<source>Shelly connected light</source> <source>Shelly connected light</source>
<extracomment>The name of the ThingClass ({5ab05c19-71aa-4a85-a02f-a108f039a69a}) <extracomment>The name of the ThingClass ({5ab05c19-71aa-4a85-a02f-a108f039a69a})
---------- ----------
@ -736,8 +733,8 @@ The name of the ThingClass ({62a2d6b8-d70d-45fc-ba8c-1c680282a399})</extracommen
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="778"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="816"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="781"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="819"/>
<source>Shelly connected power socket</source> <source>Shelly connected power socket</source>
<extracomment>The name of the ThingClass ({ae6e55fe-1a0b-43bc-bdfb-605661b96905}) <extracomment>The name of the ThingClass ({ae6e55fe-1a0b-43bc-bdfb-605661b96905})
---------- ----------
@ -745,16 +742,148 @@ The name of the ThingClass ({3e13206c-a6cd-49a0-b653-2ccb5bb4bbc1})</extracommen
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="784"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="822"/>
<source>Shelly switch</source> <source>Shelly switch</source>
<extracomment>The name of the ThingClass ({6de35a17-0f54-4397-894d-4321b64c53d1})</extracomment> <extracomment>The name of the ThingClass ({6de35a17-0f54-4397-894d-4321b64c53d1})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="787"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="825"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="790"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="828"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="793"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="831"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="796"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="834"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="837"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="840"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="843"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="846"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="849"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="852"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="855"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="858"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="861"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="864"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="867"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="870"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="873"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="876"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="879"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="882"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="885"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="888"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="891"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="894"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="897"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="900"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="903"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="906"/>
<source>Signal strength</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: signalStrength, ID: {f46c52ce-58dd-4d07-bb69-e8b8719c41bc})
----------
The name of the StateType ({f46c52ce-58dd-4d07-bb69-e8b8719c41bc}) of ThingClass shellyRoller
----------
The name of the ParamType (ThingClass: shellySocketPM, EventType: signalStrength, ID: {e81ee293-9dff-46d0-92dc-5f5627e05962})
----------
The name of the StateType ({e81ee293-9dff-46d0-92dc-5f5627e05962}) of ThingClass shellySocketPM
----------
The name of the ParamType (ThingClass: shellySocket, EventType: signalStrength, ID: {3459cd8a-8e27-48b1-9b14-43c6239ed3a2})
----------
The name of the StateType ({3459cd8a-8e27-48b1-9b14-43c6239ed3a2}) of ThingClass shellySocket
----------
The name of the ParamType (ThingClass: shellyLightPM, EventType: signalStrength, ID: {066de9e4-41f7-4628-a83c-102a2719473a})
----------
The name of the StateType ({066de9e4-41f7-4628-a83c-102a2719473a}) of ThingClass shellyLightPM
----------
The name of the ParamType (ThingClass: shellyLight, EventType: signalStrength, ID: {739a511c-b36d-40c9-b726-acde87f63d9f})
----------
The name of the StateType ({739a511c-b36d-40c9-b726-acde87f63d9f}) of ThingClass shellyLight
----------
The name of the ParamType (ThingClass: shellyGenericPM, EventType: signalStrength, ID: {46cd6c28-b59a-4e20-b706-f202c0848b93})
----------
The name of the StateType ({46cd6c28-b59a-4e20-b706-f202c0848b93}) of ThingClass shellyGenericPM
----------
The name of the ParamType (ThingClass: shellyGeneric, EventType: signalStrength, ID: {e48d19f1-e04b-4c5d-b515-15bb22060607})
----------
The name of the StateType ({e48d19f1-e04b-4c5d-b515-15bb22060607}) of ThingClass shellyGeneric
----------
The name of the ParamType (ThingClass: shellySwitch, EventType: signalStrength, ID: {5088cd2d-8f71-4cfb-a120-4a2d4a84355d})
----------
The name of the StateType ({5088cd2d-8f71-4cfb-a120-4a2d4a84355d}) of ThingClass shellySwitch
----------
The name of the ParamType (ThingClass: shellyDimmer, EventType: signalStrength, ID: {a6855b46-7da8-4160-b698-7707600581b5})
----------
The name of the StateType ({a6855b46-7da8-4160-b698-7707600581b5}) of ThingClass shellyDimmer
----------
The name of the ParamType (ThingClass: shellyRgbw2, EventType: signalStrength, ID: {194ecf76-c45f-4c36-8695-08a26ce065f3})
----------
The name of the StateType ({194ecf76-c45f-4c36-8695-08a26ce065f3}) of ThingClass shellyRgbw2
----------
The name of the ParamType (ThingClass: shellyPlug, EventType: signalStrength, ID: {0b0a73a5-d732-47eb-a075-8e22810eea55})
----------
The name of the StateType ({0b0a73a5-d732-47eb-a075-8e22810eea55}) of ThingClass shellyPlug
----------
The name of the ParamType (ThingClass: shelly25, EventType: signalStrength, ID: {35503b8a-1919-4df5-91cf-b7e381af654a})
----------
The name of the StateType ({35503b8a-1919-4df5-91cf-b7e381af654a}) of ThingClass shelly25
----------
The name of the ParamType (ThingClass: shelly1pm, EventType: signalStrength, ID: {58531cb9-933e-457e-af07-7c6c22c28e51})
----------
The name of the StateType ({58531cb9-933e-457e-af07-7c6c22c28e51}) of ThingClass shelly1pm
----------
The name of the ParamType (ThingClass: shelly1, EventType: signalStrength, ID: {74c631ed-fc3d-49e8-9dec-99cafa70c559})
----------
The name of the StateType ({74c631ed-fc3d-49e8-9dec-99cafa70c559}) of ThingClass shelly1</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="909"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="912"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="915"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="918"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="921"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="924"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="927"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="930"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="933"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="936"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="939"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="942"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="945"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="948"/>
<source>Signal strength changed</source>
<extracomment>The name of the EventType ({f46c52ce-58dd-4d07-bb69-e8b8719c41bc}) of ThingClass shellyRoller
----------
The name of the EventType ({e81ee293-9dff-46d0-92dc-5f5627e05962}) of ThingClass shellySocketPM
----------
The name of the EventType ({3459cd8a-8e27-48b1-9b14-43c6239ed3a2}) of ThingClass shellySocket
----------
The name of the EventType ({066de9e4-41f7-4628-a83c-102a2719473a}) of ThingClass shellyLightPM
----------
The name of the EventType ({739a511c-b36d-40c9-b726-acde87f63d9f}) of ThingClass shellyLight
----------
The name of the EventType ({46cd6c28-b59a-4e20-b706-f202c0848b93}) of ThingClass shellyGenericPM
----------
The name of the EventType ({e48d19f1-e04b-4c5d-b515-15bb22060607}) of ThingClass shellyGeneric
----------
The name of the EventType ({5088cd2d-8f71-4cfb-a120-4a2d4a84355d}) of ThingClass shellySwitch
----------
The name of the EventType ({a6855b46-7da8-4160-b698-7707600581b5}) of ThingClass shellyDimmer
----------
The name of the EventType ({194ecf76-c45f-4c36-8695-08a26ce065f3}) of ThingClass shellyRgbw2
----------
The name of the EventType ({0b0a73a5-d732-47eb-a075-8e22810eea55}) of ThingClass shellyPlug
----------
The name of the EventType ({35503b8a-1919-4df5-91cf-b7e381af654a}) of ThingClass shelly25
----------
The name of the EventType ({58531cb9-933e-457e-af07-7c6c22c28e51}) of ThingClass shelly1pm
----------
The name of the EventType ({74c631ed-fc3d-49e8-9dec-99cafa70c559}) of ThingClass shelly1</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="951"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="954"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="957"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="960"/>
<source>Total energy changed</source> <source>Total energy changed</source>
<extracomment>The name of the EventType ({a7d88654-7503-474d-9a7c-02150d61a6dc}) of ThingClass shellyRoller <extracomment>The name of the EventType ({a7d88654-7503-474d-9a7c-02150d61a6dc}) of ThingClass shellyRoller
---------- ----------
@ -766,16 +895,16 @@ The name of the EventType ({54b0b02e-1dfe-4172-bdfd-8129709e5d9f}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="799"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="963"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="802"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="966"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="805"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="969"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="808"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="972"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="811"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="975"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="814"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="978"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="817"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="981"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="820"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="984"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="823"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="987"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="826"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="990"/>
<source>Total energy consumed</source> <source>Total energy consumed</source>
<extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: totalEnergyConsumed, ID: {a7d88654-7503-474d-9a7c-02150d61a6dc}) <extracomment>The name of the ParamType (ThingClass: shellyRoller, EventType: totalEnergyConsumed, ID: {a7d88654-7503-474d-9a7c-02150d61a6dc})
---------- ----------
@ -799,15 +928,15 @@ The name of the StateType ({962fec29-6be0-452e-87c5-5ff71435c40f}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="829"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="993"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="832"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="996"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="835"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="999"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="838"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1002"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="841"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1005"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="844"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1008"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="847"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1011"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="850"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1014"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="853"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1017"/>
<source>Turn on or off</source> <source>Turn on or off</source>
<extracomment>The name of the ActionType ({d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) of ThingClass shellySocketPM <extracomment>The name of the ActionType ({d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) of ThingClass shellySocketPM
---------- ----------
@ -829,15 +958,15 @@ The name of the ActionType ({d813b35f-e11e-4783-b3b3-dbecb956ffb5}) of ThingClas
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="856"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1020"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="859"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1023"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="862"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1026"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="865"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1029"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="868"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1032"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="871"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1035"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="874"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1038"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="877"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1041"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="880"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1044"/>
<source>Turned on or off</source> <source>Turned on or off</source>
<extracomment>The name of the EventType ({d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) of ThingClass shellySocketPM <extracomment>The name of the EventType ({d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) of ThingClass shellySocketPM
---------- ----------
@ -859,12 +988,12 @@ The name of the EventType ({d813b35f-e11e-4783-b3b3-dbecb956ffb5}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="883"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1047"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="886"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1050"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="889"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1053"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="892"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1056"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="895"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1059"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="898"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1062"/>
<source>Username (optional)</source> <source>Username (optional)</source>
<extracomment>The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {2df0d509-d4b5-407a-835a-6b6392653e10}) <extracomment>The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {2df0d509-d4b5-407a-835a-6b6392653e10})
---------- ----------
@ -880,7 +1009,7 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {fa1aa0f6-93b2-
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="901"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/shelly/plugininfo.h" line="1065"/>
<source>stop</source> <source>stop</source>
<extracomment>The name of the ActionType ({2266303c-df0c-4eae-b15e-6a86e73c9699}) of ThingClass shellyRoller</extracomment> <extracomment>The name of the ActionType ({2266303c-df0c-4eae-b15e-6a86e73c9699}) of ThingClass shellyRoller</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>

View File

@ -82,6 +82,15 @@ IntegrationPluginTasmota::IntegrationPluginTasmota()
m_connectedStateTypeMap[tasmotaLightThingClassId] = tasmotaLightConnectedStateTypeId; m_connectedStateTypeMap[tasmotaLightThingClassId] = tasmotaLightConnectedStateTypeId;
m_connectedStateTypeMap[tasmotaShutterThingClassId] = tasmotaShutterConnectedStateTypeId; m_connectedStateTypeMap[tasmotaShutterThingClassId] = tasmotaShutterConnectedStateTypeId;
m_connectedStateTypeMap[tasmotaBlindsThingClassId] = tasmotaBlindsConnectedStateTypeId; m_connectedStateTypeMap[tasmotaBlindsThingClassId] = tasmotaBlindsConnectedStateTypeId;
m_signalStrengthStateTypeMap[sonoff_basicThingClassId] = sonoff_basicSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[sonoff_dualThingClassId] = sonoff_dualSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[sonoff_triThingClassId] = sonoff_triSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[sonoff_quadThingClassId] = sonoff_quadSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[tasmotaSwitchThingClassId] = tasmotaSwitchSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[tasmotaLightThingClassId] = tasmotaLightSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[tasmotaShutterThingClassId] = tasmotaShutterSignalStrengthStateTypeId;
m_signalStrengthStateTypeMap[tasmotaBlindsThingClassId] = tasmotaBlindsSignalStrengthStateTypeId;
} }
IntegrationPluginTasmota::~IntegrationPluginTasmota() IntegrationPluginTasmota::~IntegrationPluginTasmota()
@ -320,16 +329,13 @@ void IntegrationPluginTasmota::onClientDisconnected(MqttChannel *channel)
void IntegrationPluginTasmota::onPublishReceived(MqttChannel *channel, const QString &topic, const QByteArray &payload) void IntegrationPluginTasmota::onPublishReceived(MqttChannel *channel, const QString &topic, const QByteArray &payload)
{ {
qCDebug(dcTasmota) << "Publish received from Sonoff thing:" << topic << payload; qCDebug(dcTasmota) << "Publish received from Sonoff thing:" << topic << qUtf8Printable(payload);
Thing *dev = m_mqttChannels.key(channel); Thing *thing = m_mqttChannels.key(channel);
if (m_ipAddressParamTypeMap.contains(dev->thingClassId())) { if (m_ipAddressParamTypeMap.contains(thing->thingClassId())) {
if (topic.startsWith(channel->topicPrefixList().first() + "/sonoff/POWER")) { if (topic.startsWith(channel->topicPrefixList().first() + "/sonoff/POWER")) {
QString channelName = topic.split("/").last(); QString channelName = topic.split("/").last();
foreach (Thing *child, myThings()) { foreach (Thing *child, myThings().filterByParentId(thing->id())) {
if (child->parentId() != dev->id()) {
continue;
}
if (child->paramValue(m_channelParamTypeMap.value(child->thingClassId())).toString() != channelName) { if (child->paramValue(m_channelParamTypeMap.value(child->thingClassId())).toString() != channelName) {
continue; continue;
} }
@ -349,17 +355,16 @@ void IntegrationPluginTasmota::onPublishReceived(MqttChannel *channel, const QSt
qCWarning(dcTasmota) << "Cannot parse JSON from Tasmota device" << error.errorString(); qCWarning(dcTasmota) << "Cannot parse JSON from Tasmota device" << error.errorString();
return; return;
} }
foreach (Thing *child, myThings()) { QVariantMap dataMap = jsonDoc.toVariant().toMap();
if (child->parentId() != dev->id()) { thing->setStateValue(m_signalStrengthStateTypeMap.value(thing->thingClassId()), dataMap.value("Wifi").toMap().value("RSSI").toInt());
continue; foreach (Thing *child, myThings().filterByParentId(thing->id())) {
}
if (m_powerStateTypeMap.contains(child->thingClassId())) { if (m_powerStateTypeMap.contains(child->thingClassId())) {
QString childChannel = child->paramValue(m_channelParamTypeMap.value(child->thingClassId())).toString(); QString childChannel = child->paramValue(m_channelParamTypeMap.value(child->thingClassId())).toString();
QString valueString = jsonDoc.toVariant().toMap().value(childChannel).toString(); QString valueString = jsonDoc.toVariant().toMap().value(childChannel).toString();
child->setStateValue(m_powerStateTypeMap.value(child->thingClassId()), valueString == "ON"); child->setStateValue(m_powerStateTypeMap.value(child->thingClassId()), valueString == "ON");
} }
child->setStateValue(m_signalStrengthStateTypeMap.value(child->thingClassId()), dataMap.value("Wifi").toMap().value("RSSI").toInt());
} }
} }
} }
} }

View File

@ -76,6 +76,7 @@ private:
// Helpers for both devices // Helpers for both devices
QHash<ThingClassId, StateTypeId> m_connectedStateTypeMap; QHash<ThingClassId, StateTypeId> m_connectedStateTypeMap;
QHash<ThingClassId, StateTypeId> m_signalStrengthStateTypeMap;
}; };
#endif // INTEGRATIONPLUGINTASMOTA_H #endif // INTEGRATIONPLUGINTASMOTA_H

View File

@ -13,7 +13,7 @@
"name": "sonoff_basic", "name": "sonoff_basic",
"displayName": "Single switch (Sonoff Basic, RF, Touch...)", "displayName": "Single switch (Sonoff Basic, RF, Touch...)",
"createMethods": ["user"], "createMethods": ["user"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "cdead654-a765-488c-9fe6-ce6afb550d8b", "id": "cdead654-a765-488c-9fe6-ce6afb550d8b",
@ -39,6 +39,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "f70e202a-c178-4fbe-a778-713220d11b23",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": -1
} }
] ]
}, },
@ -47,7 +58,7 @@
"name": "sonoff_dual", "name": "sonoff_dual",
"displayName": "Dual switch (Sonoff Dual, T1 2CH...)", "displayName": "Dual switch (Sonoff Dual, T1 2CH...)",
"createMethods": ["user"], "createMethods": ["user"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "7fe081a4-b9ec-4ca5-b583-50e992a24f4d", "id": "7fe081a4-b9ec-4ca5-b583-50e992a24f4d",
@ -81,6 +92,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "3d6a567f-d266-4711-bcf1-3ac1f53abadb",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
] ]
}, },
@ -89,7 +111,7 @@
"name": "sonoff_tri", "name": "sonoff_tri",
"displayName": "3 channel switch (Sonoff 3CH, Tuya 3CH...)", "displayName": "3 channel switch (Sonoff 3CH, Tuya 3CH...)",
"createMethods": ["user"], "createMethods": ["user"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "b7532005-4157-4687-952f-ac3cd6b7f606", "id": "b7532005-4157-4687-952f-ac3cd6b7f606",
@ -131,6 +153,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "08b4ec84-1aec-4e68-a3b4-ae251b8cbe6d",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
] ]
}, },
@ -139,7 +172,7 @@
"name": "sonoff_quad", "name": "sonoff_quad",
"displayName": "4 channel switch (Sonoff 4CH, T1 4CH...)", "displayName": "4 channel switch (Sonoff 4CH, T1 4CH...)",
"createMethods": ["user"], "createMethods": ["user"],
"interfaces": [ "gateway" ], "interfaces": [ "gateway", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "dbc3f3b3-2d17-40e9-8f6e-dde0b26952bc", "id": "dbc3f3b3-2d17-40e9-8f6e-dde0b26952bc",
@ -189,6 +222,17 @@
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
},
{
"id": "d80d8f37-f3c0-4364-998b-312339fd1fa8",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
] ]
}, },
@ -197,7 +241,7 @@
"name": "tasmotaSwitch", "name": "tasmotaSwitch",
"displayName": "Tasmota power switch", "displayName": "Tasmota power switch",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["powerswitch", "connectable"], "interfaces": ["powerswitch", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "564cf6c6-86eb-41a5-9b87-fb32f1b6fcd6", "id": "564cf6c6-86eb-41a5-9b87-fb32f1b6fcd6",
@ -216,6 +260,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "34e54234-d2d6-4c93-8d52-bada19e5ff23",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "413503d7-fc9f-417a-95fa-5c350a6f69f9", "id": "413503d7-fc9f-417a-95fa-5c350a6f69f9",
"name": "power", "name": "power",
@ -240,7 +295,7 @@
"name": "tasmotaLight", "name": "tasmotaLight",
"displayName": "Tasmota light", "displayName": "Tasmota light",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["light", "connectable"], "interfaces": ["light", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "1f792ae4-cf39-4e12-99ca-c593bd020fcb", "id": "1f792ae4-cf39-4e12-99ca-c593bd020fcb",
@ -259,6 +314,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "dcc39f5e-6bcb-4c04-910e-8dd5f9ad5402",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "88dbdf8e-45ff-466f-8352-8654a6b5fe68", "id": "88dbdf8e-45ff-466f-8352-8654a6b5fe68",
"name": "power", "name": "power",
@ -276,7 +342,7 @@
"name": "tasmotaShutter", "name": "tasmotaShutter",
"displayName": "Tasmota shutter", "displayName": "Tasmota shutter",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["shutter", "closable", "connectable"], "interfaces": ["shutter", "closable", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "4d8f113d-f816-4356-b1ff-31df3f4b515f", "id": "4d8f113d-f816-4356-b1ff-31df3f4b515f",
@ -299,6 +365,17 @@
"displayNameEvent": "Connected changed", "displayNameEvent": "Connected changed",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
},
{
"id": "1de7fac2-87f1-4c2b-9286-1b0895c5ac49",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
], ],
"actionTypes": [ "actionTypes": [
@ -324,7 +401,7 @@
"name": "tasmotaBlinds", "name": "tasmotaBlinds",
"displayName": "Tasmota blinds", "displayName": "Tasmota blinds",
"createMethods": ["auto"], "createMethods": ["auto"],
"interfaces": ["blind", "closable", "connectable"], "interfaces": ["blind", "closable", "wirelessconnectable"],
"paramTypes": [ "paramTypes": [
{ {
"id": "d8f26857-6a6c-4aba-8301-dbd3ba68bc28", "id": "d8f26857-6a6c-4aba-8301-dbd3ba68bc28",
@ -347,6 +424,17 @@
"displayNameEvent": "Connected changed", "displayNameEvent": "Connected changed",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
},
{
"id": "dc58b863-1e84-4469-b226-cd4349d82050",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
} }
], ],
"actionTypes": [ "actionTypes": [

View File

@ -247,5 +247,59 @@ The name of the ActionType ({c9c9c569-e224-4f63-abed-782cba04d61b}) of ThingClas
<extracomment>The name of the ThingClass ({70ae35db-68bf-42d7-872a-85582d27d128})</extracomment> <extracomment>The name of the ThingClass ({70ae35db-68bf-42d7-872a-85582d27d128})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Signal strength</source>
<extracomment>The name of the ParamType (ThingClass: tasmotaBlinds, EventType: signalStrength, ID: {dc58b863-1e84-4469-b226-cd4349d82050})
----------
The name of the StateType ({dc58b863-1e84-4469-b226-cd4349d82050}) of ThingClass tasmotaBlinds
----------
The name of the ParamType (ThingClass: tasmotaShutter, EventType: signalStrength, ID: {1de7fac2-87f1-4c2b-9286-1b0895c5ac49})
----------
The name of the StateType ({1de7fac2-87f1-4c2b-9286-1b0895c5ac49}) of ThingClass tasmotaShutter
----------
The name of the ParamType (ThingClass: tasmotaLight, EventType: signalStrength, ID: {dcc39f5e-6bcb-4c04-910e-8dd5f9ad5402})
----------
The name of the StateType ({dcc39f5e-6bcb-4c04-910e-8dd5f9ad5402}) of ThingClass tasmotaLight
----------
The name of the ParamType (ThingClass: tasmotaSwitch, EventType: signalStrength, ID: {34e54234-d2d6-4c93-8d52-bada19e5ff23})
----------
The name of the StateType ({34e54234-d2d6-4c93-8d52-bada19e5ff23}) of ThingClass tasmotaSwitch
----------
The name of the ParamType (ThingClass: sonoff_quad, EventType: signalStrength, ID: {d80d8f37-f3c0-4364-998b-312339fd1fa8})
----------
The name of the StateType ({d80d8f37-f3c0-4364-998b-312339fd1fa8}) of ThingClass sonoff_quad
----------
The name of the ParamType (ThingClass: sonoff_tri, EventType: signalStrength, ID: {08b4ec84-1aec-4e68-a3b4-ae251b8cbe6d})
----------
The name of the StateType ({08b4ec84-1aec-4e68-a3b4-ae251b8cbe6d}) of ThingClass sonoff_tri
----------
The name of the ParamType (ThingClass: sonoff_dual, EventType: signalStrength, ID: {3d6a567f-d266-4711-bcf1-3ac1f53abadb})
----------
The name of the StateType ({3d6a567f-d266-4711-bcf1-3ac1f53abadb}) of ThingClass sonoff_dual
----------
The name of the ParamType (ThingClass: sonoff_basic, EventType: signalStrength, ID: {f70e202a-c178-4fbe-a778-713220d11b23})
----------
The name of the StateType ({f70e202a-c178-4fbe-a778-713220d11b23}) of ThingClass sonoff_basic</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Signal strength changed</source>
<extracomment>The name of the EventType ({dc58b863-1e84-4469-b226-cd4349d82050}) of ThingClass tasmotaBlinds
----------
The name of the EventType ({1de7fac2-87f1-4c2b-9286-1b0895c5ac49}) of ThingClass tasmotaShutter
----------
The name of the EventType ({dcc39f5e-6bcb-4c04-910e-8dd5f9ad5402}) of ThingClass tasmotaLight
----------
The name of the EventType ({34e54234-d2d6-4c93-8d52-bada19e5ff23}) of ThingClass tasmotaSwitch
----------
The name of the EventType ({d80d8f37-f3c0-4364-998b-312339fd1fa8}) of ThingClass sonoff_quad
----------
The name of the EventType ({08b4ec84-1aec-4e68-a3b4-ae251b8cbe6d}) of ThingClass sonoff_tri
----------
The name of the EventType ({3d6a567f-d266-4711-bcf1-3ac1f53abadb}) of ThingClass sonoff_dual
----------
The name of the EventType ({f70e202a-c178-4fbe-a778-713220d11b23}) of ThingClass sonoff_basic</extracomment>
<translation type="unfinished"></translation>
</message>
</context> </context>
</TS> </TS>

View File

@ -51,6 +51,10 @@ IntegrationPluginTPLink::IntegrationPluginTPLink()
m_connectedStateTypesMap[kasaPlug110ThingClassId] = kasaPlug110ConnectedStateTypeId; m_connectedStateTypesMap[kasaPlug110ThingClassId] = kasaPlug110ConnectedStateTypeId;
m_connectedStateTypesMap[kasaSwitch200ThingClassId] = kasaSwitch200ConnectedStateTypeId; m_connectedStateTypesMap[kasaSwitch200ThingClassId] = kasaSwitch200ConnectedStateTypeId;
m_signalStrengthStateTypesMap[kasaPlug100ThingClassId] = kasaPlug100SignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[kasaPlug110ThingClassId] = kasaPlug110SignalStrengthStateTypeId;
m_signalStrengthStateTypesMap[kasaSwitch200ThingClassId] = kasaSwitch200SignalStrengthStateTypeId;
m_powerStatetTypesMap[kasaPlug100ThingClassId] = kasaPlug100PowerStateTypeId; m_powerStatetTypesMap[kasaPlug100ThingClassId] = kasaPlug100PowerStateTypeId;
m_powerStatetTypesMap[kasaPlug110ThingClassId] = kasaPlug110PowerStateTypeId; m_powerStatetTypesMap[kasaPlug110ThingClassId] = kasaPlug110PowerStateTypeId;
m_powerStatetTypesMap[kasaSwitch200ThingClassId] = kasaSwitch200PowerStateTypeId; m_powerStatetTypesMap[kasaSwitch200ThingClassId] = kasaSwitch200PowerStateTypeId;
@ -367,12 +371,17 @@ void IntegrationPluginTPLink::connectToDevice(Thing *thing, const QHostAddress &
int relayState = systemMap.value("get_sysinfo").toMap().value("relay_state").toInt(); int relayState = systemMap.value("get_sysinfo").toMap().value("relay_state").toInt();
StateTypeId powerStateTypeId = m_powerStatetTypesMap.value(thing->thingClassId()); StateTypeId powerStateTypeId = m_powerStatetTypesMap.value(thing->thingClassId());
thing->setStateValue(powerStateTypeId, relayState == 1 ? true : false); thing->setStateValue(powerStateTypeId, relayState == 1 ? true : false);
StateTypeId signalStrengthStateTypeId = m_signalStrengthStateTypesMap.value(thing->thingClassId());
int rssi = systemMap.value("get_sysinfo").toMap().value("rssi").toInt();
int signalStrength = qMax(0, qMin(1000, 2 * (rssi + 100)));
thing->setStateValue(signalStrengthStateTypeId, signalStrength);
QString alias = systemMap.value("get_sysinfo").toMap().value("alias").toString(); QString alias = systemMap.value("get_sysinfo").toMap().value("alias").toString();
if (thing->name() != alias) { if (thing->name() != alias) {
thing->setName(alias); thing->setName(alias);
} }
if (job.actionInfo) { if (job.actionInfo) {
job.actionInfo->finish(Thing::ThingErrorNoError); job.actionInfo->finish(Thing::ThingErrorNoError);
} }

View File

@ -88,6 +88,7 @@ private:
QHash<ThingClassId, ParamTypeId> m_idParamTypesMap; QHash<ThingClassId, ParamTypeId> m_idParamTypesMap;
QHash<ThingClassId, StateTypeId> m_connectedStateTypesMap; QHash<ThingClassId, StateTypeId> m_connectedStateTypesMap;
QHash<ThingClassId, StateTypeId> m_signalStrengthStateTypesMap;
QHash<ThingClassId, StateTypeId> m_powerStatetTypesMap; QHash<ThingClassId, StateTypeId> m_powerStatetTypesMap;
QHash<ThingClassId, StateTypeId> m_currentPowerStatetTypesMap; QHash<ThingClassId, StateTypeId> m_currentPowerStatetTypesMap;
QHash<ThingClassId, StateTypeId> m_totalEnergyConsumedStatetTypesMap; QHash<ThingClassId, StateTypeId> m_totalEnergyConsumedStatetTypesMap;

View File

@ -13,7 +13,7 @@
"name": "kasaPlug100", "name": "kasaPlug100",
"displayName": "Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)", "displayName": "Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "powersocket", "connectable" ], "interfaces": [ "powersocket", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "7c7a4d88-6c7e-4981-b4f2-090976c0c9bb", "id": "7c7a4d88-6c7e-4981-b4f2-090976c0c9bb",
@ -33,6 +33,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "1de7fac2-87f1-4c2b-9286-1b0895c5ac49",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "a8991ea0-89f0-477b-97fb-414dd7d185b3", "id": "a8991ea0-89f0-477b-97fb-414dd7d185b3",
"name": "power", "name": "power",
@ -51,7 +62,7 @@
"name": "kasaPlug110", "name": "kasaPlug110",
"displayName": "Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)", "displayName": "Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "powersocket", "extendedsmartmeterconsumer", "connectable" ], "interfaces": [ "powersocket", "extendedsmartmeterconsumer", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "de3238f7-fe94-440d-b212-61cd4e221b50", "id": "de3238f7-fe94-440d-b212-61cd4e221b50",
@ -71,6 +82,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "cb16cfb0-6608-486f-abe5-264aa652704d",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "f1a5fda4-87a6-46f6-9499-16811a5f4f4d", "id": "f1a5fda4-87a6-46f6-9499-16811a5f4f4d",
"name": "power", "name": "power",
@ -107,7 +129,7 @@
"name": "kasaSwitch200", "name": "kasaSwitch200",
"displayName": "Kasa Smart Wi-Fi Light Switch (HS200)", "displayName": "Kasa Smart Wi-Fi Light Switch (HS200)",
"createMethods": ["discovery"], "createMethods": ["discovery"],
"interfaces": [ "light", "connectable" ], "interfaces": [ "light", "wirelessconnectable" ],
"paramTypes": [ "paramTypes": [
{ {
"id": "fe989b2f-034e-4615-8a47-4a8aa775ed99", "id": "fe989b2f-034e-4615-8a47-4a8aa775ed99",
@ -127,6 +149,17 @@
"defaultValue": false, "defaultValue": false,
"cached": false "cached": false
}, },
{
"id": "6387c4e3-b0c1-4151-a3c9-925929c2d51e",
"name": "signalStrength",
"displayName": "Signal strength",
"displayNameEvent": "Signal strength changed",
"type": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100
},
{ {
"id": "3b0daf6c-ba04-4ff1-a381-685c869665b1", "id": "3b0daf6c-ba04-4ff1-a381-685c869665b1",
"name": "power", "name": "power",

View File

@ -4,35 +4,35 @@
<context> <context>
<name>IntegrationPluginTPLink</name> <name>IntegrationPluginTPLink</name>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="88"/> <location filename="../integrationplugintplink.cpp" line="92"/>
<source>An error happened sending the discovery to the network.</source> <source>An error happened sending the discovery to the network.</source>
<translation type="unfinished">Beim Durchsuchen des Netzwerks ist ein Fehler aufgetreten.</translation> <translation>Beim Durchsuchen des Netzwerks ist ein Fehler aufgetreten.</translation>
</message> </message>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="151"/> <location filename="../integrationplugintplink.cpp" line="155"/>
<source>An error happened finding the device in the network.</source> <source>An error happened finding the device in the network.</source>
<translation type="unfinished">Beim Suchen des Geräts ist ein Fehler aufgetreten.</translation> <translation>Beim Suchen des Geräts ist ein Fehler aufgetreten.</translation>
</message> </message>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="188"/> <location filename="../integrationplugintplink.cpp" line="192"/>
<source>The device could not be found on the network.</source> <source>The device could not be found on the network.</source>
<translation type="unfinished">Das Gerät konnte nicht im Netzwerk gefunden werden.</translation> <translation>Das Gerät konnte nicht im Netzwerk gefunden werden.</translation>
</message> </message>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="471"/> <location filename="../integrationplugintplink.cpp" line="480"/>
<source>Error sending command to the network.</source> <source>Error sending command to the network.</source>
<translation type="unfinished">Der Befehl konnte nicht ins Netzwerk gesendet werden.</translation> <translation>Der Befehl konnte nicht ins Netzwerk gesendet werden.</translation>
</message> </message>
</context> </context>
<context> <context>
<name>tplink</name> <name>tplink</name>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="58"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="61"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="64"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="67"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="67"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="70"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="70"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="73"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="73"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="76"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="79"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="82"/>
<source>Connected</source> <source>Connected</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, EventType: connected, ID: {8792b3d1-f83d-44c3-b649-249a935d1eb4}) <extracomment>The name of the ParamType (ThingClass: kasaSwitch200, EventType: connected, ID: {8792b3d1-f83d-44c3-b649-249a935d1eb4})
---------- ----------
@ -48,9 +48,9 @@ The name of the StateType ({79bcdd81-2e9d-4312-a4a7-85f808d046ef}) of ThingClass
<translation>Verbunden</translation> <translation>Verbunden</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="76"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="85"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="79"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="88"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="82"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="91"/>
<source>Connected changed</source> <source>Connected changed</source>
<extracomment>The name of the EventType ({8792b3d1-f83d-44c3-b649-249a935d1eb4}) of ThingClass kasaSwitch200 <extracomment>The name of the EventType ({8792b3d1-f83d-44c3-b649-249a935d1eb4}) of ThingClass kasaSwitch200
---------- ----------
@ -60,8 +60,8 @@ The name of the EventType ({79bcdd81-2e9d-4312-a4a7-85f808d046ef}) of ThingClass
<translation>Verbunden/getrennt</translation> <translation>Verbunden/getrennt</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="85"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="94"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="88"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="97"/>
<source>Current power consumption</source> <source>Current power consumption</source>
<extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: currentPower, ID: {ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) <extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: currentPower, ID: {ccb52b57-5800-4f03-b7fa-f36dcebe1d4e})
---------- ----------
@ -69,15 +69,15 @@ The name of the StateType ({ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) of ThingClass
<translation>Aktueller Energieverbrauch</translation> <translation>Aktueller Energieverbrauch</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="91"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="100"/>
<source>Current power consumption changed</source> <source>Current power consumption changed</source>
<extracomment>The name of the EventType ({ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) of ThingClass kasaPlug110</extracomment> <extracomment>The name of the EventType ({ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) of ThingClass kasaPlug110</extracomment>
<translation>Aktueller Energieverbrauch geändert</translation> <translation>Aktueller Energieverbrauch geändert</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="94"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="103"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="97"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="106"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="100"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="109"/>
<source>ID</source> <source>ID</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, Type: thing, ID: {fe989b2f-034e-4615-8a47-4a8aa775ed99}) <extracomment>The name of the ParamType (ThingClass: kasaSwitch200, Type: thing, ID: {fe989b2f-034e-4615-8a47-4a8aa775ed99})
---------- ----------
@ -87,33 +87,33 @@ The name of the ParamType (ThingClass: kasaPlug100, Type: thing, ID: {7c7a4d88-6
<translation>ID</translation> <translation>ID</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="103"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="112"/>
<source>Kasa Smart Wi-Fi Light Switch (HS200)</source> <source>Kasa Smart Wi-Fi Light Switch (HS200)</source>
<extracomment>The name of the ThingClass ({d527e576-d65e-4ae6-ae43-c89b594fb4c1})</extracomment> <extracomment>The name of the ThingClass ({d527e576-d65e-4ae6-ae43-c89b594fb4c1})</extracomment>
<translation>Kasa Smart Wi-Fi Lichtschalter (HS200)</translation> <translation>Kasa Smart Wi-Fi Lichtschalter (HS200)</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="106"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="115"/>
<source>Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)</source> <source>Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)</source>
<extracomment>The name of the ThingClass ({48f981ba-3836-4810-9744-a349088f4545})</extracomment> <extracomment>The name of the ThingClass ({48f981ba-3836-4810-9744-a349088f4545})</extracomment>
<translation>Kasa Smart WLAN-Steckdose (HS100/HS103/HS105/KP100)</translation> <translation>Kasa Smart WLAN-Steckdose (HS100/HS103/HS105/KP100)</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="109"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="118"/>
<source>Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)</source> <source>Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)</source>
<extracomment>The name of the ThingClass ({32830124-9efb-4614-8227-ee269b1889b0})</extracomment> <extracomment>The name of the ThingClass ({32830124-9efb-4614-8227-ee269b1889b0})</extracomment>
<translation>Kasa Smart WLAN-Steckdose mit Verbrauchsanzeige (HS110)</translation> <translation>Kasa Smart WLAN-Steckdose mit Verbrauchsanzeige (HS110)</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="112"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="118"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="121"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="121"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="124"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="124"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="127"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="127"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="130"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="130"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="133"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="133"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="136"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="136"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="139"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="142"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="145"/>
<source>Power</source> <source>Power</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, ActionType: power, ID: {3b0daf6c-ba04-4ff1-a381-685c869665b1}) <extracomment>The name of the ParamType (ThingClass: kasaSwitch200, ActionType: power, ID: {3b0daf6c-ba04-4ff1-a381-685c869665b1})
---------- ----------
@ -135,8 +135,41 @@ The name of the StateType ({a8991ea0-89f0-477b-97fb-414dd7d185b3}) of ThingClass
<translation>Eingeschaltet</translation> <translation>Eingeschaltet</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="139"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="148"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="142"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="151"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="154"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="157"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="160"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="163"/>
<source>Signal strength</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, EventType: signalStrength, ID: {6387c4e3-b0c1-4151-a3c9-925929c2d51e})
----------
The name of the StateType ({6387c4e3-b0c1-4151-a3c9-925929c2d51e}) of ThingClass kasaSwitch200
----------
The name of the ParamType (ThingClass: kasaPlug110, EventType: signalStrength, ID: {cb16cfb0-6608-486f-abe5-264aa652704d})
----------
The name of the StateType ({cb16cfb0-6608-486f-abe5-264aa652704d}) of ThingClass kasaPlug110
----------
The name of the ParamType (ThingClass: kasaPlug100, EventType: signalStrength, ID: {1de7fac2-87f1-4c2b-9286-1b0895c5ac49})
----------
The name of the StateType ({1de7fac2-87f1-4c2b-9286-1b0895c5ac49}) of ThingClass kasaPlug100</extracomment>
<translation>Signalstärke</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="166"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="169"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="172"/>
<source>Signal strength changed</source>
<extracomment>The name of the EventType ({6387c4e3-b0c1-4151-a3c9-925929c2d51e}) of ThingClass kasaSwitch200
----------
The name of the EventType ({cb16cfb0-6608-486f-abe5-264aa652704d}) of ThingClass kasaPlug110
----------
The name of the EventType ({1de7fac2-87f1-4c2b-9286-1b0895c5ac49}) of ThingClass kasaPlug100</extracomment>
<translation>Signalstärke geändert</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="175"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="178"/>
<source>Total energy consumed</source> <source>Total energy consumed</source>
<extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: totalEnergyConsumed, ID: {a3533121-69ee-44fd-8394-13373e8f960e}) <extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: totalEnergyConsumed, ID: {a3533121-69ee-44fd-8394-13373e8f960e})
---------- ----------
@ -144,15 +177,15 @@ The name of the StateType ({a3533121-69ee-44fd-8394-13373e8f960e}) of ThingClass
<translation>Gesamter Energieverbrauch</translation> <translation>Gesamter Energieverbrauch</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="145"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="181"/>
<source>Total energy consumed changed</source> <source>Total energy consumed changed</source>
<extracomment>The name of the EventType ({a3533121-69ee-44fd-8394-13373e8f960e}) of ThingClass kasaPlug110</extracomment> <extracomment>The name of the EventType ({a3533121-69ee-44fd-8394-13373e8f960e}) of ThingClass kasaPlug110</extracomment>
<translation>Gesamter Energieverbrauch geändert</translation> <translation>Gesamter Energieverbrauch geändert</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="148"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="184"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="151"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="187"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="154"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="190"/>
<source>Turn on or off</source> <source>Turn on or off</source>
<extracomment>The name of the ActionType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200 <extracomment>The name of the ActionType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200
---------- ----------
@ -162,9 +195,9 @@ The name of the ActionType ({a8991ea0-89f0-477b-97fb-414dd7d185b3}) of ThingClas
<translation>Ein- ausschalten</translation> <translation>Ein- ausschalten</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="157"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="193"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="160"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="196"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="163"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="199"/>
<source>Turned on or off</source> <source>Turned on or off</source>
<extracomment>The name of the EventType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200 <extracomment>The name of the EventType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200
---------- ----------
@ -174,8 +207,8 @@ The name of the EventType ({a8991ea0-89f0-477b-97fb-414dd7d185b3}) of ThingClass
<translation>Ein- ausgeschaltet</translation> <translation>Ein- ausgeschaltet</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="166"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="202"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="169"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="205"/>
<source>tp-link</source> <source>tp-link</source>
<extracomment>The name of the vendor ({8603b6cf-52ec-4481-aca2-f29ebd6cd8a8}) <extracomment>The name of the vendor ({8603b6cf-52ec-4481-aca2-f29ebd6cd8a8})
---------- ----------

View File

@ -4,22 +4,22 @@
<context> <context>
<name>IntegrationPluginTPLink</name> <name>IntegrationPluginTPLink</name>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="88"/> <location filename="../integrationplugintplink.cpp" line="92"/>
<source>An error happened sending the discovery to the network.</source> <source>An error happened sending the discovery to the network.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="151"/> <location filename="../integrationplugintplink.cpp" line="155"/>
<source>An error happened finding the device in the network.</source> <source>An error happened finding the device in the network.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="188"/> <location filename="../integrationplugintplink.cpp" line="192"/>
<source>The device could not be found on the network.</source> <source>The device could not be found on the network.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../integrationplugintplink.cpp" line="471"/> <location filename="../integrationplugintplink.cpp" line="480"/>
<source>Error sending command to the network.</source> <source>Error sending command to the network.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -27,12 +27,12 @@
<context> <context>
<name>tplink</name> <name>tplink</name>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="58"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="61"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="64"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="67"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="67"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="70"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="70"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="73"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="73"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="76"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="79"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="82"/>
<source>Connected</source> <source>Connected</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, EventType: connected, ID: {8792b3d1-f83d-44c3-b649-249a935d1eb4}) <extracomment>The name of the ParamType (ThingClass: kasaSwitch200, EventType: connected, ID: {8792b3d1-f83d-44c3-b649-249a935d1eb4})
---------- ----------
@ -48,9 +48,9 @@ The name of the StateType ({79bcdd81-2e9d-4312-a4a7-85f808d046ef}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="76"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="85"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="79"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="88"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="82"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="91"/>
<source>Connected changed</source> <source>Connected changed</source>
<extracomment>The name of the EventType ({8792b3d1-f83d-44c3-b649-249a935d1eb4}) of ThingClass kasaSwitch200 <extracomment>The name of the EventType ({8792b3d1-f83d-44c3-b649-249a935d1eb4}) of ThingClass kasaSwitch200
---------- ----------
@ -60,8 +60,8 @@ The name of the EventType ({79bcdd81-2e9d-4312-a4a7-85f808d046ef}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="85"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="94"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="88"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="97"/>
<source>Current power consumption</source> <source>Current power consumption</source>
<extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: currentPower, ID: {ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) <extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: currentPower, ID: {ccb52b57-5800-4f03-b7fa-f36dcebe1d4e})
---------- ----------
@ -69,15 +69,15 @@ The name of the StateType ({ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="91"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="100"/>
<source>Current power consumption changed</source> <source>Current power consumption changed</source>
<extracomment>The name of the EventType ({ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) of ThingClass kasaPlug110</extracomment> <extracomment>The name of the EventType ({ccb52b57-5800-4f03-b7fa-f36dcebe1d4e}) of ThingClass kasaPlug110</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="94"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="103"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="97"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="106"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="100"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="109"/>
<source>ID</source> <source>ID</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, Type: thing, ID: {fe989b2f-034e-4615-8a47-4a8aa775ed99}) <extracomment>The name of the ParamType (ThingClass: kasaSwitch200, Type: thing, ID: {fe989b2f-034e-4615-8a47-4a8aa775ed99})
---------- ----------
@ -87,33 +87,33 @@ The name of the ParamType (ThingClass: kasaPlug100, Type: thing, ID: {7c7a4d88-6
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="103"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="112"/>
<source>Kasa Smart Wi-Fi Light Switch (HS200)</source> <source>Kasa Smart Wi-Fi Light Switch (HS200)</source>
<extracomment>The name of the ThingClass ({d527e576-d65e-4ae6-ae43-c89b594fb4c1})</extracomment> <extracomment>The name of the ThingClass ({d527e576-d65e-4ae6-ae43-c89b594fb4c1})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="106"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="115"/>
<source>Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)</source> <source>Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)</source>
<extracomment>The name of the ThingClass ({48f981ba-3836-4810-9744-a349088f4545})</extracomment> <extracomment>The name of the ThingClass ({48f981ba-3836-4810-9744-a349088f4545})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="109"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="118"/>
<source>Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)</source> <source>Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)</source>
<extracomment>The name of the ThingClass ({32830124-9efb-4614-8227-ee269b1889b0})</extracomment> <extracomment>The name of the ThingClass ({32830124-9efb-4614-8227-ee269b1889b0})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="112"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="118"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="121"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="121"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="124"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="124"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="127"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="127"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="130"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="130"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="133"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="133"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="136"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="136"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="139"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="142"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="145"/>
<source>Power</source> <source>Power</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, ActionType: power, ID: {3b0daf6c-ba04-4ff1-a381-685c869665b1}) <extracomment>The name of the ParamType (ThingClass: kasaSwitch200, ActionType: power, ID: {3b0daf6c-ba04-4ff1-a381-685c869665b1})
---------- ----------
@ -135,8 +135,41 @@ The name of the StateType ({a8991ea0-89f0-477b-97fb-414dd7d185b3}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="139"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="148"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="142"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="151"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="154"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="157"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="160"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="163"/>
<source>Signal strength</source>
<extracomment>The name of the ParamType (ThingClass: kasaSwitch200, EventType: signalStrength, ID: {6387c4e3-b0c1-4151-a3c9-925929c2d51e})
----------
The name of the StateType ({6387c4e3-b0c1-4151-a3c9-925929c2d51e}) of ThingClass kasaSwitch200
----------
The name of the ParamType (ThingClass: kasaPlug110, EventType: signalStrength, ID: {cb16cfb0-6608-486f-abe5-264aa652704d})
----------
The name of the StateType ({cb16cfb0-6608-486f-abe5-264aa652704d}) of ThingClass kasaPlug110
----------
The name of the ParamType (ThingClass: kasaPlug100, EventType: signalStrength, ID: {1de7fac2-87f1-4c2b-9286-1b0895c5ac49})
----------
The name of the StateType ({1de7fac2-87f1-4c2b-9286-1b0895c5ac49}) of ThingClass kasaPlug100</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="166"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="169"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="172"/>
<source>Signal strength changed</source>
<extracomment>The name of the EventType ({6387c4e3-b0c1-4151-a3c9-925929c2d51e}) of ThingClass kasaSwitch200
----------
The name of the EventType ({cb16cfb0-6608-486f-abe5-264aa652704d}) of ThingClass kasaPlug110
----------
The name of the EventType ({1de7fac2-87f1-4c2b-9286-1b0895c5ac49}) of ThingClass kasaPlug100</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="175"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="178"/>
<source>Total energy consumed</source> <source>Total energy consumed</source>
<extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: totalEnergyConsumed, ID: {a3533121-69ee-44fd-8394-13373e8f960e}) <extracomment>The name of the ParamType (ThingClass: kasaPlug110, EventType: totalEnergyConsumed, ID: {a3533121-69ee-44fd-8394-13373e8f960e})
---------- ----------
@ -144,15 +177,15 @@ The name of the StateType ({a3533121-69ee-44fd-8394-13373e8f960e}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="145"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="181"/>
<source>Total energy consumed changed</source> <source>Total energy consumed changed</source>
<extracomment>The name of the EventType ({a3533121-69ee-44fd-8394-13373e8f960e}) of ThingClass kasaPlug110</extracomment> <extracomment>The name of the EventType ({a3533121-69ee-44fd-8394-13373e8f960e}) of ThingClass kasaPlug110</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="148"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="184"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="151"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="187"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="154"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="190"/>
<source>Turn on or off</source> <source>Turn on or off</source>
<extracomment>The name of the ActionType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200 <extracomment>The name of the ActionType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200
---------- ----------
@ -162,9 +195,9 @@ The name of the ActionType ({a8991ea0-89f0-477b-97fb-414dd7d185b3}) of ThingClas
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="157"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="193"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="160"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="196"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="163"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="199"/>
<source>Turned on or off</source> <source>Turned on or off</source>
<extracomment>The name of the EventType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200 <extracomment>The name of the EventType ({3b0daf6c-ba04-4ff1-a381-685c869665b1}) of ThingClass kasaSwitch200
---------- ----------
@ -174,8 +207,8 @@ The name of the EventType ({a8991ea0-89f0-477b-97fb-414dd7d185b3}) of ThingClass
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="166"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="202"/>
<location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="169"/> <location filename="../../../build-nymea-plugins-Desktop-Debug/tplink/plugininfo.h" line="205"/>
<source>tp-link</source> <source>tp-link</source>
<extracomment>The name of the vendor ({8603b6cf-52ec-4481-aca2-f29ebd6cd8a8}) <extracomment>The name of the vendor ({8603b6cf-52ec-4481-aca2-f29ebd6cd8a8})
---------- ----------