-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.schema.json
58 lines (58 loc) · 2.51 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
{
"pluginAlias": "SengledHub",
"pluginType": "platform",
"headerDisplay": "This plugin uses the existing Sengled Element Home app infrastructure to allow you to control your Sengled accessories.",
"footerDisplay": "This plugin is still in beta. If you encounter any issues out of this product, [Issues](https://github.com/sammy1881/homebridge-sengled-bulbs/issues) and [Pull Request](https://github.com/sammy1881/homebridge-sengled-bulbs/pulls) are welcome.",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "SengledHub",
"description": "The name that will appear in your homebridge log."
},
"username": {
"title": "Username",
"type": "string",
"placeholder": "YOUR-SENGLED-USERNAME",
"required": true,
"description": "Your username of the Sengled account you used to register the device with in the Sengled app."
},
"password": {
"title": "Password",
"type": "string",
"placeholder": "YOUR-SENGLED-PASSWORD",
"required": true,
"description": "Your password of the Sengled account you used to register the device with in the Sengled app."
},
"debug": {
"title": "debug",
"type": "boolean",
"default": false,
"description": "This will enable more logging information from the plugin."
},
"Info": {
"title": "Info",
"type": "boolean",
"default": false,
"description": "This will enable information from the plugin."
},
"Timeout": {
"title": "Timeout",
"type": "integer",
"default": 4000,
"minimum": 2000,
"maximum": 30000,
"description": "The timeout in milliseconds to use for calls to the Sengled Web API. High values may result in other errors."
},
"AlternateLoginApi": {
"title": "AlternateLoginApi",
"type": "boolean",
"default": false,
"description": "Uses an alternative login API if for some reason logins fail even with increased timeout."
}
}
}
}