-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
106 lines (106 loc) · 3.36 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
102
103
104
105
106
{
"pluginAlias": "MiLightHubPlatform",
"pluginType": "platform",
"headerDisplay": "Configure your lights in your [MiLight Hub](http://milight-hub.local)",
"footerDisplay": "For documentation please see http://github.com/normen/homebridge-milighthub-platform",
"schema": {
"host": {
"title": "Hostname",
"type": "string",
"default": "milight-hub.local",
"description": "The hostname or IP address of the MiLight Hub",
"required": false
},
"name": {
"title": "Log Name",
"type": "string",
"default": "MiLightHubPlatform",
"description": "The name of the platform as it appears in the homebridge log",
"required": false
},
"httpUsername": {
"title": "Authorization: HTTP Username",
"type": "string",
"default": "",
"description": "Only needed if you are using username:password authentication for your MiLight Hub",
"required": false
},
"httpPassword": {
"title": "Authorization: HTTP Password",
"type": "string",
"default": "",
"description": "Only needed if you are using username:password authentication for your MiLight Hub",
"required": false
},
"backchannel": {
"title": "Backchannel enabled",
"type": "boolean",
"default": false,
"description": "If enabled HomeKit will update if MiLight hub is controlled otherwise",
"required": false
},
"darkMode": {
"title": "Mitigate bright flashing of lights",
"type": "boolean",
"default": false,
"description": "A feature to mitigate the bright flashing of the lights if you turn them on with a low brightness value & to cache the last value before power off",
"required": false
},
"rgbcctMode": {
"title": "RGB+CCT mode enabled",
"type": "boolean",
"default": false,
"description": "Enables ColorTemperature characteristic which is unsupported by HomeKit in combination with RGB characteristics but gives you a more accurate control of your lights at the expense of not supporting favorite colors in Home App anymore.",
"required": false
},
"forceHTTP": {
"title": "Force HTTP instead of MQTT",
"type": "boolean",
"default": false,
"description": "Force use of HTTP regardless of MQTT settings in your MiLight hub",
"required": false
},
"syncHubInterval": {
"title": "Hub synchronization interval",
"type": "integer",
"default": 10,
"description": "Defines the interval in seconds for synchronizing light lists with the hub",
"required": false
},
"commandDelay": {
"title": "Command delay",
"type": "integer",
"default": 100,
"description": "How long to wait for HomeKit to send all values for one light (milliseconds)",
"required": false
},
"debug": {
"title": "Debug mode enabled",
"type": "boolean",
"default": false,
"description": "Enables debug mode",
"required": false
}
},
"form": [
"host",
{
"type": "section",
"expandable": true,
"expanded": false,
"title": "Advanced",
"items": [
"name",
"httpUsername",
"httpPassword",
"backchannel",
"darkMode",
"rgbcctMode",
"forceHTTP",
"syncHubInterval",
"commandDelay",
"debug"
]
}
]
}