Описываем модули сенсоров по новому формату

This commit is contained in:
2022-08-04 00:12:38 +03:00
parent 029d505806
commit 0e31f7c112
47 changed files with 1246 additions and 463 deletions

View File

@@ -1,16 +0,0 @@
[
{
"name": "Cенсор температуры MAX6675",
"num": 31,
"type": "Reading",
"subtype": "Max6675t",
"id": "maxtmp",
"widget": "anydataTmp",
"page": "Сенсоры",
"descr": "MAX Температура",
"int": 15,
"DO": 12,
"CS": 13,
"CLK": 14
}
]

View File

@@ -0,0 +1,44 @@
{
"menuSection": "Сенсоры",
"configItem": [{
"name": "Cенсор температуры MAX6675",
"type": "Reading",
"subtype": "Max6675t",
"id": "maxtmp",
"widget": "anydataTmp",
"page": "Сенсоры",
"descr": "MAX Температура",
"int": 15,
"DO": 12,
"CS": 13,
"CLK": 14
}],
"about": {
"authorName": "Serghei Crasnicov",
"authorContact": "https://t.me/Serghei63",
"authorGit": "https://github.com/Serghei63",
"specialThanks": "",
"moduleName": "Max6675",
"moduleVersion": "1.0",
"moduleDesc": "Позволяет получить значения температуры с Max6675.",
"propInfo": {
"DO": "GPIO шины данных",
"CS": "GPIO шины данных",
"CLK": "GPIO шины данных",
"int": "Количество секунд между опросами датчика."
}
},
"defActive": true,
"devices": {
"esp32_4mb": [
"adafruit/MAX6675 library"
],
"esp8266_4mb": [
"adafruit/MAX6675 library"
]
}
}

View File

@@ -1,8 +0,0 @@
[env:esp8266_4mb]
lib_deps =
adafruit/MAX6675 library
[env:esp32_4mb]
lib_deps =
adafruit/MAX6675 library