From 7ac2e96c7bc489536e11eef50703f0725184ac9d Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Wed, 28 Sep 2022 10:47:33 +0200 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data_svelte/items.json | 2 +- src/modules/sensors/Acs712/modinfo.json | 37 +++++++++++-------------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/data_svelte/items.json b/data_svelte/items.json index 2c928a75..01d93319 100644 --- a/data_svelte/items.json +++ b/data_svelte/items.json @@ -98,7 +98,7 @@ "header": "Сенсоры" }, { - "name": "8. Аналоговый датчик тока Acs712", + "name": "8. Acs712 Ток", "type": "Reading", "subtype": "Acs712", "id": "amp", diff --git a/src/modules/sensors/Acs712/modinfo.json b/src/modules/sensors/Acs712/modinfo.json index f85cb8db..6f112490 100644 --- a/src/modules/sensors/Acs712/modinfo.json +++ b/src/modules/sensors/Acs712/modinfo.json @@ -1,19 +1,19 @@ -{ +{ "menuSection": "Сенсоры", - - "configItem": [{ - "name": "Аналоговый датчик тока Acs712", - "type": "Reading", - "subtype": "Acs712", - "id": "amp", - "widget": "anydataAmp", - "page": "Сенсоры", - "descr": "Ток", - "round": 3, - "pin": 39, - "int": 5 - }], - + "configItem": [ + { + "name": "Acs712 Ток", + "type": "Reading", + "subtype": "Acs712", + "id": "amp", + "widget": "anydataAmp", + "page": "Сенсоры", + "descr": "Ток", + "round": 3, + "pin": 39, + "int": 5 + } + ], "about": { "authorName": "Yuriy Kuneev", "authorContact": "https://t.me/Kuneev07", @@ -28,14 +28,9 @@ "int": "Количество секунд между опросами датчика." } }, - - - "defActive": true, - "devices": { "esp32_4mb": [], "esp8266_4mb": [] } -} - +} \ No newline at end of file