From 430092a7420a220b17bef59ea65ea4d69edfee8e Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 4 Mar 2020 17:32:40 +0100 Subject: [PATCH 1/3] Rename devices to things --- genericelements/genericelements.pro | 6 +- ...p => integrationplugingenericelements.cpp} | 22 +-- ...s.h => integrationplugingenericelements.h} | 20 +-- ... => integrationplugingenericelements.json} | 2 +- ...2161e-39b7-4416-8623-39e730721efb-de_DE.ts | 28 +-- ...2161e-39b7-4416-8623-39e730721efb-en_US.ts | 28 +-- .../deviceplugingenericinterfaces.cpp | 163 ------------------ genericinterfaces/genericinterfaces.pro | 6 +- .../integrationplugingenericinterfaces.cpp | 162 +++++++++++++++++ ...h => integrationplugingenericinterfaces.h} | 20 +-- ...> integrationplugingenericinterfaces.json} | 2 +- ...88696-2585-4806-bf98-30ab576ce5c8-en_US.ts | 114 ++++++------ 12 files changed, 286 insertions(+), 287 deletions(-) rename genericelements/{deviceplugingenericelements.cpp => integrationplugingenericelements.cpp} (72%) rename genericelements/{deviceplugingenericelements.h => integrationplugingenericelements.h} (73%) rename genericelements/{deviceplugingenericelements.json => integrationplugingenericelements.json} (99%) delete mode 100644 genericinterfaces/deviceplugingenericinterfaces.cpp create mode 100644 genericinterfaces/integrationplugingenericinterfaces.cpp rename genericinterfaces/{deviceplugingenericinterfaces.h => integrationplugingenericinterfaces.h} (73%) rename genericinterfaces/{deviceplugingenericinterfaces.json => integrationplugingenericinterfaces.json} (99%) diff --git a/genericelements/genericelements.pro b/genericelements/genericelements.pro index 15e685e..660914e 100644 --- a/genericelements/genericelements.pro +++ b/genericelements/genericelements.pro @@ -1,11 +1,11 @@ include(../plugins.pri) -TARGET = $$qtLibraryTarget(nymea_deviceplugingenericelements) +TARGET = $$qtLibraryTarget(nymea_integrationplugingenericelements) SOURCES += \ - deviceplugingenericelements.cpp + integrationplugingenericelements.cpp HEADERS += \ - deviceplugingenericelements.h + integrationplugingenericelements.h diff --git a/genericelements/deviceplugingenericelements.cpp b/genericelements/integrationplugingenericelements.cpp similarity index 72% rename from genericelements/deviceplugingenericelements.cpp rename to genericelements/integrationplugingenericelements.cpp index c557e01..7725ec8 100644 --- a/genericelements/deviceplugingenericelements.cpp +++ b/genericelements/integrationplugingenericelements.cpp @@ -28,39 +28,39 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#include "deviceplugingenericelements.h" +#include "integrationplugingenericelements.h" #include "plugininfo.h" #include -DevicePluginGenericElements::DevicePluginGenericElements() +IntegrationPluginGenericElements::IntegrationPluginGenericElements() { } -void DevicePluginGenericElements::setupDevice(DeviceSetupInfo *info) +void IntegrationPluginGenericElements::setupThing(ThingSetupInfo *info) { - info->finish(Device::DeviceErrorNoError); + info->finish(Thing::ThingErrorNoError); } -void DevicePluginGenericElements::executeAction(DeviceActionInfo *info) +void IntegrationPluginGenericElements::executeAction(ThingActionInfo *info) { - Device *device = info->device(); + Thing *thing = info->thing(); Action action = info->action(); // Toggle Button if (action.actionTypeId() == toggleButtonStateActionTypeId) { - device->setStateValue(toggleButtonStateStateTypeId, action.params().paramValue(toggleButtonStateActionStateParamTypeId).toBool()); + thing->setStateValue(toggleButtonStateStateTypeId, action.params().paramValue(toggleButtonStateActionStateParamTypeId).toBool()); } // Button if (action.actionTypeId() == buttonButtonPressActionTypeId) { - emit emitEvent(Event(buttonButtonPressedEventTypeId, device->id())); + emit emitEvent(Event(buttonButtonPressedEventTypeId, thing->id())); } // ON/OFF Button if (action.actionTypeId() == onOffButtonOnActionTypeId) { - emit emitEvent(Event(onOffButtonOnEventTypeId, device->id())); + emit emitEvent(Event(onOffButtonOnEventTypeId, thing->id())); } if (action.actionTypeId() == onOffButtonOffActionTypeId) { - emit emitEvent(Event(onOffButtonOffEventTypeId, device->id())); + emit emitEvent(Event(onOffButtonOffEventTypeId, thing->id())); } - info->finish(Device::DeviceErrorNoError); + info->finish(Thing::ThingErrorNoError); } diff --git a/genericelements/deviceplugingenericelements.h b/genericelements/integrationplugingenericelements.h similarity index 73% rename from genericelements/deviceplugingenericelements.h rename to genericelements/integrationplugingenericelements.h index 85f487b..be25eb4 100644 --- a/genericelements/deviceplugingenericelements.h +++ b/genericelements/integrationplugingenericelements.h @@ -28,25 +28,25 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#ifndef DEVICEPLUGINGENERICELEMENTS_H -#define DEVICEPLUGINGENERICELEMENTS_H +#ifndef INTEGRATIONPLUGINGENERICELEMENTS_H +#define INTEGRATIONPLUGINGENERICELEMENTS_H -#include "devices/deviceplugin.h" +#include "integrations/integrationplugin.h" -class DevicePluginGenericElements : public DevicePlugin +class IntegrationPluginGenericElements : public IntegrationPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "io.nymea.DevicePlugin" FILE "deviceplugingenericelements.json") - Q_INTERFACES(DevicePlugin) + Q_PLUGIN_METADATA(IID "io.nymea.IntegrationPlugin" FILE "integrationplugingenericelements.json") + Q_INTERFACES(IntegrationPlugin) public: - explicit DevicePluginGenericElements(); - void setupDevice(DeviceSetupInfo *info) override; + explicit IntegrationPluginGenericElements(); + void setupThing(ThingSetupInfo *info) override; public slots: - void executeAction(DeviceActionInfo *info) override; + void executeAction(ThingActionInfo *info) override; }; -#endif // DEVICEPLUGINGENERICELEMENTS_H +#endif // INTEGRATIONPLUGINGENERICELEMENTS_H diff --git a/genericelements/deviceplugingenericelements.json b/genericelements/integrationplugingenericelements.json similarity index 99% rename from genericelements/deviceplugingenericelements.json rename to genericelements/integrationplugingenericelements.json index 18688ce..a755b86 100644 --- a/genericelements/deviceplugingenericelements.json +++ b/genericelements/integrationplugingenericelements.json @@ -7,7 +7,7 @@ "name": "nymea", "displayName": "nymea", "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6", - "deviceClasses": [ + "thingClasses": [ { "id": "c0f511f9-70f5-499b-bd70-2c0e9ddd68c4", "name": "toggleButton", diff --git a/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-de_DE.ts b/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-de_DE.ts index 6a0e5e3..909ebbf 100644 --- a/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-de_DE.ts +++ b/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-de_DE.ts @@ -18,13 +18,13 @@ Toggle Button - The name of the DeviceClass ({c0f511f9-70f5-499b-bd70-2c0e9ddd68c4}) + The name of the ThingClass ({c0f511f9-70f5-499b-bd70-2c0e9ddd68c4}) Toggle Taster state changed - The name of the EventType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of DeviceClass toggleButton + The name of the EventType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of ThingClass toggleButton @@ -32,65 +32,65 @@ state - The name of the ParamType (DeviceClass: toggleButton, ActionType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) + The name of the ParamType (ThingClass: toggleButton, ActionType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) ---------- -The name of the ParamType (DeviceClass: toggleButton, EventType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) +The name of the ParamType (ThingClass: toggleButton, EventType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) ---------- -The name of the StateType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of DeviceClass toggleButton +The name of the StateType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of ThingClass toggleButton Set state - The name of the ActionType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of DeviceClass toggleButton + The name of the ActionType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of ThingClass toggleButton Button - The name of the DeviceClass ({820b2f2d-0d92-48c8-8fd4-f94ce8fc4103}) + The name of the ThingClass ({820b2f2d-0d92-48c8-8fd4-f94ce8fc4103}) Taster press - The name of the ActionType ({01f38af1-b2ab-4ec3-844e-ef52f0f229a9}) of DeviceClass button + The name of the ActionType ({01f38af1-b2ab-4ec3-844e-ef52f0f229a9}) of ThingClass button button pressed - The name of the EventType ({effdbc2d-e467-4b0b-80a9-9dda251bfa5c}) of DeviceClass button + The name of the EventType ({effdbc2d-e467-4b0b-80a9-9dda251bfa5c}) of ThingClass button ON/OFF Button - The name of the DeviceClass ({430d188c-476d-4825-a9bd-86dfa3094b56}) + The name of the ThingClass ({430d188c-476d-4825-a9bd-86dfa3094b56}) An/Aus Taster press ON - The name of the ActionType ({892596d2-0863-4807-97da-469b9f7003f2}) of DeviceClass onOffButton + The name of the ActionType ({892596d2-0863-4807-97da-469b9f7003f2}) of ThingClass onOffButton press OFF - The name of the ActionType ({a8d64050-0b58-4ccf-b052-77ce2b7368ad}) of DeviceClass onOffButton + The name of the ActionType ({a8d64050-0b58-4ccf-b052-77ce2b7368ad}) of ThingClass onOffButton ON pressed - The name of the EventType ({4eeba6a2-e4c7-4a2e-8360-2797d98114e6}) of DeviceClass onOffButton + The name of the EventType ({4eeba6a2-e4c7-4a2e-8360-2797d98114e6}) of ThingClass onOffButton OFF pressed - The name of the EventType ({b636c5f3-2eb0-4682-96d4-88a4aa9d2c12}) of DeviceClass onOffButton + The name of the EventType ({b636c5f3-2eb0-4682-96d4-88a4aa9d2c12}) of ThingClass onOffButton diff --git a/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-en_US.ts b/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-en_US.ts index 9f7b1f8..40bf713 100644 --- a/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-en_US.ts +++ b/genericelements/translations/6e22161e-39b7-4416-8623-39e730721efb-en_US.ts @@ -18,13 +18,13 @@ Toggle Button - The name of the DeviceClass ({c0f511f9-70f5-499b-bd70-2c0e9ddd68c4}) + The name of the ThingClass ({c0f511f9-70f5-499b-bd70-2c0e9ddd68c4}) state changed - The name of the EventType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of DeviceClass toggleButton + The name of the EventType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of ThingClass toggleButton @@ -32,65 +32,65 @@ state - The name of the ParamType (DeviceClass: toggleButton, ActionType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) + The name of the ParamType (ThingClass: toggleButton, ActionType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) ---------- -The name of the ParamType (DeviceClass: toggleButton, EventType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) +The name of the ParamType (ThingClass: toggleButton, EventType: state, ID: {b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) ---------- -The name of the StateType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of DeviceClass toggleButton +The name of the StateType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of ThingClass toggleButton Set state - The name of the ActionType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of DeviceClass toggleButton + The name of the ActionType ({b5e90567-54aa-49bd-a78a-3c19fb38aaf5}) of ThingClass toggleButton Button - The name of the DeviceClass ({820b2f2d-0d92-48c8-8fd4-f94ce8fc4103}) + The name of the ThingClass ({820b2f2d-0d92-48c8-8fd4-f94ce8fc4103}) press - The name of the ActionType ({01f38af1-b2ab-4ec3-844e-ef52f0f229a9}) of DeviceClass button + The name of the ActionType ({01f38af1-b2ab-4ec3-844e-ef52f0f229a9}) of ThingClass button button pressed - The name of the EventType ({effdbc2d-e467-4b0b-80a9-9dda251bfa5c}) of DeviceClass button + The name of the EventType ({effdbc2d-e467-4b0b-80a9-9dda251bfa5c}) of ThingClass button ON/OFF Button - The name of the DeviceClass ({430d188c-476d-4825-a9bd-86dfa3094b56}) + The name of the ThingClass ({430d188c-476d-4825-a9bd-86dfa3094b56}) press ON - The name of the ActionType ({892596d2-0863-4807-97da-469b9f7003f2}) of DeviceClass onOffButton + The name of the ActionType ({892596d2-0863-4807-97da-469b9f7003f2}) of ThingClass onOffButton press OFF - The name of the ActionType ({a8d64050-0b58-4ccf-b052-77ce2b7368ad}) of DeviceClass onOffButton + The name of the ActionType ({a8d64050-0b58-4ccf-b052-77ce2b7368ad}) of ThingClass onOffButton ON pressed - The name of the EventType ({4eeba6a2-e4c7-4a2e-8360-2797d98114e6}) of DeviceClass onOffButton + The name of the EventType ({4eeba6a2-e4c7-4a2e-8360-2797d98114e6}) of ThingClass onOffButton OFF pressed - The name of the EventType ({b636c5f3-2eb0-4682-96d4-88a4aa9d2c12}) of DeviceClass onOffButton + The name of the EventType ({b636c5f3-2eb0-4682-96d4-88a4aa9d2c12}) of ThingClass onOffButton diff --git a/genericinterfaces/deviceplugingenericinterfaces.cpp b/genericinterfaces/deviceplugingenericinterfaces.cpp deleted file mode 100644 index e763448..0000000 --- a/genericinterfaces/deviceplugingenericinterfaces.cpp +++ /dev/null @@ -1,163 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* -* Copyright 2013 - 2020, nymea GmbH -* Contact: contact@nymea.io -* -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license -* -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project is distributed in the hope that -* it will be useful, but WITHOUT ANY WARRANTY; without even the implied -* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq -* -* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -/*! - \page genericinterfaces.html - \title Generic interfaces - \brief Common interfaces to test the rule engine. - - \ingroup plugins - \ingroup nymea-tests - - The generic interfaces plugin allows you create virtual buttons, which can be connected with a rule. This gives you - the possibility to execute multiple \l{Action}{Actions} with one signal. Without a rule this generic interfaces are - useless. - - \chapter Plugin properties - Following JSON file contains the definition and the description of all available \l{DeviceClass}{DeviceClasses} - and \l{Vendor}{Vendors} of this \l{DevicePlugin}. - - For more details how to read this JSON file please check out the documentation for \l{The plugin JSON File}. - - \quotefile plugins/deviceplugins/genericinterfaces/deviceplugingenericinterfaces.json -*/ - - -#include "deviceplugingenericinterfaces.h" -#include "devices/devicemanager.h" -#include "plugininfo.h" - -#include - -DevicePluginGenericInterfaces::DevicePluginGenericInterfaces() -{ -} - -void DevicePluginGenericInterfaces::setupDevice(DeviceSetupInfo *info) -{ - info->finish(Device::DeviceErrorNoError); -} - -void DevicePluginGenericInterfaces::executeAction(DeviceActionInfo *info) -{ - Device *device = info->device(); - Action action = info->action(); - - if (device->deviceClassId() == awningDeviceClassId) { - if (action.actionTypeId() == awningOpenActionTypeId) { - device->setStateValue(awningStatusStateTypeId, "Opening"); - device->setStateValue(awningClosingOutputStateTypeId, false); - device->setStateValue(awningOpeningOutputStateTypeId, true); - return info->finish(Device::DeviceErrorNoError); - } - if (action.actionTypeId() == awningStopActionTypeId) { - device->setStateValue(awningStatusStateTypeId, "Stopped"); - device->setStateValue(awningOpeningOutputStateTypeId, false); - device->setStateValue(awningClosingOutputStateTypeId, false); - return info->finish(Device::DeviceErrorNoError); - } - if (action.actionTypeId() == awningCloseActionTypeId) { - device->setStateValue(awningStatusStateTypeId, "Closing"); - device->setStateValue(awningOpeningOutputStateTypeId, false); - device->setStateValue(awningClosingOutputStateTypeId, true); - return info->finish(Device::DeviceErrorNoError); - } - return info->finish(Device::DeviceErrorActionTypeNotFound); - } - - if (device->deviceClassId() == blindDeviceClassId ) { - if (action.actionTypeId() == blindOpenActionTypeId) { - device->setStateValue(blindStatusStateTypeId, "Opening"); - device->setStateValue(blindClosingOutputStateTypeId, false); - device->setStateValue(blindOpeningOutputStateTypeId, true); - return info->finish(Device::DeviceErrorNoError); - } - if (action.actionTypeId() == blindStopActionTypeId) { - device->setStateValue(blindStatusStateTypeId, "Stopped"); - device->setStateValue(blindOpeningOutputStateTypeId, false); - device->setStateValue(blindClosingOutputStateTypeId, false); - return info->finish(Device::DeviceErrorNoError); - } - if (action.actionTypeId() == blindCloseActionTypeId) { - device->setStateValue(blindStatusStateTypeId, "Closing"); - device->setStateValue(blindOpeningOutputStateTypeId, false); - device->setStateValue(blindClosingOutputStateTypeId, true); - return info->finish(Device::DeviceErrorNoError); - } - return info->finish(Device::DeviceErrorActionTypeNotFound); - } - - if (device->deviceClassId() == shutterDeviceClassId) { - if (action.actionTypeId() == shutterOpenActionTypeId) { - device->setStateValue(shutterStatusStateTypeId, "Opening"); - device->setStateValue(shutterClosingOutputStateTypeId, false); - device->setStateValue(shutterOpeningOutputStateTypeId, true); - return info->finish(Device::DeviceErrorNoError); - } - if (action.actionTypeId() == shutterStopActionTypeId) { - device->setStateValue(shutterStatusStateTypeId, "Stopped"); - device->setStateValue(shutterOpeningOutputStateTypeId, false); - device->setStateValue(shutterClosingOutputStateTypeId, false); - return info->finish(Device::DeviceErrorNoError); - } - if (action.actionTypeId() == shutterCloseActionTypeId) { - device->setStateValue(shutterStatusStateTypeId, "Closing"); - device->setStateValue(shutterOpeningOutputStateTypeId, false); - device->setStateValue(shutterClosingOutputStateTypeId, true); - return info->finish(Device::DeviceErrorNoError); - } - return info->finish(Device::DeviceErrorActionTypeNotFound); - } - - if (device->deviceClassId() == socketDeviceClassId) { - if (action.actionTypeId() == socketPowerActionTypeId) { - device->setStateValue(socketPowerStateTypeId, action.param(socketPowerActionPowerParamTypeId).value()); - return info->finish(Device::DeviceErrorNoError); - } - return info->finish(Device::DeviceErrorActionTypeNotFound); - } - - if (device->deviceClassId() == lightDeviceClassId) { - if (action.actionTypeId() == lightPowerActionTypeId) { - device->setStateValue(lightPowerStateTypeId, action.param(lightPowerActionPowerParamTypeId).value()); - return info->finish(Device::DeviceErrorNoError); - } - return info->finish(Device::DeviceErrorActionTypeNotFound); - } - - if (device->deviceClassId() == heatingDeviceClassId) { - if (action.actionTypeId() == heatingPowerActionTypeId) { - device->setStateValue(heatingPowerStateTypeId, action.param(heatingPowerActionPowerParamTypeId).value()); - return info->finish(Device::DeviceErrorNoError); - } - return info->finish(Device::DeviceErrorActionTypeNotFound); - } - return info->finish(Device::DeviceErrorDeviceClassNotFound); -} diff --git a/genericinterfaces/genericinterfaces.pro b/genericinterfaces/genericinterfaces.pro index d66633d..90a9805 100644 --- a/genericinterfaces/genericinterfaces.pro +++ b/genericinterfaces/genericinterfaces.pro @@ -1,12 +1,12 @@ include(../plugins.pri) -TARGET = $$qtLibraryTarget(nymea_deviceplugingenericinterfaces) +TARGET = $$qtLibraryTarget(nymea_integrationplugingenericinterfaces) SOURCES += \ - deviceplugingenericinterfaces.cpp + integrationplugingenericinterfaces.cpp HEADERS += \ - deviceplugingenericinterfaces.h + integrationplugingenericinterfaces.h diff --git a/genericinterfaces/integrationplugingenericinterfaces.cpp b/genericinterfaces/integrationplugingenericinterfaces.cpp new file mode 100644 index 0000000..cf2f893 --- /dev/null +++ b/genericinterfaces/integrationplugingenericinterfaces.cpp @@ -0,0 +1,162 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +* +* Copyright 2013 - 2020, nymea GmbH +* Contact: contact@nymea.io +* +* This file is part of nymea. +* This project including source code and documentation is protected by +* copyright law, and remains the property of nymea GmbH. All rights, including +* reproduction, publication, editing and translation, are reserved. The use of +* this project is subject to the terms of a license agreement to be concluded +* with nymea GmbH in accordance with the terms of use of nymea GmbH, available +* under https://nymea.io/license +* +* GNU Lesser General Public License Usage +* Alternatively, this project may be redistributed and/or modified under the +* terms of the GNU Lesser General Public License as published by the Free +* Software Foundation; version 3. This project is distributed in the hope that +* it will be useful, but WITHOUT ANY WARRANTY; without even the implied +* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public License +* along with this project. If not, see . +* +* For any further details and any questions please contact us under +* contact@nymea.io or see our FAQ/Licensing Information on +* https://nymea.io/license/faq +* +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/*! + \page genericinterfaces.html + \title Generic interfaces + \brief Common interfaces to test the rule engine. + + \ingroup plugins + \ingroup nymea-tests + + The generic interfaces plugin allows you create virtual buttons, which can be connected with a rule. This gives you + the possibility to execute multiple \l{Action}{Actions} with one signal. Without a rule this generic interfaces are + useless. + + \chapter Plugin properties + Following JSON file contains the definition and the description of all available \l{ThingClass}{DeviceClasses} + and \l{Vendor}{Vendors} of this \l{DevicePlugin}. + + For more details how to read this JSON file please check out the documentation for \l{The plugin JSON File}. + + \quotefile plugins/deviceplugins/genericinterfaces/deviceplugingenericinterfaces.json +*/ + + +#include "integrationplugingenericinterfaces.h" +#include "plugininfo.h" + +#include + +IntegrationPluginGenericInterfaces::IntegrationPluginGenericInterfaces() +{ +} + +void IntegrationPluginGenericInterfaces::setupThing(ThingSetupInfo *info) +{ + info->finish(Thing::ThingErrorNoError); +} + +void IntegrationPluginGenericInterfaces::executeAction(ThingActionInfo *info) +{ + Thing *thing = info->thing(); + Action action = info->action(); + + if (thing->thingClassId() == awningThingClassId) { + if (action.actionTypeId() == awningOpenActionTypeId) { + thing->setStateValue(awningStatusStateTypeId, "Opening"); + thing->setStateValue(awningClosingOutputStateTypeId, false); + thing->setStateValue(awningOpeningOutputStateTypeId, true); + return info->finish(Thing::ThingErrorNoError); + } + if (action.actionTypeId() == awningStopActionTypeId) { + thing->setStateValue(awningStatusStateTypeId, "Stopped"); + thing->setStateValue(awningOpeningOutputStateTypeId, false); + thing->setStateValue(awningClosingOutputStateTypeId, false); + return info->finish(Thing::ThingErrorNoError); + } + if (action.actionTypeId() == awningCloseActionTypeId) { + thing->setStateValue(awningStatusStateTypeId, "Closing"); + thing->setStateValue(awningOpeningOutputStateTypeId, false); + thing->setStateValue(awningClosingOutputStateTypeId, true); + return info->finish(Thing::ThingErrorNoError); + } + return info->finish(Thing::ThingErrorActionTypeNotFound); + } + + if (thing->thingClassId() == blindThingClassId ) { + if (action.actionTypeId() == blindOpenActionTypeId) { + thing->setStateValue(blindStatusStateTypeId, "Opening"); + thing->setStateValue(blindClosingOutputStateTypeId, false); + thing->setStateValue(blindOpeningOutputStateTypeId, true); + return info->finish(Thing::ThingErrorNoError); + } + if (action.actionTypeId() == blindStopActionTypeId) { + thing->setStateValue(blindStatusStateTypeId, "Stopped"); + thing->setStateValue(blindOpeningOutputStateTypeId, false); + thing->setStateValue(blindClosingOutputStateTypeId, false); + return info->finish(Thing::ThingErrorNoError); + } + if (action.actionTypeId() == blindCloseActionTypeId) { + thing->setStateValue(blindStatusStateTypeId, "Closing"); + thing->setStateValue(blindOpeningOutputStateTypeId, false); + thing->setStateValue(blindClosingOutputStateTypeId, true); + return info->finish(Thing::ThingErrorNoError); + } + return info->finish(Thing::ThingErrorActionTypeNotFound); + } + + if (thing->thingClassId() == shutterThingClassId) { + if (action.actionTypeId() == shutterOpenActionTypeId) { + thing->setStateValue(shutterStatusStateTypeId, "Opening"); + thing->setStateValue(shutterClosingOutputStateTypeId, false); + thing->setStateValue(shutterOpeningOutputStateTypeId, true); + return info->finish(Thing::ThingErrorNoError); + } + if (action.actionTypeId() == shutterStopActionTypeId) { + thing->setStateValue(shutterStatusStateTypeId, "Stopped"); + thing->setStateValue(shutterOpeningOutputStateTypeId, false); + thing->setStateValue(shutterClosingOutputStateTypeId, false); + return info->finish(Thing::ThingErrorNoError); + } + if (action.actionTypeId() == shutterCloseActionTypeId) { + thing->setStateValue(shutterStatusStateTypeId, "Closing"); + thing->setStateValue(shutterOpeningOutputStateTypeId, false); + thing->setStateValue(shutterClosingOutputStateTypeId, true); + return info->finish(Thing::ThingErrorNoError); + } + return info->finish(Thing::ThingErrorActionTypeNotFound); + } + + if (thing->thingClassId() == socketThingClassId) { + if (action.actionTypeId() == socketPowerActionTypeId) { + thing->setStateValue(socketPowerStateTypeId, action.param(socketPowerActionPowerParamTypeId).value()); + return info->finish(Thing::ThingErrorNoError); + } + return info->finish(Thing::ThingErrorActionTypeNotFound); + } + + if (thing->thingClassId() == lightThingClassId) { + if (action.actionTypeId() == lightPowerActionTypeId) { + thing->setStateValue(lightPowerStateTypeId, action.param(lightPowerActionPowerParamTypeId).value()); + return info->finish(Thing::ThingErrorNoError); + } + return info->finish(Thing::ThingErrorActionTypeNotFound); + } + + if (thing->thingClassId() == heatingThingClassId) { + if (action.actionTypeId() == heatingPowerActionTypeId) { + thing->setStateValue(heatingPowerStateTypeId, action.param(heatingPowerActionPowerParamTypeId).value()); + return info->finish(Thing::ThingErrorNoError); + } + return info->finish(Thing::ThingErrorActionTypeNotFound); + } + return info->finish(Thing::ThingErrorThingClassNotFound); +} diff --git a/genericinterfaces/deviceplugingenericinterfaces.h b/genericinterfaces/integrationplugingenericinterfaces.h similarity index 73% rename from genericinterfaces/deviceplugingenericinterfaces.h rename to genericinterfaces/integrationplugingenericinterfaces.h index cf982e6..7e6be93 100644 --- a/genericinterfaces/deviceplugingenericinterfaces.h +++ b/genericinterfaces/integrationplugingenericinterfaces.h @@ -28,22 +28,22 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#ifndef DEVICEPLUGINGENERICINTERFACES_H -#define DEVICEPLUGINGENERICINTERFACES_H +#ifndef INTEGRATIONPLUGINGENERICINTERFACES_H +#define INTEGRATIONPLUGINGENERICINTERFACES_H -#include "devices/deviceplugin.h" +#include "integrations/integrationplugin.h" -class DevicePluginGenericInterfaces : public DevicePlugin +class IntegrationPluginGenericInterfaces : public IntegrationPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "io.nymea.DevicePlugin" FILE "deviceplugingenericinterfaces.json") - Q_INTERFACES(DevicePlugin) + Q_PLUGIN_METADATA(IID "io.nymea.IntegrationPlugin" FILE "integrationplugingenericinterfaces.json") + Q_INTERFACES(IntegrationPlugin) public: - explicit DevicePluginGenericInterfaces(); - void setupDevice(DeviceSetupInfo *info) override; - void executeAction(DeviceActionInfo *info) override; + explicit IntegrationPluginGenericInterfaces(); + void setupThing(ThingSetupInfo *info) override; + void executeAction(ThingActionInfo *info) override; }; -#endif // DEVICEPLUGINGENERICINTERFACES_H +#endif // INTEGRATIONPLUGINGENERICINTERFACES_H diff --git a/genericinterfaces/deviceplugingenericinterfaces.json b/genericinterfaces/integrationplugingenericinterfaces.json similarity index 99% rename from genericinterfaces/deviceplugingenericinterfaces.json rename to genericinterfaces/integrationplugingenericinterfaces.json index 98bf5f7..48ab88e 100644 --- a/genericinterfaces/deviceplugingenericinterfaces.json +++ b/genericinterfaces/integrationplugingenericinterfaces.json @@ -7,7 +7,7 @@ "name": "nymea", "displayName": "nymea", "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6", - "deviceClasses": [ + "thingClasses": [ { "id": "9e69585f-90ba-44e4-ad90-5b4bffbe345a", "name": "awning", diff --git a/genericinterfaces/translations/b3188696-2585-4806-bf98-30ab576ce5c8-en_US.ts b/genericinterfaces/translations/b3188696-2585-4806-bf98-30ab576ce5c8-en_US.ts index 2dedbed..e842fcf 100644 --- a/genericinterfaces/translations/b3188696-2585-4806-bf98-30ab576ce5c8-en_US.ts +++ b/genericinterfaces/translations/b3188696-2585-4806-bf98-30ab576ce5c8-en_US.ts @@ -5,45 +5,45 @@ GenericInterfaces Awning interface - The name of the DeviceClass ({9e69585f-90ba-44e4-ad90-5b4bffbe345a}) + The name of the ThingClass ({9e69585f-90ba-44e4-ad90-5b4bffbe345a}) Blind interface - The name of the DeviceClass ({17ee3657-6ad8-4ae2-8959-3cf66cec8d13}) + The name of the ThingClass ({17ee3657-6ad8-4ae2-8959-3cf66cec8d13}) Close - The name of the ActionType ({cf5303f1-67c7-4cef-b11c-eb9de6fc8a87}) of DeviceClass shutter + The name of the ActionType ({cf5303f1-67c7-4cef-b11c-eb9de6fc8a87}) of ThingClass shutter ---------- -The name of the ActionType ({86e9cf21-7487-47c4-b4be-4a940d7235fb}) of DeviceClass blind +The name of the ActionType ({86e9cf21-7487-47c4-b4be-4a940d7235fb}) of ThingClass blind ---------- -The name of the ActionType ({53b5ba77-9a34-4cd6-ad24-fb01fc465f98}) of DeviceClass awning +The name of the ActionType ({53b5ba77-9a34-4cd6-ad24-fb01fc465f98}) of ThingClass awning Closing output - The name of the ParamType (DeviceClass: shutter, EventType: closingOutput, ID: {1c35df0e-4c41-455f-893a-0145377952a0}) + The name of the ParamType (ThingClass: shutter, EventType: closingOutput, ID: {1c35df0e-4c41-455f-893a-0145377952a0}) ---------- -The name of the StateType ({1c35df0e-4c41-455f-893a-0145377952a0}) of DeviceClass shutter +The name of the StateType ({1c35df0e-4c41-455f-893a-0145377952a0}) of ThingClass shutter ---------- -The name of the ParamType (DeviceClass: blind, EventType: closingOutput, ID: {9b673430-572d-4a9c-85d3-dafadbe541cd}) +The name of the ParamType (ThingClass: blind, EventType: closingOutput, ID: {9b673430-572d-4a9c-85d3-dafadbe541cd}) ---------- -The name of the StateType ({9b673430-572d-4a9c-85d3-dafadbe541cd}) of DeviceClass blind +The name of the StateType ({9b673430-572d-4a9c-85d3-dafadbe541cd}) of ThingClass blind ---------- -The name of the ParamType (DeviceClass: awning, EventType: closingOutput, ID: {59bfd575-709f-4e43-9726-de26e6d4ca8b}) +The name of the ParamType (ThingClass: awning, EventType: closingOutput, ID: {59bfd575-709f-4e43-9726-de26e6d4ca8b}) ---------- -The name of the StateType ({59bfd575-709f-4e43-9726-de26e6d4ca8b}) of DeviceClass awning +The name of the StateType ({59bfd575-709f-4e43-9726-de26e6d4ca8b}) of ThingClass awning Closing output changed - The name of the EventType ({1c35df0e-4c41-455f-893a-0145377952a0}) of DeviceClass shutter + The name of the EventType ({1c35df0e-4c41-455f-893a-0145377952a0}) of ThingClass shutter ---------- -The name of the EventType ({9b673430-572d-4a9c-85d3-dafadbe541cd}) of DeviceClass blind +The name of the EventType ({9b673430-572d-4a9c-85d3-dafadbe541cd}) of ThingClass blind ---------- -The name of the EventType ({59bfd575-709f-4e43-9726-de26e6d4ca8b}) of DeviceClass awning +The name of the EventType ({59bfd575-709f-4e43-9726-de26e6d4ca8b}) of ThingClass awning @@ -53,127 +53,127 @@ The name of the EventType ({59bfd575-709f-4e43-9726-de26e6d4ca8b}) of DeviceClas Heating interface - The name of the DeviceClass ({392854c4-3d14-4cf8-96cd-d933526bd197}) + The name of the ThingClass ({392854c4-3d14-4cf8-96cd-d933526bd197}) Light interface - The name of the DeviceClass ({c50d3216-f307-4f9f-8190-4391510c385c}) + The name of the ThingClass ({c50d3216-f307-4f9f-8190-4391510c385c}) Open - The name of the ActionType ({9deb662d-2378-4345-a898-8742d41e43c1}) of DeviceClass shutter + The name of the ActionType ({9deb662d-2378-4345-a898-8742d41e43c1}) of ThingClass shutter ---------- -The name of the ActionType ({120dc265-dbbb-4f19-9d31-c372c23479c0}) of DeviceClass blind +The name of the ActionType ({120dc265-dbbb-4f19-9d31-c372c23479c0}) of ThingClass blind ---------- -The name of the ActionType ({979e9c51-5a93-4635-85e3-01874306b229}) of DeviceClass awning +The name of the ActionType ({979e9c51-5a93-4635-85e3-01874306b229}) of ThingClass awning Opening output - The name of the ParamType (DeviceClass: shutter, EventType: openingOutput, ID: {cc547728-b309-4695-b355-49748ef2521c}) + The name of the ParamType (ThingClass: shutter, EventType: openingOutput, ID: {cc547728-b309-4695-b355-49748ef2521c}) ---------- -The name of the StateType ({cc547728-b309-4695-b355-49748ef2521c}) of DeviceClass shutter +The name of the StateType ({cc547728-b309-4695-b355-49748ef2521c}) of ThingClass shutter ---------- -The name of the ParamType (DeviceClass: blind, EventType: openingOutput, ID: {b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b}) +The name of the ParamType (ThingClass: blind, EventType: openingOutput, ID: {b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b}) ---------- -The name of the StateType ({b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b}) of DeviceClass blind +The name of the StateType ({b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b}) of ThingClass blind ---------- -The name of the ParamType (DeviceClass: awning, EventType: openingOutput, ID: {4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4}) +The name of the ParamType (ThingClass: awning, EventType: openingOutput, ID: {4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4}) ---------- -The name of the StateType ({4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4}) of DeviceClass awning +The name of the StateType ({4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4}) of ThingClass awning Opening output changed - The name of the EventType ({cc547728-b309-4695-b355-49748ef2521c}) of DeviceClass shutter + The name of the EventType ({cc547728-b309-4695-b355-49748ef2521c}) of ThingClass shutter ---------- -The name of the EventType ({b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b}) of DeviceClass blind +The name of the EventType ({b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b}) of ThingClass blind ---------- -The name of the EventType ({4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4}) of DeviceClass awning +The name of the EventType ({4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4}) of ThingClass awning Power - The name of the ParamType (DeviceClass: heating, ActionType: power, ID: {409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) + The name of the ParamType (ThingClass: heating, ActionType: power, ID: {409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) ---------- -The name of the ParamType (DeviceClass: heating, EventType: power, ID: {409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) +The name of the ParamType (ThingClass: heating, EventType: power, ID: {409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) ---------- -The name of the StateType ({409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) of DeviceClass heating +The name of the StateType ({409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) of ThingClass heating ---------- -The name of the ParamType (DeviceClass: light, ActionType: power, ID: {8b6e4a67-6522-408b-b676-8d2f09ed2d54}) +The name of the ParamType (ThingClass: light, ActionType: power, ID: {8b6e4a67-6522-408b-b676-8d2f09ed2d54}) ---------- -The name of the ParamType (DeviceClass: light, EventType: power, ID: {8b6e4a67-6522-408b-b676-8d2f09ed2d54}) +The name of the ParamType (ThingClass: light, EventType: power, ID: {8b6e4a67-6522-408b-b676-8d2f09ed2d54}) ---------- -The name of the StateType ({8b6e4a67-6522-408b-b676-8d2f09ed2d54}) of DeviceClass light +The name of the StateType ({8b6e4a67-6522-408b-b676-8d2f09ed2d54}) of ThingClass light ---------- -The name of the ParamType (DeviceClass: socket, ActionType: power, ID: {018038d7-1d02-4b17-8fe3-babca044b087}) +The name of the ParamType (ThingClass: socket, ActionType: power, ID: {018038d7-1d02-4b17-8fe3-babca044b087}) ---------- -The name of the ParamType (DeviceClass: socket, EventType: power, ID: {018038d7-1d02-4b17-8fe3-babca044b087}) +The name of the ParamType (ThingClass: socket, EventType: power, ID: {018038d7-1d02-4b17-8fe3-babca044b087}) ---------- -The name of the StateType ({018038d7-1d02-4b17-8fe3-babca044b087}) of DeviceClass socket +The name of the StateType ({018038d7-1d02-4b17-8fe3-babca044b087}) of ThingClass socket Power changed - The name of the EventType ({409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) of DeviceClass heating + The name of the EventType ({409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) of ThingClass heating ---------- -The name of the EventType ({8b6e4a67-6522-408b-b676-8d2f09ed2d54}) of DeviceClass light +The name of the EventType ({8b6e4a67-6522-408b-b676-8d2f09ed2d54}) of ThingClass light ---------- -The name of the EventType ({018038d7-1d02-4b17-8fe3-babca044b087}) of DeviceClass socket +The name of the EventType ({018038d7-1d02-4b17-8fe3-babca044b087}) of ThingClass socket Set power - The name of the ActionType ({409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) of DeviceClass heating + The name of the ActionType ({409b635e-a754-4b5c-b3f0-d1c5a0fb3f03}) of ThingClass heating ---------- -The name of the ActionType ({8b6e4a67-6522-408b-b676-8d2f09ed2d54}) of DeviceClass light +The name of the ActionType ({8b6e4a67-6522-408b-b676-8d2f09ed2d54}) of ThingClass light ---------- -The name of the ActionType ({018038d7-1d02-4b17-8fe3-babca044b087}) of DeviceClass socket +The name of the ActionType ({018038d7-1d02-4b17-8fe3-babca044b087}) of ThingClass socket Shutter interface - The name of the DeviceClass ({7917c2e7-d7d2-4c47-a38d-41f7dd7693d9}) + The name of the ThingClass ({7917c2e7-d7d2-4c47-a38d-41f7dd7693d9}) Socket interface - The name of the DeviceClass ({4e7261af-a27b-4446-8346-914ea59f7547}) + The name of the ThingClass ({4e7261af-a27b-4446-8346-914ea59f7547}) Status - The name of the ParamType (DeviceClass: shutter, EventType: status, ID: {6d6e72dc-4d2b-4ec1-82c2-54405a682711}) + The name of the ParamType (ThingClass: shutter, EventType: status, ID: {6d6e72dc-4d2b-4ec1-82c2-54405a682711}) ---------- -The name of the StateType ({6d6e72dc-4d2b-4ec1-82c2-54405a682711}) of DeviceClass shutter +The name of the StateType ({6d6e72dc-4d2b-4ec1-82c2-54405a682711}) of ThingClass shutter ---------- -The name of the ParamType (DeviceClass: blind, EventType: status, ID: {5fdec1e0-51f6-48b9-b743-ba572504b2c1}) +The name of the ParamType (ThingClass: blind, EventType: status, ID: {5fdec1e0-51f6-48b9-b743-ba572504b2c1}) ---------- -The name of the StateType ({5fdec1e0-51f6-48b9-b743-ba572504b2c1}) of DeviceClass blind +The name of the StateType ({5fdec1e0-51f6-48b9-b743-ba572504b2c1}) of ThingClass blind ---------- -The name of the ParamType (DeviceClass: awning, EventType: status, ID: {ff6f2565-2a2e-4d34-b10f-d3f73b676399}) +The name of the ParamType (ThingClass: awning, EventType: status, ID: {ff6f2565-2a2e-4d34-b10f-d3f73b676399}) ---------- -The name of the StateType ({ff6f2565-2a2e-4d34-b10f-d3f73b676399}) of DeviceClass awning +The name of the StateType ({ff6f2565-2a2e-4d34-b10f-d3f73b676399}) of ThingClass awning Status changed - The name of the EventType ({6d6e72dc-4d2b-4ec1-82c2-54405a682711}) of DeviceClass shutter + The name of the EventType ({6d6e72dc-4d2b-4ec1-82c2-54405a682711}) of ThingClass shutter ---------- -The name of the EventType ({5fdec1e0-51f6-48b9-b743-ba572504b2c1}) of DeviceClass blind +The name of the EventType ({5fdec1e0-51f6-48b9-b743-ba572504b2c1}) of ThingClass blind ---------- -The name of the EventType ({ff6f2565-2a2e-4d34-b10f-d3f73b676399}) of DeviceClass awning +The name of the EventType ({ff6f2565-2a2e-4d34-b10f-d3f73b676399}) of ThingClass awning Stop - The name of the ActionType ({db5f3332-1f4e-4f9e-84d2-93c5d7de315c}) of DeviceClass shutter + The name of the ActionType ({db5f3332-1f4e-4f9e-84d2-93c5d7de315c}) of ThingClass shutter ---------- -The name of the ActionType ({1a924c9a-5dcb-4b1c-8fd6-ab101098e007}) of DeviceClass blind +The name of the ActionType ({1a924c9a-5dcb-4b1c-8fd6-ab101098e007}) of ThingClass blind ---------- -The name of the ActionType ({555cafe4-bd12-42c6-bab1-8cd59af6468e}) of DeviceClass awning +The name of the ActionType ({555cafe4-bd12-42c6-bab1-8cd59af6468e}) of ThingClass awning From a25402b8249e8066e4c33623c96ed43d8dde8c8a Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 5 Mar 2020 22:45:05 +0100 Subject: [PATCH 2/3] bump version --- debian/changelog | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7233554..f16aeca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,8 @@ +nymea-plugins (0.20.0) UNRELEASED; urgency=medium + + + -- Michael Zanetti Thu, 05 Mar 2020 22:44:38 +0100 + nymea-plugins (0.19.0) xenial; urgency=medium [ Michael Zanetti ] From cc4d4cbde8cb3cc0ccb4940cabfce0ac1d620f99 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 8 Mar 2020 22:30:15 +0100 Subject: [PATCH 3/3] Update debian/install files --- debian/nymea-plugin-anel.install.in | 2 +- debian/nymea-plugin-avahimonitor.install.in | 2 +- debian/nymea-plugin-awattar.install.in | 2 +- debian/nymea-plugin-boblight.install.in | 2 +- debian/nymea-plugin-bose.install.in | 2 +- debian/nymea-plugin-coinmarketcap.install.in | 2 +- debian/nymea-plugin-commandlauncher.install.in | 2 +- debian/nymea-plugin-conrad.install.in | 2 +- debian/nymea-plugin-datetime.install.in | 2 +- debian/nymea-plugin-daylightsensor.install.in | 2 +- debian/nymea-plugin-denon.install.in | 2 +- debian/nymea-plugin-dweetio.install.in | 2 +- debian/nymea-plugin-elgato.install.in | 2 +- debian/nymea-plugin-elro.install.in | 2 +- debian/nymea-plugin-eq-3.install.in | 2 +- debian/nymea-plugin-flowercare.install.in | 2 +- debian/nymea-plugin-genericelements.install.in | 2 +- debian/nymea-plugin-genericinterfaces.install.in | 2 +- debian/nymea-plugin-gpio.install.in | 2 +- debian/nymea-plugin-httpcommander.install.in | 2 +- debian/nymea-plugin-intertechno.install.in | 2 +- debian/nymea-plugin-keba.install.in | 2 +- debian/nymea-plugin-kodi.install.in | 2 +- debian/nymea-plugin-leynew.install.in | 2 +- debian/nymea-plugin-lgsmarttv.install.in | 2 +- debian/nymea-plugin-mailnotification.install.in | 2 +- debian/nymea-plugin-mqttclient.install.in | 2 +- debian/nymea-plugin-nanoleaf.install.in | 2 +- debian/nymea-plugin-netatmo.install.in | 2 +- debian/nymea-plugin-networkdetector.install.in | 2 +- debian/nymea-plugin-nuki.install.in | 2 +- debian/nymea-plugin-onewire.install.in | 2 +- debian/nymea-plugin-openuv.install.in | 2 +- debian/nymea-plugin-openweathermap.install.in | 2 +- debian/nymea-plugin-osdomotics.install.in | 2 +- debian/nymea-plugin-philipshue.install.in | 2 +- debian/nymea-plugin-pushbullet.install.in | 2 +- debian/nymea-plugin-remotessh.install.in | 2 +- debian/nymea-plugin-senic.install.in | 2 +- debian/nymea-plugin-serialportcommander.install.in | 2 +- debian/nymea-plugin-shelly.install.in | 2 +- debian/nymea-plugin-simulation.install.in | 2 +- debian/nymea-plugin-snapd.install.in | 2 +- debian/nymea-plugin-sonos.install.in | 2 +- debian/nymea-plugin-systemmonitor.install.in | 2 +- debian/nymea-plugin-tado.install.in | 2 +- debian/nymea-plugin-tasmota.install.in | 2 +- debian/nymea-plugin-tcpcommander.install.in | 2 +- debian/nymea-plugin-texasinstruments.install.in | 2 +- debian/nymea-plugin-tplink.install.in | 2 +- debian/nymea-plugin-tuya.install.in | 2 +- debian/nymea-plugin-udpcommander.install.in | 2 +- debian/nymea-plugin-unifi.install.in | 2 +- debian/nymea-plugin-unitec.install.in | 2 +- debian/nymea-plugin-usbrelay.install.in | 2 +- debian/nymea-plugin-wakeonlan.install.in | 2 +- debian/nymea-plugin-wemo.install.in | 2 +- debian/nymea-plugin-ws2812fx.install.in | 2 +- 58 files changed, 58 insertions(+), 58 deletions(-) diff --git a/debian/nymea-plugin-anel.install.in b/debian/nymea-plugin-anel.install.in index b404c48..c8b52d8 100644 --- a/debian/nymea-plugin-anel.install.in +++ b/debian/nymea-plugin-anel.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginanel.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginanel.so diff --git a/debian/nymea-plugin-avahimonitor.install.in b/debian/nymea-plugin-avahimonitor.install.in index f3c0fd0..a408b0d 100644 --- a/debian/nymea-plugin-avahimonitor.install.in +++ b/debian/nymea-plugin-avahimonitor.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginavahimonitor.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginavahimonitor.so \ No newline at end of file diff --git a/debian/nymea-plugin-awattar.install.in b/debian/nymea-plugin-awattar.install.in index cbb2e27..3302c8b 100644 --- a/debian/nymea-plugin-awattar.install.in +++ b/debian/nymea-plugin-awattar.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginawattar.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginawattar.so \ No newline at end of file diff --git a/debian/nymea-plugin-boblight.install.in b/debian/nymea-plugin-boblight.install.in index 88d9b8b..271ef3a 100644 --- a/debian/nymea-plugin-boblight.install.in +++ b/debian/nymea-plugin-boblight.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginboblight.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginboblight.so diff --git a/debian/nymea-plugin-bose.install.in b/debian/nymea-plugin-bose.install.in index 56ed1fa..adb6201 100644 --- a/debian/nymea-plugin-bose.install.in +++ b/debian/nymea-plugin-bose.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginbose.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginbose.so diff --git a/debian/nymea-plugin-coinmarketcap.install.in b/debian/nymea-plugin-coinmarketcap.install.in index 4d0070d..6d5d7ba 100644 --- a/debian/nymea-plugin-coinmarketcap.install.in +++ b/debian/nymea-plugin-coinmarketcap.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugincoinmarketcap.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugincoinmarketcap.so diff --git a/debian/nymea-plugin-commandlauncher.install.in b/debian/nymea-plugin-commandlauncher.install.in index 39bff18..7cd317f 100644 --- a/debian/nymea-plugin-commandlauncher.install.in +++ b/debian/nymea-plugin-commandlauncher.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugincommandlauncher.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugincommandlauncher.so \ No newline at end of file diff --git a/debian/nymea-plugin-conrad.install.in b/debian/nymea-plugin-conrad.install.in index f820061..3900f48 100644 --- a/debian/nymea-plugin-conrad.install.in +++ b/debian/nymea-plugin-conrad.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginconrad.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginconrad.so \ No newline at end of file diff --git a/debian/nymea-plugin-datetime.install.in b/debian/nymea-plugin-datetime.install.in index 828b615..2331c6d 100644 --- a/debian/nymea-plugin-datetime.install.in +++ b/debian/nymea-plugin-datetime.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugindatetime.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugindatetime.so \ No newline at end of file diff --git a/debian/nymea-plugin-daylightsensor.install.in b/debian/nymea-plugin-daylightsensor.install.in index 411a56f..d9df0e2 100644 --- a/debian/nymea-plugin-daylightsensor.install.in +++ b/debian/nymea-plugin-daylightsensor.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugindaylightsensor.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugindaylightsensor.so diff --git a/debian/nymea-plugin-denon.install.in b/debian/nymea-plugin-denon.install.in index 38f6830..85fdce7 100644 --- a/debian/nymea-plugin-denon.install.in +++ b/debian/nymea-plugin-denon.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugindenon.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugindenon.so \ No newline at end of file diff --git a/debian/nymea-plugin-dweetio.install.in b/debian/nymea-plugin-dweetio.install.in index 0e0f659..7b7c66d 100644 --- a/debian/nymea-plugin-dweetio.install.in +++ b/debian/nymea-plugin-dweetio.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugindweetio.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugindweetio.so diff --git a/debian/nymea-plugin-elgato.install.in b/debian/nymea-plugin-elgato.install.in index 4647b31..4f86a00 100644 --- a/debian/nymea-plugin-elgato.install.in +++ b/debian/nymea-plugin-elgato.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginelgato.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginelgato.so diff --git a/debian/nymea-plugin-elro.install.in b/debian/nymea-plugin-elro.install.in index 035894a..7cbb190 100644 --- a/debian/nymea-plugin-elro.install.in +++ b/debian/nymea-plugin-elro.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginelro.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginelro.so \ No newline at end of file diff --git a/debian/nymea-plugin-eq-3.install.in b/debian/nymea-plugin-eq-3.install.in index 3b2c10f..3cb31b7 100644 --- a/debian/nymea-plugin-eq-3.install.in +++ b/debian/nymea-plugin-eq-3.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugineq-3.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugineq-3.so diff --git a/debian/nymea-plugin-flowercare.install.in b/debian/nymea-plugin-flowercare.install.in index f2575ad..d64218e 100644 --- a/debian/nymea-plugin-flowercare.install.in +++ b/debian/nymea-plugin-flowercare.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginflowercare.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginflowercare.so diff --git a/debian/nymea-plugin-genericelements.install.in b/debian/nymea-plugin-genericelements.install.in index c87d473..df09f77 100644 --- a/debian/nymea-plugin-genericelements.install.in +++ b/debian/nymea-plugin-genericelements.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugingenericelements.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugingenericelements.so \ No newline at end of file diff --git a/debian/nymea-plugin-genericinterfaces.install.in b/debian/nymea-plugin-genericinterfaces.install.in index a5e9bc1..91f8311 100644 --- a/debian/nymea-plugin-genericinterfaces.install.in +++ b/debian/nymea-plugin-genericinterfaces.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugingenericinterfaces.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugingenericinterfaces.so diff --git a/debian/nymea-plugin-gpio.install.in b/debian/nymea-plugin-gpio.install.in index f525c8d..57f215e 100644 --- a/debian/nymea-plugin-gpio.install.in +++ b/debian/nymea-plugin-gpio.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugingpio.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugingpio.so \ No newline at end of file diff --git a/debian/nymea-plugin-httpcommander.install.in b/debian/nymea-plugin-httpcommander.install.in index 74e4374..472c8a2 100644 --- a/debian/nymea-plugin-httpcommander.install.in +++ b/debian/nymea-plugin-httpcommander.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginhttpcommander.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginhttpcommander.so diff --git a/debian/nymea-plugin-intertechno.install.in b/debian/nymea-plugin-intertechno.install.in index a5b59dc..4528d42 100644 --- a/debian/nymea-plugin-intertechno.install.in +++ b/debian/nymea-plugin-intertechno.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginintertechno.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginintertechno.so \ No newline at end of file diff --git a/debian/nymea-plugin-keba.install.in b/debian/nymea-plugin-keba.install.in index 050c7a8..7f474a0 100644 --- a/debian/nymea-plugin-keba.install.in +++ b/debian/nymea-plugin-keba.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginkeba.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginkeba.so diff --git a/debian/nymea-plugin-kodi.install.in b/debian/nymea-plugin-kodi.install.in index 17b10eb..80728d8 100644 --- a/debian/nymea-plugin-kodi.install.in +++ b/debian/nymea-plugin-kodi.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginkodi.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginkodi.so \ No newline at end of file diff --git a/debian/nymea-plugin-leynew.install.in b/debian/nymea-plugin-leynew.install.in index 781ce18..7d4c637 100644 --- a/debian/nymea-plugin-leynew.install.in +++ b/debian/nymea-plugin-leynew.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginleynew.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginleynew.so \ No newline at end of file diff --git a/debian/nymea-plugin-lgsmarttv.install.in b/debian/nymea-plugin-lgsmarttv.install.in index f1b065b..42acdab 100644 --- a/debian/nymea-plugin-lgsmarttv.install.in +++ b/debian/nymea-plugin-lgsmarttv.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginlgsmarttv.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginlgsmarttv.so \ No newline at end of file diff --git a/debian/nymea-plugin-mailnotification.install.in b/debian/nymea-plugin-mailnotification.install.in index c736259..b43f110 100644 --- a/debian/nymea-plugin-mailnotification.install.in +++ b/debian/nymea-plugin-mailnotification.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginmailnotification.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginmailnotification.so \ No newline at end of file diff --git a/debian/nymea-plugin-mqttclient.install.in b/debian/nymea-plugin-mqttclient.install.in index 8ea2fae..8e82fe3 100644 --- a/debian/nymea-plugin-mqttclient.install.in +++ b/debian/nymea-plugin-mqttclient.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginmqttclient.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginmqttclient.so diff --git a/debian/nymea-plugin-nanoleaf.install.in b/debian/nymea-plugin-nanoleaf.install.in index c196777..5c16467 100644 --- a/debian/nymea-plugin-nanoleaf.install.in +++ b/debian/nymea-plugin-nanoleaf.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginnanoleaf.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginnanoleaf.so diff --git a/debian/nymea-plugin-netatmo.install.in b/debian/nymea-plugin-netatmo.install.in index 5664e42..1b41476 100644 --- a/debian/nymea-plugin-netatmo.install.in +++ b/debian/nymea-plugin-netatmo.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginnetatmo.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginnetatmo.so \ No newline at end of file diff --git a/debian/nymea-plugin-networkdetector.install.in b/debian/nymea-plugin-networkdetector.install.in index ee1bcbf..7300771 100644 --- a/debian/nymea-plugin-networkdetector.install.in +++ b/debian/nymea-plugin-networkdetector.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginnetworkdetector.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginnetworkdetector.so \ No newline at end of file diff --git a/debian/nymea-plugin-nuki.install.in b/debian/nymea-plugin-nuki.install.in index c0373c5..2419f69 100644 --- a/debian/nymea-plugin-nuki.install.in +++ b/debian/nymea-plugin-nuki.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginnuki.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginnuki.so diff --git a/debian/nymea-plugin-onewire.install.in b/debian/nymea-plugin-onewire.install.in index 7e326cc..8f211e3 100644 --- a/debian/nymea-plugin-onewire.install.in +++ b/debian/nymea-plugin-onewire.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginonewire.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginonewire.so diff --git a/debian/nymea-plugin-openuv.install.in b/debian/nymea-plugin-openuv.install.in index 63b20ff..b39091a 100644 --- a/debian/nymea-plugin-openuv.install.in +++ b/debian/nymea-plugin-openuv.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginopenuv.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginopenuv.so diff --git a/debian/nymea-plugin-openweathermap.install.in b/debian/nymea-plugin-openweathermap.install.in index 6c6e8fd..992d62b 100644 --- a/debian/nymea-plugin-openweathermap.install.in +++ b/debian/nymea-plugin-openweathermap.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginopenweathermap.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginopenweathermap.so \ No newline at end of file diff --git a/debian/nymea-plugin-osdomotics.install.in b/debian/nymea-plugin-osdomotics.install.in index 6846975..7631f63 100644 --- a/debian/nymea-plugin-osdomotics.install.in +++ b/debian/nymea-plugin-osdomotics.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginosdomotics.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginosdomotics.so \ No newline at end of file diff --git a/debian/nymea-plugin-philipshue.install.in b/debian/nymea-plugin-philipshue.install.in index 991dcc2..5c11860 100644 --- a/debian/nymea-plugin-philipshue.install.in +++ b/debian/nymea-plugin-philipshue.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginphilipshue.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginphilipshue.so \ No newline at end of file diff --git a/debian/nymea-plugin-pushbullet.install.in b/debian/nymea-plugin-pushbullet.install.in index 741aa97..4e36090 100644 --- a/debian/nymea-plugin-pushbullet.install.in +++ b/debian/nymea-plugin-pushbullet.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginpushbullet.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginpushbullet.so diff --git a/debian/nymea-plugin-remotessh.install.in b/debian/nymea-plugin-remotessh.install.in index aa3836c..294ceb7 100644 --- a/debian/nymea-plugin-remotessh.install.in +++ b/debian/nymea-plugin-remotessh.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginremotessh.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginremotessh.so diff --git a/debian/nymea-plugin-senic.install.in b/debian/nymea-plugin-senic.install.in index 716ee40..5688791 100644 --- a/debian/nymea-plugin-senic.install.in +++ b/debian/nymea-plugin-senic.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginsenic.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginsenic.so diff --git a/debian/nymea-plugin-serialportcommander.install.in b/debian/nymea-plugin-serialportcommander.install.in index b5a25a6..a5592a1 100644 --- a/debian/nymea-plugin-serialportcommander.install.in +++ b/debian/nymea-plugin-serialportcommander.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginserialportcommander.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginserialportcommander.so diff --git a/debian/nymea-plugin-shelly.install.in b/debian/nymea-plugin-shelly.install.in index c8767a5..5676cae 100644 --- a/debian/nymea-plugin-shelly.install.in +++ b/debian/nymea-plugin-shelly.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginshelly.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginshelly.so diff --git a/debian/nymea-plugin-simulation.install.in b/debian/nymea-plugin-simulation.install.in index b1fa7ae..a982bfe 100644 --- a/debian/nymea-plugin-simulation.install.in +++ b/debian/nymea-plugin-simulation.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginsimulation.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginsimulation.so diff --git a/debian/nymea-plugin-snapd.install.in b/debian/nymea-plugin-snapd.install.in index 5d738bb..8473955 100644 --- a/debian/nymea-plugin-snapd.install.in +++ b/debian/nymea-plugin-snapd.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginsnapd.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginsnapd.so diff --git a/debian/nymea-plugin-sonos.install.in b/debian/nymea-plugin-sonos.install.in index b5a16a9..ba2f12e 100644 --- a/debian/nymea-plugin-sonos.install.in +++ b/debian/nymea-plugin-sonos.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginsonos.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginsonos.so diff --git a/debian/nymea-plugin-systemmonitor.install.in b/debian/nymea-plugin-systemmonitor.install.in index 77eef00..f3ec981 100644 --- a/debian/nymea-plugin-systemmonitor.install.in +++ b/debian/nymea-plugin-systemmonitor.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginsystemmonitor.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginsystemmonitor.so diff --git a/debian/nymea-plugin-tado.install.in b/debian/nymea-plugin-tado.install.in index 2a7d8ba..2d62b79 100644 --- a/debian/nymea-plugin-tado.install.in +++ b/debian/nymea-plugin-tado.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugintado.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugintado.so diff --git a/debian/nymea-plugin-tasmota.install.in b/debian/nymea-plugin-tasmota.install.in index 5bd78e4..24c16a9 100644 --- a/debian/nymea-plugin-tasmota.install.in +++ b/debian/nymea-plugin-tasmota.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugintasmota.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugintasmota.so diff --git a/debian/nymea-plugin-tcpcommander.install.in b/debian/nymea-plugin-tcpcommander.install.in index c1395c4..c24bb95 100644 --- a/debian/nymea-plugin-tcpcommander.install.in +++ b/debian/nymea-plugin-tcpcommander.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugintcpcommander.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugintcpcommander.so diff --git a/debian/nymea-plugin-texasinstruments.install.in b/debian/nymea-plugin-texasinstruments.install.in index 3b3cbc3..4e46ce5 100644 --- a/debian/nymea-plugin-texasinstruments.install.in +++ b/debian/nymea-plugin-texasinstruments.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugintexasinstruments.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugintexasinstruments.so diff --git a/debian/nymea-plugin-tplink.install.in b/debian/nymea-plugin-tplink.install.in index 6b068cd..bd51f8e 100644 --- a/debian/nymea-plugin-tplink.install.in +++ b/debian/nymea-plugin-tplink.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugintplink.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugintplink.so diff --git a/debian/nymea-plugin-tuya.install.in b/debian/nymea-plugin-tuya.install.in index f2e0936..b95d6af 100644 --- a/debian/nymea-plugin-tuya.install.in +++ b/debian/nymea-plugin-tuya.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_deviceplugintuya.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugintuya.so diff --git a/debian/nymea-plugin-udpcommander.install.in b/debian/nymea-plugin-udpcommander.install.in index 388c854..d1b8e44 100644 --- a/debian/nymea-plugin-udpcommander.install.in +++ b/debian/nymea-plugin-udpcommander.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginudpcommander.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginudpcommander.so \ No newline at end of file diff --git a/debian/nymea-plugin-unifi.install.in b/debian/nymea-plugin-unifi.install.in index 6caecb7..0c98cf0 100644 --- a/debian/nymea-plugin-unifi.install.in +++ b/debian/nymea-plugin-unifi.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginunifi.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginunifi.so diff --git a/debian/nymea-plugin-unitec.install.in b/debian/nymea-plugin-unitec.install.in index d74e9a6..9fbc13b 100644 --- a/debian/nymea-plugin-unitec.install.in +++ b/debian/nymea-plugin-unitec.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginunitec.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginunitec.so diff --git a/debian/nymea-plugin-usbrelay.install.in b/debian/nymea-plugin-usbrelay.install.in index e2a5e0d..680061e 100644 --- a/debian/nymea-plugin-usbrelay.install.in +++ b/debian/nymea-plugin-usbrelay.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginusbrelay.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginusbrelay.so diff --git a/debian/nymea-plugin-wakeonlan.install.in b/debian/nymea-plugin-wakeonlan.install.in index 8964e04..1d88443 100644 --- a/debian/nymea-plugin-wakeonlan.install.in +++ b/debian/nymea-plugin-wakeonlan.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginwakeonlan.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginwakeonlan.so diff --git a/debian/nymea-plugin-wemo.install.in b/debian/nymea-plugin-wemo.install.in index a13aa33..d44e763 100644 --- a/debian/nymea-plugin-wemo.install.in +++ b/debian/nymea-plugin-wemo.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginwemo.so \ No newline at end of file +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginwemo.so diff --git a/debian/nymea-plugin-ws2812fx.install.in b/debian/nymea-plugin-ws2812fx.install.in index 8a70387..3ef6c58 100644 --- a/debian/nymea-plugin-ws2812fx.install.in +++ b/debian/nymea-plugin-ws2812fx.install.in @@ -1 +1 @@ -usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginws2812fx.so +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginws2812fx.so