mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
Описываем модули сенсоров по новому формату
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "Считыватель Wiegand",
|
||||
"num": 31,
|
||||
"type": "Reading",
|
||||
"subtype": "IoTWiegand",
|
||||
"id": "wg",
|
||||
"widget": "anydataTmp",
|
||||
"page": "Сенсоры",
|
||||
"descr": "Считыватель",
|
||||
"int": 0,
|
||||
"pinD0": 13,
|
||||
"pinD1": 12
|
||||
}
|
||||
]
|
||||
42
src/modules/sensors/IoTWiegand/modinfo.json
Normal file
42
src/modules/sensors/IoTWiegand/modinfo.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"menuSection": "Сенсоры",
|
||||
|
||||
"configItem": [{
|
||||
"name": "Считыватель Wiegand",
|
||||
"type": "Reading",
|
||||
"subtype": "IoTWiegand",
|
||||
"id": "wg",
|
||||
"widget": "anydataTmp",
|
||||
"page": "Сенсоры",
|
||||
"descr": "Считыватель",
|
||||
"int": 0,
|
||||
"pinD0": 13,
|
||||
"pinD1": 12
|
||||
}],
|
||||
|
||||
"about": {
|
||||
"authorName": "Ilya Belyakov",
|
||||
"authorContact": "https://t.me/Biveraxe",
|
||||
"authorGit": "https://github.com/biveraxe",
|
||||
"specialThanks": "",
|
||||
"moduleName": "IoTWiegand",
|
||||
"moduleVersion": "1.0",
|
||||
"moduleDesc": "Позволяет получить коды доступа по протоколу Wiegand с различных считывателей. На данный момент модуль в РАЗРАБОТКЕ",
|
||||
"propInfo": {
|
||||
"pinD0": "GPIO шины данных",
|
||||
"pinD1": "GPIO шины данных",
|
||||
"int": "Количество секунд между опросами датчика."
|
||||
}
|
||||
},
|
||||
|
||||
"defActive": false,
|
||||
|
||||
"devices": {
|
||||
"esp32_4mb": [
|
||||
"https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino"
|
||||
],
|
||||
"esp8266_4mb": [
|
||||
"https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
[env:esp8266_4mb]
|
||||
iotm_include = false
|
||||
lib_deps =
|
||||
https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino
|
||||
|
||||
[env:esp32_4mb]
|
||||
iotm_include = false
|
||||
lib_deps =
|
||||
https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino
|
||||
|
||||
Reference in New Issue
Block a user