Files
IoTManager/src/modules/sensors/Dht1122/modinfo.json
biver 2a89b8cb42 Добавляем в описание модуля параметр "subTypes":["", ""]
для привязки подтипов элементов к модулю для использования
на сайте
2022-09-18 17:47:27 +03:00

55 lines
1.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"menuSection": "Сенсоры",
"configItem": [{
"name": "Cенсор температуры dht11",
"type": "Reading",
"subtype": "Dht1122t",
"id": "tmp3",
"widget": "anydataTmp",
"page": "Сенсоры",
"descr": "Температура",
"int": 15,
"pin": 0,
"senstype": "dht11"
},
{
"name": "Cенсор влажности dht11",
"type": "Reading",
"subtype": "Dht1122h",
"id": "Hum3",
"widget": "anydataHum",
"page": "Сенсоры",
"descr": "Влажность",
"int": 15,
"pin": 0,
"senstype": "dht11"
}],
"about": {
"authorName": "Ilya Belyakov",
"authorContact": "https://t.me/Biveraxe",
"authorGit": "https://github.com/biveraxe",
"specialThanks": "Serghei Crasnicov @Serghei63",
"moduleName": "Dht1122",
"moduleVersion": "1.0",
"subTypes":["Dht1122t", "Dht1122h"],
"title": "Сенсор температуры и влажности с dht11 или dht22",
"moduleDesc": "Позволяет получить значения температуры и влажности с dht11 или dht22.",
"propInfo": {
"senstype": "Тип сенсора dht11 или dht22.",
"int": "Количество секунд между опросами датчика."
}
},
"defActive": true,
"devices": {
"esp32_4mb": [
"beegee-tokyo/DHT sensor library for ESPx"
],
"esp8266_4mb": [
"beegee-tokyo/DHT sensor library for ESPx"
]
}
}