Добавляем параметр 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": "Экраны", "menuSection": "Экраны",
"configItem": [{ "configItem": [{
"global": 0,
"name": "LCD экран 2004", "name": "LCD экран 2004",
"type": "Reading", "type": "Reading",
"subtype": "Lcd2004", "subtype": "Lcd2004",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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