49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"common": {
|
|
"name": "klf200",
|
|
"version": "0.9.5",
|
|
"title": "KLF-200",
|
|
"titleLang": {
|
|
"en": "KLF-200",
|
|
"de": "KLF-200"
|
|
},
|
|
"desc": {
|
|
"en": "Runs scenes on a KLF-200 Interface",
|
|
"de": "Führt Szenen auf einer KLF-200-Schnittstelle aus"
|
|
},
|
|
"authors": [
|
|
"Michael Schroeder klf200@gmx.de"
|
|
],
|
|
"docs": "docs/en/ReadMe.md",
|
|
"platform": "Javascript/Node.js",
|
|
"mode": "daemon",
|
|
"icon": "klf200.png",
|
|
"materialize": true,
|
|
"enabled": true,
|
|
"license": "MIT",
|
|
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.klf200/raw/master/admin/klf200.png",
|
|
"keywords": [
|
|
"KLF-200",
|
|
"VELUX"
|
|
],
|
|
"readme": "https://github.com/MiSchroe/yunkong2.klf200/blob/master/README.md",
|
|
"loglevel": "info",
|
|
"type": "hardware"
|
|
},
|
|
"native": {
|
|
"host": "http://velux-klf-",
|
|
"password": "velux123",
|
|
"pollInterval": 60
|
|
},
|
|
"objects": [
|
|
{
|
|
"_id": "_design/klf200",
|
|
"language": "javascript",
|
|
"views": {
|
|
"listSingleProductScenes": {
|
|
"map": "function(doc) {\n if (doc._id.match(/^klf200\\.[0-9]+\\.scenes\\.[0-9]+$/) && doc.native && doc.native.products.length == 1)\n {\n emit([doc.native.products[0].name, doc.native.products[0].status], {id: doc.native.id, name:doc.native.name});\n }\n }"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |