mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-04-01 12:59:12 +03:00
Описываем модули сенсоров по новому формату
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
44
src/modules/sensors/Max6675/modinfo.json
Normal file
44
src/modules/sensors/Max6675/modinfo.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
[env:esp8266_4mb]
|
||||
lib_deps =
|
||||
adafruit/MAX6675 library
|
||||
|
||||
[env:esp32_4mb]
|
||||
lib_deps =
|
||||
adafruit/MAX6675 library
|
||||
|
||||
Reference in New Issue
Block a user