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

52 lines
1.4 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енсор температуры GY21",
"type": "Reading",
"subtype": "GY21t",
"id": "tmp4",
"widget": "anydataTmp",
"page": "Сенсоры",
"descr": "Температура",
"round": 1,
"int": 15
},
{
"name": "Cенсор влажности GY21",
"type": "Reading",
"subtype": "GY21h",
"id": "Hum4",
"widget": "anydataHum",
"page": "Сенсоры",
"descr": "Влажность",
"round": 1,
"int": 15
}],
"about": {
"authorName": "Alecs",
"authorContact": "https://t.me/Alecs",
"authorGit": "",
"specialThanks": "",
"moduleName": "GY21",
"moduleVersion": "1.0",
"subTypes":["GY21t", "GY21h"],
"title": "Датчик температуры и влажности GY21",
"moduleDesc": "Позволяет получить значения температуры и влажности с GY21.",
"propInfo": {
"int": "Количество секунд между опросами датчика."
}
},
"defActive": true,
"devices": {
"esp32_4mb": [
"https://github.com/JonasGMorsch/GY-21.git"
],
"esp8266_4mb": [
"https://github.com/JonasGMorsch/GY-21.git"
]
}
}