-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.schema.json
101 lines (101 loc) · 2.67 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
{
"pluginAlias": "LaCrosseView",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"email": {
"title": "Email",
"type": "string",
"format": "email",
"required": true
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
"pollingInterval": {
"title": "Polling Interval (seconds)",
"type": "integer",
"required": true,
"default": 200,
"minimum": 30,
"description": "How often to check LaCrossView API",
"placeholder": "200"
},
"devicesToExclude": {
"title": "Devices to exclude",
"description": "Add devices identifier (ID from logs in debug mode) to exclude from homebridge",
"type": "array",
"items": {
"title": "Device ID",
"type": "string"
},
"default": []
},
"locationsToExclude": {
"title": "Device locations to exclude",
"description": "Device location IDs (from logs in debug mode) to exclude when discovering LaCrosseView devices",
"type": "array",
"items": {
"title": "Location ID",
"type": "string"
},
"default": []
},
"fakeGatoEnabled": {
"title": "Enable FakeGato",
"type": "boolean",
"default": false,
"description": "Enable to send historical data to the Elgato Eve app."
},
"fakeGatoStoragePath": {
"title": "FakeGato Storage Path",
"type": "string",
"description": "Specify a custom path to save FakeGato history."
}
}
},
"layout": [
{
"type": "fieldset",
"title": "Authentication (Required)",
"description": "Connect to LaCrossView APi",
"expandable": true,
"expanded": false,
"items": ["email", "password"]
},
{
"type": "fieldset",
"title": "Configuration",
"description": "Customize plugin",
"expandable": true,
"expanded": false,
"items": [
"pollingInterval",
{
"key": "devicesToExclude",
"type": "array",
"buttonText": "Add Device",
"items": ["devicesToExclude[]"]
},
{
"key": "locationsToExclude",
"type": "array",
"buttonText": "Add Location",
"items": ["locationsToExclude[]"]
}
]
},
{
"type": "fieldset",
"title": "Elgato Eve",
"description": "Send history to Elgato Eve App",
"expandable": true,
"expanded": false,
"items": ["fakeGatoEnabled", "fakeGatoStoragePath"]
}
]
}