Добавляем параметр global во все модули

This commit is contained in:
2022-10-23 11:19:41 +03:00
parent 31beaa9c90
commit 08db9bd9e3
41 changed files with 65 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
"menuSection": "Экраны",
"configItem": [{
"global": 0,
"name": "LCD экран 2004",
"type": "Reading",
"subtype": "Lcd2004",

View File

@@ -1,7 +1,8 @@
{
"menuSection": "Экраны",
"configItem": [
{
{
"global": 0,
"name": "Strip ws2812b",
"type": "Reading",
"subtype": "Ws2812b",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [
{
"global": 0,
"name": "Кнопка подключенная к пину",
"type": "Writing",
"subtype": "ButtonIn",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [
{
"global": 0,
"name": "Управление пином",
"type": "Writing",
"subtype": "ButtonOut",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "Camera OV2640 (ESPcam)",
"type": "Reading",
"subtype": "EspCam",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "Сервопривод",
"type": "Writing",
"subtype": "IoTServo",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "Расширитель портов Mcp23017",
"type": "Reading",
"subtype": "Mcp23017",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "MP3 плеер",
"type": "Reading",
"subtype": "Mp3",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "Расширитель портов Pcf8574",
"type": "Reading",
"subtype": "Pcf8574",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "PWM ESP32",
"type": "Writing",
"subtype": "Pwm32",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "PWM ESP8266",
"type": "Writing",
"subtype": "Pwm8266",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "SD карта",
"type": "Writing",
"subtype": "SDcard",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "Доп. функции системы",
"type": "Reading",
"subtype": "SysExt",

View File

@@ -2,6 +2,7 @@
"menuSection": "Исполнительные устройства",
"configItem": [{
"global": 0,
"name": "Телеграм-Бот",
"type": "Writing",
"subtype": "Telegram",

View File

@@ -3,6 +3,7 @@
"configItem": [
{
"global": 0,
"name": "Телеграм-Лайт",
"type": "Writing",
"subtype": "TelegramLT",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "ADS1115 Напряжение",
"type": "Reading",
"subtype": "Ads1115",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "AHTXX Температура",
"type": "Reading",
"subtype": "AhtXXt",
@@ -15,6 +16,7 @@
"round": 1
},
{
"global": 0,
"name": "AHTXX Влажность",
"type": "Reading",
"subtype": "AhtXXh",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [{
"global": 0,
"name": "Аналоговый сенсор",
"type": "Reading",
"subtype": "AnalogAdc",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "BME280 Температура",
"type": "Reading",
"subtype": "Bme280t",
@@ -14,6 +15,7 @@
"round": 1
},
{
"global": 0,
"name": "BME280 Давление",
"type": "Reading",
"subtype": "Bme280p",
@@ -26,6 +28,7 @@
"round": 1
},
{
"global": 0,
"name": "BME280 Влажность",
"type": "Reading",
"subtype": "Bme280h",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "BMP280 Температура",
"type": "Reading",
"subtype": "Bmp280t",
@@ -14,6 +15,7 @@
"round": 1
},
{
"global": 0,
"name": "BMP280 Давление",
"type": "Reading",
"subtype": "Bmp280p",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "DHT11 Температура",
"type": "Reading",
"subtype": "Dht1122t",
@@ -14,6 +15,7 @@
"senstype": "dht11"
},
{
"global": 0,
"name": "DHT11 Влажность",
"type": "Reading",
"subtype": "Dht1122h",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "DS18B20 Температура",
"type": "Reading",
"subtype": "Ds18b20",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "EMON Ток",
"type": "Reading",
"subtype": "I",
@@ -16,6 +17,7 @@
"multiply": 1
},
{
"global": 0,
"name": "EMON Напряжение",
"type": "Reading",
"subtype": "U",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "Частотомер на ADC, Частота",
"type": "Reading",
"subtype": "FreqMeterF",
@@ -18,6 +19,7 @@
"int": 5
},
{
"global": 0,
"name": "Частотомер на ADC, Процент Пульсации",
"type": "Reading",
"subtype": "FreqMeterPcFl",
@@ -34,6 +36,7 @@
"int": 5
},
{
"global": 0,
"name": "Частотомер на ADC, Индекс Пульсации",
"type": "Reading",
"subtype": "FreqMeterFlIn",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "GY21 Температура",
"type": "Reading",
"subtype": "GY21t",
@@ -13,6 +14,7 @@
"int": 15
},
{
"global": 0,
"name": "GY21 Влажность",
"type": "Reading",
"subtype": "GY21h",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "HDC1080 Температура",
"type": "Reading",
"subtype": "Hdc1080t",
@@ -14,6 +15,7 @@
"round": 1
},
{
"global": 0,
"name": "HDC1080 Влажность",
"type": "Reading",
"subtype": "Hdc1080h",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "Wiegand Считыватель",
"type": "Reading",
"subtype": "IoTWiegand",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "MAX6675 Температура",
"type": "Reading",
"subtype": "Max6675t",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "MHZ-19 CO2 UART",
"type": "Reading",
"subtype": "Mhz19uart",
@@ -20,6 +21,7 @@
"ABC": 1
},
{
"global": 0,
"name": "MHZ-19 CO2 PWM",
"type": "Reading",
"subtype": "Mhz19pwm",
@@ -36,6 +38,7 @@
"int": 300
},
{
"global": 0,
"name": "MHZ-19 Температура UART",
"type": "Reading",
"subtype": "Mhz19temp",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "PZEM 004t Напряжение",
"type": "Reading",
"subtype": "Pzem004v",
@@ -14,6 +15,7 @@
"round": 1
},
{
"global": 0,
"name": "PZEM 004t Сила тока",
"type": "Reading",
"subtype": "Pzem004a",
@@ -26,6 +28,7 @@
"round": 1
},
{
"global": 0,
"name": "PZEM 004t Мощность",
"type": "Reading",
"subtype": "Pzem004w",
@@ -38,6 +41,7 @@
"round": 1
},
{
"global": 0,
"name": "PZEM 004t Энергия",
"type": "Reading",
"subtype": "Pzem004wh",
@@ -50,6 +54,7 @@
"round": 1
},
{
"global": 0,
"name": "PZEM 004t Частота",
"type": "Reading",
"subtype": "Pzem004hz",
@@ -62,6 +67,7 @@
"round": 1
},
{
"global": 0,
"name": "PZEM 004t Косинус",
"type": "Reading",
"subtype": "Pzem004pf",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [{
"global": 0,
"name": "Сканер кнопок 433 MHz",
"num": 31,
"type": "Reading",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "SDS011 PM25 Пыль",
"type": "Reading",
"subtype": "Sds011_25",
@@ -21,6 +22,7 @@
"retryDelayMs": 5
},
{
"global": 0,
"name": "SDS011 PM10 Пыль",
"type": "Reading",
"subtype": "Sds011_10",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "Sht20 Температура",
"type": "Reading",
"subtype": "Sht20t",
@@ -13,6 +14,7 @@
"round": 1
},
{
"global": 0,
"name": "Sht20 Влажность",
"type": "Reading",
"subtype": "Sht20h",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "Sht30 Температура",
"type": "Reading",
"subtype": "Sht30t",
@@ -13,6 +14,7 @@
"round": 1
},
{
"global": 0,
"name": "Sht30 Влажность",
"type": "Reading",
"subtype": "Sht30h",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "HC-SR04 Ультразвуковой дальномер",
"num": 1,
"type": "Reading",

View File

@@ -2,6 +2,7 @@
"menuSection": "Сенсоры",
"configItem": [
{
"global": 0,
"name": "UART",
"type": "Reading",
"subtype": "UART",

View File

@@ -2,6 +2,7 @@
"menuSection": "Виртуальные элементы",
"configItem": [
{
"global": 0,
"name": "График",
"type": "Writing",
"subtype": "Loging",

View File

@@ -2,6 +2,7 @@
"menuSection": "Виртуальные элементы",
"configItem": [
{
"global": 0,
"name": "График дневного расхода",
"type": "Writing",
"subtype": "LogingDaily",

View File

@@ -2,6 +2,7 @@
"menuSection": "Виртуальные элементы",
"configItem": [
{
"global": 0,
"name": "Таймер",
"type": "Writing",
"subtype": "Timer",

View File

@@ -2,6 +2,7 @@
"menuSection": "Виртуальные элементы",
"configItem": [
{
"global": 0,
"name": "Виртуальная кнопка",
"type": "Reading",
"subtype": "VButton",

View File

@@ -2,6 +2,7 @@
"menuSection": "Виртуальные элементы",
"configItem": [
{
"global": 0,
"name": "Окно ввода числа (переменная)",
"type": "Reading",
"subtype": "Variable",
@@ -15,6 +16,7 @@
"num": 2
},
{
"global": 0,
"name": "Окно ввода времени",
"type": "Reading",
"subtype": "Variable",
@@ -28,6 +30,7 @@
"num": 3
},
{
"global": 0,
"name": "Окно ввода даты",
"type": "Reading",
"subtype": "Variable",
@@ -41,6 +44,7 @@
"num": 4
},
{
"global": 0,
"name": "Окно ввода текста",
"type": "Reading",
"subtype": "Variable",