forked from mizuka-ninomae/homebridge-co2-sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
36 lines (36 loc) · 928 Bytes
/
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
{
"pluginAlias": "CO2Sensor",
"pluginType": "accessory",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true
},
"uart_path": {
"title": "Name",
"type": "string",
"required": true,
"default": "/dev/ttyS0",
"description": "Specify the UART to which MH-Z19 is connected in ttyXXX format."
},
"schedule": {
"title": "Schedule",
"type": "string",
"required": true,
"default": "*/5 * * * *",
"description": "Specify the acquisition interval of CO2 concentration."
},
"warning_level": {
"title": "Warning Level",
"type": "number",
"required": true,
"default": 1500,
"description": "A warning will be displayed when CO2 exceeds this level."
}
}
}
}