This repository has been archived by the owner on May 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.schema.json
83 lines (83 loc) · 2.39 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
72
73
74
75
76
77
78
79
80
81
82
83
{
"pluginAlias": "LiftMaster2",
"pluginType": "platform",
"headerDisplay": "LiftMaster and Chamberlain MyQ Plugin for HomeBridge (API 2.0)",
"footerDisplay": "For help please see the [wiki](https://github.com/luisiam/homebridge-liftmaster2/wiki).",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"placeholder": "eg. Home",
"required": false,
"title": "Place Name",
"description": "Where is this MyQ installed?"
},
"email": {
"type": "string",
"placeholder": "eg. [email protected]",
"required": true
},
"password": {
"type": "string",
"placeholder": "eg. abc$123!",
"required": true
},
"verbose": {
"description": "Logging verbosity for debugging purporses. (Default = false)",
"type": "boolean",
"required": false
},
"openDuration": {
"title": "Open Duration",
"description": "Time in <code>seconds</code> to open garage door completely. (Default = 15)",
"type": "integer",
"required": false
},
"closeDuration": {
"title": "Close Duration",
"description": "Time in <code>seconds</code> to close garage door completely. (Default = 25)",
"type": "integer",
"required": false
},
"longPoll": {
"title": "Long Poll Interval",
"description": "Normal polling interval in <code>seconds</code>. (Default = 15)",
"type": "integer",
"required": false
},
"shortPoll": {
"title": "Short Poll Interval",
"description": "Polling interval in <code>seconds</code> when door state changes. (Default = 5)",
"type": "integer",
"required": false
},
"shortPollDuration": {
"title": "Short Poll Duration",
"description": "Duration in <code>seconds</code> to use shortPoll. (Default = 600)",
"type": "integer",
"required": false
},
"gateways": {
"title": "Gateways",
"description": "Array of gateway IDs or names to add. (Default = [])",
"type": "string",
"placeholder": "eg. [My Home]",
"required": false
}
}
},
"form": [
"name",
"email",
"password",
{
"type": "fieldset",
"expandable": true,
"title": "Advanced Configuration (Optional)",
"description": "This step is not required. HomeBridge with API 2.0 can handle configurations in the HomeKit app.",
"items": ["verbose", "openDuration", "closeDuration", "longPoll", "shortPoll", "shortPollDuration", "gateways"]
}
]
}