diff --git a/src/modules/virtual/VariableColor/VariableColor.cpp b/src/modules/virtual/VariableColor/VariableColor.cpp deleted file mode 100644 index 12e0ff34..00000000 --- a/src/modules/virtual/VariableColor/VariableColor.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "Global.h" -#include "classes/IoTItem.h" - -// дочь - родитель -class VariableColor : public IoTItem -{ -private: -public: - VariableColor(String parameters) : IoTItem(parameters) - { - } - - void doByInterval() - { - } - - // событие когда пользователь подключается приложением или веб интерфейсом к усройству - void onMqttWsAppConnectEvent() - { - SerialPrint("i", "Connecting", "Dashbord open "); - regEvent(value.valS, "VariableColor", false, true); - } - - IoTValue execute(String command, std::vector ¶m) - { - if (command == "widget" && param.size() == 2) - { - String json = "{}"; - jsonWriteStr(json, param[0].valS, param[1].valS); - sendSubWidgetsValues(_id, json); - } - return {}; - } -}; - -void *getAPI_VariableColor(String subtype, String param) -{ - if (subtype == F("VariableColor")) - { - return new VariableColor(param); - } - else - { - return nullptr; - } -} diff --git a/src/modules/virtual/VariableColor/modinfo.json b/src/modules/virtual/VariableColor/modinfo.json deleted file mode 100644 index c6703166..00000000 --- a/src/modules/virtual/VariableColor/modinfo.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "menuSection": "virtual_elments", - "configItem": [ - { - "global": 0, - "name": "Цветной текст", - "type": "Reading", - "subtype": "VariableColor", - "id": "color", - "needSave": 0, - "widget": "anydataDef", - "page": "Вывод", - "descr": "Цветной текст", - "val": "...", - "round": 0 - } - ], - "about": { - "authorName": "AVAKS", - "authorContact": "https://t.me/@avaks_dev", - "authorGit": "https://github.com/avaksru", - "specialThanks": "", - "moduleName": "VariableColor", - "moduleVersion": "1", - "usedRam": { - "esp32_4mb": 15, - "esp8266_4mb": 15 - }, - "title": "Цветной текст", - "moduleDesc": "Текст с возможностью динамического изменения цвета", - "propInfo": { - "val": "Значение при старте" - } - }, - "defActive": true, - "usedLibs": { - "esp32_4mb": [], - "esp32_4mb3f": [], - "esp32cam_4mb": [], - "esp32_16mb": [], - "esp32s2_4mb": [], - "esp32s3_16mb": [], - "esp32c3m_4mb": [], - "esp8266_4mb": [], - "esp8266_16mb": [], - "esp8266_1mb": [], - "esp8266_1mb_ota": [], - "esp8285_1mb": [], - "esp8285_1mb_ota": [], - "esp8266_2mb": [], - "esp8266_2mb_ota": [] - } -} \ No newline at end of file