@switchbot/homebridge-switchbot 4.0.0-beta.5 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -4
- package/config.schema.json +708 -462
- package/dist/device/device.d.ts.map +1 -1
- package/dist/device/device.js +27 -4
- package/dist/device/device.js.map +1 -1
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +1 -0
- package/dist/platform.js.map +1 -1
- package/dist/settings.d.ts +8 -5
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +1 -0
- package/dist/settings.js.map +1 -1
- package/package.json +4 -4
- package/src/device/device.ts +28 -5
- package/src/platform.ts +1 -0
- package/src/settings.ts +9 -5
- package/.github/npm-version-script.cjs +0 -81
package/config.schema.json
CHANGED
|
@@ -52,15 +52,23 @@
|
|
|
52
52
|
"title": "Devices",
|
|
53
53
|
"type": "object",
|
|
54
54
|
"properties": {
|
|
55
|
+
"configDeviceName": {
|
|
56
|
+
"title": "Device Name",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"placeholder": "SwitchBot",
|
|
59
|
+
"condition": {
|
|
60
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId);"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
55
63
|
"deviceId": {
|
|
56
64
|
"title": "Device ID",
|
|
57
65
|
"type": "string",
|
|
58
66
|
"placeholder": "81F3UT59513F"
|
|
59
67
|
},
|
|
60
|
-
"
|
|
61
|
-
"title": "Device
|
|
62
|
-
"type": "
|
|
63
|
-
"
|
|
68
|
+
"hide_device": {
|
|
69
|
+
"title": "Hide Device",
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "If true, device will be removed or hidden from HomeKit.",
|
|
64
72
|
"condition": {
|
|
65
73
|
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId);"
|
|
66
74
|
}
|
|
@@ -68,6 +76,9 @@
|
|
|
68
76
|
"configDeviceType": {
|
|
69
77
|
"title": "Device Type",
|
|
70
78
|
"type": "string",
|
|
79
|
+
"condition": {
|
|
80
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device);"
|
|
81
|
+
},
|
|
71
82
|
"oneOf": [
|
|
72
83
|
{
|
|
73
84
|
"title": "Blind Tilt",
|
|
@@ -171,6 +182,18 @@
|
|
|
171
182
|
"MeterPlus"
|
|
172
183
|
]
|
|
173
184
|
},
|
|
185
|
+
{
|
|
186
|
+
"title": "K10+",
|
|
187
|
+
"enum": [
|
|
188
|
+
"K10+"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"title": "K10+ Pro",
|
|
193
|
+
"enum": [
|
|
194
|
+
"K10+ Pro"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
174
197
|
{
|
|
175
198
|
"title": "Mini Robot Vacuum K10+",
|
|
176
199
|
"enum": [
|
|
@@ -213,10 +236,16 @@
|
|
|
213
236
|
"Robot Vacuum Cleaner S1 Plus"
|
|
214
237
|
]
|
|
215
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"title": "Robot Vacuum Cleaner S10",
|
|
241
|
+
"enum": [
|
|
242
|
+
"Robot Vacuum Cleaner S10"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
216
245
|
{
|
|
217
246
|
"title": "Roller Shade",
|
|
218
247
|
"enum": [
|
|
219
|
-
"
|
|
248
|
+
"WoRollerShade"
|
|
220
249
|
]
|
|
221
250
|
},
|
|
222
251
|
{
|
|
@@ -243,121 +272,63 @@
|
|
|
243
272
|
"Strip Light"
|
|
244
273
|
]
|
|
245
274
|
}
|
|
246
|
-
]
|
|
247
|
-
"condition": {
|
|
248
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device);"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"customBLEaddress": {
|
|
252
|
-
"title": "Custom BLE Address",
|
|
253
|
-
"type": "string",
|
|
254
|
-
"placeholder": "81F3UT59513F",
|
|
255
|
-
"condition": {
|
|
256
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].connectionType === 'BLE' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
"hide_temperature": {
|
|
260
|
-
"title": "Hide Temperature Sensor",
|
|
261
|
-
"type": "boolean",
|
|
262
|
-
"condition": {
|
|
263
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)') && model.options.devices[arrayIndices].deviceId);"
|
|
264
|
-
}
|
|
275
|
+
]
|
|
265
276
|
},
|
|
266
|
-
"
|
|
267
|
-
"title": "
|
|
277
|
+
"connectionType": {
|
|
278
|
+
"title": "Connection Type",
|
|
268
279
|
"type": "string",
|
|
280
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
269
281
|
"condition": {
|
|
270
|
-
"functionBody": "return (model.options && model.options.devices &&
|
|
282
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device);"
|
|
271
283
|
},
|
|
272
284
|
"oneOf": [
|
|
273
285
|
{
|
|
274
|
-
"title": "
|
|
286
|
+
"title": "BLE",
|
|
275
287
|
"enum": [
|
|
276
|
-
"
|
|
288
|
+
"BLE"
|
|
277
289
|
]
|
|
278
290
|
},
|
|
279
291
|
{
|
|
280
|
-
"title": "
|
|
292
|
+
"title": "BLE/OpenAPI",
|
|
281
293
|
"enum": [
|
|
282
|
-
"
|
|
294
|
+
"BLE/OpenAPI"
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"title": "Disable",
|
|
299
|
+
"enum": [
|
|
300
|
+
"Disabled"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"title": "OpenAPI",
|
|
305
|
+
"enum": [
|
|
306
|
+
"OpenAPI"
|
|
283
307
|
]
|
|
284
308
|
}
|
|
285
309
|
]
|
|
286
310
|
},
|
|
287
|
-
"
|
|
288
|
-
"title": "
|
|
289
|
-
"type": "
|
|
290
|
-
"
|
|
291
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)') && model.options.devices[arrayIndices].deviceId);"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
"hide_lightsensor": {
|
|
295
|
-
"title": "Hide Light Sensor",
|
|
296
|
-
"type": "boolean",
|
|
311
|
+
"scanDuration": {
|
|
312
|
+
"title": "Scan Duration (Default is 1 Second) for BLE",
|
|
313
|
+
"type": "number",
|
|
314
|
+
"placeholder": 1,
|
|
297
315
|
"condition": {
|
|
298
|
-
"functionBody": "return (model.options && model.options.devices &&
|
|
316
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].connectionType === 'BLE' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
299
317
|
}
|
|
300
318
|
},
|
|
301
|
-
"
|
|
302
|
-
"title": "
|
|
319
|
+
"customBLEaddress": {
|
|
320
|
+
"title": "Custom BLE Address",
|
|
303
321
|
"type": "string",
|
|
304
|
-
"
|
|
305
|
-
"default": "",
|
|
306
|
-
"oneOf": [
|
|
307
|
-
{
|
|
308
|
-
"title": "Default",
|
|
309
|
-
"enum": [""]
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"title": "Multi-Press",
|
|
313
|
-
"enum": ["multipress"]
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"title": "Press",
|
|
317
|
-
"enum": ["press"]
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"title": "Switch",
|
|
321
|
-
"enum": ["switch"]
|
|
322
|
-
}
|
|
323
|
-
],
|
|
322
|
+
"placeholder": "81F3UT59513F",
|
|
324
323
|
"condition": {
|
|
325
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].
|
|
324
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].connectionType === 'BLE' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
326
325
|
}
|
|
327
326
|
},
|
|
328
|
-
"
|
|
329
|
-
"title": "
|
|
330
|
-
"type": "
|
|
331
|
-
"required": true,
|
|
332
|
-
"default": "",
|
|
333
|
-
"oneOf": [
|
|
334
|
-
{
|
|
335
|
-
"title": "Default",
|
|
336
|
-
"enum": [""]
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"title": "Down and Up",
|
|
340
|
-
"enum": ["down_and_up"]
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"title": "Only Down",
|
|
344
|
-
"enum": ["only_down"]
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"title": "Only Up",
|
|
348
|
-
"enum": ["only_up"]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"title": "Up and Down",
|
|
352
|
-
"enum": ["up_and_down"]
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"title": "Use Tilt for Direction",
|
|
356
|
-
"enum": ["use_tilt_for_direction"]
|
|
357
|
-
}
|
|
358
|
-
],
|
|
327
|
+
"webhook": {
|
|
328
|
+
"title": "Enable Webhook",
|
|
329
|
+
"type": "boolean",
|
|
359
330
|
"condition": {
|
|
360
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].
|
|
331
|
+
"functionBody": "return (model.options && model.options.devices && model.options.webhookURL && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].connectionType === 'OpenAPI' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
361
332
|
}
|
|
362
333
|
},
|
|
363
334
|
"type": {
|
|
@@ -365,6 +336,10 @@
|
|
|
365
336
|
"type": "string",
|
|
366
337
|
"required": true,
|
|
367
338
|
"default": "",
|
|
339
|
+
"placeholder": "outlet",
|
|
340
|
+
"condition": {
|
|
341
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId);"
|
|
342
|
+
},
|
|
368
343
|
"oneOf": [
|
|
369
344
|
{
|
|
370
345
|
"title": "Default",
|
|
@@ -432,18 +407,76 @@
|
|
|
432
407
|
"windowcovering"
|
|
433
408
|
]
|
|
434
409
|
}
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
"mode": {
|
|
413
|
+
"title": "Bot Mode",
|
|
414
|
+
"type": "string",
|
|
415
|
+
"required": true,
|
|
416
|
+
"default": "",
|
|
417
|
+
"oneOf": [
|
|
418
|
+
{
|
|
419
|
+
"title": "Default",
|
|
420
|
+
"enum": [""]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"title": "Multi-Press",
|
|
424
|
+
"enum": ["multipress"]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"title": "Press",
|
|
428
|
+
"enum": ["press"]
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"title": "Switch",
|
|
432
|
+
"enum": ["switch"]
|
|
433
|
+
}
|
|
435
434
|
],
|
|
436
|
-
"placeholder": "outlet",
|
|
437
435
|
"condition": {
|
|
438
436
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId);"
|
|
439
437
|
}
|
|
440
438
|
},
|
|
439
|
+
"mapping": {
|
|
440
|
+
"title": "Mapping Mode",
|
|
441
|
+
"type": "string",
|
|
442
|
+
"required": true,
|
|
443
|
+
"default": "",
|
|
444
|
+
"oneOf": [
|
|
445
|
+
{
|
|
446
|
+
"title": "Default",
|
|
447
|
+
"enum": [""]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"title": "Down and Up",
|
|
451
|
+
"enum": ["down_and_up"]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"title": "Only Down",
|
|
455
|
+
"enum": ["only_down"]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"title": "Only Up",
|
|
459
|
+
"enum": ["only_up"]
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"title": "Up and Down",
|
|
463
|
+
"enum": ["up_and_down"]
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"title": "Use Tilt for Direction",
|
|
467
|
+
"enum": ["use_tilt_for_direction"]
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
"condition": {
|
|
471
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' && model.options.devices[arrayIndices].deviceId);"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
441
474
|
"allowPush": {
|
|
442
475
|
"title": "Allow Changes to Be Pushed",
|
|
443
476
|
"description": "If set to true, this will allow commands to be sent even if device state is already in state that is being pushed.",
|
|
444
477
|
"type": "boolean",
|
|
445
478
|
"condition": {
|
|
446
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].
|
|
479
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId);"
|
|
447
480
|
}
|
|
448
481
|
},
|
|
449
482
|
"doublePress": {
|
|
@@ -451,7 +484,7 @@
|
|
|
451
484
|
"type": "number",
|
|
452
485
|
"placeholder": "2",
|
|
453
486
|
"condition": {
|
|
454
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].
|
|
487
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].mode);"
|
|
455
488
|
}
|
|
456
489
|
},
|
|
457
490
|
"pushRatePress": {
|
|
@@ -460,7 +493,63 @@
|
|
|
460
493
|
"placeholder": "15",
|
|
461
494
|
"description": "Indicates the number of seconds between pushes for double presses to SwitchBot API",
|
|
462
495
|
"condition": {
|
|
463
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].
|
|
496
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].mode && model.options.devices[arrayIndices].doublePress > 1);"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"hide_temperature": {
|
|
500
|
+
"title": "Hide Temperature Sensor",
|
|
501
|
+
"type": "boolean",
|
|
502
|
+
"condition": {
|
|
503
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)') && model.options.devices[arrayIndices].deviceId);"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"convertUnitTo": {
|
|
507
|
+
"title": "Convert Temperature Unit To",
|
|
508
|
+
"type": "string",
|
|
509
|
+
"condition": {
|
|
510
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)') && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_temperature);"
|
|
511
|
+
},
|
|
512
|
+
"oneOf": [
|
|
513
|
+
{
|
|
514
|
+
"title": "Celsius",
|
|
515
|
+
"enum": [
|
|
516
|
+
"CELSIUS"
|
|
517
|
+
]
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"title": "Fahrenheit",
|
|
521
|
+
"enum": [
|
|
522
|
+
"FAHRENHEIT"
|
|
523
|
+
]
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"hide_humidity": {
|
|
528
|
+
"title": "Hide Humidity Sensor",
|
|
529
|
+
"type": "boolean",
|
|
530
|
+
"condition": {
|
|
531
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)') && model.options.devices[arrayIndices].deviceId);"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"hide_lightsensor": {
|
|
535
|
+
"title": "Hide Light Sensor",
|
|
536
|
+
"type": "boolean",
|
|
537
|
+
"condition": {
|
|
538
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId);"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"hide_motionsensor": {
|
|
542
|
+
"title": "Hide Contact Sensor's Motion Sensor",
|
|
543
|
+
"type": "boolean",
|
|
544
|
+
"condition": {
|
|
545
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' && model.options.devices[arrayIndices].deviceId);"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"hide_contactsensor": {
|
|
549
|
+
"title": "Hide Lock's Contact Sensor",
|
|
550
|
+
"type": "boolean",
|
|
551
|
+
"condition": {
|
|
552
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' || model.options.devices[arrayIndices].configDeviceType === 'Smart Lock Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
464
553
|
}
|
|
465
554
|
},
|
|
466
555
|
"hide_leak": {
|
|
@@ -470,6 +559,36 @@
|
|
|
470
559
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Water Detector' && model.options.devices[arrayIndices].deviceId);"
|
|
471
560
|
}
|
|
472
561
|
},
|
|
562
|
+
"disable_group": {
|
|
563
|
+
"title": "Disable Grouping",
|
|
564
|
+
"type": "boolean",
|
|
565
|
+
"condition": {
|
|
566
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId);"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"disableCaching": {
|
|
570
|
+
"title": "Disable Caching",
|
|
571
|
+
"type": "boolean",
|
|
572
|
+
"condition": {
|
|
573
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId);"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"adaptiveLightingShift": {
|
|
577
|
+
"title": "Adaptive Lighting Shift",
|
|
578
|
+
"type": "number",
|
|
579
|
+
"placeholder": "-1",
|
|
580
|
+
"description": "The mired for each Adaptive Lighting update will be increased by this value, making the light appear warmer. Set to -1 to remove Adaptive Lighting feature. Must be -1 or more.",
|
|
581
|
+
"condition": {
|
|
582
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"activate_latchbutton": {
|
|
586
|
+
"title": "Activate Latch Button",
|
|
587
|
+
"type": "boolean",
|
|
588
|
+
"condition": {
|
|
589
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' || model.options.devices[arrayIndices].configDeviceType === 'Smart Lock Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
473
592
|
"dry": {
|
|
474
593
|
"title": "Water Detector's Dry Alert",
|
|
475
594
|
"type": "boolean",
|
|
@@ -484,7 +603,7 @@
|
|
|
484
603
|
"placeholder": "1",
|
|
485
604
|
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
486
605
|
"condition": {
|
|
487
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier') && model.options.devices[arrayIndices].deviceId);"
|
|
606
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier') && model.options.devices[arrayIndices].deviceId);"
|
|
488
607
|
}
|
|
489
608
|
},
|
|
490
609
|
"set_min": {
|
|
@@ -493,7 +612,7 @@
|
|
|
493
612
|
"placeholder": "0",
|
|
494
613
|
"description": "Sets the minimum percentage before needed to set to Open",
|
|
495
614
|
"condition": {
|
|
496
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3') && model.options.devices[arrayIndices].deviceId);"
|
|
615
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
497
616
|
}
|
|
498
617
|
},
|
|
499
618
|
"set_max": {
|
|
@@ -502,19 +621,31 @@
|
|
|
502
621
|
"placeholder": "100",
|
|
503
622
|
"description": "Sets the maximum percentage before needing to set to Closed",
|
|
504
623
|
"condition": {
|
|
505
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3') && model.options.devices[arrayIndices].deviceId);"
|
|
624
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
506
625
|
}
|
|
507
626
|
},
|
|
508
|
-
"
|
|
509
|
-
"title": "
|
|
510
|
-
"type": "
|
|
627
|
+
"set_minlux": {
|
|
628
|
+
"title": "Set Min Lux",
|
|
629
|
+
"type": "number",
|
|
630
|
+
"placeholder": "1",
|
|
631
|
+
"condition": {
|
|
632
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_lightsensor);"
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"set_maxlux": {
|
|
636
|
+
"title": "Set Max Lux",
|
|
637
|
+
"type": "number",
|
|
638
|
+
"placeholder": "6001",
|
|
511
639
|
"condition": {
|
|
512
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === '
|
|
640
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_lightsensor);"
|
|
513
641
|
}
|
|
514
642
|
},
|
|
515
643
|
"setOpenMode": {
|
|
516
644
|
"title": "Opening Mode",
|
|
517
645
|
"type": "string",
|
|
646
|
+
"condition": {
|
|
647
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId);"
|
|
648
|
+
},
|
|
518
649
|
"oneOf": [
|
|
519
650
|
{
|
|
520
651
|
"enum": [
|
|
@@ -528,14 +659,14 @@
|
|
|
528
659
|
],
|
|
529
660
|
"title": "Silent Mode"
|
|
530
661
|
}
|
|
531
|
-
]
|
|
532
|
-
"condition": {
|
|
533
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt') && model.options.devices[arrayIndices].deviceId);"
|
|
534
|
-
}
|
|
662
|
+
]
|
|
535
663
|
},
|
|
536
664
|
"setCloseMode": {
|
|
537
665
|
"title": "Closing Mode",
|
|
538
666
|
"type": "string",
|
|
667
|
+
"condition": {
|
|
668
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId);"
|
|
669
|
+
},
|
|
539
670
|
"oneOf": [
|
|
540
671
|
{
|
|
541
672
|
"enum": [
|
|
@@ -549,62 +680,37 @@
|
|
|
549
680
|
],
|
|
550
681
|
"title": "Silent Mode"
|
|
551
682
|
}
|
|
552
|
-
]
|
|
553
|
-
"condition": {
|
|
554
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt') && model.options.devices[arrayIndices].deviceId);"
|
|
555
|
-
}
|
|
683
|
+
]
|
|
556
684
|
},
|
|
557
685
|
"silentModeSwitch": {
|
|
558
686
|
"title": "Enable Silent Mode Switches",
|
|
559
687
|
"type": "boolean",
|
|
560
688
|
"condition": {
|
|
561
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === '
|
|
689
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId);"
|
|
562
690
|
}
|
|
563
691
|
},
|
|
564
|
-
"
|
|
565
|
-
"title": "
|
|
692
|
+
"maxRetry": {
|
|
693
|
+
"title": "Max Retries for BLE",
|
|
566
694
|
"type": "number",
|
|
567
|
-
"placeholder": "
|
|
695
|
+
"placeholder": "5",
|
|
568
696
|
"condition": {
|
|
569
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device &&
|
|
697
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].connectionType === 'BLE' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
570
698
|
}
|
|
571
699
|
},
|
|
572
|
-
"
|
|
573
|
-
"title": "
|
|
700
|
+
"maxRetries": {
|
|
701
|
+
"title": "Device Max Retries for OpenAPI",
|
|
574
702
|
"type": "number",
|
|
575
|
-
"placeholder":
|
|
576
|
-
"condition": {
|
|
577
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3') && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_lightsensor);"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
"hide_motionsensor": {
|
|
581
|
-
"title": "Hide Contact Sensor's Motion Sensor",
|
|
582
|
-
"type": "boolean",
|
|
703
|
+
"placeholder": 5,
|
|
583
704
|
"condition": {
|
|
584
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].
|
|
705
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].connectionType === 'OpenAPI' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
585
706
|
}
|
|
586
707
|
},
|
|
587
|
-
"
|
|
588
|
-
"title": "
|
|
708
|
+
"delayBetweenRetries": {
|
|
709
|
+
"title": "Device Delay Between Retries for OpenAPI (In Seconds)",
|
|
589
710
|
"type": "number",
|
|
590
|
-
"placeholder":
|
|
591
|
-
"description": "The mired for each Adaptive Lighting update will be increased by this value, making the light appear warmer. Set to -1 to remove Adaptive Lighting feature. Must be -1 or more.",
|
|
592
|
-
"condition": {
|
|
593
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light') && model.options.devices[arrayIndices].deviceId);"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"hide_contactsensor": {
|
|
597
|
-
"title": "Hide Lock's Contact Sensor",
|
|
598
|
-
"type": "boolean",
|
|
599
|
-
"condition": {
|
|
600
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' || model.options.devices[arrayIndices].configDeviceType === 'Smart Lock Pro') && model.options.devices[arrayIndices].deviceId);"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
"activate_latchbutton": {
|
|
604
|
-
"title": "Activate Latch Button",
|
|
605
|
-
"type": "boolean",
|
|
711
|
+
"placeholder": 3,
|
|
606
712
|
"condition": {
|
|
607
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device &&
|
|
713
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].connectionType === 'OpenAPI' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
608
714
|
}
|
|
609
715
|
},
|
|
610
716
|
"mqttURL": {
|
|
@@ -629,47 +735,20 @@
|
|
|
629
735
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].mqttURL && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Water Detector' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)'));"
|
|
630
736
|
}
|
|
631
737
|
},
|
|
632
|
-
"
|
|
633
|
-
"title": "
|
|
738
|
+
"history": {
|
|
739
|
+
"title": "EVE History",
|
|
634
740
|
"type": "boolean",
|
|
635
|
-
"description": "If true, device will be removed or hidden from HomeKit.",
|
|
636
741
|
"condition": {
|
|
637
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId);"
|
|
742
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Water Detector' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)'));"
|
|
638
743
|
}
|
|
639
744
|
},
|
|
640
|
-
"
|
|
641
|
-
"title": "
|
|
745
|
+
"offline": {
|
|
746
|
+
"title": "Offline as Off",
|
|
642
747
|
"type": "boolean",
|
|
643
748
|
"condition": {
|
|
644
749
|
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
645
750
|
}
|
|
646
751
|
},
|
|
647
|
-
"refreshRate": {
|
|
648
|
-
"title": "Device Refresh Rate",
|
|
649
|
-
"type": "number",
|
|
650
|
-
"placeholder": 360,
|
|
651
|
-
"condition": {
|
|
652
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
"updateRate": {
|
|
656
|
-
"title": "Update Rate",
|
|
657
|
-
"type": "number",
|
|
658
|
-
"minimum": 1,
|
|
659
|
-
"placeholder": 5,
|
|
660
|
-
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
661
|
-
"condition": {
|
|
662
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt') && model.options.devices[arrayIndices].deviceId);"
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
"pushRate": {
|
|
666
|
-
"title": "Device Push Rate",
|
|
667
|
-
"type": "number",
|
|
668
|
-
"placeholder": 360,
|
|
669
|
-
"condition": {
|
|
670
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
752
|
"firmware": {
|
|
674
753
|
"title": "Firmware Override",
|
|
675
754
|
"type": "string",
|
|
@@ -678,11 +757,21 @@
|
|
|
678
757
|
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].configDeviceType);"
|
|
679
758
|
}
|
|
680
759
|
},
|
|
760
|
+
"external": {
|
|
761
|
+
"title": "External Accessory",
|
|
762
|
+
"type": "boolean",
|
|
763
|
+
"condition": {
|
|
764
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
681
767
|
"logging": {
|
|
682
768
|
"title": "Device Logging Override Setting",
|
|
683
769
|
"type": "string",
|
|
684
770
|
"required": true,
|
|
685
771
|
"default": "",
|
|
772
|
+
"condition": {
|
|
773
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
774
|
+
},
|
|
686
775
|
"oneOf": [
|
|
687
776
|
{
|
|
688
777
|
"title": "Debug Logging",
|
|
@@ -705,106 +794,35 @@
|
|
|
705
794
|
{
|
|
706
795
|
"title": "Standard Logging",
|
|
707
796
|
"enum": [
|
|
708
|
-
"standard"
|
|
709
|
-
]
|
|
710
|
-
}
|
|
711
|
-
],
|
|
712
|
-
"condition": {
|
|
713
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
"connectionType": {
|
|
717
|
-
"title": "Connection Type",
|
|
718
|
-
"type": "string",
|
|
719
|
-
"oneOf": [
|
|
720
|
-
{
|
|
721
|
-
"title": "BLE",
|
|
722
|
-
"enum": [
|
|
723
|
-
"BLE"
|
|
724
|
-
]
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"title": "BLE/OpenAPI",
|
|
728
|
-
"enum": [
|
|
729
|
-
"BLE/OpenAPI"
|
|
730
|
-
]
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"title": "Disable",
|
|
734
|
-
"enum": [
|
|
735
|
-
"Disabled"
|
|
736
|
-
]
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
"title": "OpenAPI",
|
|
740
|
-
"enum": [
|
|
741
|
-
"OpenAPI"
|
|
797
|
+
"standard"
|
|
742
798
|
]
|
|
743
799
|
}
|
|
744
|
-
]
|
|
745
|
-
"description": "Bluetooth (BLE) API is only available for the following Device Types: Humidifier, Meter, MeterPlus, Curtain, Bot, Motion Sensor, Contact Sensor, Plug Mini (US), Plug Mini (JP), & Color Bulb",
|
|
746
|
-
"condition": {
|
|
747
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device);"
|
|
748
|
-
}
|
|
800
|
+
]
|
|
749
801
|
},
|
|
750
|
-
"
|
|
751
|
-
"title": "
|
|
802
|
+
"refreshRate": {
|
|
803
|
+
"title": "Device Refresh Rate",
|
|
752
804
|
"type": "number",
|
|
753
|
-
"placeholder":
|
|
754
|
-
"condition": {
|
|
755
|
-
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].connectionType === 'BLE' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"offline": {
|
|
759
|
-
"title": "Offline as Off",
|
|
760
|
-
"type": "boolean",
|
|
805
|
+
"placeholder": 360,
|
|
761
806
|
"condition": {
|
|
762
807
|
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
763
808
|
}
|
|
764
809
|
},
|
|
765
|
-
"
|
|
766
|
-
"title": "
|
|
767
|
-
"type": "number",
|
|
768
|
-
"placeholder": "5",
|
|
769
|
-
"condition": {
|
|
770
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].connectionType === 'BLE' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI') && (model.options.devices[arrayIndices].configDeviceType === 'Bot' || model.options.devices[arrayIndices].configDeviceType === 'Robot Vacuum Cleaner S1' || model.options.devices[arrayIndices].configDeviceType === 'Robot Vacuum Cleaner S1 Plus' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Plug' || model.options.devices[arrayIndices].configDeviceType === 'Plug Mini (JP)' || model.options.devices[arrayIndices].configDeviceType === 'Plug Mini (US)' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor'));"
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
"maxRetries": {
|
|
774
|
-
"title": "Device Max Retries for OpenAPI",
|
|
810
|
+
"updateRate": {
|
|
811
|
+
"title": "Update Rate",
|
|
775
812
|
"type": "number",
|
|
813
|
+
"minimum": 1,
|
|
776
814
|
"placeholder": 5,
|
|
815
|
+
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
777
816
|
"condition": {
|
|
778
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].
|
|
817
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade') && model.options.devices[arrayIndices].deviceId);"
|
|
779
818
|
}
|
|
780
819
|
},
|
|
781
|
-
"
|
|
782
|
-
"title": "Device
|
|
820
|
+
"pushRate": {
|
|
821
|
+
"title": "Device Push Rate",
|
|
783
822
|
"type": "number",
|
|
784
|
-
"placeholder":
|
|
785
|
-
"condition": {
|
|
786
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].connectionType === 'OpenAPI' || model.options.devices[arrayIndices].connectionType === 'BLE/OpenAPI'));"
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
"disableCaching": {
|
|
790
|
-
"title": "Disable Caching",
|
|
791
|
-
"type": "boolean",
|
|
792
|
-
"condition": {
|
|
793
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3'));"
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
"history": {
|
|
797
|
-
"title": "EVE History",
|
|
798
|
-
"type": "boolean",
|
|
799
|
-
"condition": {
|
|
800
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceId && (model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Water Detector' || model.options.devices[arrayIndices].configDeviceType === 'WoIOSensor' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'MeterPlus' || model.options.devices[arrayIndices].configDeviceType === 'Meter Plus (JP)'));"
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
"webhook": {
|
|
804
|
-
"title": "Enable Webhook",
|
|
805
|
-
"type": "boolean",
|
|
823
|
+
"placeholder": 360,
|
|
806
824
|
"condition": {
|
|
807
|
-
"functionBody": "return (model.options && model.options.devices && model.options.
|
|
825
|
+
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
808
826
|
}
|
|
809
827
|
}
|
|
810
828
|
},
|
|
@@ -869,7 +887,7 @@
|
|
|
869
887
|
"connectionType": {
|
|
870
888
|
"title": "Connection Type",
|
|
871
889
|
"type": "string",
|
|
872
|
-
"description": "Bluetooth (BLE) API is only available
|
|
890
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
873
891
|
"condition": {
|
|
874
892
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Humidifier'] && !model.options.deviceConfig['Humidifier'].hide_device);"
|
|
875
893
|
},
|
|
@@ -1084,7 +1102,7 @@
|
|
|
1084
1102
|
"connectionType": {
|
|
1085
1103
|
"title": "Connection Type",
|
|
1086
1104
|
"type": "string",
|
|
1087
|
-
"description": "Bluetooth (BLE) API is only available
|
|
1105
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
1088
1106
|
"condition": {
|
|
1089
1107
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Hub 2'] && !model.options.deviceConfig['Hub 2'].hide_device);"
|
|
1090
1108
|
},
|
|
@@ -1394,7 +1412,7 @@
|
|
|
1394
1412
|
"connectionType": {
|
|
1395
1413
|
"title": "Connection Type",
|
|
1396
1414
|
"type": "string",
|
|
1397
|
-
"description": "Bluetooth (BLE) API is only available
|
|
1415
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
1398
1416
|
"condition": {
|
|
1399
1417
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Bot'] && !model.options.deviceConfig['Bot'].hide_device);"
|
|
1400
1418
|
},
|
|
@@ -1609,7 +1627,7 @@
|
|
|
1609
1627
|
"connectionType": {
|
|
1610
1628
|
"title": "Connection Type",
|
|
1611
1629
|
"type": "string",
|
|
1612
|
-
"description": "Bluetooth (BLE) API is only available
|
|
1630
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
1613
1631
|
"condition": {
|
|
1614
1632
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Meter'] && !model.options.deviceConfig['Meter'].hide_device);"
|
|
1615
1633
|
},
|
|
@@ -1824,7 +1842,7 @@
|
|
|
1824
1842
|
"connectionType": {
|
|
1825
1843
|
"title": "Connection Type",
|
|
1826
1844
|
"type": "string",
|
|
1827
|
-
"description": "Bluetooth (BLE) API is only available
|
|
1845
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
1828
1846
|
"condition": {
|
|
1829
1847
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPlus'] && !model.options.deviceConfig['MeterPlus'].hide_device);"
|
|
1830
1848
|
},
|
|
@@ -2039,7 +2057,7 @@
|
|
|
2039
2057
|
"connectionType": {
|
|
2040
2058
|
"title": "Connection Type",
|
|
2041
2059
|
"type": "string",
|
|
2042
|
-
"description": "Bluetooth (BLE) API is only available
|
|
2060
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
2043
2061
|
"condition": {
|
|
2044
2062
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Meter Plus (JP)'] && !model.options.deviceConfig['Meter Plus (JP)'].hide_device);"
|
|
2045
2063
|
},
|
|
@@ -2254,7 +2272,7 @@
|
|
|
2254
2272
|
"connectionType": {
|
|
2255
2273
|
"title": "Connection Type",
|
|
2256
2274
|
"type": "string",
|
|
2257
|
-
"description": "Bluetooth (BLE) API is only available
|
|
2275
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
2258
2276
|
"condition": {
|
|
2259
2277
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['WoIOSensor'] && !model.options.deviceConfig['WoIOSensor'].hide_device);"
|
|
2260
2278
|
},
|
|
@@ -2449,7 +2467,7 @@
|
|
|
2449
2467
|
"connectionType": {
|
|
2450
2468
|
"title": "Connection Type",
|
|
2451
2469
|
"type": "string",
|
|
2452
|
-
"description": "Bluetooth (BLE) API is only available
|
|
2470
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
2453
2471
|
"condition": {
|
|
2454
2472
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Water Detector'] && !model.options.deviceConfig['Water Detector'].hide_device);"
|
|
2455
2473
|
},
|
|
@@ -2652,7 +2670,7 @@
|
|
|
2652
2670
|
"connectionType": {
|
|
2653
2671
|
"title": "Connection Type",
|
|
2654
2672
|
"type": "string",
|
|
2655
|
-
"description": "Bluetooth (BLE) API is only available
|
|
2673
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
2656
2674
|
"condition": {
|
|
2657
2675
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Water Detector'] && !model.options.deviceConfig['Water Detector'].hide_device);"
|
|
2658
2676
|
},
|
|
@@ -2862,7 +2880,7 @@
|
|
|
2862
2880
|
"connectionType": {
|
|
2863
2881
|
"title": "Connection Type",
|
|
2864
2882
|
"type": "string",
|
|
2865
|
-
"description": "Bluetooth (BLE) API is only available
|
|
2883
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
2866
2884
|
"condition": {
|
|
2867
2885
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Contact Sensor'] && !model.options.deviceConfig['Contact Sensor'].hide_device);"
|
|
2868
2886
|
},
|
|
@@ -3148,7 +3166,7 @@
|
|
|
3148
3166
|
"connectionType": {
|
|
3149
3167
|
"title": "Connection Type",
|
|
3150
3168
|
"type": "string",
|
|
3151
|
-
"description": "Bluetooth (BLE) API is only available
|
|
3169
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
3152
3170
|
"condition": {
|
|
3153
3171
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Curtain'] && !model.options.deviceConfig['Curtain'].hide_device);"
|
|
3154
3172
|
},
|
|
@@ -3434,7 +3452,7 @@
|
|
|
3434
3452
|
"connectionType": {
|
|
3435
3453
|
"title": "Connection Type",
|
|
3436
3454
|
"type": "string",
|
|
3437
|
-
"description": "Bluetooth (BLE) API is only available
|
|
3455
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
3438
3456
|
"condition": {
|
|
3439
3457
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Curtain3'] && !model.options.deviceConfig['Curtain3'].hide_device);"
|
|
3440
3458
|
},
|
|
@@ -3720,7 +3738,7 @@
|
|
|
3720
3738
|
"connectionType": {
|
|
3721
3739
|
"title": "Connection Type",
|
|
3722
3740
|
"type": "string",
|
|
3723
|
-
"description": "Bluetooth (BLE) API is only available
|
|
3741
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
3724
3742
|
"condition": {
|
|
3725
3743
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['WoRollerShade'] && !model.options.deviceConfig['WoRollerShade'].hide_device);"
|
|
3726
3744
|
},
|
|
@@ -4006,7 +4024,7 @@
|
|
|
4006
4024
|
"connectionType": {
|
|
4007
4025
|
"title": "Connection Type",
|
|
4008
4026
|
"type": "string",
|
|
4009
|
-
"description": "Bluetooth (BLE) API is only available
|
|
4027
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
4010
4028
|
"condition": {
|
|
4011
4029
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Roller Shade'] && !model.options.deviceConfig['Roller Shade'].hide_device);"
|
|
4012
4030
|
},
|
|
@@ -4327,7 +4345,7 @@
|
|
|
4327
4345
|
"connectionType": {
|
|
4328
4346
|
"title": "Connection Type",
|
|
4329
4347
|
"type": "string",
|
|
4330
|
-
"description": "Bluetooth (BLE) API is only available
|
|
4348
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
4331
4349
|
"condition": {
|
|
4332
4350
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Blind Tilt'] && !model.options.deviceConfig['Blind Tilt'].hide_device);"
|
|
4333
4351
|
},
|
|
@@ -4504,19 +4522,10 @@
|
|
|
4504
4522
|
"type": "boolean",
|
|
4505
4523
|
"description": "If true, device will be removed or hidden from HomeKit."
|
|
4506
4524
|
},
|
|
4507
|
-
"set_minStep": {
|
|
4508
|
-
"title": "Set Minimum Step",
|
|
4509
|
-
"type": "number",
|
|
4510
|
-
"placeholder": "1",
|
|
4511
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
4512
|
-
"condition": {
|
|
4513
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug'].hide_device);"
|
|
4514
|
-
}
|
|
4515
|
-
},
|
|
4516
4525
|
"connectionType": {
|
|
4517
4526
|
"title": "Connection Type",
|
|
4518
4527
|
"type": "string",
|
|
4519
|
-
"description": "Bluetooth (BLE) API is only available
|
|
4528
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
4520
4529
|
"condition": {
|
|
4521
4530
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Plug'] && !model.options.deviceConfig['Plug'].hide_device);"
|
|
4522
4531
|
},
|
|
@@ -4693,19 +4702,10 @@
|
|
|
4693
4702
|
"type": "boolean",
|
|
4694
4703
|
"description": "If true, device will be removed or hidden from HomeKit."
|
|
4695
4704
|
},
|
|
4696
|
-
"set_minStep": {
|
|
4697
|
-
"title": "Set Minimum Step",
|
|
4698
|
-
"type": "number",
|
|
4699
|
-
"placeholder": "1",
|
|
4700
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
4701
|
-
"condition": {
|
|
4702
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug Mini (US)'].hide_device);"
|
|
4703
|
-
}
|
|
4704
|
-
},
|
|
4705
4705
|
"connectionType": {
|
|
4706
4706
|
"title": "Connection Type",
|
|
4707
4707
|
"type": "string",
|
|
4708
|
-
"description": "Bluetooth (BLE) API is only available
|
|
4708
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
4709
4709
|
"condition": {
|
|
4710
4710
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Plug Mini (US)'] && !model.options.deviceConfig['Plug Mini (US)'].hide_device);"
|
|
4711
4711
|
},
|
|
@@ -4882,19 +4882,10 @@
|
|
|
4882
4882
|
"type": "boolean",
|
|
4883
4883
|
"description": "If true, device will be removed or hidden from HomeKit."
|
|
4884
4884
|
},
|
|
4885
|
-
"set_minStep": {
|
|
4886
|
-
"title": "Set Minimum Step",
|
|
4887
|
-
"type": "number",
|
|
4888
|
-
"placeholder": "1",
|
|
4889
|
-
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
|
|
4890
|
-
"condition": {
|
|
4891
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug Mini (JP)'].hide_device);"
|
|
4892
|
-
}
|
|
4893
|
-
},
|
|
4894
4885
|
"connectionType": {
|
|
4895
4886
|
"title": "Connection Type",
|
|
4896
4887
|
"type": "string",
|
|
4897
|
-
"description": "Bluetooth (BLE) API is only available
|
|
4888
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
4898
4889
|
"condition": {
|
|
4899
4890
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Plug Mini (JP)'] && !model.options.deviceConfig['Plug Mini (JP)'].hide_device);"
|
|
4900
4891
|
},
|
|
@@ -5088,7 +5079,7 @@
|
|
|
5088
5079
|
"connectionType": {
|
|
5089
5080
|
"title": "Connection Type",
|
|
5090
5081
|
"type": "string",
|
|
5091
|
-
"description": "Bluetooth (BLE) API is only available
|
|
5082
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
5092
5083
|
"condition": {
|
|
5093
5084
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Smart Lock'] && !model.options.deviceConfig['Smart Lock'].hide_device);"
|
|
5094
5085
|
},
|
|
@@ -5282,7 +5273,7 @@
|
|
|
5282
5273
|
"connectionType": {
|
|
5283
5274
|
"title": "Connection Type",
|
|
5284
5275
|
"type": "string",
|
|
5285
|
-
"description": "Bluetooth (BLE) API is only available
|
|
5276
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
5286
5277
|
"condition": {
|
|
5287
5278
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Smart Lock Pro'] && !model.options.deviceConfig['Smart Lock Pro'].hide_device);"
|
|
5288
5279
|
},
|
|
@@ -5480,7 +5471,7 @@
|
|
|
5480
5471
|
"connectionType": {
|
|
5481
5472
|
"title": "Connection Type",
|
|
5482
5473
|
"type": "string",
|
|
5483
|
-
"description": "Bluetooth (BLE) API is only available
|
|
5474
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
5484
5475
|
"condition": {
|
|
5485
5476
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Color Bulb'] && !model.options.deviceConfig['Color Bulb'].hide_device);"
|
|
5486
5477
|
},
|
|
@@ -5660,7 +5651,7 @@
|
|
|
5660
5651
|
"connectionType": {
|
|
5661
5652
|
"title": "Connection Type",
|
|
5662
5653
|
"type": "string",
|
|
5663
|
-
"description": "Bluetooth (BLE) API is only available
|
|
5654
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
5664
5655
|
"condition": {
|
|
5665
5656
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+'] && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5666
5657
|
},
|
|
@@ -5755,7 +5746,187 @@
|
|
|
5755
5746
|
"title": "EVE History",
|
|
5756
5747
|
"type": "boolean",
|
|
5757
5748
|
"condition": {
|
|
5758
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5749
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5750
|
+
}
|
|
5751
|
+
},
|
|
5752
|
+
"firmware": {
|
|
5753
|
+
"title": "Firmware Override",
|
|
5754
|
+
"type": "string",
|
|
5755
|
+
"placeholder": "1.2.8",
|
|
5756
|
+
"condition": {
|
|
5757
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5758
|
+
}
|
|
5759
|
+
},
|
|
5760
|
+
"logging": {
|
|
5761
|
+
"title": "Logging by Device Type",
|
|
5762
|
+
"type": "string",
|
|
5763
|
+
"required": true,
|
|
5764
|
+
"default": "",
|
|
5765
|
+
"condition": {
|
|
5766
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5767
|
+
},
|
|
5768
|
+
"oneOf": [
|
|
5769
|
+
{
|
|
5770
|
+
"title": "Debug Logging",
|
|
5771
|
+
"enum": [
|
|
5772
|
+
"debug"
|
|
5773
|
+
]
|
|
5774
|
+
},
|
|
5775
|
+
{
|
|
5776
|
+
"title": "Default Logging",
|
|
5777
|
+
"enum": [
|
|
5778
|
+
""
|
|
5779
|
+
]
|
|
5780
|
+
},
|
|
5781
|
+
{
|
|
5782
|
+
"title": "No Logging",
|
|
5783
|
+
"enum": [
|
|
5784
|
+
"none"
|
|
5785
|
+
]
|
|
5786
|
+
},
|
|
5787
|
+
{
|
|
5788
|
+
"title": "Standard Logging",
|
|
5789
|
+
"enum": [
|
|
5790
|
+
"standard"
|
|
5791
|
+
]
|
|
5792
|
+
}
|
|
5793
|
+
]
|
|
5794
|
+
},
|
|
5795
|
+
"refreshRate": {
|
|
5796
|
+
"title": "Device Refresh Rate",
|
|
5797
|
+
"type": "number",
|
|
5798
|
+
"placeholder": 360,
|
|
5799
|
+
"condition": {
|
|
5800
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5801
|
+
}
|
|
5802
|
+
},
|
|
5803
|
+
"updateRate": {
|
|
5804
|
+
"title": "Update Rate",
|
|
5805
|
+
"type": "number",
|
|
5806
|
+
"minimum": 1,
|
|
5807
|
+
"placeholder": 5,
|
|
5808
|
+
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
5809
|
+
"condition": {
|
|
5810
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5811
|
+
}
|
|
5812
|
+
},
|
|
5813
|
+
"pushRate": {
|
|
5814
|
+
"title": "Device Push Rate",
|
|
5815
|
+
"type": "number",
|
|
5816
|
+
"placeholder": 360,
|
|
5817
|
+
"condition": {
|
|
5818
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5819
|
+
}
|
|
5820
|
+
}
|
|
5821
|
+
}
|
|
5822
|
+
},
|
|
5823
|
+
"K10+ Pro": {
|
|
5824
|
+
"type": "object",
|
|
5825
|
+
"properties": {
|
|
5826
|
+
"hide_device": {
|
|
5827
|
+
"title": "Hide All K10+ Pros",
|
|
5828
|
+
"type": "boolean",
|
|
5829
|
+
"description": "If true, device will be removed or hidden from HomeKit."
|
|
5830
|
+
},
|
|
5831
|
+
"connectionType": {
|
|
5832
|
+
"title": "Connection Type",
|
|
5833
|
+
"type": "string",
|
|
5834
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
5835
|
+
"condition": {
|
|
5836
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5837
|
+
},
|
|
5838
|
+
"oneOf": [
|
|
5839
|
+
{
|
|
5840
|
+
"title": "BLE",
|
|
5841
|
+
"enum": [
|
|
5842
|
+
"BLE"
|
|
5843
|
+
]
|
|
5844
|
+
},
|
|
5845
|
+
{
|
|
5846
|
+
"title": "BLE/OpenAPI",
|
|
5847
|
+
"enum": [
|
|
5848
|
+
"BLE/OpenAPI"
|
|
5849
|
+
]
|
|
5850
|
+
},
|
|
5851
|
+
{
|
|
5852
|
+
"title": "Disable",
|
|
5853
|
+
"enum": [
|
|
5854
|
+
"Disabled"
|
|
5855
|
+
]
|
|
5856
|
+
},
|
|
5857
|
+
{
|
|
5858
|
+
"title": "OpenAPI",
|
|
5859
|
+
"enum": [
|
|
5860
|
+
"OpenAPI"
|
|
5861
|
+
]
|
|
5862
|
+
}
|
|
5863
|
+
]
|
|
5864
|
+
},
|
|
5865
|
+
"scanDuration": {
|
|
5866
|
+
"title": "Scan Duration (Default is 1 Second) for BLE",
|
|
5867
|
+
"type": "number",
|
|
5868
|
+
"placeholder": 1,
|
|
5869
|
+
"condition": {
|
|
5870
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device && (model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE' || model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE/OpenAPI'));"
|
|
5871
|
+
}
|
|
5872
|
+
},
|
|
5873
|
+
"webhook": {
|
|
5874
|
+
"title": "Enable Webhook for all K10+ Pros",
|
|
5875
|
+
"type": "boolean",
|
|
5876
|
+
"condition": {
|
|
5877
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device && (model.options.deviceConfig['K10+ Pro'].connectionType === 'OpenAPI' || model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE/OpenAPI'));"
|
|
5878
|
+
}
|
|
5879
|
+
},
|
|
5880
|
+
"external": {
|
|
5881
|
+
"title": "External Accessory",
|
|
5882
|
+
"type": "boolean",
|
|
5883
|
+
"condition": {
|
|
5884
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5885
|
+
}
|
|
5886
|
+
},
|
|
5887
|
+
"maxRetry": {
|
|
5888
|
+
"title": "Max Retries for BLE",
|
|
5889
|
+
"type": "number",
|
|
5890
|
+
"placeholder": "5",
|
|
5891
|
+
"condition": {
|
|
5892
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device && (model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE' || model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE/OpenAPI'));"
|
|
5893
|
+
}
|
|
5894
|
+
},
|
|
5895
|
+
"maxRetries": {
|
|
5896
|
+
"title": "Device Max Retries for OpenAPI",
|
|
5897
|
+
"type": "number",
|
|
5898
|
+
"placeholder": 5,
|
|
5899
|
+
"condition": {
|
|
5900
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device && (model.options.deviceConfig['K10+ Pro'].connectionType === 'OpenAPI' || model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE/OpenAPI'));"
|
|
5901
|
+
}
|
|
5902
|
+
},
|
|
5903
|
+
"delayBetweenRetries": {
|
|
5904
|
+
"title": "Device Delay Between Retries for OpenAPI (In Seconds)",
|
|
5905
|
+
"type": "number",
|
|
5906
|
+
"placeholder": 3,
|
|
5907
|
+
"condition": {
|
|
5908
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device && (model.options.deviceConfig['K10+ Pro'].connectionType === 'OpenAPI' || model.options.deviceConfig['K10+ Pro'].connectionType === 'BLE/OpenAPI'));"
|
|
5909
|
+
}
|
|
5910
|
+
},
|
|
5911
|
+
"disableCaching": {
|
|
5912
|
+
"title": "Disable Caching",
|
|
5913
|
+
"type": "boolean",
|
|
5914
|
+
"condition": {
|
|
5915
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['K10+ Pro'] && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5916
|
+
}
|
|
5917
|
+
},
|
|
5918
|
+
"offline": {
|
|
5919
|
+
"title": "Offline as Off",
|
|
5920
|
+
"type": "boolean",
|
|
5921
|
+
"condition": {
|
|
5922
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5923
|
+
}
|
|
5924
|
+
},
|
|
5925
|
+
"history": {
|
|
5926
|
+
"title": "EVE History",
|
|
5927
|
+
"type": "boolean",
|
|
5928
|
+
"condition": {
|
|
5929
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5759
5930
|
}
|
|
5760
5931
|
},
|
|
5761
5932
|
"firmware": {
|
|
@@ -5763,7 +5934,7 @@
|
|
|
5763
5934
|
"type": "string",
|
|
5764
5935
|
"placeholder": "1.2.8",
|
|
5765
5936
|
"condition": {
|
|
5766
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5937
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5767
5938
|
}
|
|
5768
5939
|
},
|
|
5769
5940
|
"logging": {
|
|
@@ -5772,7 +5943,7 @@
|
|
|
5772
5943
|
"required": true,
|
|
5773
5944
|
"default": "",
|
|
5774
5945
|
"condition": {
|
|
5775
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5946
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5776
5947
|
},
|
|
5777
5948
|
"oneOf": [
|
|
5778
5949
|
{
|
|
@@ -5806,7 +5977,7 @@
|
|
|
5806
5977
|
"type": "number",
|
|
5807
5978
|
"placeholder": 360,
|
|
5808
5979
|
"condition": {
|
|
5809
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5980
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5810
5981
|
}
|
|
5811
5982
|
},
|
|
5812
5983
|
"updateRate": {
|
|
@@ -5816,7 +5987,7 @@
|
|
|
5816
5987
|
"placeholder": 5,
|
|
5817
5988
|
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
5818
5989
|
"condition": {
|
|
5819
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5990
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5820
5991
|
}
|
|
5821
5992
|
},
|
|
5822
5993
|
"pushRate": {
|
|
@@ -5824,7 +5995,7 @@
|
|
|
5824
5995
|
"type": "number",
|
|
5825
5996
|
"placeholder": 360,
|
|
5826
5997
|
"condition": {
|
|
5827
|
-
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
5998
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
5828
5999
|
}
|
|
5829
6000
|
}
|
|
5830
6001
|
}
|
|
@@ -5840,7 +6011,7 @@
|
|
|
5840
6011
|
"connectionType": {
|
|
5841
6012
|
"title": "Connection Type",
|
|
5842
6013
|
"type": "string",
|
|
5843
|
-
"description": "Bluetooth (BLE) API is only available
|
|
6014
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
5844
6015
|
"condition": {
|
|
5845
6016
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['WoSweeper'] && !model.options.deviceConfig['WoSweeper'].hide_device);"
|
|
5846
6017
|
},
|
|
@@ -6020,7 +6191,7 @@
|
|
|
6020
6191
|
"connectionType": {
|
|
6021
6192
|
"title": "Connection Type",
|
|
6022
6193
|
"type": "string",
|
|
6023
|
-
"description": "Bluetooth (BLE) API is only available
|
|
6194
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
6024
6195
|
"condition": {
|
|
6025
6196
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['WoSweeperMini'] && !model.options.deviceConfig['WoSweeperMini'].hide_device);"
|
|
6026
6197
|
},
|
|
@@ -6200,7 +6371,7 @@
|
|
|
6200
6371
|
"connectionType": {
|
|
6201
6372
|
"title": "Connection Type",
|
|
6202
6373
|
"type": "string",
|
|
6203
|
-
"description": "Bluetooth (BLE) API is only available
|
|
6374
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
6204
6375
|
"condition": {
|
|
6205
6376
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Robot Vacuum Cleaner S1'] && !model.options.deviceConfig['Robot Vacuum Cleaner S1'].hide_device);"
|
|
6206
6377
|
},
|
|
@@ -6380,7 +6551,7 @@
|
|
|
6380
6551
|
"connectionType": {
|
|
6381
6552
|
"title": "Connection Type",
|
|
6382
6553
|
"type": "string",
|
|
6383
|
-
"description": "Bluetooth (BLE) API is only available
|
|
6554
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
6384
6555
|
"condition": {
|
|
6385
6556
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Robot Vacuum Cleaner S1 Plus'] && !model.options.deviceConfig['Robot Vacuum Cleaner S1 Plus'].hide_device);"
|
|
6386
6557
|
},
|
|
@@ -6560,7 +6731,7 @@
|
|
|
6560
6731
|
"connectionType": {
|
|
6561
6732
|
"title": "Connection Type",
|
|
6562
6733
|
"type": "string",
|
|
6563
|
-
"description": "Bluetooth (BLE) API is only available
|
|
6734
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
6564
6735
|
"condition": {
|
|
6565
6736
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Robot Vacuum Cleaner S10'] && !model.options.deviceConfig['Robot Vacuum Cleaner S10'].hide_device);"
|
|
6566
6737
|
},
|
|
@@ -6758,7 +6929,7 @@
|
|
|
6758
6929
|
"connectionType": {
|
|
6759
6930
|
"title": "Connection Type",
|
|
6760
6931
|
"type": "string",
|
|
6761
|
-
"description": "Bluetooth (BLE) API is only available
|
|
6932
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
6762
6933
|
"condition": {
|
|
6763
6934
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Ceiling Light'] && !model.options.deviceConfig['Ceiling Light'].hide_device);"
|
|
6764
6935
|
},
|
|
@@ -6956,7 +7127,7 @@
|
|
|
6956
7127
|
"connectionType": {
|
|
6957
7128
|
"title": "Connection Type",
|
|
6958
7129
|
"type": "string",
|
|
6959
|
-
"description": "Bluetooth (BLE) API is only available
|
|
7130
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
6960
7131
|
"condition": {
|
|
6961
7132
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Ceiling Light Pro'] && !model.options.deviceConfig['Ceiling Light Pro'].hide_device);"
|
|
6962
7133
|
},
|
|
@@ -7154,7 +7325,7 @@
|
|
|
7154
7325
|
"connectionType": {
|
|
7155
7326
|
"title": "Connection Type",
|
|
7156
7327
|
"type": "string",
|
|
7157
|
-
"description": "Bluetooth (BLE) API is only available
|
|
7328
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
7158
7329
|
"condition": {
|
|
7159
7330
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Strip Light'] && !model.options.deviceConfig['Strip Light'].hide_device);"
|
|
7160
7331
|
},
|
|
@@ -7343,7 +7514,7 @@
|
|
|
7343
7514
|
"connectionType": {
|
|
7344
7515
|
"title": "Connection Type",
|
|
7345
7516
|
"type": "string",
|
|
7346
|
-
"description": "Bluetooth (BLE) API is only available
|
|
7517
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
7347
7518
|
"condition": {
|
|
7348
7519
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Battery Circulator Fan'] && !model.options.deviceConfig['Battery Circulator Fan'].hide_device);"
|
|
7349
7520
|
},
|
|
@@ -7520,11 +7691,6 @@
|
|
|
7520
7691
|
"title": "IR Devices",
|
|
7521
7692
|
"type": "object",
|
|
7522
7693
|
"properties": {
|
|
7523
|
-
"deviceId": {
|
|
7524
|
-
"title": "Device ID",
|
|
7525
|
-
"type": "string",
|
|
7526
|
-
"placeholder": "81F3UT59513F"
|
|
7527
|
-
},
|
|
7528
7694
|
"configDeviceName": {
|
|
7529
7695
|
"title": "Device Name",
|
|
7530
7696
|
"type": "string",
|
|
@@ -7533,6 +7699,11 @@
|
|
|
7533
7699
|
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId);"
|
|
7534
7700
|
}
|
|
7535
7701
|
},
|
|
7702
|
+
"deviceId": {
|
|
7703
|
+
"title": "Device ID",
|
|
7704
|
+
"type": "string",
|
|
7705
|
+
"placeholder": "81F3UT59513F"
|
|
7706
|
+
},
|
|
7536
7707
|
"hide_device": {
|
|
7537
7708
|
"title": "Hide Device",
|
|
7538
7709
|
"type": "boolean",
|
|
@@ -7735,6 +7906,77 @@
|
|
|
7735
7906
|
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType);"
|
|
7736
7907
|
}
|
|
7737
7908
|
},
|
|
7909
|
+
"type": {
|
|
7910
|
+
"title": "What Type of Device do you want to display in the Home App?",
|
|
7911
|
+
"type": "string",
|
|
7912
|
+
"required": true,
|
|
7913
|
+
"default": "",
|
|
7914
|
+
"oneOf": [
|
|
7915
|
+
{
|
|
7916
|
+
"title": "Door",
|
|
7917
|
+
"enum": [
|
|
7918
|
+
"door"
|
|
7919
|
+
]
|
|
7920
|
+
},
|
|
7921
|
+
{
|
|
7922
|
+
"title": "Fan",
|
|
7923
|
+
"enum": [
|
|
7924
|
+
"fan"
|
|
7925
|
+
]
|
|
7926
|
+
},
|
|
7927
|
+
{
|
|
7928
|
+
"title": "Faucet",
|
|
7929
|
+
"enum": [
|
|
7930
|
+
"faucet"
|
|
7931
|
+
]
|
|
7932
|
+
},
|
|
7933
|
+
{
|
|
7934
|
+
"title": "Garage Door",
|
|
7935
|
+
"enum": [
|
|
7936
|
+
"garagedoor"
|
|
7937
|
+
]
|
|
7938
|
+
},
|
|
7939
|
+
{
|
|
7940
|
+
"title": "Lock",
|
|
7941
|
+
"enum": [
|
|
7942
|
+
"lock"
|
|
7943
|
+
]
|
|
7944
|
+
},
|
|
7945
|
+
{
|
|
7946
|
+
"title": "Outlet",
|
|
7947
|
+
"enum": [
|
|
7948
|
+
"outlet"
|
|
7949
|
+
]
|
|
7950
|
+
},
|
|
7951
|
+
{
|
|
7952
|
+
"title": "Stateful Programmable Switch (Only Works in 3rd Party Home Apps)",
|
|
7953
|
+
"enum": [
|
|
7954
|
+
"stateful"
|
|
7955
|
+
]
|
|
7956
|
+
},
|
|
7957
|
+
{
|
|
7958
|
+
"title": "Switch",
|
|
7959
|
+
"enum": [
|
|
7960
|
+
"switch"
|
|
7961
|
+
]
|
|
7962
|
+
},
|
|
7963
|
+
{
|
|
7964
|
+
"title": "Window",
|
|
7965
|
+
"enum": [
|
|
7966
|
+
"window"
|
|
7967
|
+
]
|
|
7968
|
+
},
|
|
7969
|
+
{
|
|
7970
|
+
"title": "Window Covering",
|
|
7971
|
+
"enum": [
|
|
7972
|
+
"windowcovering"
|
|
7973
|
+
]
|
|
7974
|
+
}
|
|
7975
|
+
],
|
|
7976
|
+
"condition": {
|
|
7977
|
+
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType === 'Others' && model.options.irdevices[arrayIndices].deviceId);"
|
|
7978
|
+
}
|
|
7979
|
+
},
|
|
7738
7980
|
"customize": {
|
|
7739
7981
|
"title": "Custom IR Commands",
|
|
7740
7982
|
"type": "boolean",
|
|
@@ -7886,15 +8128,15 @@
|
|
|
7886
8128
|
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Air Conditioner' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Air Conditioner') && model.options.irdevices[arrayIndices].deviceId && model.options.irdevices[arrayIndices].irair?.meterType);"
|
|
7887
8129
|
}
|
|
7888
8130
|
},
|
|
7889
|
-
"
|
|
7890
|
-
"title": "Enable
|
|
8131
|
+
"rotation_speed": {
|
|
8132
|
+
"title": "Enable Rotation Speed",
|
|
7891
8133
|
"type": "boolean",
|
|
7892
8134
|
"condition": {
|
|
7893
8135
|
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Fan' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Fan') && model.options.irdevices[arrayIndices].deviceId);"
|
|
7894
8136
|
}
|
|
7895
8137
|
},
|
|
7896
|
-
"
|
|
7897
|
-
"title": "Enable
|
|
8138
|
+
"swing_mode": {
|
|
8139
|
+
"title": "Enable Swing Mode",
|
|
7898
8140
|
"type": "boolean",
|
|
7899
8141
|
"condition": {
|
|
7900
8142
|
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Fan' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Fan') && model.options.irdevices[arrayIndices].deviceId);"
|
|
@@ -7931,88 +8173,38 @@
|
|
|
7931
8173
|
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Light' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Light') && model.options.irdevices[arrayIndices].deviceId);"
|
|
7932
8174
|
}
|
|
7933
8175
|
},
|
|
7934
|
-
"
|
|
7935
|
-
"title": "
|
|
7936
|
-
"type": "
|
|
7937
|
-
"required": true,
|
|
7938
|
-
"default": "",
|
|
7939
|
-
"oneOf": [
|
|
7940
|
-
{
|
|
7941
|
-
"title": "Door",
|
|
7942
|
-
"enum": [
|
|
7943
|
-
"door"
|
|
7944
|
-
]
|
|
7945
|
-
},
|
|
7946
|
-
{
|
|
7947
|
-
"title": "Fan",
|
|
7948
|
-
"enum": [
|
|
7949
|
-
"fan"
|
|
7950
|
-
]
|
|
7951
|
-
},
|
|
7952
|
-
{
|
|
7953
|
-
"title": "Faucet",
|
|
7954
|
-
"enum": [
|
|
7955
|
-
"faucet"
|
|
7956
|
-
]
|
|
7957
|
-
},
|
|
7958
|
-
{
|
|
7959
|
-
"title": "Garage Door",
|
|
7960
|
-
"enum": [
|
|
7961
|
-
"garagedoor"
|
|
7962
|
-
]
|
|
7963
|
-
},
|
|
7964
|
-
{
|
|
7965
|
-
"title": "Lock",
|
|
7966
|
-
"enum": [
|
|
7967
|
-
"lock"
|
|
7968
|
-
]
|
|
7969
|
-
},
|
|
7970
|
-
{
|
|
7971
|
-
"title": "Outlet",
|
|
7972
|
-
"enum": [
|
|
7973
|
-
"outlet"
|
|
7974
|
-
]
|
|
7975
|
-
},
|
|
7976
|
-
{
|
|
7977
|
-
"title": "Stateful Programmable Switch (Only Works in 3rd Party Home Apps)",
|
|
7978
|
-
"enum": [
|
|
7979
|
-
"stateful"
|
|
7980
|
-
]
|
|
7981
|
-
},
|
|
7982
|
-
{
|
|
7983
|
-
"title": "Switch",
|
|
7984
|
-
"enum": [
|
|
7985
|
-
"switch"
|
|
7986
|
-
]
|
|
7987
|
-
},
|
|
7988
|
-
{
|
|
7989
|
-
"title": "Window",
|
|
7990
|
-
"enum": [
|
|
7991
|
-
"window"
|
|
7992
|
-
]
|
|
7993
|
-
},
|
|
7994
|
-
{
|
|
7995
|
-
"title": "Window Covering",
|
|
7996
|
-
"enum": [
|
|
7997
|
-
"windowcovering"
|
|
7998
|
-
]
|
|
7999
|
-
}
|
|
8000
|
-
],
|
|
8176
|
+
"external": {
|
|
8177
|
+
"title": "External Accessory",
|
|
8178
|
+
"type": "boolean",
|
|
8001
8179
|
"condition": {
|
|
8002
|
-
"functionBody": "return (model.options && model.options.irdevices &&
|
|
8180
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType);"
|
|
8003
8181
|
}
|
|
8004
8182
|
},
|
|
8005
|
-
"
|
|
8006
|
-
"title": "
|
|
8007
|
-
"type": "
|
|
8008
|
-
"placeholder": "1.2.8",
|
|
8183
|
+
"disableCaching": {
|
|
8184
|
+
"title": "Disable Caching",
|
|
8185
|
+
"type": "boolean",
|
|
8009
8186
|
"condition": {
|
|
8010
|
-
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device
|
|
8187
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device);"
|
|
8011
8188
|
}
|
|
8012
8189
|
},
|
|
8013
|
-
"
|
|
8014
|
-
"title": "
|
|
8190
|
+
"offline": {
|
|
8191
|
+
"title": "Offline as Off",
|
|
8192
|
+
"type": "boolean",
|
|
8193
|
+
"condition": {
|
|
8194
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device);"
|
|
8195
|
+
}
|
|
8196
|
+
},
|
|
8197
|
+
"history": {
|
|
8198
|
+
"title": "EVE History",
|
|
8015
8199
|
"type": "boolean",
|
|
8200
|
+
"condition": {
|
|
8201
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device);"
|
|
8202
|
+
}
|
|
8203
|
+
},
|
|
8204
|
+
"firmware": {
|
|
8205
|
+
"title": "Firmware Override",
|
|
8206
|
+
"type": "string",
|
|
8207
|
+
"placeholder": "1.2.8",
|
|
8016
8208
|
"condition": {
|
|
8017
8209
|
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType);"
|
|
8018
8210
|
}
|
|
@@ -8051,6 +8243,32 @@
|
|
|
8051
8243
|
"condition": {
|
|
8052
8244
|
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType);"
|
|
8053
8245
|
}
|
|
8246
|
+
},
|
|
8247
|
+
"refreshRate": {
|
|
8248
|
+
"title": "Device Refresh Rate",
|
|
8249
|
+
"type": "number",
|
|
8250
|
+
"placeholder": 360,
|
|
8251
|
+
"condition": {
|
|
8252
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device);"
|
|
8253
|
+
}
|
|
8254
|
+
},
|
|
8255
|
+
"updateRate": {
|
|
8256
|
+
"title": "Update Rate",
|
|
8257
|
+
"type": "number",
|
|
8258
|
+
"minimum": 1,
|
|
8259
|
+
"placeholder": 5,
|
|
8260
|
+
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
8261
|
+
"condition": {
|
|
8262
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device);"
|
|
8263
|
+
}
|
|
8264
|
+
},
|
|
8265
|
+
"pushRate": {
|
|
8266
|
+
"title": "Device Push Rate",
|
|
8267
|
+
"type": "number",
|
|
8268
|
+
"placeholder": 360,
|
|
8269
|
+
"condition": {
|
|
8270
|
+
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device);"
|
|
8271
|
+
}
|
|
8054
8272
|
}
|
|
8055
8273
|
},
|
|
8056
8274
|
"required": [
|
|
@@ -8076,7 +8294,7 @@
|
|
|
8076
8294
|
"connectionType": {
|
|
8077
8295
|
"title": "Connection Type",
|
|
8078
8296
|
"type": "string",
|
|
8079
|
-
"description": "Bluetooth (BLE) API is only available
|
|
8297
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8080
8298
|
"condition": {
|
|
8081
8299
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['TV'] && !model.options.irdeviceConfig['TV'].hide_device);"
|
|
8082
8300
|
},
|
|
@@ -8205,7 +8423,7 @@
|
|
|
8205
8423
|
"connectionType": {
|
|
8206
8424
|
"title": "Connection Type",
|
|
8207
8425
|
"type": "string",
|
|
8208
|
-
"description": "Bluetooth (BLE) API is only available
|
|
8426
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8209
8427
|
"condition": {
|
|
8210
8428
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY TV'] && !model.options.irdeviceConfig['DIY TV'].hide_device);"
|
|
8211
8429
|
},
|
|
@@ -8334,7 +8552,7 @@
|
|
|
8334
8552
|
"connectionType": {
|
|
8335
8553
|
"title": "Connection Type",
|
|
8336
8554
|
"type": "string",
|
|
8337
|
-
"description": "Bluetooth (BLE) API is only available
|
|
8555
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8338
8556
|
"condition": {
|
|
8339
8557
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Projector'] && !model.options.irdeviceConfig['Projector'].hide_device);"
|
|
8340
8558
|
},
|
|
@@ -8463,7 +8681,7 @@
|
|
|
8463
8681
|
"connectionType": {
|
|
8464
8682
|
"title": "Connection Type",
|
|
8465
8683
|
"type": "string",
|
|
8466
|
-
"description": "Bluetooth (BLE) API is only available
|
|
8684
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8467
8685
|
"condition": {
|
|
8468
8686
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Projector'] && !model.options.irdeviceConfig['DIY Projector'].hide_device);"
|
|
8469
8687
|
},
|
|
@@ -8592,7 +8810,7 @@
|
|
|
8592
8810
|
"connectionType": {
|
|
8593
8811
|
"title": "Connection Type",
|
|
8594
8812
|
"type": "string",
|
|
8595
|
-
"description": "Bluetooth (BLE) API is only available
|
|
8813
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8596
8814
|
"condition": {
|
|
8597
8815
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Set Top Box'] && !model.options.irdeviceConfig['Set Top Box'].hide_device);"
|
|
8598
8816
|
},
|
|
@@ -8721,7 +8939,7 @@
|
|
|
8721
8939
|
"connectionType": {
|
|
8722
8940
|
"title": "Connection Type",
|
|
8723
8941
|
"type": "string",
|
|
8724
|
-
"description": "Bluetooth (BLE) API is only available
|
|
8942
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8725
8943
|
"condition": {
|
|
8726
8944
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Set Top Box'] && !model.options.irdeviceConfig['DIY Set Top Box'].hide_device);"
|
|
8727
8945
|
},
|
|
@@ -8850,7 +9068,7 @@
|
|
|
8850
9068
|
"connectionType": {
|
|
8851
9069
|
"title": "Connection Type",
|
|
8852
9070
|
"type": "string",
|
|
8853
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9071
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8854
9072
|
"condition": {
|
|
8855
9073
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['IPTV'] && !model.options.irdeviceConfig['IPTV'].hide_device);"
|
|
8856
9074
|
},
|
|
@@ -8979,7 +9197,7 @@
|
|
|
8979
9197
|
"connectionType": {
|
|
8980
9198
|
"title": "Connection Type",
|
|
8981
9199
|
"type": "string",
|
|
8982
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9200
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
8983
9201
|
"condition": {
|
|
8984
9202
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY IPTV'] && !model.options.irdeviceConfig['DIY IPTV'].hide_device);"
|
|
8985
9203
|
},
|
|
@@ -9108,7 +9326,7 @@
|
|
|
9108
9326
|
"connectionType": {
|
|
9109
9327
|
"title": "Connection Type",
|
|
9110
9328
|
"type": "string",
|
|
9111
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9329
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9112
9330
|
"condition": {
|
|
9113
9331
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DVD'] && !model.options.irdeviceConfig['DVD'].hide_device);"
|
|
9114
9332
|
},
|
|
@@ -9237,7 +9455,7 @@
|
|
|
9237
9455
|
"connectionType": {
|
|
9238
9456
|
"title": "Connection Type",
|
|
9239
9457
|
"type": "string",
|
|
9240
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9458
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9241
9459
|
"condition": {
|
|
9242
9460
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY DVD'] && !model.options.irdeviceConfig['DIY DVD'].hide_device);"
|
|
9243
9461
|
},
|
|
@@ -9366,7 +9584,7 @@
|
|
|
9366
9584
|
"connectionType": {
|
|
9367
9585
|
"title": "Connection Type",
|
|
9368
9586
|
"type": "string",
|
|
9369
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9587
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9370
9588
|
"condition": {
|
|
9371
9589
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Speaker'] && !model.options.irdeviceConfig['Speaker'].hide_device);"
|
|
9372
9590
|
},
|
|
@@ -9495,7 +9713,7 @@
|
|
|
9495
9713
|
"connectionType": {
|
|
9496
9714
|
"title": "Connection Type",
|
|
9497
9715
|
"type": "string",
|
|
9498
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9716
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9499
9717
|
"condition": {
|
|
9500
9718
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Speaker'] && !model.options.irdeviceConfig['DIY Speaker'].hide_device);"
|
|
9501
9719
|
},
|
|
@@ -9624,7 +9842,7 @@
|
|
|
9624
9842
|
"connectionType": {
|
|
9625
9843
|
"title": "Connection Type",
|
|
9626
9844
|
"type": "string",
|
|
9627
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9845
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9628
9846
|
"condition": {
|
|
9629
9847
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Fan'] && !model.options.irdeviceConfig['Fan'].hide_device);"
|
|
9630
9848
|
},
|
|
@@ -9753,7 +9971,7 @@
|
|
|
9753
9971
|
"connectionType": {
|
|
9754
9972
|
"title": "Connection Type",
|
|
9755
9973
|
"type": "string",
|
|
9756
|
-
"description": "Bluetooth (BLE) API is only available
|
|
9974
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9757
9975
|
"condition": {
|
|
9758
9976
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Fan'] && !model.options.irdeviceConfig['DIY Fan'].hide_device);"
|
|
9759
9977
|
},
|
|
@@ -9882,7 +10100,7 @@
|
|
|
9882
10100
|
"connectionType": {
|
|
9883
10101
|
"title": "Connection Type",
|
|
9884
10102
|
"type": "string",
|
|
9885
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10103
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
9886
10104
|
"condition": {
|
|
9887
10105
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Air Conditioner'] && !model.options.irdeviceConfig['Air Conditioner'].hide_device);"
|
|
9888
10106
|
},
|
|
@@ -10011,7 +10229,7 @@
|
|
|
10011
10229
|
"connectionType": {
|
|
10012
10230
|
"title": "Connection Type",
|
|
10013
10231
|
"type": "string",
|
|
10014
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10232
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10015
10233
|
"condition": {
|
|
10016
10234
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Air Conditioner'] && !model.options.irdeviceConfig['DIY Air Conditioner'].hide_device);"
|
|
10017
10235
|
},
|
|
@@ -10140,7 +10358,7 @@
|
|
|
10140
10358
|
"connectionType": {
|
|
10141
10359
|
"title": "Connection Type",
|
|
10142
10360
|
"type": "string",
|
|
10143
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10361
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10144
10362
|
"condition": {
|
|
10145
10363
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Light'] && !model.options.irdeviceConfig['Light'].hide_device);"
|
|
10146
10364
|
},
|
|
@@ -10269,7 +10487,7 @@
|
|
|
10269
10487
|
"connectionType": {
|
|
10270
10488
|
"title": "Connection Type",
|
|
10271
10489
|
"type": "string",
|
|
10272
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10490
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10273
10491
|
"condition": {
|
|
10274
10492
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Light'] && !model.options.irdeviceConfig['DIY Light'].hide_device);"
|
|
10275
10493
|
},
|
|
@@ -10398,7 +10616,7 @@
|
|
|
10398
10616
|
"connectionType": {
|
|
10399
10617
|
"title": "Connection Type",
|
|
10400
10618
|
"type": "string",
|
|
10401
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10619
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10402
10620
|
"condition": {
|
|
10403
10621
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Air Purifier'] && !model.options.irdeviceConfig['Air Purifier'].hide_device);"
|
|
10404
10622
|
},
|
|
@@ -10527,7 +10745,7 @@
|
|
|
10527
10745
|
"connectionType": {
|
|
10528
10746
|
"title": "Connection Type",
|
|
10529
10747
|
"type": "string",
|
|
10530
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10748
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10531
10749
|
"condition": {
|
|
10532
10750
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Air Purifier'] && !model.options.irdeviceConfig['DIY Air Purifier'].hide_device);"
|
|
10533
10751
|
},
|
|
@@ -10656,7 +10874,7 @@
|
|
|
10656
10874
|
"connectionType": {
|
|
10657
10875
|
"title": "Connection Type",
|
|
10658
10876
|
"type": "string",
|
|
10659
|
-
"description": "Bluetooth (BLE) API is only available
|
|
10877
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10660
10878
|
"condition": {
|
|
10661
10879
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Water Heater'] && !model.options.irdeviceConfig['Water Heater'].hide_device);"
|
|
10662
10880
|
},
|
|
@@ -10785,7 +11003,7 @@
|
|
|
10785
11003
|
"connectionType": {
|
|
10786
11004
|
"title": "Connection Type",
|
|
10787
11005
|
"type": "string",
|
|
10788
|
-
"description": "Bluetooth (BLE) API is only available
|
|
11006
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10789
11007
|
"condition": {
|
|
10790
11008
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Water Heater'] && !model.options.irdeviceConfig['DIY Water Heater'].hide_device);"
|
|
10791
11009
|
},
|
|
@@ -10914,7 +11132,7 @@
|
|
|
10914
11132
|
"connectionType": {
|
|
10915
11133
|
"title": "Connection Type",
|
|
10916
11134
|
"type": "string",
|
|
10917
|
-
"description": "Bluetooth (BLE) API is only available
|
|
11135
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
10918
11136
|
"condition": {
|
|
10919
11137
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Vacuum Cleaner'] && !model.options.irdeviceConfig['Vacuum Cleaner'].hide_device);"
|
|
10920
11138
|
},
|
|
@@ -11043,7 +11261,7 @@
|
|
|
11043
11261
|
"connectionType": {
|
|
11044
11262
|
"title": "Connection Type",
|
|
11045
11263
|
"type": "string",
|
|
11046
|
-
"description": "Bluetooth (BLE) API is only available
|
|
11264
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
11047
11265
|
"condition": {
|
|
11048
11266
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Vacuum Cleaner'] && !model.options.irdeviceConfig['DIY Vacuum Cleaner'].hide_device);"
|
|
11049
11267
|
},
|
|
@@ -11172,7 +11390,7 @@
|
|
|
11172
11390
|
"connectionType": {
|
|
11173
11391
|
"title": "Connection Type",
|
|
11174
11392
|
"type": "string",
|
|
11175
|
-
"description": "Bluetooth (BLE) API is only available
|
|
11393
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
11176
11394
|
"condition": {
|
|
11177
11395
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Camera'] && !model.options.irdeviceConfig['Camera'].hide_device);"
|
|
11178
11396
|
},
|
|
@@ -11301,7 +11519,7 @@
|
|
|
11301
11519
|
"connectionType": {
|
|
11302
11520
|
"title": "Connection Type",
|
|
11303
11521
|
"type": "string",
|
|
11304
|
-
"description": "Bluetooth (BLE) API is only available
|
|
11522
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
11305
11523
|
"condition": {
|
|
11306
11524
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['DIY Camera'] && !model.options.irdeviceConfig['DIY Camera'].hide_device);"
|
|
11307
11525
|
},
|
|
@@ -11430,7 +11648,7 @@
|
|
|
11430
11648
|
"connectionType": {
|
|
11431
11649
|
"title": "Connection Type",
|
|
11432
11650
|
"type": "string",
|
|
11433
|
-
"description": "Bluetooth (BLE) API is only available
|
|
11651
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
11434
11652
|
"condition": {
|
|
11435
11653
|
"functionBody": "return (model.options && model.options.irdeviceConfig && model.options.irdeviceConfig['Others'] && !model.options.irdeviceConfig['Others'].hide_device);"
|
|
11436
11654
|
},
|
|
@@ -11690,6 +11908,8 @@
|
|
|
11690
11908
|
"options.devices[].hide_device",
|
|
11691
11909
|
"options.devices[].configDeviceType",
|
|
11692
11910
|
"options.devices[].connectionType",
|
|
11911
|
+
"options.devices[].scanDuration",
|
|
11912
|
+
"options.devices[].customBLEaddress",
|
|
11693
11913
|
"options.devices[].webhook",
|
|
11694
11914
|
"options.devices[].type",
|
|
11695
11915
|
"options.devices[].mode",
|
|
@@ -11701,31 +11921,33 @@
|
|
|
11701
11921
|
"options.devices[].convertUnitTo",
|
|
11702
11922
|
"options.devices[].hide_humidity",
|
|
11703
11923
|
"options.devices[].hide_lightsensor",
|
|
11704
|
-
"options.devices[].
|
|
11705
|
-
"options.devices[].
|
|
11924
|
+
"options.devices[].hide_motionsensor",
|
|
11925
|
+
"options.devices[].hide_contactsensor",
|
|
11706
11926
|
"options.devices[].hide_leak",
|
|
11927
|
+
"options.devices[].disable_group",
|
|
11928
|
+
"options.devices[].disableCaching",
|
|
11929
|
+
"options.devices[].adaptiveLightingShift",
|
|
11930
|
+
"options.devices[].activate_latchbutton",
|
|
11707
11931
|
"options.devices[].dry",
|
|
11708
11932
|
"options.devices[].set_minStep",
|
|
11709
11933
|
"options.devices[].set_min",
|
|
11710
11934
|
"options.devices[].set_max",
|
|
11935
|
+
"options.devices[].set_minlux",
|
|
11936
|
+
"options.devices[].set_maxlux",
|
|
11711
11937
|
"options.devices[].setOpenMode",
|
|
11712
11938
|
"options.devices[].setCloseMode",
|
|
11713
11939
|
"options.devices[].silentModeSwitch",
|
|
11714
|
-
"options.devices[].
|
|
11715
|
-
"options.devices[].hide_motionsensor",
|
|
11716
|
-
"options.devices[].adaptiveLightingShift",
|
|
11717
|
-
"options.devices[].hide_contactsensor",
|
|
11718
|
-
"options.devices[].activate_latchbutton",
|
|
11719
|
-
"options.devices[].disableCaching",
|
|
11940
|
+
"options.devices[].maxRetry",
|
|
11720
11941
|
"options.devices[].maxRetries",
|
|
11721
11942
|
"options.devices[].delayBetweenRetries",
|
|
11722
|
-
"options.devices[].maxRetry",
|
|
11723
11943
|
"options.devices[].mqttURL",
|
|
11724
11944
|
"options.devices[].mqttOptions",
|
|
11725
11945
|
"options.devices[].mqttPubOptions",
|
|
11726
11946
|
"options.devices[].history",
|
|
11947
|
+
"options.devices[].offline",
|
|
11727
11948
|
"options.devices[].firmware",
|
|
11728
|
-
"options.devices[].
|
|
11949
|
+
"options.devices[].external",
|
|
11950
|
+
"options.devices[].logging",
|
|
11729
11951
|
{
|
|
11730
11952
|
"key": "options.devices[].refreshRate",
|
|
11731
11953
|
"description": "<em class='primary-text'>Specifies the interval, in seconds, for retrieving the latest device status from the SwitchBot API. This interval applies only to this specific device.</em>"
|
|
@@ -11737,10 +11959,7 @@
|
|
|
11737
11959
|
{
|
|
11738
11960
|
"key": "options.devices[].pushRate",
|
|
11739
11961
|
"description": "<em class='primary-text'>Specifies the interval, in seconds, between pushes to the SwitchBot API for this specific device.</em>"
|
|
11740
|
-
}
|
|
11741
|
-
"options.devices[].offline",
|
|
11742
|
-
"options.devices[].external",
|
|
11743
|
-
"options.devices[].logging"
|
|
11962
|
+
}
|
|
11744
11963
|
]
|
|
11745
11964
|
}
|
|
11746
11965
|
]
|
|
@@ -12205,7 +12424,6 @@
|
|
|
12205
12424
|
"expanded": false,
|
|
12206
12425
|
"items": [
|
|
12207
12426
|
"options.deviceConfig['Plug'].hide_device",
|
|
12208
|
-
"options.deviceConfig['Plug'].set_minStep",
|
|
12209
12427
|
"options.deviceConfig['Plug'].connectionType",
|
|
12210
12428
|
"options.deviceConfig['Plug'].scanDuration",
|
|
12211
12429
|
"options.deviceConfig['Plug'].webhook",
|
|
@@ -12230,7 +12448,6 @@
|
|
|
12230
12448
|
"expanded": false,
|
|
12231
12449
|
"items": [
|
|
12232
12450
|
"options.deviceConfig['Plug Mini (US)'].hide_device",
|
|
12233
|
-
"options.deviceConfig['Plug Mini (US)'].set_minStep",
|
|
12234
12451
|
"options.deviceConfig['Plug Mini (US)'].connectionType",
|
|
12235
12452
|
"options.deviceConfig['Plug Mini (US)'].scanDuration",
|
|
12236
12453
|
"options.deviceConfig['Plug Mini (US)'].webhook",
|
|
@@ -12255,7 +12472,6 @@
|
|
|
12255
12472
|
"expanded": false,
|
|
12256
12473
|
"items": [
|
|
12257
12474
|
"options.deviceConfig['Plug Mini (JP)'].hide_device",
|
|
12258
|
-
"options.deviceConfig['Plug Mini (JP)'].set_minStep",
|
|
12259
12475
|
"options.deviceConfig['Plug Mini (JP)'].connectionType",
|
|
12260
12476
|
"options.deviceConfig['Plug Mini (JP)'].scanDuration",
|
|
12261
12477
|
"options.deviceConfig['Plug Mini (JP)'].webhook",
|
|
@@ -12375,6 +12591,30 @@
|
|
|
12375
12591
|
"options.deviceConfig['K10+'].pushRate"
|
|
12376
12592
|
]
|
|
12377
12593
|
},
|
|
12594
|
+
{
|
|
12595
|
+
"type": "fieldset",
|
|
12596
|
+
"title": "K10+ Pro Settings",
|
|
12597
|
+
"expandable": true,
|
|
12598
|
+
"expanded": false,
|
|
12599
|
+
"items": [
|
|
12600
|
+
"options.deviceConfig['K10+ Pro'].hide_device",
|
|
12601
|
+
"options.deviceConfig['K10+ Pro'].connectionType",
|
|
12602
|
+
"options.deviceConfig['K10+ Pro'].scanDuration",
|
|
12603
|
+
"options.deviceConfig['K10+ Pro'].webhook",
|
|
12604
|
+
"options.deviceConfig['K10+ Pro'].external",
|
|
12605
|
+
"options.deviceConfig['K10+ Pro'].maxRetry",
|
|
12606
|
+
"options.deviceConfig['K10+ Pro'].maxRetries",
|
|
12607
|
+
"options.deviceConfig['K10+ Pro'].delayBetweenRetries",
|
|
12608
|
+
"options.deviceConfig['K10+ Pro'].disableCaching",
|
|
12609
|
+
"options.deviceConfig['K10+ Pro'].offline",
|
|
12610
|
+
"options.deviceConfig['K10+ Pro'].history",
|
|
12611
|
+
"options.deviceConfig['K10+ Pro'].firmware",
|
|
12612
|
+
"options.deviceConfig['K10+ Pro'].logging",
|
|
12613
|
+
"options.deviceConfig['K10+ Pro'].refreshRate",
|
|
12614
|
+
"options.deviceConfig['K10+ Pro'].updateRate",
|
|
12615
|
+
"options.deviceConfig['K10+ Pro'].pushRate"
|
|
12616
|
+
]
|
|
12617
|
+
},
|
|
12378
12618
|
{
|
|
12379
12619
|
"type": "fieldset",
|
|
12380
12620
|
"title": "WoSweeper Settings",
|
|
@@ -12646,9 +12886,15 @@
|
|
|
12646
12886
|
"options.irdevices[].set_min",
|
|
12647
12887
|
"options.irdevices[].set_max",
|
|
12648
12888
|
"options.irdevices[].stateless",
|
|
12649
|
-
"options.irdevices[].firmware",
|
|
12650
12889
|
"options.irdevices[].external",
|
|
12651
|
-
"options.irdevices[].
|
|
12890
|
+
"options.irdevices[].disableCaching",
|
|
12891
|
+
"options.irdevices[].offline",
|
|
12892
|
+
"options.irdevices[].history",
|
|
12893
|
+
"options.irdevices[].firmware",
|
|
12894
|
+
"options.irdevices[].logging",
|
|
12895
|
+
"options.irdevices[].refreshRate",
|
|
12896
|
+
"options.irdevices[].updateRate",
|
|
12897
|
+
"options.irdevices[].pushRate"
|
|
12652
12898
|
]
|
|
12653
12899
|
}
|
|
12654
12900
|
]
|