-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.schema.json
executable file
·244 lines (244 loc) · 6.32 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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
{
"pluginAlias": "TadoAC",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Homebridge plugin for tado° - Smart AC Control",
"footerDisplay": "Created by @nitaybz",
"schema": {
"type": "object",
"properties": {
"username": {
"title": "Username",
"description": "Your tado° account username",
"type": "string",
"required": true
},
"password": {
"title": "Password",
"description": "Your tado° account password",
"type": "string",
"required": true
},
"occupancySensorsEnabled": {
"title": "Occupancy Sensors",
"description": "Show occupancy sensors for each tado° user connected to your home",
"type": "boolean",
"default": false,
"required": false
},
"occupancyPollingInterval": {
"title": "Occupancy Status Polling Interval in Seconds",
"description": "Time in seconds between each status polling of the occupancy sensors",
"default": 10,
"type": "integer",
"minimum": 3,
"maximum": 600
},
"anyoneSensor": {
"title": "Anyone Occupancy Sensor",
"description": " Adds 1 Occupancy Sensor named \"Anyone\" to represent the state of someone at home",
"type": "boolean",
"default": false,
"required": false
},
"weatherSensorsEnabled": {
"title": "Weather Sensor",
"description": "Show weather sensor with outside temperature and solar intensity",
"type": "boolean",
"default": false,
"required": false
},
"weatherPollingInterval": {
"title": "Weather Status Polling Interval in Minutes",
"description": "Time in minutes between each status polling of the weather information",
"default": 5,
"type": "integer",
"minimum": 1,
"maximum": 60
},
"homeID": {
"title": "Home ID",
"description": "If supplied, the plugin will use the attached one and not try to retrieve it",
"type": "integer",
"required": false
},
"tadoMode": {
"title": "tado° Mode",
"type": "string",
"default": "MANUAL",
"required": true,
"oneOf": [
{
"title": "MANUAL: Manual control until ended by the user",
"enum": [
"MANUAL"
]
},
{
"title": "TADO_MODE: Manual control until next schedule change",
"enum": [
"TADO_MODE"
]
},
{
"title": "TIMER: Manual control until timer ends",
"enum": [
"TIMER"
]
}
]
},
"durationInMinutes": {
"title": "Timer Duration in Minutes",
"description": "Duration in minutes for the \"TIMER\" settings",
"default": 90,
"type": "integer",
"minimum": 5,
"maximum": 720
},
"disableFan": {
"title": "Disable Fan Accessory",
"description": "Disable FAN mode control - remove extra fan accessory",
"type": "boolean",
"default": false,
"required": false
},
"disableDry": {
"title": "Disable Dry Accessory",
"description": "Disable DRY mode control - remove extra dehumidifier accessory",
"type": "boolean",
"default": false,
"required": false
},
"manualControlSwitch": {
"title": "Enable Manual Control Switch",
"description": "Adding a switch to set or remove manual control",
"type": "boolean",
"default": false,
"required": false
},
"historyStorage": {
"title": "Enable History Storage",
"description": "Records all temperature & humidity measurements history to be viewable in the Eve app",
"type": "boolean",
"default": false,
"required": false
},
"extraHumiditySensor": {
"title": "Enable External Humidity Sensor",
"description": "Creates an external sensor outside of the accessory that shows relative humidity",
"type": "boolean",
"default": false,
"required": false
},
"forceThermostat": {
"title": "Force Thermostat Accessory",
"description": "When enabled, it will force Homebridge to create Thermostat accessory instead of the default HeaterCooler(AC)",
"type": "boolean",
"default": false,
"required": false
},
"forceHeaterCooler": {
"title": "Force HeaterCooler(AC) Accessory",
"description": "When enabled, it will force Homebridge to create HeaterCooler(AC) accessory instead of Thermostat, even when Thermostatic mode is enabled",
"type": "boolean",
"default": false,
"required": false
},
"disableAcAccessory": {
"title": "Disable AC Accessory",
"description": "When enabled, it will ignore the main AC devices and will only show occupancy sensors & weather sensors",
"type": "boolean",
"default": false,
"required": false
},
"statePollingInterval": {
"title": "AC Device Status Polling Interval in Seconds",
"description": "Time in seconds between each status polling of the tado devices (set to 0 for no polling)",
"default": 30,
"type": "integer",
"minimum": 0,
"maximum": 600
},
"debug": {
"title": "Enable Debug Logs",
"description": "When checked, the plugin will produce extra logs for debugging purposes",
"type": "boolean",
"default": false,
"required": false
}
}
},
"layout": [
{
"key": "username"
},
{
"key": "password"
},
{
"key": "tadoMode"
},
{
"key": "durationInMinutes",
"condition": {
"functionBody": "return (model.tadoMode === 'TIMER')"
}
},
{
"key": "manualControlSwitch"
},
{
"key": "historyStorage"
},
{
"key": "occupancySensorsEnabled"
},
{
"key": "occupancyPollingInterval",
"condition": {
"functionBody": "return (model.occupancySensorsEnabled && model.occupancySensorsEnabled === true)"
}
},
{
"key": "anyoneSensor",
"condition": {
"functionBody": "return (model.occupancySensorsEnabled && model.occupancySensorsEnabled === true)"
}
},
{
"key": "weatherSensorsEnabled"
},
{
"key": "weatherPollingInterval",
"condition": {
"functionBody": "return (model.weatherSensorsEnabled && model.weatherSensorsEnabled === true)"
}
},
{
"key": "disableFan"
},
{
"key": "disableDry"
},
{
"key": "extraHumiditySensor"
},
{
"key": "debug"
},
{
"type": "fieldset",
"expandable": true,
"title": "Advanced Settings",
"description": "Don't change these, unless you understand what you're doing.",
"items": [
"statePollingInterval",
"homeID",
"forceThermostat",
"forceHeaterCooler",
"disableAcAccessory"
]
}
]
}