generated from homebridge/homebridge-plugin-template
/
config.schema.json
61 lines (61 loc) · 1.71 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
{
"pluginAlias": "Aranet4",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Aranet4 Platform"
},
"co2AlertThreshold": {
"title": "CO2 Alert Threshold",
"description": "When to consider that the CO2 level is too high (in ppm).",
"type": "integer",
"required": true,
"default": 1400,
"minimum": 0,
"maximum": 2000
},
"batteryAlertThreshold": {
"title": "Battery Alert Threshold",
"description": "When to consider that the battery is low (in %).",
"type": "integer",
"required": true,
"default": 10,
"minimum": 0,
"maximum": 100
},
"sensorDataRefreshInterval": {
"title": "Sensor Data Refresh Interval",
"description": "How often we should get data from the sensor (in seconds).",
"type": "integer",
"required": true,
"default": 300,
"minimum": 0,
"maximum": 3600
},
"bluetoothReadyTimeout": {
"title": "Bluetooth Ready Timeout",
"description": "How long to wait for Bluetooth to be ready (in seconds)",
"type": "integer",
"required": true,
"default": 10,
"minimum": 0,
"maximum": 60
},
"bluetoothDeviceSearchTimeout": {
"title": "Bluetooth Device Search Timeout",
"description": "How long to wait for Bluetooth device discovery (in seconds).",
"type": "integer",
"required": true,
"default": 10,
"minimum": 0,
"maximum": 60
}
}
}
}