This repository has been archived by the owner on Jan 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
71 lines (70 loc) · 2.12 KB
/
config.schema.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
65
66
67
68
69
70
71
{
"pluginAlias": "selve",
"pluginType": "platform",
"singular": false,
"headerDisplay": "*Important:* For this plugin to work, you'll need to first pair the Selve USB-RF module manually with all shutters!",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Platform Name",
"type": "string",
"default": "Selve",
"required": true
},
"usbPort": {
"title": "USB Port",
"description": "Device path to Selve USB-RF module (e.g. /dev/tty.USB0)",
"type": "string",
"required": true
},
"shutters": {
"type": "array",
"items": {
"title": "Shutter Config",
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Name of the shutter or room (e.g. Livingroom)",
"type": "string",
"required": true
},
"device": {
"title": "Number",
"description": "Device number set during pairing",
"type": "integer",
"required": true,
"default": 0,
"minimum": 0,
"maximum": 63
},
"showIntermediate1": {
"title": "Show position 1 button",
"description": "Show a toggle button to allow moving to intermediate position 1",
"type": "boolean",
"required": false,
"default": false
},
"showIntermediate2": {
"title": "Show position 2 button",
"description": "Show a toggle button to allow moving to intermediate position 2",
"type": "boolean",
"required": false,
"default": false
},
"showStop": {
"title": "Show stop button",
"description": "Show a toggle button to stop the current movement",
"type": "boolean",
"required": false,
"default": false
}
}
}
}
}
},
"form": null,
"display": null
}