-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
58 lines (58 loc) · 1.9 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": "Sunsynk",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Sunsynk Homebridge plugin.",
"footerDisplay": "Developed by Chris Posthumus",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Sunsynk Inverter",
"description": "You shouldn't need to change this."
},
"options": {
"title": "",
"type": "object",
"required": true,
"properties": {
"username": {
"title": "Username",
"type": "string",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
"pollInterval": {
"title": "Poll interval (in minutes)",
"type": "number",
"required": true,
"default": 10,
"minimum": 1,
"maximum": 60
},
"lowbatt": {
"title": "Low Battery in %",
"type": "number",
"required": true,
"default": 20,
"minimum": 1,
"maximum": 100
},
"debug": {
"title": "Enable Debug Logging",
"type": "boolean",
"default": false,
"required": true
}
}
}
}
}
}