forked from wibberryd/homebridge-rpi-rts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
59 lines (59 loc) · 1.59 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
{
"pluginAlias": "Somfy RTS Roller Shutter",
"pluginType": "accessory",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Name of the accessory as it will appear in Apple Home App",
"type": "string",
"default": "Shutter 1",
"required": true
},
"id": {
"title": "ID",
"description": "ID of the accessory. Must be unique.",
"type": "integer",
"default": 1000001,
"required": true,
"minimum": 0,
"maximum": 16777216
},
"shuttingDownDuration": {
"title": "Shutting Down Duration",
"description": "Time in millisecond to go for the shutter to go from top to bottom (just touch the bottom of the window)",
"type": "integer",
"default": 14000,
"required": true,
"minimum": 1000,
"maximum": 120000
},
"shuttingUpDuration": {
"title": "Shutting Up Duration",
"description": "Time in millisecond to go for the shutter to go from bottom (just touch the bottom of the window) to top",
"type": "integer",
"default": 17000,
"required": true,
"minimum": 1000,
"maximum": 120000
},
"shuttingLockingDuration": {
"title": "Shutting Locking Duration",
"description": "Time in millisecond to go for the shutter to go from bottom to completely down",
"type": "integer",
"default": 3000,
"required": true,
"minimum": 1,
"maximum": 10000
},
"prog": {
"title": "Show Prog Button",
"description": "Disable after the pairing phase to hide the Prog button",
"type": "boolean",
"default": true
}
}
}
}