From c68f73075d10faaa44d636edde27daf59fdb726d Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sat, 31 Oct 2020 14:32:23 +0100 Subject: [PATCH] Shelly: Add support for the Shelly 3EM --- shelly/README.md | 1 + shelly/integrationpluginshelly.cpp | 95 +- shelly/integrationpluginshelly.json | 284 ++++ ...2773b-0435-408c-a4f8-7860d38031a9-en_US.ts | 1149 +++++++++++------ 4 files changed, 1145 insertions(+), 384 deletions(-) diff --git a/shelly/README.md b/shelly/README.md index b088ba26..bd25c30a 100644 --- a/shelly/README.md +++ b/shelly/README.md @@ -10,6 +10,7 @@ The currently supported devices are: * Shelly RGBW2 * Shelly Dimmer / Dimmer 2 * Shelly Button 1 +* Shelly 3EM ## Requirements Shelly devices communicate with via MQTT. This means, in order to add Shelly devices to nymea, the nymea instance is required diff --git a/shelly/integrationpluginshelly.cpp b/shelly/integrationpluginshelly.cpp index 1ac21adf..0fb29ec5 100644 --- a/shelly/integrationpluginshelly.cpp +++ b/shelly/integrationpluginshelly.cpp @@ -65,6 +65,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_idParamTypeMap[shellyDimmerThingClassId] = shellyDimmerThingIdParamTypeId; m_idParamTypeMap[shelly25ThingClassId] = shelly25ThingIdParamTypeId; m_idParamTypeMap[shellyButton1ThingClassId] = shellyButton1ThingIdParamTypeId; + m_idParamTypeMap[shellyEm3ThingClassId] = shellyEm3ThingIdParamTypeId; m_usernameParamTypeMap[shelly1ThingClassId] = shelly1ThingUsernameParamTypeId; m_usernameParamTypeMap[shelly1pmThingClassId] = shelly1pmThingUsernameParamTypeId; @@ -73,6 +74,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_usernameParamTypeMap[shellyDimmerThingClassId] = shellyDimmerThingUsernameParamTypeId; m_usernameParamTypeMap[shelly25ThingClassId] = shelly25ThingUsernameParamTypeId; m_usernameParamTypeMap[shellyButton1ThingClassId] = shellyButton1ThingUsernameParamTypeId; + m_usernameParamTypeMap[shellyEm3ThingClassId] = shellyEm3ThingUsernameParamTypeId; m_passwordParamTypeMap[shelly1ThingClassId] = shelly1ThingPasswordParamTypeId; m_passwordParamTypeMap[shelly1pmThingClassId] = shelly1pmThingPasswordParamTypeId; @@ -81,6 +83,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_passwordParamTypeMap[shellyDimmerThingClassId] = shellyDimmerThingPasswordParamTypeId; m_passwordParamTypeMap[shelly25ThingClassId] = shelly25ThingPasswordParamTypeId; m_passwordParamTypeMap[shellyButton1ThingClassId] = shellyButton1ThingPasswordParamTypeId; + m_passwordParamTypeMap[shellyEm3ThingClassId] = shellyEm3ThingPasswordParamTypeId; m_connectedDeviceParamTypeMap[shelly1ThingClassId] = shelly1ThingConnectedDeviceParamTypeId; m_connectedDeviceParamTypeMap[shelly1pmThingClassId] = shelly1pmThingConnectedDeviceParamTypeId; @@ -104,6 +107,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_connectedStateTypesMap[shellyRgbw2ThingClassId] = shellyRgbw2ConnectedStateTypeId; m_connectedStateTypesMap[shellyDimmerThingClassId] = shellyDimmerConnectedStateTypeId; m_connectedStateTypesMap[shellyButton1ThingClassId] = shellyButton1ConnectedStateTypeId; + m_connectedStateTypesMap[shellyEm3ThingClassId] = shellyEm3ConnectedStateTypeId; m_connectedStateTypesMap[shellySwitchThingClassId] = shellySwitchConnectedStateTypeId; m_connectedStateTypesMap[shellyGenericThingClassId] = shellyGenericConnectedStateTypeId; m_connectedStateTypesMap[shellyLightThingClassId] = shellyLightConnectedStateTypeId; @@ -120,6 +124,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_signalStrengthStateTypesMap[shellyRgbw2ThingClassId] = shellyRgbw2SignalStrengthStateTypeId; m_signalStrengthStateTypesMap[shellyDimmerThingClassId] = shellyDimmerSignalStrengthStateTypeId; m_signalStrengthStateTypesMap[shellyButton1ThingClassId] = shellyButton1SignalStrengthStateTypeId; + m_signalStrengthStateTypesMap[shellyEm3ThingClassId] = shellyEm3SignalStrengthStateTypeId; m_signalStrengthStateTypesMap[shellySwitchThingClassId] = shellySwitchSignalStrengthStateTypeId; m_signalStrengthStateTypesMap[shellyGenericThingClassId] = shellyGenericSignalStrengthStateTypeId; m_signalStrengthStateTypesMap[shellyLightThingClassId] = shellyLightSignalStrengthStateTypeId; @@ -138,6 +143,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_powerStateTypeMap[shellyGenericPMThingClassId] = shellyGenericPMPowerStateTypeId; m_powerStateTypeMap[shellyLightPMThingClassId] = shellyLightPMPowerStateTypeId; m_powerStateTypeMap[shellySocketPMThingClassId] = shellySocketPMPowerStateTypeId; + m_powerStateTypeMap[shellyEm3ThingClassId] = shellyEm3PowerStateTypeId; m_currentPowerStateTypeMap[shellyPlugThingClassId] = shellyPlugCurrentPowerStateTypeId; m_currentPowerStateTypeMap[shellyRgbw2ThingClassId] = shellyRgbw2CurrentPowerStateTypeId; @@ -146,12 +152,14 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_currentPowerStateTypeMap[shellyLightPMThingClassId] = shellyLightPMCurrentPowerStateTypeId; m_currentPowerStateTypeMap[shellySocketPMThingClassId] = shellySocketPMCurrentPowerStateTypeId; m_currentPowerStateTypeMap[shellyRollerThingClassId] = shellyRollerCurrentPowerStateTypeId; + m_currentPowerStateTypeMap[shellyEm3ThingClassId] = shellyEm3CurrentPowerStateTypeId; m_totalEnergyConsumedStateTypeMap[shellyPlugThingClassId] = shellyPlugTotalEnergyConsumedStateTypeId; m_totalEnergyConsumedStateTypeMap[shellyGenericPMThingClassId] = shellyGenericPMTotalEnergyConsumedStateTypeId; m_totalEnergyConsumedStateTypeMap[shellyLightPMThingClassId] = shellyLightPMTotalEnergyConsumedStateTypeId; m_totalEnergyConsumedStateTypeMap[shellySocketPMThingClassId] = shellySocketPMTotalEnergyConsumedStateTypeId; m_totalEnergyConsumedStateTypeMap[shellyRollerThingClassId] = shellyRollerTotalEnergyConsumedStateTypeId; + m_totalEnergyConsumedStateTypeMap[shellyEm3ThingClassId] = shellyEm3TotalEnergyConsumedStateTypeId; m_colorStateTypeMap[shellyRgbw2ThingClassId] = shellyRgbw2ColorStateTypeId; m_colorTemperatureStateTypeMap[shellyRgbw2ThingClassId] = shellyRgbw2ColorTemperatureStateTypeId; @@ -166,6 +174,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_updateStatusStateTypesMap[shellyRgbw2ThingClassId] = shellyRgbw2UpdateStatusStateTypeId; m_updateStatusStateTypesMap[shellyDimmerThingClassId] = shellyDimmerUpdateStatusStateTypeId; m_updateStatusStateTypesMap[shellyButton1ThingClassId] = shellyButton1UpdateStatusStateTypeId; + m_updateStatusStateTypesMap[shellyEm3ThingClassId] = shellyEm3UpdateStatusStateTypeId; m_currentVersionStateTypesMap[shelly1ThingClassId] = shelly1CurrentVersionStateTypeId; m_currentVersionStateTypesMap[shelly1pmThingClassId] = shelly1pmCurrentVersionStateTypeId; @@ -174,6 +183,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_currentVersionStateTypesMap[shellyRgbw2ThingClassId] = shellyRgbw2CurrentVersionStateTypeId; m_currentVersionStateTypesMap[shellyDimmerThingClassId] = shellyDimmerCurrentVersionStateTypeId; m_currentVersionStateTypesMap[shellyButton1ThingClassId] = shellyButton1CurrentVersionStateTypeId; + m_currentVersionStateTypesMap[shellyEm3ThingClassId] = shellyEm3CurrentVersionStateTypeId; m_availableVersionStateTypesMap[shelly1ThingClassId] = shelly1AvailableVersionStateTypeId; m_availableVersionStateTypesMap[shelly1pmThingClassId] = shelly1pmAvailableVersionStateTypeId; @@ -182,6 +192,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_availableVersionStateTypesMap[shellyRgbw2ThingClassId] = shellyRgbw2AvailableVersionStateTypeId; m_availableVersionStateTypesMap[shellyDimmerThingClassId] = shellyDimmerAvailableVersionStateTypeId; m_availableVersionStateTypesMap[shellyButton1ThingClassId] = shellyButton1AvailableVersionStateTypeId; + m_availableVersionStateTypesMap[shellyEm3ThingClassId] = shellyEm3AvailableVersionStateTypeId; m_batteryLevelStateTypeMap[shellyButton1ThingClassId] = shellyButton1BatteryLevelStateTypeId; @@ -202,6 +213,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_powerActionTypesMap[shellyGenericPMPowerActionTypeId] = shellyGenericPMThingClassId; m_powerActionTypesMap[shellyLightPMPowerActionTypeId] = shellyLightPMThingClassId; m_powerActionTypesMap[shellySocketPMPowerActionTypeId] = shellySocketPMThingClassId; + m_powerActionTypesMap[shellyEm3PowerActionTypeId] = shellyEm3ThingClassId; m_powerActionParamTypesMap[shellyPlugPowerActionTypeId] = shellyPlugPowerActionPowerParamTypeId; m_powerActionParamTypesMap[shellyGenericPowerActionTypeId] = shellyGenericPowerActionPowerParamTypeId; @@ -210,6 +222,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_powerActionParamTypesMap[shellyGenericPMPowerActionTypeId] = shellyGenericPMPowerActionPowerParamTypeId; m_powerActionParamTypesMap[shellyLightPMPowerActionTypeId] = shellyLightPMPowerActionPowerParamTypeId; m_powerActionParamTypesMap[shellySocketPMPowerActionTypeId] = shellySocketPMPowerActionPowerParamTypeId; + m_powerActionParamTypesMap[shellyEm3PowerActionTypeId] = shellyEm3PowerActionPowerParamTypeId; m_colorPowerActionTypesMap[shellyRgbw2PowerActionTypeId] = shellyRgbw2ThingClassId; m_colorPowerActionParamTypesMap[shellyRgbw2PowerActionPowerParamTypeId] = shellyRgbw2PowerActionTypeId; @@ -240,6 +253,7 @@ IntegrationPluginShelly::IntegrationPluginShelly() m_updateActionTypesMap[shellyRgbw2PerformUpdateActionTypeId] = shellyRgbw2ThingClassId; m_updateActionTypesMap[shellyDimmerPerformUpdateActionTypeId] = shellyDimmerThingClassId; m_updateActionTypesMap[shellyButton1PerformUpdateActionTypeId] = shellyButton1ThingClassId; + m_updateActionTypesMap[shellyEm3PerformUpdateActionTypeId] = shellyEm3ThingClassId; } IntegrationPluginShelly::~IntegrationPluginShelly() @@ -270,6 +284,8 @@ void IntegrationPluginShelly::discoverThings(ThingDiscoveryInfo *info) namePattern = QRegExp("^shellyswitch25-[0-9A-Z]+$"); } else if (info->thingClassId() == shellyButton1ThingClassId) { namePattern = QRegExp("^shellybutton1-[0-9-A-Z]+$"); + } else if (info->thingClassId() == shellyEm3ThingClassId) { + namePattern = QRegExp("^shellyem3-[0-9A-Z]+$"); } if (!entry.name().contains(namePattern)) { continue; @@ -306,13 +322,7 @@ void IntegrationPluginShelly::setupThing(ThingSetupInfo *info) { Thing *thing = info->thing(); - if (thing->thingClassId() == shelly1ThingClassId - || thing->thingClassId() == shelly1pmThingClassId - || thing->thingClassId() == shellyPlugThingClassId - || thing->thingClassId() == shellyRgbw2ThingClassId - || thing->thingClassId() == shellyDimmerThingClassId - || thing->thingClassId() == shelly25ThingClassId - || thing->thingClassId() == shellyButton1ThingClassId) { + if (m_idParamTypeMap.contains(thing->thingClassId())) { setupShellyGateway(info); return; } @@ -486,6 +496,14 @@ void IntegrationPluginShelly::executeAction(ThingActionInfo *info) return; } + if (action.actionTypeId() == shellyEm3ResetActionTypeId) { + MqttChannel *channel = m_mqttChannels.value(thing); + QString shellyId = thing->paramValue(shellyEm3ThingIdParamTypeId).toString(); + channel->publish("shellies/" + shellyId + "/command", "reset_data"); + info->finish(Thing::ThingErrorNoError); + return; + } + if (action.actionTypeId() == shellyRollerCalibrateActionTypeId) { Thing *parentDevice = myThings().findById(thing->parentId()); MqttChannel *channel = m_mqttChannels.value(parentDevice); @@ -543,7 +561,7 @@ void IntegrationPluginShelly::onPublishReceived(MqttChannel *channel, const QStr return; } - qCDebug(dcShelly()) << "Publish received from" << thing->name() << topic << payload; + qCDebug(dcShelly()) << "Publish received from" << thing->name() << topic; QString shellyId = thing->paramValue(m_idParamTypeMap.value(thing->thingClassId())).toString(); if (topic == "shellies/" + shellyId + "/info") { @@ -554,7 +572,7 @@ void IntegrationPluginShelly::onPublishReceived(MqttChannel *channel, const QStr qCWarning(dcShelly()) << qUtf8Printable(payload); return; } - qCDebug(dcShelly()) << "Payload:" << qUtf8Printable(jsonDoc.toJson()); +// qCDebug(dcShelly()) << "Payload:" << qUtf8Printable(jsonDoc.toJson()); QVariantMap data = jsonDoc.toVariant().toMap(); // Wifi signal strength @@ -758,6 +776,65 @@ void IntegrationPluginShelly::onPublishReceived(MqttChannel *channel, const QStr thing->emitEvent(eventTypeId, ParamList() << Param(paramTypeId, param)); } } + + topicMatcher = QRegExp("shellies/" + shellyId + "/emeter/[0-2]/.*"); + if (topicMatcher.exactMatch(topic) && thing->thingClassId() == shellyEm3ThingClassId) { + int channel = topic.split('/').at(3).toInt(); + QString stateName = topic.split('/').at(4); + QVariant value = payload; + QHash> channelMap; + QHash stateTypeIdMap; + stateTypeIdMap["power"] = shellyEm3PhaseAPowerStateTypeId; + stateTypeIdMap["pf"] = shellyEm3PhaseAPowerFactorStateTypeId; + stateTypeIdMap["current"] = shellyEm3PhaseACurrentStateTypeId; + stateTypeIdMap["voltage"] = shellyEm3PhaseAVoltageStateTypeId; + stateTypeIdMap["total"] = shellyEm3PhaseATotalEnergyConsumedStateTypeId; + stateTypeIdMap["total_returned"] = shellyEm3PhaseATotalEnergyReturnedStateTypeId; + channelMap[0] = stateTypeIdMap; + stateTypeIdMap["power"] = shellyEm3PhaseBPowerStateTypeId; + stateTypeIdMap["pf"] = shellyEm3PhaseBPowerFactorStateTypeId; + stateTypeIdMap["current"] = shellyEm3PhaseBCurrentStateTypeId; + stateTypeIdMap["voltage"] = shellyEm3PhaseBVoltageStateTypeId; + stateTypeIdMap["total"] = shellyEm3PhaseBTotalEnergyConsumedStateTypeId; + stateTypeIdMap["total_returned"] = shellyEm3PhaseBTotalEnergyReturnedStateTypeId; + channelMap[1] = stateTypeIdMap; + stateTypeIdMap["power"] = shellyEm3PhaseCPowerStateTypeId; + stateTypeIdMap["pf"] = shellyEm3PhaseCPowerFactorStateTypeId; + stateTypeIdMap["current"] = shellyEm3PhaseCCurrentStateTypeId; + stateTypeIdMap["voltage"] = shellyEm3PhaseCVoltageStateTypeId; + stateTypeIdMap["total"] = shellyEm3PhaseCTotalEnergyConsumedStateTypeId; + stateTypeIdMap["total_returned"] = shellyEm3PhaseCTotalEnergyReturnedStateTypeId; + channelMap[2] = stateTypeIdMap; + StateTypeId stateTypeId = channelMap.value(channel).value(stateName); + if (stateTypeId.isNull()) { + qCWarning(dcShelly()) << "Unhandled emeter value for channel" << channel << stateName; + return; + } + double factor = 1; + if (stateName == "total" || stateName == "total_returned") { + factor = 0.001; + } + + thing->setStateValue(stateTypeId, value.toDouble() * factor); + + // Some optimization specific to the EM3: We receive each phase in a separate mqtt message + // and calculate the total ourselves. In order to not produce intermediate totals for each incoming message + // we'll only refresh the total when we get the last value for the last channel. + if (channel == 2 && stateName == "total_returned") { + double grandTotal = thing->stateValue(shellyEm3PhaseATotalEnergyConsumedStateTypeId).toDouble(); + grandTotal += thing->stateValue(shellyEm3PhaseBTotalEnergyConsumedStateTypeId).toDouble(); + grandTotal += thing->stateValue(shellyEm3PhaseCTotalEnergyConsumedStateTypeId).toDouble(); + thing->setStateValue(shellyEm3TotalEnergyConsumedStateTypeId, grandTotal); + double grandTotalReturned = thing->stateValue(shellyEm3PhaseATotalEnergyReturnedStateTypeId).toDouble(); + grandTotalReturned += thing->stateValue(shellyEm3PhaseBTotalEnergyReturnedStateTypeId).toDouble(); + grandTotalReturned += thing->stateValue(shellyEm3PhaseCTotalEnergyReturnedStateTypeId).toDouble(); + thing->setStateValue(shellyEm3TotalEnergyProducedStateTypeId, grandTotalReturned); + double totalPower = thing->stateValue(shellyEm3PhaseAPowerStateTypeId).toDouble(); + totalPower += thing->stateValue(shellyEm3PhaseBPowerStateTypeId).toDouble(); + totalPower += thing->stateValue(shellyEm3PhaseCPowerStateTypeId).toDouble(); + thing->setStateValue(shellyEm3CurrentPowerStateTypeId, totalPower); + } + } } void IntegrationPluginShelly::updateStatus() diff --git a/shelly/integrationpluginshelly.json b/shelly/integrationpluginshelly.json index 523a9f86..b2419e1b 100644 --- a/shelly/integrationpluginshelly.json +++ b/shelly/integrationpluginshelly.json @@ -925,6 +925,290 @@ } ] }, + { + "id": "ba293550-d2af-4463-b973-e1812ab67b96", + "name": "shellyEm3", + "displayName": "Shelly 3EM", + "createMethods": ["discovery"], + "interfaces": [ "extendedsmartmeterconsumer", "extendedsmartmeterproducer", "wirelessconnectable", "update"], + "paramTypes": [ + { + "id": "a80894d2-dfba-4699-892d-081702b0f1f5", + "name":"id", + "displayName": "Shelly ID", + "type": "QString", + "readOnly": true + }, + { + "id": "21e11417-b862-44e6-828f-d65207328630", + "name": "username", + "displayName": "Username (optional)", + "type": "QString" + }, + { + "id": "29aee8f6-ed40-41c5-83c9-32c8aa89c7ea", + "name": "password", + "displayName": "Password (optional)", + "type": "QString" + } + ], + "stateTypes": [ + { + "id": "08bd7743-af98-4328-bbca-64280afc5a87", + "name": "connected", + "displayName": "Connected", + "displayNameEvent": "Connected or disconnected", + "type": "bool", + "defaultValue": false, + "cached": false + }, + { + "id": "0f147c29-aefd-4926-a979-35dfeaec12c0", + "name": "signalStrength", + "displayName": "Signal strength", + "displayNameEvent": "Signal strength changed", + "type": "uint", + "minValue": 0, + "maxValue": 100, + "unit": "Percentage", + "defaultValue": 0 + }, + { + "id": "67050a5a-cc78-4d11-a7d9-a9db528029ff", + "name": "totalEnergyConsumed", + "displayName": "Total consumed energy", + "displayNameEvent": "Total consumed energy changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "088cb7df-9187-4206-ae5b-18a00e4f1969", + "name": "totalEnergyProduced", + "displayName": "Total returned energy", + "displayNameEvent": "Total returned energy changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "3fc2a87f-cd33-4d1f-b7a6-75ffcb4e7cc4", + "name": "currentPower", + "displayName": "Current power", + "displayNameEvent": "Current power changed", + "type": "double", + "unit": "Watt", + "defaultValue": 0 + }, + { + "id": "432ba180-936d-4700-907e-766264bfdd35", + "name": "phaseAPower", + "displayName": "Power (Phase A)", + "displayNameEvent": "Power (Phase A) changed", + "type": "double", + "unit": "Watt", + "defaultValue": 0 + }, + { + "id": "50be490b-ba5d-4b1f-806c-9e15b915c1eb", + "name": "phaseAPowerFactor", + "displayName": "Power factor (Phase A)", + "displayNameEvent": "Power factor (Phase A) changed", + "type": "double", + "defaultValue": 0 + }, + { + "id": "5fa79319-756b-4b2c-87b1-59ff996b8435", + "name": "phaseACurrent", + "displayName": "Current (Phase A)", + "displayNameEvent": "Current (Phase A) changed", + "type": "double", + "unit": "Ampere", + "defaultValue": 0 + }, + { + "id": "5977ffab-cdcf-409c-940b-aa0a59de84a5", + "name": "phaseAVoltage", + "displayName": "Voltage (Phase A)", + "displayNameEvent": "Voltage (Phase A) changed", + "type": "double", + "unit": "Volt", + "defaultValue": 0 + }, + { + "id": "ba25ef68-bb52-4e96-a8fb-137aae966104", + "name": "phaseATotalEnergyConsumed", + "displayName": "Total consumed energy (Phase A)", + "displayNameEvent": "Total consumed energy (Phase A) changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "34562cd3-b178-4f68-903d-a01e20d0ad76", + "name": "phaseATotalEnergyReturned", + "displayName": "Total returned energy (Phase A)", + "displayNameEvent": "Total returned energy (Phase A) changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "02edeedb-8a93-41f8-8bc5-09031b7d2d4d", + "name": "phaseBPower", + "displayName": "Power (Phase B)", + "displayNameEvent": "Power (Phase B) changed", + "type": "double", + "unit": "Watt", + "defaultValue": 0 + }, + { + "id": "f56504bb-0c6c-4425-831c-771b23aadf19", + "name": "phaseBPowerFactor", + "displayName": "Power factor (Phase B)", + "displayNameEvent": "Power factor (Phase B) changed", + "type": "double", + "defaultValue": 0 + }, + { + "id": "a4151601-fe77-418a-a2c1-6376e32da3bd", + "name": "phaseBCurrent", + "displayName": "Current (Phase B)", + "displayNameEvent": "Current (Phase B) changed", + "type": "double", + "unit": "Ampere", + "defaultValue": 0 + }, + { + "id": "7c846993-fb06-48ef-987c-7b35d9671070", + "name": "phaseBVoltage", + "displayName": "Voltage (Phase B)", + "displayNameEvent": "Voltage (Phase B) changed", + "type": "double", + "unit": "Volt", + "defaultValue": 0 + }, + { + "id": "6636e6a0-e3ca-4654-9506-4302c4e8eed7", + "name": "phaseBTotalEnergyConsumed", + "displayName": "Total consumed energy (Phase B)", + "displayNameEvent": "Total consumed energy (Phase B) changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "d70a0d1a-cac1-4250-85fa-4859ad2dc947", + "name": "phaseBTotalEnergyReturned", + "displayName": "Total returned energy (Phase B)", + "displayNameEvent": "Total returned energy (Phase B) changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "82277a4e-49cc-45f4-8b29-470ce99333b6", + "name": "phaseCPower", + "displayName": "Power (Phase C)", + "displayNameEvent": "Power (Phase C) changed", + "type": "double", + "unit": "Watt", + "defaultValue": 0 + }, + { + "id": "2e2c622f-1575-4d0b-a0c0-78bc03748c1e", + "name": "phaseCPowerFactor", + "displayName": "Power factor (Phase C)", + "displayNameEvent": "Power factor (Phase C) changed", + "type": "double", + "defaultValue": 0 + }, + { + "id": "ab78aa9c-aa73-4f5d-8d21-38c83c5e9e7c", + "name": "phaseCCurrent", + "displayName": "Current (Phase C)", + "displayNameEvent": "Current (Phase C) changed", + "type": "double", + "unit": "Ampere", + "defaultValue": 0 + }, + { + "id": "cd7af1b2-d5f0-4c2e-b85c-84f23ae1fbb9", + "name": "phaseCVoltage", + "displayName": "Voltage (Phase C)", + "displayNameEvent": "Voltage (Phase C) changed", + "type": "double", + "unit": "Volt", + "defaultValue": 0 + }, + { + "id": "452c2159-aa2f-4217-80e5-4b492b69671e", + "name": "phaseCTotalEnergyConsumed", + "displayName": "Total consumed energy (Phase C)", + "displayNameEvent": "Total consumed energy (Phase C) changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "de248e26-b617-4d22-9175-752e2d695274", + "name": "phaseCTotalEnergyReturned", + "displayName": "Total returned energy (Phase C)", + "displayNameEvent": "Total returned energy (Phase C) changed", + "type": "double", + "unit": "KiloWattHour", + "defaultValue": 0 + }, + { + "id": "8e25bbc2-54d8-4aa1-8ca5-f61b5f17a03b", + "name": "updateStatus", + "displayName": "Update status", + "displayNameEvent": "Update status changed", + "type": "QString", + "possibleValues": ["idle", "available", "updating"], + "defaultValue": "idle" + }, + { + "id": "f9ddb9f1-1251-484e-bdce-531d584d8f6a", + "name": "currentVersion", + "displayName": "Current firmware version", + "displayNameEvent": "Current firmware version changed", + "type": "QString", + "defaultValue": "" + }, + { + "id": "27f1e394-642f-4a90-88bf-1ef9ba88b10b", + "name": "availableVersion", + "displayName": "Available firmware version", + "displayNameEvent": "Available firmware version changed", + "type": "QString", + "defaultValue": "" + }, + { + "id": "639dda4c-e354-43ca-a785-fbe6806986e2", + "name": "power", + "displayName": "Powered", + "displayNameEvent": "Turned on or off", + "displayNameAction": "Turn on or off", + "type": "bool", + "defaultValue": false, + "writable": true, + "ioType": "digitalOutput" + } + ], + "actionTypes": [ + { + "id": "f230d689-53f8-4542-9b20-9993b1c2eb27", + "name": "performUpdate", + "displayName": "Start firmware update" + }, + { + "id": "87772e43-1bf7-496b-b8be-46db39f71700", + "name": "reset", + "displayName": "Reset data" + } + ] + }, { "id": "512c3c7d-d6a6-4d2a-bccd-83147e5f9a25", "name": "shellyGeneric", diff --git a/shelly/translations/6162773b-0435-408c-a4f8-7860d38031a9-en_US.ts b/shelly/translations/6162773b-0435-408c-a4f8-7860d38031a9-en_US.ts index b76fd876..99669686 100644 --- a/shelly/translations/6162773b-0435-408c-a4f8-7860d38031a9-en_US.ts +++ b/shelly/translations/6162773b-0435-408c-a4f8-7860d38031a9-en_US.ts @@ -4,38 +4,38 @@ IntegrationPluginShelly - + Unable to find the thing in the network. - + Roller shutter mode can't be mixed with relay mode. Please configure both connected devices to control a shutter or relays. - - + + For using a roller shutter, one channel must be set to up, the other to down. - + Error creating MQTT channel. Please check MQTT server settings. - + Username and password not set correctly. - + Error connecting to Shelly device. - + Unexpected data received from Shelly device. @@ -43,22 +43,28 @@ shelly - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + Available firmware version - The name of the ParamType (ThingClass: shellyButton1, EventType: availableVersion, ID: {46f33cf8-82bf-4798-9100-69f54aabd9e0}) + The name of the ParamType (ThingClass: shellyEm3, EventType: availableVersion, ID: {27f1e394-642f-4a90-88bf-1ef9ba88b10b}) +---------- +The name of the StateType ({27f1e394-642f-4a90-88bf-1ef9ba88b10b}) of ThingClass shellyEm3 +---------- +The name of the ParamType (ThingClass: shellyButton1, EventType: availableVersion, ID: {46f33cf8-82bf-4798-9100-69f54aabd9e0}) ---------- The name of the StateType ({46f33cf8-82bf-4798-9100-69f54aabd9e0}) of ThingClass shellyButton1 ---------- @@ -88,15 +94,18 @@ The name of the StateType ({6e794011-d184-4ab2-9c3a-3b2205880cbc}) of ThingClass - - - - - - - + + + + + + + + Available firmware version changed - The name of the EventType ({46f33cf8-82bf-4798-9100-69f54aabd9e0}) of ThingClass shellyButton1 + The name of the EventType ({27f1e394-642f-4a90-88bf-1ef9ba88b10b}) of ThingClass shellyEm3 +---------- +The name of the EventType ({46f33cf8-82bf-4798-9100-69f54aabd9e0}) of ThingClass shellyButton1 ---------- The name of the EventType ({e6418140-db00-4f9b-a7fc-bf4a56a3a8a7}) of ThingClass shellyDimmer ---------- @@ -112,14 +121,14 @@ The name of the EventType ({6e794011-d184-4ab2-9c3a-3b2205880cbc}) of ThingClass - + Battery critical changed The name of the EventType ({18edddee-1b30-48e4-b233-1e3b68bd6ff1}) of ThingClass shellyButton1 - - + + Battery level The name of the ParamType (ThingClass: shellyButton1, EventType: batteryLevel, ID: {338355e5-9506-48b1-be86-757d69b34755}) ---------- @@ -127,14 +136,14 @@ The name of the StateType ({338355e5-9506-48b1-be86-757d69b34755}) of ThingClass - + Battery level changed The name of the EventType ({338355e5-9506-48b1-be86-757d69b34755}) of ThingClass shellyButton1 - - + + Battery level critical The name of the ParamType (ThingClass: shellyButton1, EventType: batteryCritical, ID: {18edddee-1b30-48e4-b233-1e3b68bd6ff1}) ---------- @@ -142,12 +151,12 @@ The name of the StateType ({18edddee-1b30-48e4-b233-1e3b68bd6ff1}) of ThingClass - - - - - - + + + + + + Brightness The name of the ParamType (ThingClass: shellyDimmer, ActionType: brightness, ID: {f41c93ac-6911-45fc-9221-7dd26bf65fd0}) ---------- @@ -163,8 +172,8 @@ The name of the StateType ({3f74eb92-d95b-48c2-8ac6-29bea9f65ce3}) of ThingClass - - + + Brightness changed The name of the EventType ({f41c93ac-6911-45fc-9221-7dd26bf65fd0}) of ThingClass shellyDimmer ---------- @@ -172,26 +181,26 @@ The name of the EventType ({3f74eb92-d95b-48c2-8ac6-29bea9f65ce3}) of ThingClass - + Button type The name of the ParamType (ThingClass: shellySwitch, Type: settings, ID: {ce9f1650-5e12-40f4-97de-27af86afa40b}) - + Calibrate The name of the ActionType ({4e2d8a7b-821e-4ee8-9f9b-f774d631845f}) of ThingClass shellyRoller - - - - - - - - + + + + + + + + Channel The name of the ParamType (ThingClass: shellyRoller, Type: thing, ID: {281385a5-5084-4ded-80a4-66c0dc1096a8}) ---------- @@ -211,15 +220,15 @@ The name of the ParamType (ThingClass: shellySwitch, Type: thing, ID: {be6bdd43- - + Close The name of the ActionType ({87eb0290-615e-4c98-9ec8-a21104fcf05d}) of ThingClass shellyRoller - - - + + + Color The name of the ParamType (ThingClass: shellyRgbw2, ActionType: color, ID: {6ef7c686-350d-4069-9c41-9b90b3906748}) ---------- @@ -229,15 +238,15 @@ The name of the StateType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass - + Color changed The name of the EventType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass shellyRgbw2 - - - + + + Color temperature The name of the ParamType (ThingClass: shellyRgbw2, ActionType: colorTemperature, ID: {a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) ---------- @@ -247,42 +256,44 @@ The name of the StateType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass - + Color temperature changed The name of the EventType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass shellyRgbw2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Connected The name of the ParamType (ThingClass: shellyRoller, EventType: connected, ID: {d446719d-628e-477d-882c-a84210c85869}) ---------- @@ -312,6 +323,10 @@ The name of the ParamType (ThingClass: shellyGeneric, EventType: connected, ID: ---------- The name of the StateType ({4a141674-faa6-4953-8272-5b4a4da84d31}) of ThingClass shellyGeneric ---------- +The name of the ParamType (ThingClass: shellyEm3, EventType: connected, ID: {08bd7743-af98-4328-bbca-64280afc5a87}) +---------- +The name of the StateType ({08bd7743-af98-4328-bbca-64280afc5a87}) of ThingClass shellyEm3 +---------- The name of the ParamType (ThingClass: shellySwitch, EventType: connected, ID: {0c233312-7b8f-4ca3-880d-523cab9b3ccb}) ---------- The name of the StateType ({0c233312-7b8f-4ca3-880d-523cab9b3ccb}) of ThingClass shellySwitch @@ -346,10 +361,10 @@ The name of the StateType ({e5d41e05-2296-457e-97d8-98a5ac0de615}) of ThingClass - - - - + + + + Connected changed The name of the EventType ({584b3558-5fb5-40a9-81ad-dc71ba68fd45}) of ThingClass shellyPlug ---------- @@ -361,8 +376,8 @@ The name of the EventType ({e5d41e05-2296-457e-97d8-98a5ac0de615}) of ThingClass - - + + Connected device The name of the ParamType (ThingClass: shelly1pm, Type: thing, ID: {3aacd693-3f1a-4040-be3a-953e600da44f}) ---------- @@ -370,26 +385,27 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {d0e0499e-faa0- - + Connected device 1 The name of the ParamType (ThingClass: shelly25, Type: thing, ID: {dc8a02fb-baa4-40bf-9e00-684b17794287}) - + Connected device 2 The name of the ParamType (ThingClass: shelly25, Type: thing, ID: {1e6925f8-1613-4fe4-8234-e4a4e973ef83}) - - - - - - - - + + + + + + + + + Connected or disconnected The name of the EventType ({d446719d-628e-477d-882c-a84210c85869}) of ThingClass shellyRoller ---------- @@ -405,13 +421,15 @@ The name of the EventType ({5ec936f8-694d-43f4-b3a2-fdc77d38feab}) of ThingClass ---------- The name of the EventType ({4a141674-faa6-4953-8272-5b4a4da84d31}) of ThingClass shellyGeneric ---------- +The name of the EventType ({08bd7743-af98-4328-bbca-64280afc5a87}) of ThingClass shellyEm3 +---------- The name of the EventType ({0c233312-7b8f-4ca3-880d-523cab9b3ccb}) of ThingClass shellySwitch - - - + + + Connected/disconnected The name of the EventType ({d23e25a1-f723-4de1-806a-83fb073f01f4}) of ThingClass shellyButton1 ---------- @@ -421,14 +439,14 @@ The name of the EventType ({98b6e1ba-8d5c-4cb1-82a0-2d06c71cdba6}) of ThingClass - + Consumed energy changed The name of the EventType ({962fec29-6be0-452e-87c5-5ff71435c40f}) of ThingClass shellyPlug - - + + Count The name of the ParamType (ThingClass: shellyButton1, EventType: longPressed, ID: {f8b5f587-d266-4fd3-9f01-941d0dcedc1f}) ---------- @@ -436,33 +454,102 @@ The name of the ParamType (ThingClass: shellyButton1, EventType: pressed, ID: {a - - + + + Current (Phase A) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseACurrent, ID: {5fa79319-756b-4b2c-87b1-59ff996b8435}) +---------- +The name of the StateType ({5fa79319-756b-4b2c-87b1-59ff996b8435}) of ThingClass shellyEm3 + + + + + Current (Phase A) changed + The name of the EventType ({5fa79319-756b-4b2c-87b1-59ff996b8435}) of ThingClass shellyEm3 + + + + + + Current (Phase B) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseBCurrent, ID: {a4151601-fe77-418a-a2c1-6376e32da3bd}) +---------- +The name of the StateType ({a4151601-fe77-418a-a2c1-6376e32da3bd}) of ThingClass shellyEm3 + + + + + Current (Phase B) changed + The name of the EventType ({a4151601-fe77-418a-a2c1-6376e32da3bd}) of ThingClass shellyEm3 + + + + + + Current (Phase C) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseCCurrent, ID: {ab78aa9c-aa73-4f5d-8d21-38c83c5e9e7c}) +---------- +The name of the StateType ({ab78aa9c-aa73-4f5d-8d21-38c83c5e9e7c}) of ThingClass shellyEm3 + + + + + Current (Phase C) changed + The name of the EventType ({ab78aa9c-aa73-4f5d-8d21-38c83c5e9e7c}) of ThingClass shellyEm3 + + + + + + + Current firmware version - The name of the ParamType (ThingClass: shellyButton1, EventType: currentVersion, ID: {b17a7df2-952b-4cdd-8d28-a8e8582b49d4}) + The name of the ParamType (ThingClass: shellyEm3, EventType: currentVersion, ID: {f9ddb9f1-1251-484e-bdce-531d584d8f6a}) +---------- +The name of the StateType ({f9ddb9f1-1251-484e-bdce-531d584d8f6a}) of ThingClass shellyEm3 +---------- +The name of the ParamType (ThingClass: shellyButton1, EventType: currentVersion, ID: {b17a7df2-952b-4cdd-8d28-a8e8582b49d4}) ---------- The name of the StateType ({b17a7df2-952b-4cdd-8d28-a8e8582b49d4}) of ThingClass shellyButton1 - + + Current firmware version changed - The name of the EventType ({b17a7df2-952b-4cdd-8d28-a8e8582b49d4}) of ThingClass shellyButton1 + The name of the EventType ({f9ddb9f1-1251-484e-bdce-531d584d8f6a}) of ThingClass shellyEm3 +---------- +The name of the EventType ({b17a7df2-952b-4cdd-8d28-a8e8582b49d4}) of ThingClass shellyButton1 - - - - - - - - - - - - + + + Current power + The name of the ParamType (ThingClass: shellyEm3, EventType: currentPower, ID: {3fc2a87f-cd33-4d1f-b7a6-75ffcb4e7cc4}) +---------- +The name of the StateType ({3fc2a87f-cd33-4d1f-b7a6-75ffcb4e7cc4}) of ThingClass shellyEm3 + + + + + Current power changed + The name of the EventType ({3fc2a87f-cd33-4d1f-b7a6-75ffcb4e7cc4}) of ThingClass shellyEm3 + + + + + + + + + + + + + + + Current power consumption The name of the ParamType (ThingClass: shellyRoller, EventType: currentPower, ID: {0d7cb1cf-3fff-4d0b-96c2-c02e9a92af57}) ---------- @@ -490,8 +577,8 @@ The name of the StateType ({82ce0c4f-cb81-43c7-bc07-003f8a3cfbc8}) of ThingClass - - + + Current power consumption changed The name of the EventType ({b3336ca6-1577-4230-8708-98875148606e}) of ThingClass shellyDimmer ---------- @@ -499,13 +586,13 @@ The name of the EventType ({82ce0c4f-cb81-43c7-bc07-003f8a3cfbc8}) of ThingClass - - - - - - - + + + + + + + Default state The name of the ParamType (ThingClass: shellySocketPM, Type: settings, ID: {9880a51b-57da-4b65-a0ec-23eb0fdcb8ac}) ---------- @@ -523,8 +610,8 @@ The name of the ParamType (ThingClass: shellyPlug, Type: settings, ID: {40f251db - - + + Firmware update status The name of the ParamType (ThingClass: shellyDimmer, EventType: updateStatus, ID: {8d3b3d63-86f1-46cb-92ef-d27c0d9d0a4e}) ---------- @@ -532,24 +619,24 @@ The name of the StateType ({8d3b3d63-86f1-46cb-92ef-d27c0d9d0a4e}) of ThingClass - + Firmware update status changed The name of the EventType ({8d3b3d63-86f1-46cb-92ef-d27c0d9d0a4e}) of ThingClass shellyDimmer - - - - - - - - - - - - + + + + + + + + + + + + Firmware version The name of the ParamType (ThingClass: shellyDimmer, EventType: currentVersion, ID: {2fac7af0-1aa0-4e8d-b3fb-584b49647887}) ---------- @@ -577,12 +664,12 @@ The name of the StateType ({e033cca0-03fa-4b2e-9d7b-d4a2c8ffbb8c}) of ThingClass - - - - - - + + + + + + Firmware version changed The name of the EventType ({2fac7af0-1aa0-4e8d-b3fb-584b49647887}) of ThingClass shellyDimmer ---------- @@ -598,32 +685,32 @@ The name of the EventType ({e033cca0-03fa-4b2e-9d7b-d4a2c8ffbb8c}) of ThingClass - + Invert button The name of the ParamType (ThingClass: shellySwitch, Type: settings, ID: {f31eb52b-9aaf-409d-8bba-badda7c1a249}) - + Longpress duration The name of the ParamType (ThingClass: shellyButton1, Type: settings, ID: {b98423a8-c758-4dae-b979-e22446d06b22}) - + Longpressed The name of the EventType ({47cab6b6-eed3-4628-b3ad-2ceda26d6f84}) of ThingClass shellyButton1 - + Max time between multiple presses The name of the ParamType (ThingClass: shellyButton1, Type: settings, ID: {b1f5a911-76ec-42e5-ac64-17f85d82b875}) - - + + Moving The name of the ParamType (ThingClass: shellyRoller, EventType: moving, ID: {2729d4e0-c38c-47b8-a0e8-26959090fe74}) ---------- @@ -631,18 +718,18 @@ The name of the StateType ({2729d4e0-c38c-47b8-a0e8-26959090fe74}) of ThingClass - + Moving changed The name of the EventType ({2729d4e0-c38c-47b8-a0e8-26959090fe74}) of ThingClass shellyRoller - - - - - - + + + + + + On The name of the ParamType (ThingClass: shellyDimmer, ActionType: power, ID: {e4a6ac87-31fb-4516-9cf3-f135621e902c}) ---------- @@ -658,8 +745,8 @@ The name of the StateType ({14abcd30-9db2-4065-ae81-501a55fbb145}) of ThingClass - - + + On/Off The name of the ParamType (ThingClass: shellySwitch, EventType: power, ID: {20f74d88-0683-4d3a-9513-6b29b5112b7b}) ---------- @@ -667,27 +754,30 @@ The name of the StateType ({20f74d88-0683-4d3a-9513-6b29b5112b7b}) of ThingClass - + On/Off toggled The name of the EventType ({20f74d88-0683-4d3a-9513-6b29b5112b7b}) of ThingClass shellySwitch - + Open The name of the ActionType ({b96a8f85-c39e-499b-abbd-40b18788e907}) of ThingClass shellyRoller - - - - - - - + + + + + + + + Password (optional) - The name of the ParamType (ThingClass: shellyButton1, Type: thing, ID: {bf9a47c4-0773-461e-af5b-c1bd90167646}) + The name of the ParamType (ThingClass: shellyEm3, Type: thing, ID: {29aee8f6-ed40-41c5-83c9-32c8aa89c7ea}) +---------- +The name of the ParamType (ThingClass: shellyButton1, Type: thing, ID: {bf9a47c4-0773-461e-af5b-c1bd90167646}) ---------- The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {b181bf78-a19c-4f97-9264-f16fbac64ee2}) ---------- @@ -703,9 +793,9 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {d29b8399-bfa6- - - - + + + Position The name of the ParamType (ThingClass: shellyRoller, ActionType: percentage, ID: {86270b8b-bce4-4d8a-9bc9-d72af36b991c}) ---------- @@ -715,30 +805,30 @@ The name of the StateType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass - + Position changed The name of the EventType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass shellyRoller - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + Power The name of the ParamType (ThingClass: shellySocketPM, ActionType: power, ID: {d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) ---------- @@ -778,8 +868,53 @@ The name of the StateType ({72d7dbba-757c-4b03-a092-1d3f374fa961}) of ThingClass - - + + + Power (Phase A) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseAPower, ID: {432ba180-936d-4700-907e-766264bfdd35}) +---------- +The name of the StateType ({432ba180-936d-4700-907e-766264bfdd35}) of ThingClass shellyEm3 + + + + + Power (Phase A) changed + The name of the EventType ({432ba180-936d-4700-907e-766264bfdd35}) of ThingClass shellyEm3 + + + + + + Power (Phase B) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseBPower, ID: {02edeedb-8a93-41f8-8bc5-09031b7d2d4d}) +---------- +The name of the StateType ({02edeedb-8a93-41f8-8bc5-09031b7d2d4d}) of ThingClass shellyEm3 + + + + + Power (Phase B) changed + The name of the EventType ({02edeedb-8a93-41f8-8bc5-09031b7d2d4d}) of ThingClass shellyEm3 + + + + + + Power (Phase C) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseCPower, ID: {82277a4e-49cc-45f4-8b29-470ce99333b6}) +---------- +The name of the StateType ({82277a4e-49cc-45f4-8b29-470ce99333b6}) of ThingClass shellyEm3 + + + + + Power (Phase C) changed + The name of the EventType ({82277a4e-49cc-45f4-8b29-470ce99333b6}) of ThingClass shellyEm3 + + + + + Power consumption The name of the ParamType (ThingClass: shellyPlug, EventType: currentPower, ID: {202ea409-650e-48b2-9aae-d4ebe9d505fd}) ---------- @@ -787,11 +922,11 @@ The name of the StateType ({202ea409-650e-48b2-9aae-d4ebe9d505fd}) of ThingClass - - - - - + + + + + Power consumption changed The name of the EventType ({0d7cb1cf-3fff-4d0b-96c2-c02e9a92af57}) of ThingClass shellyRoller ---------- @@ -805,11 +940,65 @@ The name of the EventType ({202ea409-650e-48b2-9aae-d4ebe9d505fd}) of ThingClass - - - + + + Power factor (Phase A) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseAPowerFactor, ID: {50be490b-ba5d-4b1f-806c-9e15b915c1eb}) +---------- +The name of the StateType ({50be490b-ba5d-4b1f-806c-9e15b915c1eb}) of ThingClass shellyEm3 + + + + + Power factor (Phase A) changed + The name of the EventType ({50be490b-ba5d-4b1f-806c-9e15b915c1eb}) of ThingClass shellyEm3 + + + + + + Power factor (Phase B) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseBPowerFactor, ID: {f56504bb-0c6c-4425-831c-771b23aadf19}) +---------- +The name of the StateType ({f56504bb-0c6c-4425-831c-771b23aadf19}) of ThingClass shellyEm3 + + + + + Power factor (Phase B) changed + The name of the EventType ({f56504bb-0c6c-4425-831c-771b23aadf19}) of ThingClass shellyEm3 + + + + + + Power factor (Phase C) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseCPowerFactor, ID: {2e2c622f-1575-4d0b-a0c0-78bc03748c1e}) +---------- +The name of the StateType ({2e2c622f-1575-4d0b-a0c0-78bc03748c1e}) of ThingClass shellyEm3 + + + + + Power factor (Phase C) changed + The name of the EventType ({2e2c622f-1575-4d0b-a0c0-78bc03748c1e}) of ThingClass shellyEm3 + + + + + + + + + Powered - The name of the ParamType (ThingClass: shellyPlug, ActionType: power, ID: {d813b35f-e11e-4783-b3b3-dbecb956ffb5}) + The name of the ParamType (ThingClass: shellyEm3, ActionType: power, ID: {639dda4c-e354-43ca-a785-fbe6806986e2}) +---------- +The name of the ParamType (ThingClass: shellyEm3, EventType: power, ID: {639dda4c-e354-43ca-a785-fbe6806986e2}) +---------- +The name of the StateType ({639dda4c-e354-43ca-a785-fbe6806986e2}) of ThingClass shellyEm3 +---------- +The name of the ParamType (ThingClass: shellyPlug, ActionType: power, ID: {d813b35f-e11e-4783-b3b3-dbecb956ffb5}) ---------- The name of the ParamType (ThingClass: shellyPlug, EventType: power, ID: {d813b35f-e11e-4783-b3b3-dbecb956ffb5}) ---------- @@ -817,8 +1006,8 @@ The name of the StateType ({d813b35f-e11e-4783-b3b3-dbecb956ffb5}) of ThingClass - - + + Pressed The name of the EventType ({41498655-1943-4b46-ac36-adea7bafab87}) of ThingClass shellySwitch ---------- @@ -826,12 +1015,12 @@ The name of the EventType ({25955cb9-dc0e-48dc-91b1-ba27e30a3a3f}) of ThingClass - - - - - - + + + + + + Reboot The name of the ActionType ({dca1d1bb-b377-41b8-ac26-579060448fd7}) of ThingClass shellyDimmer ---------- @@ -847,14 +1036,20 @@ The name of the ActionType ({b4067d54-36c5-4d30-bbc3-c8c712d6fd32}) of ThingClas - + Remain awake The name of the ParamType (ThingClass: shellyButton1, Type: settings, ID: {45d4628d-7d8c-43b6-ac86-6232caa5816f}) - - + + Reset data + The name of the ActionType ({87772e43-1bf7-496b-b8be-46db39f71700}) of ThingClass shellyEm3 + + + + + Set brightness The name of the ActionType ({f41c93ac-6911-45fc-9221-7dd26bf65fd0}) of ThingClass shellyDimmer ---------- @@ -862,26 +1057,26 @@ The name of the ActionType ({3f74eb92-d95b-48c2-8ac6-29bea9f65ce3}) of ThingClas - + Set color The name of the ActionType ({6ef7c686-350d-4069-9c41-9b90b3906748}) of ThingClass shellyRgbw2 - + Set color temperature The name of the ActionType ({a32a457f-fdc0-46ce-9106-6f9d4f4a6b16}) of ThingClass shellyRgbw2 - + Set position The name of the ActionType ({86270b8b-bce4-4d8a-9bc9-d72af36b991c}) of ThingClass shellyRoller - - + + Shelly The name of the vendor ({d8e45fc2-90af-492e-8305-50baa1ec4c18}) ---------- @@ -889,39 +1084,48 @@ The name of the plugin shelly ({6162773b-0435-408c-a4f8-7860d38031a9}) - + Shelly 1 The name of the ThingClass ({f810b66a-7177-4397-9771-4229abaabbb6}) - + Shelly 1PM The name of the ThingClass ({30e74e9f-57f4-4bbc-b0df-f2c4f28b2f06}) - + Shelly 2.5 The name of the ThingClass ({465efb0d-da68-4177-a040-940c7f451e29}) - + + Shelly 3EM + The name of the ThingClass ({ba293550-d2af-4463-b973-e1812ab67b96}) + + + + Shelly Dimmer / Dimmer 2 The name of the ThingClass ({3a1d6fc1-c623-4b45-9c81-1573fcc15f99}) - - - - - - - + + + + + + + + Shelly ID - The name of the ParamType (ThingClass: shellyButton1, Type: thing, ID: {ef42a9f5-b6f4-4bb9-ad17-a9419be4a44e}) + The name of the ParamType (ThingClass: shellyEm3, Type: thing, ID: {a80894d2-dfba-4699-892d-081702b0f1f5}) +---------- +The name of the ParamType (ThingClass: shellyButton1, Type: thing, ID: {ef42a9f5-b6f4-4bb9-ad17-a9419be4a44e}) ---------- The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {32e328be-2357-4d94-b438-3fe1ae94d97b}) ---------- @@ -937,32 +1141,32 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {1d301dc0-5e48- - + Shelly Plug/PlugS The name of the ThingClass ({22229a6d-2af8-44e0-bea9-310a0f2769ef}) - + Shelly RGBW2 The name of the ThingClass ({17f24cec-e6ed-4abd-9d42-60999f391dba}) - + Shelly button 1 The name of the ThingClass ({3eba6b29-f634-4ade-80a3-2159803373cc}) - + Shelly connected Roller Shutter The name of the ThingClass ({d681a4cb-481a-4469-a49a-e6bbb11eb9c9}) - - + + Shelly connected device The name of the ThingClass ({3bd614e0-72c4-4fbe-8c70-ce6c48d04bce}) ---------- @@ -970,8 +1174,8 @@ The name of the ThingClass ({512c3c7d-d6a6-4d2a-bccd-83147e5f9a25}) - - + + Shelly connected light The name of the ThingClass ({5ab05c19-71aa-4a85-a02f-a108f039a69a}) ---------- @@ -979,8 +1183,8 @@ The name of the ThingClass ({62a2d6b8-d70d-45fc-ba8c-1c680282a399}) - - + + Shelly connected power socket The name of the ThingClass ({ae6e55fe-1a0b-43bc-bdfb-605661b96905}) ---------- @@ -988,42 +1192,44 @@ The name of the ThingClass ({3e13206c-a6cd-49a0-b653-2ccb5bb4bbc1}) - + Shelly switch The name of the ThingClass ({6de35a17-0f54-4397-894d-4321b64c53d1}) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Signal strength The name of the ParamType (ThingClass: shellyRoller, EventType: signalStrength, ID: {f46c52ce-58dd-4d07-bb69-e8b8719c41bc}) ---------- @@ -1053,6 +1259,10 @@ The name of the ParamType (ThingClass: shellyGeneric, EventType: signalStrength, ---------- The name of the StateType ({e48d19f1-e04b-4c5d-b515-15bb22060607}) of ThingClass shellyGeneric ---------- +The name of the ParamType (ThingClass: shellyEm3, EventType: signalStrength, ID: {0f147c29-aefd-4926-a979-35dfeaec12c0}) +---------- +The name of the StateType ({0f147c29-aefd-4926-a979-35dfeaec12c0}) of ThingClass shellyEm3 +---------- 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 @@ -1087,21 +1297,22 @@ The name of the StateType ({74c631ed-fc3d-49e8-9dec-99cafa70c559}) of ThingClass - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + Signal strength changed The name of the EventType ({f46c52ce-58dd-4d07-bb69-e8b8719c41bc}) of ThingClass shellyRoller ---------- @@ -1117,6 +1328,8 @@ The name of the EventType ({46cd6c28-b59a-4e20-b706-f202c0848b93}) of ThingClass ---------- The name of the EventType ({e48d19f1-e04b-4c5d-b515-15bb22060607}) of ThingClass shellyGeneric ---------- +The name of the EventType ({0f147c29-aefd-4926-a979-35dfeaec12c0}) of ThingClass shellyEm3 +---------- The name of the EventType ({5088cd2d-8f71-4cfb-a120-4a2d4a84355d}) of ThingClass shellySwitch ---------- The name of the EventType ({fff3aa51-ec42-40c7-b603-cbd2d58d781e}) of ThingClass shellyButton1 @@ -1135,22 +1348,85 @@ The name of the EventType ({74c631ed-fc3d-49e8-9dec-99cafa70c559}) of ThingClass - + + Start firmware update - The name of the ActionType ({87b24064-5db7-4590-a9d8-f6d8fd02ed6e}) of ThingClass shellyButton1 + The name of the ActionType ({f230d689-53f8-4542-9b20-9993b1c2eb27}) of ThingClass shellyEm3 +---------- +The name of the ActionType ({87b24064-5db7-4590-a9d8-f6d8fd02ed6e}) of ThingClass shellyButton1 - + Status LED enabled The name of the ParamType (ThingClass: shellyButton1, Type: settings, ID: {420298a7-bcf8-4970-951e-f6ee5efa1013}) - - - - + + + Total consumed energy + The name of the ParamType (ThingClass: shellyEm3, EventType: totalEnergyConsumed, ID: {67050a5a-cc78-4d11-a7d9-a9db528029ff}) +---------- +The name of the StateType ({67050a5a-cc78-4d11-a7d9-a9db528029ff}) of ThingClass shellyEm3 + + + + + + Total consumed energy (Phase A) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseATotalEnergyConsumed, ID: {ba25ef68-bb52-4e96-a8fb-137aae966104}) +---------- +The name of the StateType ({ba25ef68-bb52-4e96-a8fb-137aae966104}) of ThingClass shellyEm3 + + + + + Total consumed energy (Phase A) changed + The name of the EventType ({ba25ef68-bb52-4e96-a8fb-137aae966104}) of ThingClass shellyEm3 + + + + + + Total consumed energy (Phase B) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseBTotalEnergyConsumed, ID: {6636e6a0-e3ca-4654-9506-4302c4e8eed7}) +---------- +The name of the StateType ({6636e6a0-e3ca-4654-9506-4302c4e8eed7}) of ThingClass shellyEm3 + + + + + Total consumed energy (Phase B) changed + The name of the EventType ({6636e6a0-e3ca-4654-9506-4302c4e8eed7}) of ThingClass shellyEm3 + + + + + + Total consumed energy (Phase C) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseCTotalEnergyConsumed, ID: {452c2159-aa2f-4217-80e5-4b492b69671e}) +---------- +The name of the StateType ({452c2159-aa2f-4217-80e5-4b492b69671e}) of ThingClass shellyEm3 + + + + + Total consumed energy (Phase C) changed + The name of the EventType ({452c2159-aa2f-4217-80e5-4b492b69671e}) of ThingClass shellyEm3 + + + + + Total consumed energy changed + The name of the EventType ({67050a5a-cc78-4d11-a7d9-a9db528029ff}) of ThingClass shellyEm3 + + + + + + + Total energy changed The name of the EventType ({a7d88654-7503-474d-9a7c-02150d61a6dc}) of ThingClass shellyRoller ---------- @@ -1162,16 +1438,16 @@ The name of the EventType ({54b0b02e-1dfe-4172-bdfd-8129709e5d9f}) of ThingClass - - - - - - - - - - + + + + + + + + + + Total energy consumed The name of the ParamType (ThingClass: shellyRoller, EventType: totalEnergyConsumed, ID: {a7d88654-7503-474d-9a7c-02150d61a6dc}) ---------- @@ -1195,15 +1471,76 @@ The name of the StateType ({962fec29-6be0-452e-87c5-5ff71435c40f}) of ThingClass - - - - - - - - - + + + Total returned energy + The name of the ParamType (ThingClass: shellyEm3, EventType: totalEnergyProduced, ID: {088cb7df-9187-4206-ae5b-18a00e4f1969}) +---------- +The name of the StateType ({088cb7df-9187-4206-ae5b-18a00e4f1969}) of ThingClass shellyEm3 + + + + + + Total returned energy (Phase A) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseATotalEnergyReturned, ID: {34562cd3-b178-4f68-903d-a01e20d0ad76}) +---------- +The name of the StateType ({34562cd3-b178-4f68-903d-a01e20d0ad76}) of ThingClass shellyEm3 + + + + + Total returned energy (Phase A) changed + The name of the EventType ({34562cd3-b178-4f68-903d-a01e20d0ad76}) of ThingClass shellyEm3 + + + + + + Total returned energy (Phase B) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseBTotalEnergyReturned, ID: {d70a0d1a-cac1-4250-85fa-4859ad2dc947}) +---------- +The name of the StateType ({d70a0d1a-cac1-4250-85fa-4859ad2dc947}) of ThingClass shellyEm3 + + + + + Total returned energy (Phase B) changed + The name of the EventType ({d70a0d1a-cac1-4250-85fa-4859ad2dc947}) of ThingClass shellyEm3 + + + + + + Total returned energy (Phase C) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseCTotalEnergyReturned, ID: {de248e26-b617-4d22-9175-752e2d695274}) +---------- +The name of the StateType ({de248e26-b617-4d22-9175-752e2d695274}) of ThingClass shellyEm3 + + + + + Total returned energy (Phase C) changed + The name of the EventType ({de248e26-b617-4d22-9175-752e2d695274}) of ThingClass shellyEm3 + + + + + Total returned energy changed + The name of the EventType ({088cb7df-9187-4206-ae5b-18a00e4f1969}) of ThingClass shellyEm3 + + + + + + + + + + + + + Turn on or off The name of the ActionType ({d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) of ThingClass shellySocketPM ---------- @@ -1217,6 +1554,8 @@ The name of the ActionType ({bd9480af-eec2-42d7-ab17-15715ee2e8e0}) of ThingClas ---------- The name of the ActionType ({72d7dbba-757c-4b03-a092-1d3f374fa961}) of ThingClass shellyGeneric ---------- +The name of the ActionType ({639dda4c-e354-43ca-a785-fbe6806986e2}) of ThingClass shellyEm3 +---------- The name of the ActionType ({e4a6ac87-31fb-4516-9cf3-f135621e902c}) of ThingClass shellyDimmer ---------- The name of the ActionType ({14abcd30-9db2-4065-ae81-501a55fbb145}) of ThingClass shellyRgbw2 @@ -1225,15 +1564,16 @@ The name of the ActionType ({d813b35f-e11e-4783-b3b3-dbecb956ffb5}) of ThingClas - - - - - - - - - + + + + + + + + + + Turned on or off The name of the EventType ({d6adeab6-c91d-44ba-8d01-9b5b9b7368be}) of ThingClass shellySocketPM ---------- @@ -1247,6 +1587,8 @@ The name of the EventType ({bd9480af-eec2-42d7-ab17-15715ee2e8e0}) of ThingClass ---------- The name of the EventType ({72d7dbba-757c-4b03-a092-1d3f374fa961}) of ThingClass shellyGeneric ---------- +The name of the EventType ({639dda4c-e354-43ca-a785-fbe6806986e2}) of ThingClass shellyEm3 +---------- The name of the EventType ({e4a6ac87-31fb-4516-9cf3-f135621e902c}) of ThingClass shellyDimmer ---------- The name of the EventType ({14abcd30-9db2-4065-ae81-501a55fbb145}) of ThingClass shellyRgbw2 @@ -1255,12 +1597,12 @@ The name of the EventType ({d813b35f-e11e-4783-b3b3-dbecb956ffb5}) of ThingClass - - - - - - + + + + + + Update firmware The name of the ActionType ({893031b8-9abd-4a83-8da4-ea57acb621ad}) of ThingClass shellyDimmer ---------- @@ -1276,20 +1618,26 @@ The name of the ActionType ({6f814339-9a48-4027-a3f8-760742ff22ba}) of ThingClas - - - - - - - - - - - - + + + + + + + + + + + + + + Update status - The name of the ParamType (ThingClass: shellyButton1, EventType: updateStatus, ID: {aa3cbd93-192a-4035-8f46-c5ff68fe331b}) + The name of the ParamType (ThingClass: shellyEm3, EventType: updateStatus, ID: {8e25bbc2-54d8-4aa1-8ca5-f61b5f17a03b}) +---------- +The name of the StateType ({8e25bbc2-54d8-4aa1-8ca5-f61b5f17a03b}) of ThingClass shellyEm3 +---------- +The name of the ParamType (ThingClass: shellyButton1, EventType: updateStatus, ID: {aa3cbd93-192a-4035-8f46-c5ff68fe331b}) ---------- The name of the StateType ({aa3cbd93-192a-4035-8f46-c5ff68fe331b}) of ThingClass shellyButton1 ---------- @@ -1315,14 +1663,17 @@ The name of the StateType ({68bf3780-8f7f-4ecb-8498-830e257c192c}) of ThingClass - - - - - - + + + + + + + Update status changed - The name of the EventType ({aa3cbd93-192a-4035-8f46-c5ff68fe331b}) of ThingClass shellyButton1 + The name of the EventType ({8e25bbc2-54d8-4aa1-8ca5-f61b5f17a03b}) of ThingClass shellyEm3 +---------- +The name of the EventType ({aa3cbd93-192a-4035-8f46-c5ff68fe331b}) of ThingClass shellyButton1 ---------- The name of the EventType ({3d22110c-db53-4420-8e0f-314555484926}) of ThingClass shellyRgbw2 ---------- @@ -1336,15 +1687,18 @@ The name of the EventType ({68bf3780-8f7f-4ecb-8498-830e257c192c}) of ThingClass - - - - - - - + + + + + + + + Username (optional) - The name of the ParamType (ThingClass: shellyButton1, Type: thing, ID: {cc4a3365-b302-4782-9eec-ee6b66df8ed6}) + The name of the ParamType (ThingClass: shellyEm3, Type: thing, ID: {21e11417-b862-44e6-828f-d65207328630}) +---------- +The name of the ParamType (ThingClass: shellyButton1, Type: thing, ID: {cc4a3365-b302-4782-9eec-ee6b66df8ed6}) ---------- The name of the ParamType (ThingClass: shellyDimmer, Type: thing, ID: {2df0d509-d4b5-407a-835a-6b6392653e10}) ---------- @@ -1360,7 +1714,52 @@ The name of the ParamType (ThingClass: shelly1, Type: thing, ID: {fa1aa0f6-93b2- - + + + Voltage (Phase A) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseAVoltage, ID: {5977ffab-cdcf-409c-940b-aa0a59de84a5}) +---------- +The name of the StateType ({5977ffab-cdcf-409c-940b-aa0a59de84a5}) of ThingClass shellyEm3 + + + + + Voltage (Phase A) changed + The name of the EventType ({5977ffab-cdcf-409c-940b-aa0a59de84a5}) of ThingClass shellyEm3 + + + + + + Voltage (Phase B) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseBVoltage, ID: {7c846993-fb06-48ef-987c-7b35d9671070}) +---------- +The name of the StateType ({7c846993-fb06-48ef-987c-7b35d9671070}) of ThingClass shellyEm3 + + + + + Voltage (Phase B) changed + The name of the EventType ({7c846993-fb06-48ef-987c-7b35d9671070}) of ThingClass shellyEm3 + + + + + + Voltage (Phase C) + The name of the ParamType (ThingClass: shellyEm3, EventType: phaseCVoltage, ID: {cd7af1b2-d5f0-4c2e-b85c-84f23ae1fbb9}) +---------- +The name of the StateType ({cd7af1b2-d5f0-4c2e-b85c-84f23ae1fbb9}) of ThingClass shellyEm3 + + + + + Voltage (Phase C) changed + The name of the EventType ({cd7af1b2-d5f0-4c2e-b85c-84f23ae1fbb9}) of ThingClass shellyEm3 + + + + stop The name of the ActionType ({2266303c-df0c-4eae-b15e-6a86e73c9699}) of ThingClass shellyRoller