-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.schema.json
69 lines (69 loc) · 2.31 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
{
"pluginAlias": "Flume",
"pluginType": "platform",
"singular": true,
"customUi": true,
"customUiPath": "./lib/homebridge-ui",
"headerDisplay": "<p align=\"center\"><img width=\"60%\" src=\"https://user-images.githubusercontent.com/43026681/143831753-ed67cad2-909a-4337-9b18-dd8e65dfdf5e.png\"></p><p align=\"center\">For help and support please visit our <a href=\"https://github.com/bwp91/homebridge-thermobit/wiki\">GitHub Wiki</a>. We hope you find this plugin useful!</p>",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Plugin Name",
"type": "string",
"default": "Flume"
},
"username": {
"title": "Username",
"type": "string",
"required": true,
"description": "Your Flume username."
},
"password": {
"title": "Password",
"type": "string",
"required": true,
"description": "Your Flume password."
},
"clientId": {
"title": "Client ID",
"type": "string",
"placeholder": "1234567890ABCD",
"required": true,
"description": "Your Flume Client ID, found at https://portal.flumetech.com."
},
"clientSecret": {
"title": "Client Secret",
"type": "string",
"placeholder": "1234567890ABCDEFGHIJ",
"required": true,
"description": "Your Flume Client Secret, found at https://portal.flumetech.com."
},
"disableDeviceLogging": {
"type": "boolean",
"title": "Disable Device Logging",
"description": "Global logging setting for accessory status changes. If true then accessory status changes will not be logged."
},
"refreshInterval": {
"title": "Refresh Interval",
"type": "integer",
"placeholder": 2,
"description": "Number of minutes between requests to Flume for device leak information. Must be 1 or more."
}
}
},
"layout": [
{
"type": "fieldset",
"title": "Required Settings",
"items": ["username", "password", "clientId", "clientSecret"]
},
{
"type": "fieldset",
"title": "Advanced Settings",
"description": "Advanced settings for the plugin, including refresh options.",
"expandable": true,
"items": ["disableDeviceLogging", "refreshInterval"]
}
]
}