Выравниваем настройки проекта для esp8266

This commit is contained in:
2023-03-08 15:21:25 +03:00
parent 5f884e16af
commit f4071e42dc
2 changed files with 39 additions and 99 deletions

View File

@@ -143,29 +143,12 @@
"val": "0", "val": "0",
"num": 9 "num": 9
}, },
{
"global": 0,
"name": "10. Погода",
"type": "Reading",
"subtype": "Weather",
"id": "Weather",
"needSave": 0,
"widget": "anydataDef",
"page": "Погода",
"descr": "",
"int": 3,
"location": "Moscow",
"param": "temp_C",
"round": 0,
"val": "...",
"num": 10
},
{ {
"header": "Сенсоры" "header": "Сенсоры"
}, },
{ {
"global": 0, "global": 0,
"name": "11. Аналоговый сенсор", "name": "10. Аналоговый сенсор",
"type": "Reading", "type": "Reading",
"subtype": "AnalogAdc", "subtype": "AnalogAdc",
"id": "t", "id": "t",
@@ -179,11 +162,11 @@
"pin": 0, "pin": 0,
"int": 15, "int": 15,
"avgSteps": 1, "avgSteps": 1,
"num": 11 "num": 10
}, },
{ {
"global": 0, "global": 0,
"name": "12. BMP280 Температура", "name": "11. BMP280 Температура",
"type": "Reading", "type": "Reading",
"subtype": "Bmp280t", "subtype": "Bmp280t",
"id": "tmp3", "id": "tmp3",
@@ -193,11 +176,11 @@
"int": 15, "int": 15,
"addr": "0x77", "addr": "0x77",
"round": 1, "round": 1,
"num": 12 "num": 11
}, },
{ {
"global": 0, "global": 0,
"name": "13. BMP280 Давление", "name": "12. BMP280 Давление",
"type": "Reading", "type": "Reading",
"subtype": "Bmp280p", "subtype": "Bmp280p",
"id": "Press3", "id": "Press3",
@@ -207,11 +190,11 @@
"int": 15, "int": 15,
"addr": "0x77", "addr": "0x77",
"round": 1, "round": 1,
"num": 13 "num": 12
}, },
{ {
"global": 0, "global": 0,
"name": "14. DS18B20 Температура", "name": "13. DS18B20 Температура",
"type": "Reading", "type": "Reading",
"subtype": "Ds18b20", "subtype": "Ds18b20",
"id": "dstmp", "id": "dstmp",
@@ -223,34 +206,11 @@
"index": 0, "index": 0,
"addr": "", "addr": "",
"round": 1, "round": 1,
"num": 14 "num": 13
}, },
{ {
"global": 0, "global": 0,
"name": "15. Сканер DS2401 меток", "name": "14. Часы реального времени",
"type": "Reading",
"subtype": "DS2401",
"id": "rds",
"int": 100,
"intRepeat": 6,
"pin": 12,
"num": 15
},
{
"global": 0,
"name": "16. Сканер кнопок 433 MHz",
"num": 16,
"type": "Reading",
"subtype": "RCswitch",
"id": "rsw",
"int": 100,
"intRepeat": 6,
"pinRx": 12,
"pinTx": 12
},
{
"global": 0,
"name": "17. Часы реального времени",
"type": "Reading", "type": "Reading",
"subtype": "RTC", "subtype": "RTC",
"id": "rtc", "id": "rtc",
@@ -266,11 +226,11 @@
"int": 5, "int": 5,
"btn-setUTime": "0", "btn-setUTime": "0",
"btn-setSysTime": "nil", "btn-setSysTime": "nil",
"num": 17 "num": 14
}, },
{ {
"global": 0, "global": 0,
"name": "18. Sht20 Температура", "name": "15. Sht20 Температура",
"type": "Reading", "type": "Reading",
"subtype": "Sht20t", "subtype": "Sht20t",
"id": "tmp2", "id": "tmp2",
@@ -279,11 +239,11 @@
"descr": "Температура", "descr": "Температура",
"int": 15, "int": 15,
"round": 1, "round": 1,
"num": 18 "num": 15
}, },
{ {
"global": 0, "global": 0,
"name": "19. Sht20 Влажность", "name": "16. Sht20 Влажность",
"type": "Reading", "type": "Reading",
"subtype": "Sht20h", "subtype": "Sht20h",
"id": "Hum2", "id": "Hum2",
@@ -292,11 +252,11 @@
"descr": "Влажность", "descr": "Влажность",
"int": 15, "int": 15,
"round": 1, "round": 1,
"num": 19 "num": 16
}, },
{ {
"global": 0, "global": 0,
"name": "20. Sht30 Температура", "name": "17. Sht30 Температура",
"type": "Reading", "type": "Reading",
"subtype": "Sht30t", "subtype": "Sht30t",
"id": "tmp30", "id": "tmp30",
@@ -305,11 +265,11 @@
"descr": "SHT30 Температура", "descr": "SHT30 Температура",
"int": 15, "int": 15,
"round": 1, "round": 1,
"num": 20 "num": 17
}, },
{ {
"global": 0, "global": 0,
"name": "21. Sht30 Влажность", "name": "18. Sht30 Влажность",
"type": "Reading", "type": "Reading",
"subtype": "Sht30h", "subtype": "Sht30h",
"id": "Hum30", "id": "Hum30",
@@ -318,12 +278,12 @@
"descr": "SHT30 Влажность", "descr": "SHT30 Влажность",
"int": 15, "int": 15,
"round": 1, "round": 1,
"num": 21 "num": 18
}, },
{ {
"global": 0, "global": 0,
"name": "22. HC-SR04 Ультразвуковой дальномер", "name": "19. HC-SR04 Ультразвуковой дальномер",
"num": 22, "num": 19,
"type": "Reading", "type": "Reading",
"subtype": "Sonar", "subtype": "Sonar",
"id": "sonar", "id": "sonar",
@@ -339,7 +299,7 @@
}, },
{ {
"global": 0, "global": 0,
"name": "23. Кнопка подключенная к пину", "name": "20. Кнопка подключенная к пину",
"type": "Writing", "type": "Writing",
"subtype": "ButtonIn", "subtype": "ButtonIn",
"id": "btn", "id": "btn",
@@ -354,11 +314,11 @@
"debounceDelay": 50, "debounceDelay": 50,
"fixState": 0, "fixState": 0,
"inv": 0, "inv": 0,
"num": 23 "num": 20
}, },
{ {
"global": 0, "global": 0,
"name": "24. Управление пином", "name": "21. Управление пином",
"type": "Writing", "type": "Writing",
"subtype": "ButtonOut", "subtype": "ButtonOut",
"needSave": 0, "needSave": 0,
@@ -369,11 +329,11 @@
"int": 0, "int": 0,
"inv": 0, "inv": 0,
"pin": 2, "pin": 2,
"num": 24 "num": 21
}, },
{ {
"global": 0, "global": 0,
"name": "25. Расширитель портов Mcp23017", "name": "22. Расширитель портов Mcp23017",
"type": "Reading", "type": "Reading",
"subtype": "Mcp23017", "subtype": "Mcp23017",
"id": "Mcp", "id": "Mcp",
@@ -383,11 +343,11 @@
"int": "0", "int": "0",
"addr": "0x20", "addr": "0x20",
"index": 1, "index": 1,
"num": 25 "num": 22
}, },
{ {
"global": 0, "global": 0,
"name": "26. Сенсорная кнопка", "name": "23. Сенсорная кнопка",
"type": "Writing", "type": "Writing",
"subtype": "Multitouch", "subtype": "Multitouch",
"id": "impulse", "id": "impulse",
@@ -401,11 +361,11 @@
"pinMode": "INPUT", "pinMode": "INPUT",
"debounceDelay": 50, "debounceDelay": 50,
"PWMDelay": 500, "PWMDelay": 500,
"num": 26 "num": 23
}, },
{ {
"global": 0, "global": 0,
"name": "27. Расширитель портов Pcf8574", "name": "24. Расширитель портов Pcf8574",
"type": "Reading", "type": "Reading",
"subtype": "Pcf8574", "subtype": "Pcf8574",
"id": "Pcf", "id": "Pcf",
@@ -415,11 +375,11 @@
"int": "0", "int": "0",
"addr": "0x20", "addr": "0x20",
"index": 1, "index": 1,
"num": 27 "num": 24
}, },
{ {
"global": 0, "global": 0,
"name": "28. PWM ESP8266", "name": "25. PWM ESP8266",
"type": "Writing", "type": "Writing",
"subtype": "Pwm8266", "subtype": "Pwm8266",
"id": "pwm", "id": "pwm",
@@ -431,11 +391,11 @@
"freq": 5000, "freq": 5000,
"val": 0, "val": 0,
"apin": -1, "apin": -1,
"num": 28 "num": 25
}, },
{ {
"global": 0, "global": 0,
"name": "29. Телеграм-Лайт", "name": "26. Телеграм-Лайт",
"type": "Writing", "type": "Writing",
"subtype": "TelegramLT", "subtype": "TelegramLT",
"id": "tg", "id": "tg",
@@ -444,30 +404,14 @@
"descr": "", "descr": "",
"token": "", "token": "",
"chatID": "", "chatID": "",
"num": 29 "num": 26
}, },
{ {
"header": "Экраны" "header": "Экраны"
}, },
{ {
"global": 0, "global": 0,
"name": "30. LCD Dwin экран", "name": "27. LCD экран 2004",
"type": "Reading",
"subtype": "DwinI",
"id": "dwin",
"widget": "",
"page": "",
"descr": "",
"int": 15,
"TX": 17,
"RX": 16,
"line": 2,
"speed": 115200,
"num": 30
},
{
"global": 0,
"name": "31. LCD экран 2004",
"type": "Reading", "type": "Reading",
"subtype": "Lcd2004", "subtype": "Lcd2004",
"id": "Lcd", "id": "Lcd",
@@ -479,10 +423,10 @@
"size": "20,4", "size": "20,4",
"coord": "0,0", "coord": "0,0",
"id2show": "id датчика", "id2show": "id датчика",
"num": 31 "num": 27
}, },
{ {
"name": "32. LCD экран 1602", "name": "28. LCD экран 1602",
"type": "Reading", "type": "Reading",
"subtype": "Lcd2004", "subtype": "Lcd2004",
"id": "Lcd", "id": "Lcd",
@@ -494,6 +438,6 @@
"size": "16,2", "size": "16,2",
"coord": "0,0", "coord": "0,0",
"id2show": "id датчика", "id2show": "id датчика",
"num": 32 "num": 28
} }
] ]

View File

@@ -137,13 +137,13 @@ build_src_filter =
lib_deps = lib_deps =
adafruit/Adafruit BMP280 Library adafruit/Adafruit BMP280 Library
https://github.com/milesburton/Arduino-Temperature-Control-Library https://github.com/milesburton/Arduino-Temperature-Control-Library
rc-switch @ ^2.6.4
https://github.com/tremaru/iarduino_RTC https://github.com/tremaru/iarduino_RTC
robtillaart/SHT2x@^0.1.1 robtillaart/SHT2x@^0.1.1
WEMOS SHT3x@1.0.0 WEMOS SHT3x@1.0.0
adafruit/Adafruit MCP23017 Arduino Library@^2.1.0 adafruit/Adafruit MCP23017 Arduino Library@^2.1.0
adafruit/Adafruit BusIO @ ^1.13.2 adafruit/Adafruit BusIO @ ^1.13.2
adafruit/Adafruit BusIO @ ^1.13.2 adafruit/Adafruit BusIO @ ^1.13.2
https://github.com/robotclass/RobotClass_LiquidCrystal_I2C
marcoschwartz/LiquidCrystal_I2C@^1.1.4 marcoschwartz/LiquidCrystal_I2C@^1.1.4
build_src_filter = build_src_filter =
+<modules/virtual/Cron> +<modules/virtual/Cron>
@@ -151,12 +151,9 @@ build_src_filter =
+<modules/virtual/Variable> +<modules/virtual/Variable>
+<modules/virtual/VariableColor> +<modules/virtual/VariableColor>
+<modules/virtual/VButton> +<modules/virtual/VButton>
+<modules/virtual/Weather>
+<modules/sensors/AnalogAdc> +<modules/sensors/AnalogAdc>
+<modules/sensors/Bmp280> +<modules/sensors/Bmp280>
+<modules/sensors/Ds18b20> +<modules/sensors/Ds18b20>
+<modules/sensors/DS2401>
+<modules/sensors/RCswitch>
+<modules/sensors/RTC> +<modules/sensors/RTC>
+<modules/sensors/Sht20> +<modules/sensors/Sht20>
+<modules/sensors/Sht30> +<modules/sensors/Sht30>
@@ -168,7 +165,6 @@ build_src_filter =
+<modules/exec/Pcf8574> +<modules/exec/Pcf8574>
+<modules/exec/Pwm8266> +<modules/exec/Pwm8266>
+<modules/exec/TelegramLT> +<modules/exec/TelegramLT>
+<modules/display/DwinI>
+<modules/display/Lcd2004> +<modules/display/Lcd2004>
[env:esp8266_1mb_fromitems] [env:esp8266_1mb_fromitems]