This commit is contained in:
2018-09-25 09:26:58 +08:00
parent 58d94c5b08
commit 0ea2955c83
3 changed files with 142 additions and 5 deletions
+42 -4
View File
@@ -1,8 +1,8 @@
{
"common": {
"name": "rest",
"version": "0.1.1",
"title": "Javascript/Node.js based rest adapter",
"version": "0.1.2",
"title": "云控 REST 服务",
"desc": {
"en": "yunkong2 rest Adapter",
"cn": "云控 REST Adapter"
@@ -23,7 +23,7 @@
},
"native": {
"test1": true,
"test2": 42,
"test2": 41,
"port": 9090,
"auth": false,
@@ -41,11 +41,49 @@
"leUpdate": false,
"leCheckPort": 80,
"doorInputs": [],
"doorInputs": [
{
"type": "state",
"common": {
"role": "button",
"name": "Shuts the system running Kodi down",
"type": "boolean",
"read": false,
"write": true,
"def": false
},
"native": {}
}
],
"doorOutputs": []
},
"objects": [
],
"instanceObjects": [
{
"_id": "info",
"type": "channel",
"common": {
"name": "Information"
},
"native": {}
},
{
"_id": "info.connection",
"type": "state",
"common": {
"role": "indicator.connected",
"name": "If master connected",
"type": "boolean",
"read": true,
"write": false,
"def": false
},
"native": {}
}
]
}