generated from homebridge/homebridge-plugin-template
/
config.schema.json
180 lines (180 loc) · 5.76 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"pluginAlias": "AirQPlatform",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Homebridge plugin for air-Q",
"footerDisplay": "For a detailed description, see https://github.com/CorantGmbH/homebridge-air-q",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "air-Q",
"description": "Plugin name as displayed in the homebridge log."
},
"airqList": {
"title": "Your air-Qs",
"type": "array",
"items": {
"name": "Device",
"type": "object",
"properties": {
"serialNumber": {
"title": "Serial number (first five digits) of your air-Q",
"type": "string",
"required": true,
"maxLength": 5,
"minLength": 5,
"placeholder": "a1b3d",
"description": "Will be used to retrieve the IP of the air-Q device by MDNS."
},
"password": {
"title": "Password of this air-Q",
"type": "string",
"required": true,
"minLength": 8,
"placeholder": "airqsetup",
"description": "The password you gave this air-Q during its configuration."
},
"sensors": {
"title": "Sensors made available to Homebridge",
"type": "object",
"expandable": true,
"properties": {
"temperatureSensor": {
"title": "Temperature",
"type": "boolean",
"default": true
},
"humidtySensor": {
"title": "Humidity",
"type": "boolean",
"default": true
},
"co2Sensor": {
"title": "CO2",
"type": "boolean",
"default": true
},
"no2Sensor": {
"title": "NO2",
"type": "boolean",
"default": true
},
"so2Sensor": {
"title": "SO2",
"type": "boolean",
"default": true
},
"o3Sensor": {
"title": "O3",
"type": "boolean",
"default": true
},
"h2sSensor": {
"title": "H2S",
"type": "boolean",
"default": true
},
"vocSensor": {
"title": "VOC",
"type": "boolean",
"default": true
},
"coSensor": {
"title": "CO",
"type": "boolean",
"default": true
},
"ch2oSensor": {
"title": "CH2O",
"type": "boolean",
"default": true
},
"nh3Sensor": {
"title": "NH3",
"type": "boolean",
"default": true
},
"cl2Sensor": {
"title": "Cl2",
"type": "boolean",
"default": true
},
"n2oSensor": {
"title": "N2O",
"type": "boolean",
"default": true
},
"radonSensor": {
"title": "Radon",
"type": "boolean",
"default": true
},
"h2Sensor": {
"title": "H2 as leak detector",
"type": "boolean",
"default": true
},
"ch4Sensor": {
"title": "CH4 as leak detector",
"type": "boolean",
"default": true
},
"c3h8Sensor": {
"title": "C3H8 as leak detector",
"type": "boolean",
"default": true
},
"pmSensor": {
"title": "Particulates",
"type": "boolean",
"default": true
},
"healthSensor": {
"title": "air-Q health index",
"type": "boolean",
"default": true
},
"performanceSensor": {
"title": "air-Q performance index",
"type": "boolean",
"default": true
},
"smokeSensor": {
"title": "Smoke sensor derived from particulates",
"type": "boolean",
"default": true
},
"airPressure": {
"title": "Air pressure disguised as light sensor",
"type": "boolean",
"default": true
},
"airPressureRel": {
"title": "Relative air pressure disguised as light sensor",
"type": "boolean",
"default": true
},
"noiseSensor": {
"title": "Noise sensor disguised as light sensor",
"type": "boolean",
"default": true
}
}
}
}
}
},
"updateInterval": {
"title": "Update Interval",
"type": "integer",
"default": 10,
"required": true,
"description": "The interval (in seconds) at which updates of the sensors are requested from the air-Q devices."
}
}
}
}