generated from homebridge/homebridge-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
49 lines (49 loc) · 1.44 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
{
"pluginAlias": "PurpleAir",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"conversion": {
"title": "Conversion",
"description": "The data correction used to determine the air quality index (AQI).",
"type": "string",
"required": true,
"default": "US_EPA",
"oneOf": [
{ "title": "None", "enum": ["None"] },
{ "title": "US EPA PM2.5 AQI", "enum": ["US_EPA"] }
]
},
"aqiInsteadOfDensity" : {
"title": "Report AQI instead of PM2.5",
"description": "HomeKit doesn't expose the air quality index (AQI). If enabled, the plugin will report the AQI in the \"PM2.5 Density (µg/m³)\" field.",
"type": "boolean"
},
"sensors": {
"type": "array",
"items": {
"title": "Sensor",
"type": "object",
"properties": {
"ip": {
"title": "IP Address",
"description": "Local IP address of the sensor.",
"placeholder": "192.168.0.xxx",
"type": "string",
"required": true,
"format": "ipv4"
},
"name": {
"title": "Name",
"description": "To help distinguish multiple sensors.",
"placeholder": "PurpleAir Garage",
"type": "string"
}
}
}
}
}
}
}