-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.schema.json
More file actions
118 lines (116 loc) · 3.21 KB
/
Copy pathconfig.schema.json
File metadata and controls
118 lines (116 loc) · 3.21 KB
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
114
115
116
117
118
{
"pluginAlias": "ElgatoKeyLights",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Elgato Key Lights",
"description": "Plugin name as displayed in the homebridge log"
},
"pollingRate": {
"title": "Polling Rate (in milliseconds)",
"type": "integer",
"required": false,
"placeholder": 1000,
"description": "The polling rate for light status in milliseconds"
},
"powerOnBehavior": {
"title": "Power On Behaviour",
"type": "number",
"required": false,
"placeholder": 1,
"oneOf": [
{ "title": "Restore last settings used", "enum": [1] },
{ "title": "Restore default settings", "enum": [2] }
],
"description": "The behaviour when powering the lights on"
},
"powerOnBrightness": {
"title": "Default Power On Brightness (in percent)",
"type": "integer",
"required": false,
"placeholder": 20,
"minimum": 0,
"maximum": 100,
"description": "The default brightness setting of the lights"
},
"powerOnTemperature": {
"title": "Default Power On Colour Temperature (in Kelvin)",
"type": "integer",
"required": false,
"placeholder": 4695,
"minimum": 2900,
"maximum": 7000,
"step": 50,
"description": "The default colour temperature setting of the lights"
},
"switchOnDurationMs": {
"title": "Switch On Duration (in milliseconds)",
"type": "integer",
"required": false,
"default": 100,
"description": "The duration of the switch on sequence"
},
"switchOffDurationMs": {
"title": "Switch Off Duration (in milliseconds)",
"type": "integer",
"required": false,
"placeholder": 300,
"description": "The duration of the switch off sequence"
},
"colorChangeDurationMs": {
"title": "Colour Change Duration (in milliseconds)",
"type": "integer",
"required": false,
"placeholder": 100,
"description": "The duration of the colour change sequence"
},
"useIP": {
"title": "Use IP address instead of hostname",
"type": "boolean",
"required": false,
"description": "By default, the hostname of the light is used for the connection. If this causes issues in your environment, you can enable this option to use the IP address instead."
}
}
},
"layout": [
"name",
"pollingRate",
{
"type": "fieldset",
"title": "Durations",
"expandable": true,
"expanded": false,
"items": [
"switchOnDurationMs",
"switchOffDurationMs",
"colorChangeDurationMs"
]
},
{
"type": "fieldset",
"title": "Power On Behaviour",
"expandable": true,
"expanded": false,
"items": [
"powerOnBehavior",
"powerOnBrightness",
"powerOnTemperature"
]
},
{
"type": "fieldset",
"title": "Advanced",
"expandable": true,
"expanded": false,
"items": [
"useIP"
]
}
]
}