mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-04-01 12:59:12 +03:00
Описываем модули сенсоров по новому формату
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "Датчик пыли SDS011 PM25",
|
||||
"num": 18,
|
||||
"type": "Reading",
|
||||
"subtype": "Sds011_25",
|
||||
"id": "pmuart25",
|
||||
"widget": "anydataPpm",
|
||||
"page": "Сенсоры",
|
||||
"descr": "PM-2.5",
|
||||
"plus": 0,
|
||||
"multiply": 1,
|
||||
"round": 10,
|
||||
"rxPin": 13,
|
||||
"txPin": 12,
|
||||
"int": 15,
|
||||
"warmUp": 30,
|
||||
"period": 300
|
||||
},
|
||||
{
|
||||
"name": "Датчик пыли SDS011 PM10",
|
||||
"num": 19,
|
||||
"type": "Reading",
|
||||
"subtype": "Sds011_10",
|
||||
"id": "pmuart10",
|
||||
"widget": "anydataPpm",
|
||||
"page": "Сенсоры",
|
||||
"descr": "PM-10",
|
||||
"plus": 0,
|
||||
"multiply": 1,
|
||||
"round": 10,
|
||||
"rxPin": 13,
|
||||
"txPin": 12,
|
||||
"int": 15,
|
||||
"warmUp": 30,
|
||||
"period": 300
|
||||
}
|
||||
]
|
||||
66
src/modules/sensors/Sds011/modinfo.json
Normal file
66
src/modules/sensors/Sds011/modinfo.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"menuSection": "Сенсоры",
|
||||
|
||||
"configItem": [{
|
||||
"name": "Датчик пыли SDS011 PM25",
|
||||
"type": "Reading",
|
||||
"subtype": "Sds011_25",
|
||||
"id": "pmuart25",
|
||||
"widget": "anydataPpm",
|
||||
"page": "Сенсоры",
|
||||
"descr": "PM-2.5",
|
||||
"plus": 0,
|
||||
"multiply": 1,
|
||||
"round": 10,
|
||||
"rxPin": 13,
|
||||
"txPin": 12,
|
||||
"int": 15,
|
||||
"warmUp": 30,
|
||||
"period": 300
|
||||
},
|
||||
{
|
||||
"name": "Датчик пыли SDS011 PM10",
|
||||
"type": "Reading",
|
||||
"subtype": "Sds011_10",
|
||||
"id": "pmuart10",
|
||||
"widget": "anydataPpm",
|
||||
"page": "Сенсоры",
|
||||
"descr": "PM-10",
|
||||
"plus": 0,
|
||||
"multiply": 1,
|
||||
"round": 10,
|
||||
"rxPin": 13,
|
||||
"txPin": 12,
|
||||
"int": 15,
|
||||
"warmUp": 30,
|
||||
"period": 300
|
||||
}],
|
||||
|
||||
"about": {
|
||||
"authorName": "Alex K",
|
||||
"authorContact": "https://t.me/cmche",
|
||||
"authorGit": "",
|
||||
"specialThanks": "",
|
||||
"moduleName": "Sds011",
|
||||
"moduleVersion": "1.0",
|
||||
"moduleDesc": "Позволяет получить значения концентрации пыли в воздухе с Sds011.",
|
||||
"propInfo": {
|
||||
"int": "Количество секунд между опросами датчика.",
|
||||
"rxPin": "",
|
||||
"txPin": "",
|
||||
"warmUp": "",
|
||||
"period": ""
|
||||
}
|
||||
},
|
||||
|
||||
"defActive": true,
|
||||
|
||||
"devices": {
|
||||
"esp32_4mb": [
|
||||
"Nova Fitness Sds dust sensors library@1.5.1"
|
||||
],
|
||||
"esp8266_4mb": [
|
||||
"Nova Fitness Sds dust sensors library@1.5.1"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
[env:esp8266_4mb]
|
||||
lib_deps =
|
||||
Nova Fitness Sds dust sensors library@1.5.1
|
||||
|
||||
[env:esp32_4mb]
|
||||
lib_deps =
|
||||
Nova Fitness Sds dust sensors library@1.5.1
|
||||
Reference in New Issue
Block a user