-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.schema.json
102 lines (102 loc) · 3.04 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
{
"pluginAlias": "Luxor",
"pluginType": "platform",
"singular": false,
"headerDisplay": "This is a PLATFORM module for the [HomeBridge Platform](https://github.com/nfarina/homebridge) to control [FX Luminaire](http://www.FXL.com). This plug-in enables power and brightness controls for [FX Luminaire Luxor ZD](http://www.fxl.com/product/power-and-control/luxor-zd) and, additionally color, on the [FX Luminaire Luxor ZDC](http://www.fxl.com/product/power-and-control/luxor-zdc).",
"footerDisplay": "",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Luxor",
"required": true
},
"ipAddr": {
"title": "IP Address",
"type": "string",
"required": true,
"default": "192.168.0.1",
"format": "ipv4"
},
"hideGroups": {
"title": "Hide light groups (show only themes)",
"type": "boolean"
},
"noAllThemes":{
"title": "Do not create the Illuminate All and Extinguish All themes",
"type": "boolean"
},
"independentColors": {
"title": "Use independent colors for each Light Group (legacy behavior)",
"type": "boolean"
},
"commandTimeout":{
"title": "Adjust the amount of time (in milliseconds) that the plugin will wait for each HTTP request to the server",
"type": "integer",
"default": 750
},
"removeAccessories": {
"title": "Remove specific accessory/accessories",
"type": "string",
"required": false,
"default": "",
"description": "Enter specific UUID's separated by a comma to remove individual lights/themes before adding new ones. After enabling this feature, restart Homebridge, then disable it and restart Homebrige."
},
"removeAllAccessories": {
"title": "Remove all accessory/accessories",
"type": "boolean",
"required": false,
"default": false,
"description": "Set 'true' to have homebridge-luxor remove all cached accessories before re-adding new ones. After enabling this feature, restart Homebridge, then disable it and restart Homebrige."
}
}
},
"layout": [
{
"key": "Name",
"title": "Name",
"placeholder": "Luxor"
},
{
"key": "ipAddr",
"title": "IP Address",
"placeholder": "192.168.0.1"
},
{
"key": "hideGroups",
"placeholder": false
},
{
"key": "noAllThemes",
"placeholder": false
},
{
"key": "independentColors",
"placeholder": false
},
{
"key": "commandTimeout",
"placeholder": 750
},
{
"type": "section",
"title": "Panic Button",
"expandable": true,
"expanded": false,
"items": [
{
"key": "removeAccessories",
"type": "string",
"notitle": false
},
{
"key": "removeAllAccessories",
"type": "boolean",
"notitle": false
}
]
}
]
}