-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanifest.json
64 lines (64 loc) · 1.54 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"manifest_version": 1,
"id": "tellstick-adapter",
"name": "Tellstick",
"short_name": "Tellstick",
"version": "1.0.0",
"description": "Telldus Tellstick adapter for WebThings Gateway",
"homepage_url": "https://github.com/majori/tellstick-adapter",
"license": "MIT",
"author": "Antti Kivimäki",
"gateway_specific_settings": {
"webthings": {
"exec": "{nodeLoader} {path}",
"strict_min_version": "0.10.0",
"strict_max_version": "*",
"primary_type": "adapter"
}
},
"options": {
"schema": {
"type": "object",
"properties": {
"client": {
"type": "string",
"enum": ["local-api", "telldus-core"],
"default": "local-api"
}
},
"required": ["client"],
"dependencies": {
"client": {
"oneOf": [
{
"properties": {
"client": {
"enum": ["local-api"]
},
"url": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": ["url", "token"]
},
{
"properties": {
"client": {
"enum": ["telldus-core"]
},
"socket": {
"type": "string",
"default": "/tmp/TelldusClient"
}
},
"required": ["socket"]
}
]
}
}
}
}
}