You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
2.6 KiB
90 lines
2.6 KiB
{
|
|
"common": {
|
|
"name": "rest",
|
|
"version": "0.1.2",
|
|
"title": "云控 REST 服务",
|
|
"desc": {
|
|
"en": "yunkong2 rest Adapter",
|
|
"cn": "云控 REST Adapter"
|
|
},
|
|
"authors": [
|
|
"my Name <my@email.com>"
|
|
],
|
|
"platform": "Javascript/Node.js",
|
|
"mode": "daemon",
|
|
"icon": "rest.png",
|
|
"enabled": true,
|
|
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.rest/raw/master/admin/rest.png",
|
|
"keywords": ["rest", "REST"],
|
|
"readme": "https://git.spacen.net/yunkong2/yunkong2.rest/blob/master/README.md",
|
|
"loglevel": "info",
|
|
"type": "communication",
|
|
"dependencies": [{"js-controller": ">=0.12.0"}]
|
|
},
|
|
"native": {
|
|
"test1": true,
|
|
"test2": 41,
|
|
|
|
"port": 9090,
|
|
"auth": false,
|
|
"secure": false,
|
|
"bind": "0.0.0.0",
|
|
"defaultUser": "admin",
|
|
"certPublic": "defaultPublic",
|
|
"certPrivate": "defaultPrivate",
|
|
"certChained": "",
|
|
|
|
"pollURL": "",
|
|
"interval": 30000,
|
|
|
|
"leEnabled": false,
|
|
"leUpdate": false,
|
|
"leCheckPort": 80,
|
|
|
|
"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": {}
|
|
}
|
|
]
|
|
}
|