forked from hjdhjd/homebridge-myq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
102 lines (101 loc) · 3.29 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"pluginAlias": "MyQ2",
"pluginType": "platform",
"headerDisplay": "[homebridge-myq2](https://github.com/hjdhjd/homebridge-myq2) is a Homebridge plugin to interact with MyQ Smart Garage door openers, made primarily by LiftMaster and Chamberlain.",
"footerDisplay": "For additional help please see the [developer page](https://github.com/hjdhjd/homebridge-myq2).",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": false,
"placeholder": "Home",
"description": "The name you would like to assign to this MyQ Home Bridge."
},
"email": {
"title": "MyQ Username",
"type": "string",
"required": true,
"placeholder": "[email protected]",
"description": "Email address used for your MyQ account."
},
"password": {
"title": "MyQ Password",
"type": "string",
"required": true,
"placeholder": "mypassword",
"description": "Password used for your MyQ account."
},
"verbose": {
"title": "Debug Logging Verbosity",
"type": "boolean",
"default": false,
"required": false,
"description": "Logging verbosity for debugging purporses. Default: false"
},
"openDuration": {
"title": "Open Duration",
"type": "integer",
"default": 15,
"required": false,
"description": "Time in <code>seconds</code> to check that the garage door has finished opening."
},
"closeDuration": {
"title": "Close Duration",
"type": "integer",
"default": 25,
"required": false,
"description": "Time in <code>seconds</code> to check that the garage door has finished closing."
},
"longPoll": {
"title": "Long Poll Interval",
"type": "integer",
"default": 15,
"required": false,
"description": "Normal polling interval in <code>seconds</code>."
},
"shortPoll": {
"title": "Short Poll Interval",
"type": "integer",
"default": 5,
"required": false,
"description": "Polling interval in <code>seconds</code> to use when the door state changes."
},
"shortPollDuration": {
"title": "Short Poll Duration",
"type": "integer",
"default": 600,
"required": false,
"description": "Duration in <code>seconds</code> to use the <code>Short Poll Interval</code>."
},
"gateways": {
"title": "Gateways",
"type": "string",
"required": false,
"placeholder": "[ \"My Home\" ]",
"description": "An array of gateway IDs or names to add. This is only useful or needed if you have multiple MyQ gateways. (Default = [])"
},
"openers": {
"title": "Openers",
"type": "string",
"required": false,
"placeholder": "[ id1, id2]",
"description": "An array of opener IDs or to add. This is only useful or needed if you have multiple MyQ garage openers. (Default = [])"
}
}
},
"form": [
"name",
"email",
"password",
{
"type": "fieldset",
"expandable": true,
"title": "Advanced Settings (Optional)",
"description": "These are optional settings that you can adjust if needed. The defaults should work for nearly everyone.",
"items": ["verbose", "openDuration", "closeDuration", "longPoll", "shortPoll", "shortPollDuration", "gateways", "openers"]
}
]
}