-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.schema.json
113 lines (103 loc) · 3.14 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
103
104
105
106
107
108
109
110
111
112
113
{
"pluginAlias": "Ratgdo",
"pluginType": "platform",
"singular": true,
"customUi": true,
"headerDisplay": "[homebridge-ratgdo](https://github.com/hjdhjd/homebridge-ratgdo) provides HomeKit support to Chamberlain and Liftmaster garage door openers that use Ratgdo and Konnected devices without requiring myQ.",
"footerDisplay": "See the [homebridge-ratgdo developer page](https://github.com/hjdhjd/homebridge-ratgdo) for detailed documentation, including [feature options](https://github.com/hjdhjd/homebridge-ratgdo/docs).",
"schema": {
"type": "object",
"properties": {
"debug": {
"title": "Debug Logging",
"type": "boolean",
"required": false,
"description": "Logging verbosity for debugging. Default: false."
},
"mqttTopic": {
"type": "string",
"title": "MQTT Base Topic",
"required": false,
"placeholder": "e.g. ratgdo",
"description": "The base MQTT topic to publish to. Default: ratgdo."
},
"mqttUrl": {
"type": "string",
"title": "MQTT Broker URL",
"required": false,
"format": "uri",
"placeholder": "e.g. mqtt://1.2.3.4",
"description": "URL for the MQTT broker you'd like to publish event messages to. Default: None."
},
"name": {
"title": "Plugin Name",
"type": "string",
"required": true,
"default": "Ratgdo",
"description": "Name to use for Homebridge logging purposes. Default: Ratgdo."
},
"options": {
"title": "Feature Options",
"type": "array",
"items": {
"type": "string",
"title": "Feature Option",
"required": false,
"description": "Enter only one option per entry. Use the feature options webUI tab above unless you know what you're doing.",
"placeholder": "e.g. Disable.Device"
}
}
}
},
"layout": [
{
"type": "section",
"title": "Plugin Feature Options (Optional)",
"expandable": true,
"expanded": false,
"items": [
{
"key": "options",
"type": "array",
"orderable": true,
"title": " ",
"description": "Use the feature options webUI tab above instead of manually configuring feature options here.",
"buttonText": "Add Feature Option",
"items": [
"options[]"
]
}
]
},
{
"type": "section",
"title": "MQTT Settings (Optional)",
"expandable": true,
"expanded": false,
"items": [
{
"description": "MQTT support will only be enabled if an MQTT broker URL is specified below.",
"items": [
"mqttUrl",
"mqttTopic"
]
}
]
},
{
"type": "section",
"title": "Advanced Settings (Optional)",
"expandable": true,
"expanded": false,
"items": [
{
"description": "These settings should be rarely used or needed by most people. Use these with caution.",
"items": [
"name",
"debug"
]
}
]
}
]
}