forked from skrollme/homebridge-eveatmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
85 lines (85 loc) · 2.53 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
{
"pluginAlias": "eveatmo",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Homebridge plugin for the Netatmo Weatherstation",
"footerDisplay": "For a detailed description, see the [README](https://github.com/skrollme/homebridge-eveatmo#readme) file.",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "eveatmo platform",
"required": true
},
"ttl": {
"title": "TTL",
"type": "integer",
"default": 540,
"minimum": 300,
"description": "Seconds between two Netatmo API polls (default 540)"
},
"extra_co2_sensor": {
"title": "Extra CO2 sensor",
"type": "boolean",
"default": false,
"description": "Adds an extra CO2 sensor for alerts"
},
"weatherstation": {
"title": "Weatherstation",
"type": "boolean",
"default": true,
"description": "Activate Netatmo Weatherstation reporting"
},
"airquality": {
"title": "Air Quality Monitor",
"type": "boolean",
"default": false,
"description": "Activate Netatmo Air Quality Monitor reporting"
},
"co2_alert_threshold": {
"title": "CO2 alert threshold",
"type": "integer",
"default": 1000,
"minimum": 450,
"description": "Sets the CO2-level in ppm at which the sensors switches to alert-state"
},
"module_suffix": {
"title": "Name suffix",
"type": "string",
"description": "Suffix to the module name. Deletes the prepended Netatmo device name"
},
"auth": {
"title": "Netatmo credentials",
"type": "object",
"properties": {
"client_id": {
"title": "Client ID",
"type": "string",
"required": true,
"description": "Create this at https://dev.netatmo.com/"
},
"client_secret": {
"title": "Client secret",
"type": "string",
"required": true,
"description": "Create this at https://dev.netatmo.com/"
},
"username": {
"title": "Username",
"type": "string",
"required": true,
"description": "Your Netatmo username"
},
"password": {
"title": "Password",
"type": "string",
"required": true,
"description": "Your Netatmo password"
}
}
}
}
}
}