@switchbot/homebridge-switchbot 4.3.1-beta.0 → 4.3.1-beta.10
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/.github/npm-version-script-esm.js +97 -0
- package/.github/workflows/beta-release.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/config.schema.json +537 -94
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/index.test.js +14 -0
- package/dist/index.test.js.map +1 -0
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +4 -8
- package/dist/platform.js.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +8 -2
- package/dist/utils.js.map +1 -1
- package/docs/functions/default.html +1 -1
- package/package.json +8 -8
- package/src/index.test.ts +19 -0
- package/src/platform.ts +4 -7
- package/src/utils.ts +9 -2
- package/tsconfig.json +1 -2
- package/.eslintrc +0 -86
- package/.github/npm-version-script.cjs +0 -81
package/config.schema.json
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"title": "Device ID",
|
|
68
68
|
"type": "string",
|
|
69
69
|
"placeholder": "81F3UT59513F",
|
|
70
|
-
"pattern": "^[0-9A-F]{12}$"
|
|
70
|
+
"pattern": "^[0-9A-F]{12}$|^[0-9A-Z0-9]{18}$"
|
|
71
71
|
},
|
|
72
72
|
"hide_device": {
|
|
73
73
|
"title": "Hide Device",
|
|
@@ -205,23 +205,41 @@
|
|
|
205
205
|
]
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
|
-
"title": "
|
|
208
|
+
"title": "Meter Pro",
|
|
209
|
+
"enum": [
|
|
210
|
+
"MeterPro"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"title": "Meter Pro (CO2)",
|
|
215
|
+
"enum": [
|
|
216
|
+
"MeterPro(CO2)"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"title": "Mini Robot Vacuum K10+",
|
|
209
221
|
"enum": [
|
|
210
222
|
"K10+"
|
|
211
223
|
]
|
|
212
224
|
},
|
|
213
225
|
{
|
|
214
|
-
"title": "K10+ Pro",
|
|
226
|
+
"title": "Mini Robot Vacuum K10+ Pro",
|
|
215
227
|
"enum": [
|
|
216
228
|
"K10+ Pro"
|
|
217
229
|
]
|
|
218
230
|
},
|
|
219
231
|
{
|
|
220
|
-
"title": "Mini Robot Vacuum K10+",
|
|
232
|
+
"title": "Mini Robot Vacuum K10+ (WoSweeperMini)",
|
|
221
233
|
"enum": [
|
|
222
234
|
"WoSweeperMini"
|
|
223
235
|
]
|
|
224
236
|
},
|
|
237
|
+
{
|
|
238
|
+
"title": "Mini Robot Vacuum K10+ Pro (WoSweeperMiniPro)",
|
|
239
|
+
"enum": [
|
|
240
|
+
"WoSweeperMiniPro"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
225
243
|
{
|
|
226
244
|
"title": "Motion Sensor",
|
|
227
245
|
"enum": [
|
|
@@ -249,13 +267,13 @@
|
|
|
249
267
|
{
|
|
250
268
|
"title": "Robot Vacuum Cleaner S1",
|
|
251
269
|
"enum": [
|
|
252
|
-
"
|
|
270
|
+
"WoSweeper"
|
|
253
271
|
]
|
|
254
272
|
},
|
|
255
273
|
{
|
|
256
274
|
"title": "Robot Vacuum Cleaner S1 Plus",
|
|
257
275
|
"enum": [
|
|
258
|
-
"
|
|
276
|
+
"WoSweeperPlus"
|
|
259
277
|
]
|
|
260
278
|
},
|
|
261
279
|
{
|
|
@@ -293,6 +311,12 @@
|
|
|
293
311
|
"enum": [
|
|
294
312
|
"Strip Light"
|
|
295
313
|
]
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"title": "Wallet Finder",
|
|
317
|
+
"enum": [
|
|
318
|
+
"WalletFinder"
|
|
319
|
+
]
|
|
296
320
|
}
|
|
297
321
|
]
|
|
298
322
|
},
|
|
@@ -364,7 +388,6 @@
|
|
|
364
388
|
"type": {
|
|
365
389
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
366
390
|
"type": "string",
|
|
367
|
-
"required": true,
|
|
368
391
|
"default": "",
|
|
369
392
|
"placeholder": "outlet",
|
|
370
393
|
"condition": {
|
|
@@ -442,7 +465,6 @@
|
|
|
442
465
|
"mode": {
|
|
443
466
|
"title": "Bot Mode",
|
|
444
467
|
"type": "string",
|
|
445
|
-
"required": true,
|
|
446
468
|
"default": "",
|
|
447
469
|
"oneOf": [
|
|
448
470
|
{
|
|
@@ -477,7 +499,6 @@
|
|
|
477
499
|
"mapping": {
|
|
478
500
|
"title": "Mapping Mode",
|
|
479
501
|
"type": "string",
|
|
480
|
-
"required": true,
|
|
481
502
|
"default": "",
|
|
482
503
|
"oneOf": [
|
|
483
504
|
{
|
|
@@ -550,14 +571,14 @@
|
|
|
550
571
|
"title": "Hide Temperature Sensor",
|
|
551
572
|
"type": "boolean",
|
|
552
573
|
"condition": {
|
|
553
|
-
"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 === 'Humidifier2' || 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);"
|
|
574
|
+
"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 === 'Humidifier2' || 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].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)') && model.options.devices[arrayIndices].deviceId);"
|
|
554
575
|
}
|
|
555
576
|
},
|
|
556
577
|
"convertUnitTo": {
|
|
557
578
|
"title": "Convert Temperature Unit To",
|
|
558
579
|
"type": "string",
|
|
559
580
|
"condition": {
|
|
560
|
-
"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 === 'Humidifier2' || 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);"
|
|
581
|
+
"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 === 'Humidifier2' || 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].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)') && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_temperature);"
|
|
561
582
|
},
|
|
562
583
|
"oneOf": [
|
|
563
584
|
{
|
|
@@ -578,7 +599,7 @@
|
|
|
578
599
|
"title": "Hide Humidity Sensor",
|
|
579
600
|
"type": "boolean",
|
|
580
601
|
"condition": {
|
|
581
|
-
"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);"
|
|
602
|
+
"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].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)') && model.options.devices[arrayIndices].deviceId);"
|
|
582
603
|
}
|
|
583
604
|
},
|
|
584
605
|
"hide_lightsensor": {
|
|
@@ -768,28 +789,28 @@
|
|
|
768
789
|
"type": "string",
|
|
769
790
|
"placeholder": "192.168.7.1",
|
|
770
791
|
"condition": {
|
|
771
|
-
"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)'));"
|
|
792
|
+
"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)' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)'));"
|
|
772
793
|
}
|
|
773
794
|
},
|
|
774
795
|
"mqttOptions": {
|
|
775
796
|
"title": "MQTT Options (Device Specific)",
|
|
776
797
|
"type": "string",
|
|
777
798
|
"condition": {
|
|
778
|
-
"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)'));"
|
|
799
|
+
"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)' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)'));"
|
|
779
800
|
}
|
|
780
801
|
},
|
|
781
802
|
"mqttPubOptions": {
|
|
782
803
|
"title": "MQTT Pub Options (Device Specific)",
|
|
783
804
|
"type": "string",
|
|
784
805
|
"condition": {
|
|
785
|
-
"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)'));"
|
|
806
|
+
"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)' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)'));"
|
|
786
807
|
}
|
|
787
808
|
},
|
|
788
809
|
"history": {
|
|
789
810
|
"title": "EVE History",
|
|
790
811
|
"type": "boolean",
|
|
791
812
|
"condition": {
|
|
792
|
-
"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)'));"
|
|
813
|
+
"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)' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro' || model.options.devices[arrayIndices].configDeviceType === 'MeterPro(CO2)'));"
|
|
793
814
|
}
|
|
794
815
|
},
|
|
795
816
|
"offline": {
|
|
@@ -817,7 +838,6 @@
|
|
|
817
838
|
"logging": {
|
|
818
839
|
"title": "Device Logging Override Setting",
|
|
819
840
|
"type": "string",
|
|
820
|
-
"required": true,
|
|
821
841
|
"default": "standard",
|
|
822
842
|
"condition": {
|
|
823
843
|
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType);"
|
|
@@ -1040,7 +1060,6 @@
|
|
|
1040
1060
|
"logging": {
|
|
1041
1061
|
"title": "Logging by Device Type",
|
|
1042
1062
|
"type": "string",
|
|
1043
|
-
"required": true,
|
|
1044
1063
|
"default": "",
|
|
1045
1064
|
"condition": {
|
|
1046
1065
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Humidifier'].hide_device);"
|
|
@@ -1262,7 +1281,6 @@
|
|
|
1262
1281
|
"logging": {
|
|
1263
1282
|
"title": "Logging by Device Type",
|
|
1264
1283
|
"type": "string",
|
|
1265
|
-
"required": true,
|
|
1266
1284
|
"default": "",
|
|
1267
1285
|
"condition": {
|
|
1268
1286
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Hub 2'].hide_device);"
|
|
@@ -1333,7 +1351,6 @@
|
|
|
1333
1351
|
"mode": {
|
|
1334
1352
|
"title": "Bot Mode",
|
|
1335
1353
|
"type": "string",
|
|
1336
|
-
"required": true,
|
|
1337
1354
|
"default": "",
|
|
1338
1355
|
"condition": {
|
|
1339
1356
|
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['Bot'] && !model.options.deviceConfig['Bot'].hide_device);"
|
|
@@ -1368,7 +1385,6 @@
|
|
|
1368
1385
|
"type": {
|
|
1369
1386
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
1370
1387
|
"type": "string",
|
|
1371
|
-
"required": true,
|
|
1372
1388
|
"default": "",
|
|
1373
1389
|
"placeholder": "outlet",
|
|
1374
1390
|
"condition": {
|
|
@@ -1587,7 +1603,6 @@
|
|
|
1587
1603
|
"logging": {
|
|
1588
1604
|
"title": "Logging by Device Type",
|
|
1589
1605
|
"type": "string",
|
|
1590
|
-
"required": true,
|
|
1591
1606
|
"default": "",
|
|
1592
1607
|
"condition": {
|
|
1593
1608
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Bot'].hide_device);"
|
|
@@ -1658,7 +1673,6 @@
|
|
|
1658
1673
|
"type": {
|
|
1659
1674
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
1660
1675
|
"type": "string",
|
|
1661
|
-
"required": true,
|
|
1662
1676
|
"default": "",
|
|
1663
1677
|
"placeholder": "outlet",
|
|
1664
1678
|
"condition": {
|
|
@@ -1860,7 +1874,6 @@
|
|
|
1860
1874
|
"logging": {
|
|
1861
1875
|
"title": "Logging by Device Type",
|
|
1862
1876
|
"type": "string",
|
|
1863
|
-
"required": true,
|
|
1864
1877
|
"default": "",
|
|
1865
1878
|
"condition": {
|
|
1866
1879
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Relay Switch 1'].hide_device);"
|
|
@@ -1931,7 +1944,6 @@
|
|
|
1931
1944
|
"type": {
|
|
1932
1945
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
1933
1946
|
"type": "string",
|
|
1934
|
-
"required": true,
|
|
1935
1947
|
"default": "",
|
|
1936
1948
|
"placeholder": "outlet",
|
|
1937
1949
|
"condition": {
|
|
@@ -2133,7 +2145,6 @@
|
|
|
2133
2145
|
"logging": {
|
|
2134
2146
|
"title": "Logging by Device Type",
|
|
2135
2147
|
"type": "string",
|
|
2136
|
-
"required": true,
|
|
2137
2148
|
"default": "",
|
|
2138
2149
|
"condition": {
|
|
2139
2150
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Relay Switch 1PM'].hide_device);"
|
|
@@ -2355,7 +2366,6 @@
|
|
|
2355
2366
|
"logging": {
|
|
2356
2367
|
"title": "Logging by Device Type",
|
|
2357
2368
|
"type": "string",
|
|
2358
|
-
"required": true,
|
|
2359
2369
|
"default": "",
|
|
2360
2370
|
"condition": {
|
|
2361
2371
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Meter'].hide_device);"
|
|
@@ -2577,7 +2587,6 @@
|
|
|
2577
2587
|
"logging": {
|
|
2578
2588
|
"title": "Logging by Device Type",
|
|
2579
2589
|
"type": "string",
|
|
2580
|
-
"required": true,
|
|
2581
2590
|
"default": "",
|
|
2582
2591
|
"condition": {
|
|
2583
2592
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPlus'].hide_device);"
|
|
@@ -2799,7 +2808,6 @@
|
|
|
2799
2808
|
"logging": {
|
|
2800
2809
|
"title": "Logging by Device Type",
|
|
2801
2810
|
"type": "string",
|
|
2802
|
-
"required": true,
|
|
2803
2811
|
"default": "",
|
|
2804
2812
|
"condition": {
|
|
2805
2813
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Meter Plus (JP)'].hide_device);"
|
|
@@ -2859,6 +2867,448 @@
|
|
|
2859
2867
|
}
|
|
2860
2868
|
}
|
|
2861
2869
|
},
|
|
2870
|
+
"MeterPro": {
|
|
2871
|
+
"type": "object",
|
|
2872
|
+
"properties": {
|
|
2873
|
+
"hide_device": {
|
|
2874
|
+
"title": "Hide All Meter Pluses",
|
|
2875
|
+
"type": "boolean",
|
|
2876
|
+
"description": "If true, device will be removed or hidden from HomeKit."
|
|
2877
|
+
},
|
|
2878
|
+
"hide_temperature": {
|
|
2879
|
+
"title": "Hide Temperature Sensor",
|
|
2880
|
+
"type": "boolean",
|
|
2881
|
+
"condition": {
|
|
2882
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
2883
|
+
}
|
|
2884
|
+
},
|
|
2885
|
+
"convertUnitTo": {
|
|
2886
|
+
"title": "Convert Temperature Unit To",
|
|
2887
|
+
"type": "string",
|
|
2888
|
+
"condition": {
|
|
2889
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
2890
|
+
},
|
|
2891
|
+
"oneOf": [
|
|
2892
|
+
{
|
|
2893
|
+
"title": "Celsius",
|
|
2894
|
+
"enum": [
|
|
2895
|
+
"CELSIUS"
|
|
2896
|
+
]
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"title": "Fahrenheit",
|
|
2900
|
+
"enum": [
|
|
2901
|
+
"FAHRENHEIT"
|
|
2902
|
+
]
|
|
2903
|
+
}
|
|
2904
|
+
]
|
|
2905
|
+
},
|
|
2906
|
+
"hide_humidity": {
|
|
2907
|
+
"title": "Hide Humidity Sensor",
|
|
2908
|
+
"type": "boolean",
|
|
2909
|
+
"condition": {
|
|
2910
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
"connectionType": {
|
|
2914
|
+
"title": "Connection Type",
|
|
2915
|
+
"type": "string",
|
|
2916
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
2917
|
+
"condition": {
|
|
2918
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
2919
|
+
},
|
|
2920
|
+
"oneOf": [
|
|
2921
|
+
{
|
|
2922
|
+
"title": "BLE",
|
|
2923
|
+
"enum": [
|
|
2924
|
+
"BLE"
|
|
2925
|
+
]
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"title": "BLE/OpenAPI",
|
|
2929
|
+
"enum": [
|
|
2930
|
+
"BLE/OpenAPI"
|
|
2931
|
+
]
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"title": "Disable",
|
|
2935
|
+
"enum": [
|
|
2936
|
+
"Disabled"
|
|
2937
|
+
]
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"title": "OpenAPI",
|
|
2941
|
+
"enum": [
|
|
2942
|
+
"OpenAPI"
|
|
2943
|
+
]
|
|
2944
|
+
}
|
|
2945
|
+
]
|
|
2946
|
+
},
|
|
2947
|
+
"disablePlatformBLE": {
|
|
2948
|
+
"title": "Disable Platform BLE",
|
|
2949
|
+
"type": "boolean",
|
|
2950
|
+
"condition": {
|
|
2951
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device && model.options.deviceConfig['MeterPlus'].connectionType !== 'Disabled');"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
"scanDuration": {
|
|
2955
|
+
"title": "Scan Duration (Default is 1 Second) for BLE",
|
|
2956
|
+
"type": "number",
|
|
2957
|
+
"placeholder": 1,
|
|
2958
|
+
"condition": {
|
|
2959
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device && (model.options.deviceConfig['MeterPlus'].connectionType === 'BLE' || model.options.deviceConfig['MeterPro'].connectionType === 'BLE/OpenAPI'));"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
"webhook": {
|
|
2963
|
+
"title": "Enable Webhook for all Meter Pluses",
|
|
2964
|
+
"type": "boolean",
|
|
2965
|
+
"condition": {
|
|
2966
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device && (model.options.deviceConfig['MeterPlus'].connectionType === 'OpenAPI' || model.options.deviceConfig['MeterPro'].connectionType === 'BLE/OpenAPI'));"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
"external": {
|
|
2970
|
+
"title": "External Accessory",
|
|
2971
|
+
"type": "boolean",
|
|
2972
|
+
"condition": {
|
|
2973
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
"maxRetry": {
|
|
2977
|
+
"title": "Max Retries for BLE",
|
|
2978
|
+
"type": "number",
|
|
2979
|
+
"placeholder": "5",
|
|
2980
|
+
"condition": {
|
|
2981
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device && (model.options.deviceConfig['MeterPro'].connectionType === 'BLE' || model.options.deviceConfig['MeterPro'].connectionType === 'BLE/OpenAPI'));"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
"maxRetries": {
|
|
2985
|
+
"title": "Device Max Retries for OpenAPI",
|
|
2986
|
+
"type": "number",
|
|
2987
|
+
"placeholder": 5,
|
|
2988
|
+
"condition": {
|
|
2989
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device && (model.options.deviceConfig['MeterPro'].connectionType === 'OpenAPI' || model.options.deviceConfig['MeterPro'].connectionType === 'BLE/OpenAPI'));"
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
"delayBetweenRetries": {
|
|
2993
|
+
"title": "Device Delay Between Retries for OpenAPI (In Seconds)",
|
|
2994
|
+
"type": "number",
|
|
2995
|
+
"placeholder": 3,
|
|
2996
|
+
"condition": {
|
|
2997
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device && (model.options.deviceConfig['MeterPro'].connectionType === 'OpenAPI' || model.options.deviceConfig['MeterPro'].connectionType === 'BLE/OpenAPI'));"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
"disableCaching": {
|
|
3001
|
+
"title": "Disable Caching",
|
|
3002
|
+
"type": "boolean",
|
|
3003
|
+
"condition": {
|
|
3004
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro'] && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3005
|
+
}
|
|
3006
|
+
},
|
|
3007
|
+
"offline": {
|
|
3008
|
+
"title": "Offline as Off",
|
|
3009
|
+
"type": "boolean",
|
|
3010
|
+
"condition": {
|
|
3011
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
"history": {
|
|
3015
|
+
"title": "EVE History",
|
|
3016
|
+
"type": "boolean",
|
|
3017
|
+
"condition": {
|
|
3018
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3019
|
+
}
|
|
3020
|
+
},
|
|
3021
|
+
"firmware": {
|
|
3022
|
+
"title": "Firmware Override",
|
|
3023
|
+
"type": "string",
|
|
3024
|
+
"placeholder": "1.2.8",
|
|
3025
|
+
"condition": {
|
|
3026
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
"logging": {
|
|
3030
|
+
"title": "Logging by Device Type",
|
|
3031
|
+
"type": "string",
|
|
3032
|
+
"default": "",
|
|
3033
|
+
"condition": {
|
|
3034
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3035
|
+
},
|
|
3036
|
+
"oneOf": [
|
|
3037
|
+
{
|
|
3038
|
+
"title": "Debug Logging",
|
|
3039
|
+
"enum": [
|
|
3040
|
+
"debug"
|
|
3041
|
+
]
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"title": "Default Logging",
|
|
3045
|
+
"enum": [
|
|
3046
|
+
""
|
|
3047
|
+
]
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"title": "No Logging",
|
|
3051
|
+
"enum": [
|
|
3052
|
+
"none"
|
|
3053
|
+
]
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"title": "Standard Logging",
|
|
3057
|
+
"enum": [
|
|
3058
|
+
"standard"
|
|
3059
|
+
]
|
|
3060
|
+
}
|
|
3061
|
+
]
|
|
3062
|
+
},
|
|
3063
|
+
"refreshRate": {
|
|
3064
|
+
"title": "Device Refresh Rate",
|
|
3065
|
+
"type": "number",
|
|
3066
|
+
"placeholder": 5,
|
|
3067
|
+
"condition": {
|
|
3068
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
"updateRate": {
|
|
3072
|
+
"title": "Update Rate",
|
|
3073
|
+
"type": "number",
|
|
3074
|
+
"minimum": 1,
|
|
3075
|
+
"placeholder": 5,
|
|
3076
|
+
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
3077
|
+
"condition": {
|
|
3078
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3079
|
+
}
|
|
3080
|
+
},
|
|
3081
|
+
"pushRate": {
|
|
3082
|
+
"title": "Device Push Rate",
|
|
3083
|
+
"type": "number",
|
|
3084
|
+
"placeholder": 360,
|
|
3085
|
+
"condition": {
|
|
3086
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro'].hide_device);"
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
"MeterPro(CO2)": {
|
|
3092
|
+
"type": "object",
|
|
3093
|
+
"properties": {
|
|
3094
|
+
"hide_device": {
|
|
3095
|
+
"title": "Hide All Meter Pluses",
|
|
3096
|
+
"type": "boolean",
|
|
3097
|
+
"description": "If true, device will be removed or hidden from HomeKit."
|
|
3098
|
+
},
|
|
3099
|
+
"hide_temperature": {
|
|
3100
|
+
"title": "Hide Temperature Sensor",
|
|
3101
|
+
"type": "boolean",
|
|
3102
|
+
"condition": {
|
|
3103
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3104
|
+
}
|
|
3105
|
+
},
|
|
3106
|
+
"convertUnitTo": {
|
|
3107
|
+
"title": "Convert Temperature Unit To",
|
|
3108
|
+
"type": "string",
|
|
3109
|
+
"condition": {
|
|
3110
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3111
|
+
},
|
|
3112
|
+
"oneOf": [
|
|
3113
|
+
{
|
|
3114
|
+
"title": "Celsius",
|
|
3115
|
+
"enum": [
|
|
3116
|
+
"CELSIUS"
|
|
3117
|
+
]
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"title": "Fahrenheit",
|
|
3121
|
+
"enum": [
|
|
3122
|
+
"FAHRENHEIT"
|
|
3123
|
+
]
|
|
3124
|
+
}
|
|
3125
|
+
]
|
|
3126
|
+
},
|
|
3127
|
+
"hide_humidity": {
|
|
3128
|
+
"title": "Hide Humidity Sensor",
|
|
3129
|
+
"type": "boolean",
|
|
3130
|
+
"condition": {
|
|
3131
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
"connectionType": {
|
|
3135
|
+
"title": "Connection Type",
|
|
3136
|
+
"type": "string",
|
|
3137
|
+
"description": "Bluetooth (BLE) API is only available on certain Device Types, see the Wiki for more information.",
|
|
3138
|
+
"condition": {
|
|
3139
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3140
|
+
},
|
|
3141
|
+
"oneOf": [
|
|
3142
|
+
{
|
|
3143
|
+
"title": "BLE",
|
|
3144
|
+
"enum": [
|
|
3145
|
+
"BLE"
|
|
3146
|
+
]
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"title": "BLE/OpenAPI",
|
|
3150
|
+
"enum": [
|
|
3151
|
+
"BLE/OpenAPI"
|
|
3152
|
+
]
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"title": "Disable",
|
|
3156
|
+
"enum": [
|
|
3157
|
+
"Disabled"
|
|
3158
|
+
]
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"title": "OpenAPI",
|
|
3162
|
+
"enum": [
|
|
3163
|
+
"OpenAPI"
|
|
3164
|
+
]
|
|
3165
|
+
}
|
|
3166
|
+
]
|
|
3167
|
+
},
|
|
3168
|
+
"disablePlatformBLE": {
|
|
3169
|
+
"title": "Disable Platform BLE",
|
|
3170
|
+
"type": "boolean",
|
|
3171
|
+
"condition": {
|
|
3172
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device && model.options.deviceConfig['MeterPro(CO2)'].connectionType !== 'Disabled');"
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
"scanDuration": {
|
|
3176
|
+
"title": "Scan Duration (Default is 1 Second) for BLE",
|
|
3177
|
+
"type": "number",
|
|
3178
|
+
"placeholder": 1,
|
|
3179
|
+
"condition": {
|
|
3180
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device && (model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE' || model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE/OpenAPI'));"
|
|
3181
|
+
}
|
|
3182
|
+
},
|
|
3183
|
+
"webhook": {
|
|
3184
|
+
"title": "Enable Webhook for all Meter Pluses",
|
|
3185
|
+
"type": "boolean",
|
|
3186
|
+
"condition": {
|
|
3187
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device && (model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'OpenAPI' || model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE/OpenAPI'));"
|
|
3188
|
+
}
|
|
3189
|
+
},
|
|
3190
|
+
"external": {
|
|
3191
|
+
"title": "External Accessory",
|
|
3192
|
+
"type": "boolean",
|
|
3193
|
+
"condition": {
|
|
3194
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3197
|
+
"maxRetry": {
|
|
3198
|
+
"title": "Max Retries for BLE",
|
|
3199
|
+
"type": "number",
|
|
3200
|
+
"placeholder": "5",
|
|
3201
|
+
"condition": {
|
|
3202
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device && (model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE' || model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE/OpenAPI'));"
|
|
3203
|
+
}
|
|
3204
|
+
},
|
|
3205
|
+
"maxRetries": {
|
|
3206
|
+
"title": "Device Max Retries for OpenAPI",
|
|
3207
|
+
"type": "number",
|
|
3208
|
+
"placeholder": 5,
|
|
3209
|
+
"condition": {
|
|
3210
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device && (model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'OpenAPI' || model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE/OpenAPI'));"
|
|
3211
|
+
}
|
|
3212
|
+
},
|
|
3213
|
+
"delayBetweenRetries": {
|
|
3214
|
+
"title": "Device Delay Between Retries for OpenAPI (In Seconds)",
|
|
3215
|
+
"type": "number",
|
|
3216
|
+
"placeholder": 3,
|
|
3217
|
+
"condition": {
|
|
3218
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device && (model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'OpenAPI' || model.options.deviceConfig['MeterPro(CO2)'].connectionType === 'BLE/OpenAPI'));"
|
|
3219
|
+
}
|
|
3220
|
+
},
|
|
3221
|
+
"disableCaching": {
|
|
3222
|
+
"title": "Disable Caching",
|
|
3223
|
+
"type": "boolean",
|
|
3224
|
+
"condition": {
|
|
3225
|
+
"functionBody": "return (model.options && model.options.deviceConfig && model.options.deviceConfig['MeterPro(CO2)'] && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3226
|
+
}
|
|
3227
|
+
},
|
|
3228
|
+
"offline": {
|
|
3229
|
+
"title": "Offline as Off",
|
|
3230
|
+
"type": "boolean",
|
|
3231
|
+
"condition": {
|
|
3232
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3233
|
+
}
|
|
3234
|
+
},
|
|
3235
|
+
"history": {
|
|
3236
|
+
"title": "EVE History",
|
|
3237
|
+
"type": "boolean",
|
|
3238
|
+
"condition": {
|
|
3239
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3242
|
+
"firmware": {
|
|
3243
|
+
"title": "Firmware Override",
|
|
3244
|
+
"type": "string",
|
|
3245
|
+
"placeholder": "1.2.8",
|
|
3246
|
+
"condition": {
|
|
3247
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3248
|
+
}
|
|
3249
|
+
},
|
|
3250
|
+
"logging": {
|
|
3251
|
+
"title": "Logging by Device Type",
|
|
3252
|
+
"type": "string",
|
|
3253
|
+
"default": "",
|
|
3254
|
+
"condition": {
|
|
3255
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3256
|
+
},
|
|
3257
|
+
"oneOf": [
|
|
3258
|
+
{
|
|
3259
|
+
"title": "Debug Logging",
|
|
3260
|
+
"enum": [
|
|
3261
|
+
"debug"
|
|
3262
|
+
]
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"title": "Default Logging",
|
|
3266
|
+
"enum": [
|
|
3267
|
+
""
|
|
3268
|
+
]
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"title": "No Logging",
|
|
3272
|
+
"enum": [
|
|
3273
|
+
"none"
|
|
3274
|
+
]
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"title": "Standard Logging",
|
|
3278
|
+
"enum": [
|
|
3279
|
+
"standard"
|
|
3280
|
+
]
|
|
3281
|
+
}
|
|
3282
|
+
]
|
|
3283
|
+
},
|
|
3284
|
+
"refreshRate": {
|
|
3285
|
+
"title": "Device Refresh Rate",
|
|
3286
|
+
"type": "number",
|
|
3287
|
+
"placeholder": 5,
|
|
3288
|
+
"condition": {
|
|
3289
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
"updateRate": {
|
|
3293
|
+
"title": "Update Rate",
|
|
3294
|
+
"type": "number",
|
|
3295
|
+
"minimum": 1,
|
|
3296
|
+
"placeholder": 5,
|
|
3297
|
+
"description": "Indicates the number of seconds before refreshing status while updating progress.",
|
|
3298
|
+
"condition": {
|
|
3299
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3300
|
+
}
|
|
3301
|
+
},
|
|
3302
|
+
"pushRate": {
|
|
3303
|
+
"title": "Device Push Rate",
|
|
3304
|
+
"type": "number",
|
|
3305
|
+
"placeholder": 360,
|
|
3306
|
+
"condition": {
|
|
3307
|
+
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['MeterPro(CO2)'].hide_device);"
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
2862
3312
|
"WoIOSensor": {
|
|
2863
3313
|
"type": "object",
|
|
2864
3314
|
"properties": {
|
|
@@ -3021,7 +3471,6 @@
|
|
|
3021
3471
|
"logging": {
|
|
3022
3472
|
"title": "Logging by Device Type",
|
|
3023
3473
|
"type": "string",
|
|
3024
|
-
"required": true,
|
|
3025
3474
|
"default": "",
|
|
3026
3475
|
"condition": {
|
|
3027
3476
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoIOSensor'].hide_device);"
|
|
@@ -3223,7 +3672,6 @@
|
|
|
3223
3672
|
"logging": {
|
|
3224
3673
|
"title": "Logging by Device Type",
|
|
3225
3674
|
"type": "string",
|
|
3226
|
-
"required": true,
|
|
3227
3675
|
"default": "",
|
|
3228
3676
|
"condition": {
|
|
3229
3677
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Water Detector'].hide_device);"
|
|
@@ -3433,7 +3881,6 @@
|
|
|
3433
3881
|
"logging": {
|
|
3434
3882
|
"title": "Logging by Device Type",
|
|
3435
3883
|
"type": "string",
|
|
3436
|
-
"required": true,
|
|
3437
3884
|
"default": "",
|
|
3438
3885
|
"condition": {
|
|
3439
3886
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Water Detector'].hide_device);"
|
|
@@ -3650,7 +4097,6 @@
|
|
|
3650
4097
|
"logging": {
|
|
3651
4098
|
"title": "Logging by Device Type",
|
|
3652
4099
|
"type": "string",
|
|
3653
|
-
"required": true,
|
|
3654
4100
|
"default": "",
|
|
3655
4101
|
"condition": {
|
|
3656
4102
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Contact Sensor'].hide_device);"
|
|
@@ -3943,7 +4389,6 @@
|
|
|
3943
4389
|
"logging": {
|
|
3944
4390
|
"title": "Logging by Device Type",
|
|
3945
4391
|
"type": "string",
|
|
3946
|
-
"required": true,
|
|
3947
4392
|
"default": "",
|
|
3948
4393
|
"condition": {
|
|
3949
4394
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
|
|
@@ -4236,7 +4681,6 @@
|
|
|
4236
4681
|
"logging": {
|
|
4237
4682
|
"title": "Logging by Device Type",
|
|
4238
4683
|
"type": "string",
|
|
4239
|
-
"required": true,
|
|
4240
4684
|
"default": "",
|
|
4241
4685
|
"condition": {
|
|
4242
4686
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
|
|
@@ -4529,7 +4973,6 @@
|
|
|
4529
4973
|
"logging": {
|
|
4530
4974
|
"title": "Logging by Device Type",
|
|
4531
4975
|
"type": "string",
|
|
4532
|
-
"required": true,
|
|
4533
4976
|
"default": "",
|
|
4534
4977
|
"condition": {
|
|
4535
4978
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
|
|
@@ -4822,7 +5265,6 @@
|
|
|
4822
5265
|
"logging": {
|
|
4823
5266
|
"title": "Logging by Device Type",
|
|
4824
5267
|
"type": "string",
|
|
4825
|
-
"required": true,
|
|
4826
5268
|
"default": "",
|
|
4827
5269
|
"condition": {
|
|
4828
5270
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
|
|
@@ -4900,7 +5342,6 @@
|
|
|
4900
5342
|
"mapping": {
|
|
4901
5343
|
"title": "Mapping Mode",
|
|
4902
5344
|
"type": "string",
|
|
4903
|
-
"required": true,
|
|
4904
5345
|
"default": "",
|
|
4905
5346
|
"oneOf": [
|
|
4906
5347
|
{
|
|
@@ -5162,7 +5603,6 @@
|
|
|
5162
5603
|
"logging": {
|
|
5163
5604
|
"title": "Logging by Device Type",
|
|
5164
5605
|
"type": "string",
|
|
5165
|
-
"required": true,
|
|
5166
5606
|
"default": "",
|
|
5167
5607
|
"condition": {
|
|
5168
5608
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
|
|
@@ -5349,7 +5789,6 @@
|
|
|
5349
5789
|
"logging": {
|
|
5350
5790
|
"title": "Logging by Device Type",
|
|
5351
5791
|
"type": "string",
|
|
5352
|
-
"required": true,
|
|
5353
5792
|
"default": "",
|
|
5354
5793
|
"condition": {
|
|
5355
5794
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug'].hide_device);"
|
|
@@ -5536,7 +5975,6 @@
|
|
|
5536
5975
|
"logging": {
|
|
5537
5976
|
"title": "Logging by Device Type",
|
|
5538
5977
|
"type": "string",
|
|
5539
|
-
"required": true,
|
|
5540
5978
|
"default": "",
|
|
5541
5979
|
"condition": {
|
|
5542
5980
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug Mini (US)'].hide_device);"
|
|
@@ -5723,7 +6161,6 @@
|
|
|
5723
6161
|
"logging": {
|
|
5724
6162
|
"title": "Logging by Device Type",
|
|
5725
6163
|
"type": "string",
|
|
5726
|
-
"required": true,
|
|
5727
6164
|
"default": "",
|
|
5728
6165
|
"condition": {
|
|
5729
6166
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Plug Mini (JP)'].hide_device);"
|
|
@@ -5924,7 +6361,6 @@
|
|
|
5924
6361
|
"logging": {
|
|
5925
6362
|
"title": "Logging by Device Type",
|
|
5926
6363
|
"type": "string",
|
|
5927
|
-
"required": true,
|
|
5928
6364
|
"default": "",
|
|
5929
6365
|
"condition": {
|
|
5930
6366
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Smart Lock'].hide_device);"
|
|
@@ -6125,7 +6561,6 @@
|
|
|
6125
6561
|
"logging": {
|
|
6126
6562
|
"title": "Logging by Device Type",
|
|
6127
6563
|
"type": "string",
|
|
6128
|
-
"required": true,
|
|
6129
6564
|
"default": "",
|
|
6130
6565
|
"condition": {
|
|
6131
6566
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Smart Lock Pro'].hide_device);"
|
|
@@ -6330,7 +6765,6 @@
|
|
|
6330
6765
|
"logging": {
|
|
6331
6766
|
"title": "Logging by Device Type",
|
|
6332
6767
|
"type": "string",
|
|
6333
|
-
"required": true,
|
|
6334
6768
|
"default": "",
|
|
6335
6769
|
"condition": {
|
|
6336
6770
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Color Bulb'].hide_device);"
|
|
@@ -6517,7 +6951,6 @@
|
|
|
6517
6951
|
"logging": {
|
|
6518
6952
|
"title": "Logging by Device Type",
|
|
6519
6953
|
"type": "string",
|
|
6520
|
-
"required": true,
|
|
6521
6954
|
"default": "",
|
|
6522
6955
|
"condition": {
|
|
6523
6956
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+'].hide_device);"
|
|
@@ -6704,7 +7137,6 @@
|
|
|
6704
7137
|
"logging": {
|
|
6705
7138
|
"title": "Logging by Device Type",
|
|
6706
7139
|
"type": "string",
|
|
6707
|
-
"required": true,
|
|
6708
7140
|
"default": "",
|
|
6709
7141
|
"condition": {
|
|
6710
7142
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['K10+ Pro'].hide_device);"
|
|
@@ -6891,7 +7323,6 @@
|
|
|
6891
7323
|
"logging": {
|
|
6892
7324
|
"title": "Logging by Device Type",
|
|
6893
7325
|
"type": "string",
|
|
6894
|
-
"required": true,
|
|
6895
7326
|
"default": "",
|
|
6896
7327
|
"condition": {
|
|
6897
7328
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoSweeper'].hide_device);"
|
|
@@ -7078,7 +7509,6 @@
|
|
|
7078
7509
|
"logging": {
|
|
7079
7510
|
"title": "Logging by Device Type",
|
|
7080
7511
|
"type": "string",
|
|
7081
|
-
"required": true,
|
|
7082
7512
|
"default": "",
|
|
7083
7513
|
"condition": {
|
|
7084
7514
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoSweeperMini'].hide_device);"
|
|
@@ -7265,7 +7695,6 @@
|
|
|
7265
7695
|
"logging": {
|
|
7266
7696
|
"title": "Logging by Device Type",
|
|
7267
7697
|
"type": "string",
|
|
7268
|
-
"required": true,
|
|
7269
7698
|
"default": "",
|
|
7270
7699
|
"condition": {
|
|
7271
7700
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Robot Vacuum Cleaner S1'].hide_device);"
|
|
@@ -7452,7 +7881,6 @@
|
|
|
7452
7881
|
"logging": {
|
|
7453
7882
|
"title": "Logging by Device Type",
|
|
7454
7883
|
"type": "string",
|
|
7455
|
-
"required": true,
|
|
7456
7884
|
"default": "",
|
|
7457
7885
|
"condition": {
|
|
7458
7886
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Robot Vacuum Cleaner S1 Plus'].hide_device);"
|
|
@@ -7639,7 +8067,6 @@
|
|
|
7639
8067
|
"logging": {
|
|
7640
8068
|
"title": "Logging by Device Type",
|
|
7641
8069
|
"type": "string",
|
|
7642
|
-
"required": true,
|
|
7643
8070
|
"default": "",
|
|
7644
8071
|
"condition": {
|
|
7645
8072
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Robot Vacuum Cleaner S10'].hide_device);"
|
|
@@ -7844,7 +8271,6 @@
|
|
|
7844
8271
|
"logging": {
|
|
7845
8272
|
"title": "Logging by Device Type",
|
|
7846
8273
|
"type": "string",
|
|
7847
|
-
"required": true,
|
|
7848
8274
|
"default": "",
|
|
7849
8275
|
"condition": {
|
|
7850
8276
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light'].hide_device);"
|
|
@@ -8049,7 +8475,6 @@
|
|
|
8049
8475
|
"logging": {
|
|
8050
8476
|
"title": "Logging by Device Type",
|
|
8051
8477
|
"type": "string",
|
|
8052
|
-
"required": true,
|
|
8053
8478
|
"default": "",
|
|
8054
8479
|
"condition": {
|
|
8055
8480
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light Pro'].hide_device);"
|
|
@@ -8254,7 +8679,6 @@
|
|
|
8254
8679
|
"logging": {
|
|
8255
8680
|
"title": "Logging by Device Type",
|
|
8256
8681
|
"type": "string",
|
|
8257
|
-
"required": true,
|
|
8258
8682
|
"default": "",
|
|
8259
8683
|
"condition": {
|
|
8260
8684
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Strip Light'].hide_device);"
|
|
@@ -8450,7 +8874,6 @@
|
|
|
8450
8874
|
"logging": {
|
|
8451
8875
|
"title": "Logging by Device Type",
|
|
8452
8876
|
"type": "string",
|
|
8453
|
-
"required": true,
|
|
8454
8877
|
"default": "",
|
|
8455
8878
|
"condition": {
|
|
8456
8879
|
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Battery Circulator Fan'].hide_device);"
|
|
@@ -8531,7 +8954,7 @@
|
|
|
8531
8954
|
"title": "Device ID",
|
|
8532
8955
|
"type": "string",
|
|
8533
8956
|
"placeholder": "81F3UT59513F",
|
|
8534
|
-
"pattern": "^[0-9A-Za-z]{2}-[0-9A-Za-z]{12}-[0-9A-Za-z]{8}$"
|
|
8957
|
+
"pattern": "^[0-9A-Za-z]{2}-[0-9A-Za-z]{12}-[0-9A-Za-z]{8}$|^[0-9A-Za-z]{18}$"
|
|
8535
8958
|
},
|
|
8536
8959
|
"hide_device": {
|
|
8537
8960
|
"title": "Hide Device",
|
|
@@ -8738,7 +9161,6 @@
|
|
|
8738
9161
|
"type": {
|
|
8739
9162
|
"title": "What Type of Device do you want to display in the Home App?",
|
|
8740
9163
|
"type": "string",
|
|
8741
|
-
"required": true,
|
|
8742
9164
|
"default": "",
|
|
8743
9165
|
"oneOf": [
|
|
8744
9166
|
{
|
|
@@ -9053,7 +9475,6 @@
|
|
|
9053
9475
|
"logging": {
|
|
9054
9476
|
"title": "Device Logging Override Setting",
|
|
9055
9477
|
"type": "string",
|
|
9056
|
-
"required": true,
|
|
9057
9478
|
"default": "",
|
|
9058
9479
|
"oneOf": [
|
|
9059
9480
|
{
|
|
@@ -9187,7 +9608,6 @@
|
|
|
9187
9608
|
"logging": {
|
|
9188
9609
|
"title": "Logging by Device Type",
|
|
9189
9610
|
"type": "string",
|
|
9190
|
-
"required": true,
|
|
9191
9611
|
"default": "",
|
|
9192
9612
|
"condition": {
|
|
9193
9613
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['TV'].hide_device);"
|
|
@@ -9316,7 +9736,6 @@
|
|
|
9316
9736
|
"logging": {
|
|
9317
9737
|
"title": "Logging by Device Type",
|
|
9318
9738
|
"type": "string",
|
|
9319
|
-
"required": true,
|
|
9320
9739
|
"default": "",
|
|
9321
9740
|
"condition": {
|
|
9322
9741
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY TV'].hide_device);"
|
|
@@ -9445,7 +9864,6 @@
|
|
|
9445
9864
|
"logging": {
|
|
9446
9865
|
"title": "Logging by Device Type",
|
|
9447
9866
|
"type": "string",
|
|
9448
|
-
"required": true,
|
|
9449
9867
|
"default": "",
|
|
9450
9868
|
"condition": {
|
|
9451
9869
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Projector'].hide_device);"
|
|
@@ -9574,7 +9992,6 @@
|
|
|
9574
9992
|
"logging": {
|
|
9575
9993
|
"title": "Logging by Device Type",
|
|
9576
9994
|
"type": "string",
|
|
9577
|
-
"required": true,
|
|
9578
9995
|
"default": "",
|
|
9579
9996
|
"condition": {
|
|
9580
9997
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Projector'].hide_device);"
|
|
@@ -9703,7 +10120,6 @@
|
|
|
9703
10120
|
"logging": {
|
|
9704
10121
|
"title": "Logging by Device Type",
|
|
9705
10122
|
"type": "string",
|
|
9706
|
-
"required": true,
|
|
9707
10123
|
"default": "",
|
|
9708
10124
|
"condition": {
|
|
9709
10125
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Set Top Box'].hide_device);"
|
|
@@ -9832,7 +10248,6 @@
|
|
|
9832
10248
|
"logging": {
|
|
9833
10249
|
"title": "Logging by Device Type",
|
|
9834
10250
|
"type": "string",
|
|
9835
|
-
"required": true,
|
|
9836
10251
|
"default": "",
|
|
9837
10252
|
"condition": {
|
|
9838
10253
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Set Top Box'].hide_device);"
|
|
@@ -9961,7 +10376,6 @@
|
|
|
9961
10376
|
"logging": {
|
|
9962
10377
|
"title": "Logging by Device Type",
|
|
9963
10378
|
"type": "string",
|
|
9964
|
-
"required": true,
|
|
9965
10379
|
"default": "",
|
|
9966
10380
|
"condition": {
|
|
9967
10381
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['IPTV'].hide_device);"
|
|
@@ -10090,7 +10504,6 @@
|
|
|
10090
10504
|
"logging": {
|
|
10091
10505
|
"title": "Logging by Device Type",
|
|
10092
10506
|
"type": "string",
|
|
10093
|
-
"required": true,
|
|
10094
10507
|
"default": "",
|
|
10095
10508
|
"condition": {
|
|
10096
10509
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY IPTV'].hide_device);"
|
|
@@ -10219,7 +10632,6 @@
|
|
|
10219
10632
|
"logging": {
|
|
10220
10633
|
"title": "Logging by Device Type",
|
|
10221
10634
|
"type": "string",
|
|
10222
|
-
"required": true,
|
|
10223
10635
|
"default": "",
|
|
10224
10636
|
"condition": {
|
|
10225
10637
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DVD'].hide_device);"
|
|
@@ -10348,7 +10760,6 @@
|
|
|
10348
10760
|
"logging": {
|
|
10349
10761
|
"title": "Logging by Device Type",
|
|
10350
10762
|
"type": "string",
|
|
10351
|
-
"required": true,
|
|
10352
10763
|
"default": "",
|
|
10353
10764
|
"condition": {
|
|
10354
10765
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY DVD'].hide_device);"
|
|
@@ -10477,7 +10888,6 @@
|
|
|
10477
10888
|
"logging": {
|
|
10478
10889
|
"title": "Logging by Device Type",
|
|
10479
10890
|
"type": "string",
|
|
10480
|
-
"required": true,
|
|
10481
10891
|
"default": "",
|
|
10482
10892
|
"condition": {
|
|
10483
10893
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Speaker'].hide_device);"
|
|
@@ -10606,7 +11016,6 @@
|
|
|
10606
11016
|
"logging": {
|
|
10607
11017
|
"title": "Logging by Device Type",
|
|
10608
11018
|
"type": "string",
|
|
10609
|
-
"required": true,
|
|
10610
11019
|
"default": "",
|
|
10611
11020
|
"condition": {
|
|
10612
11021
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Speaker'].hide_device);"
|
|
@@ -10735,7 +11144,6 @@
|
|
|
10735
11144
|
"logging": {
|
|
10736
11145
|
"title": "Logging by Device Type",
|
|
10737
11146
|
"type": "string",
|
|
10738
|
-
"required": true,
|
|
10739
11147
|
"default": "",
|
|
10740
11148
|
"condition": {
|
|
10741
11149
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Fan'].hide_device);"
|
|
@@ -10864,7 +11272,6 @@
|
|
|
10864
11272
|
"logging": {
|
|
10865
11273
|
"title": "Logging by Device Type",
|
|
10866
11274
|
"type": "string",
|
|
10867
|
-
"required": true,
|
|
10868
11275
|
"default": "",
|
|
10869
11276
|
"condition": {
|
|
10870
11277
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Fan'].hide_device);"
|
|
@@ -10993,7 +11400,6 @@
|
|
|
10993
11400
|
"logging": {
|
|
10994
11401
|
"title": "Logging by Device Type",
|
|
10995
11402
|
"type": "string",
|
|
10996
|
-
"required": true,
|
|
10997
11403
|
"default": "",
|
|
10998
11404
|
"condition": {
|
|
10999
11405
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Air Conditioner'].hide_device);"
|
|
@@ -11122,7 +11528,6 @@
|
|
|
11122
11528
|
"logging": {
|
|
11123
11529
|
"title": "Logging by Device Type",
|
|
11124
11530
|
"type": "string",
|
|
11125
|
-
"required": true,
|
|
11126
11531
|
"default": "",
|
|
11127
11532
|
"condition": {
|
|
11128
11533
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Air Conditioner'].hide_device);"
|
|
@@ -11251,7 +11656,6 @@
|
|
|
11251
11656
|
"logging": {
|
|
11252
11657
|
"title": "Logging by Device Type",
|
|
11253
11658
|
"type": "string",
|
|
11254
|
-
"required": true,
|
|
11255
11659
|
"default": "",
|
|
11256
11660
|
"condition": {
|
|
11257
11661
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Light'].hide_device);"
|
|
@@ -11380,7 +11784,6 @@
|
|
|
11380
11784
|
"logging": {
|
|
11381
11785
|
"title": "Logging by Device Type",
|
|
11382
11786
|
"type": "string",
|
|
11383
|
-
"required": true,
|
|
11384
11787
|
"default": "",
|
|
11385
11788
|
"condition": {
|
|
11386
11789
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Light'].hide_device);"
|
|
@@ -11509,7 +11912,6 @@
|
|
|
11509
11912
|
"logging": {
|
|
11510
11913
|
"title": "Logging by Device Type",
|
|
11511
11914
|
"type": "string",
|
|
11512
|
-
"required": true,
|
|
11513
11915
|
"default": "",
|
|
11514
11916
|
"condition": {
|
|
11515
11917
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Air Purifier'].hide_device);"
|
|
@@ -11638,7 +12040,6 @@
|
|
|
11638
12040
|
"logging": {
|
|
11639
12041
|
"title": "Logging by Device Type",
|
|
11640
12042
|
"type": "string",
|
|
11641
|
-
"required": true,
|
|
11642
12043
|
"default": "",
|
|
11643
12044
|
"condition": {
|
|
11644
12045
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Air Purifier'].hide_device);"
|
|
@@ -11767,7 +12168,6 @@
|
|
|
11767
12168
|
"logging": {
|
|
11768
12169
|
"title": "Logging by Device Type",
|
|
11769
12170
|
"type": "string",
|
|
11770
|
-
"required": true,
|
|
11771
12171
|
"default": "",
|
|
11772
12172
|
"condition": {
|
|
11773
12173
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Water Heater'].hide_device);"
|
|
@@ -11896,7 +12296,6 @@
|
|
|
11896
12296
|
"logging": {
|
|
11897
12297
|
"title": "Logging by Device Type",
|
|
11898
12298
|
"type": "string",
|
|
11899
|
-
"required": true,
|
|
11900
12299
|
"default": "",
|
|
11901
12300
|
"condition": {
|
|
11902
12301
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Water Heater'].hide_device);"
|
|
@@ -12025,7 +12424,6 @@
|
|
|
12025
12424
|
"logging": {
|
|
12026
12425
|
"title": "Logging by Device Type",
|
|
12027
12426
|
"type": "string",
|
|
12028
|
-
"required": true,
|
|
12029
12427
|
"default": "",
|
|
12030
12428
|
"condition": {
|
|
12031
12429
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Vacuum Cleaner'].hide_device);"
|
|
@@ -12154,7 +12552,6 @@
|
|
|
12154
12552
|
"logging": {
|
|
12155
12553
|
"title": "Logging by Device Type",
|
|
12156
12554
|
"type": "string",
|
|
12157
|
-
"required": true,
|
|
12158
12555
|
"default": "",
|
|
12159
12556
|
"condition": {
|
|
12160
12557
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Vacuum Cleaner'].hide_device);"
|
|
@@ -12283,7 +12680,6 @@
|
|
|
12283
12680
|
"logging": {
|
|
12284
12681
|
"title": "Logging by Device Type",
|
|
12285
12682
|
"type": "string",
|
|
12286
|
-
"required": true,
|
|
12287
12683
|
"default": "",
|
|
12288
12684
|
"condition": {
|
|
12289
12685
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Camera'].hide_device);"
|
|
@@ -12412,7 +12808,6 @@
|
|
|
12412
12808
|
"logging": {
|
|
12413
12809
|
"title": "Logging by Device Type",
|
|
12414
12810
|
"type": "string",
|
|
12415
|
-
"required": true,
|
|
12416
12811
|
"default": "",
|
|
12417
12812
|
"condition": {
|
|
12418
12813
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['DIY Camera'].hide_device);"
|
|
@@ -12541,7 +12936,6 @@
|
|
|
12541
12936
|
"logging": {
|
|
12542
12937
|
"title": "Logging by Device Type",
|
|
12543
12938
|
"type": "string",
|
|
12544
|
-
"required": true,
|
|
12545
12939
|
"default": "",
|
|
12546
12940
|
"condition": {
|
|
12547
12941
|
"functionBody": "return (model.options && model.options.irdeviceConfig && !model.options.irdeviceConfig['Others'].hide_device);"
|
|
@@ -12671,8 +13065,7 @@
|
|
|
12671
13065
|
"logging": {
|
|
12672
13066
|
"title": "Logging Setting",
|
|
12673
13067
|
"type": "string",
|
|
12674
|
-
"
|
|
12675
|
-
"default": "",
|
|
13068
|
+
"default": "standard",
|
|
12676
13069
|
"oneOf": [
|
|
12677
13070
|
{
|
|
12678
13071
|
"title": "Debug Logging",
|
|
@@ -12680,12 +13073,6 @@
|
|
|
12680
13073
|
"debug"
|
|
12681
13074
|
]
|
|
12682
13075
|
},
|
|
12683
|
-
{
|
|
12684
|
-
"title": "Default Logging",
|
|
12685
|
-
"enum": [
|
|
12686
|
-
""
|
|
12687
|
-
]
|
|
12688
|
-
},
|
|
12689
13076
|
{
|
|
12690
13077
|
"title": "No Logging",
|
|
12691
13078
|
"enum": [
|
|
@@ -13040,6 +13427,62 @@
|
|
|
13040
13427
|
"options.deviceConfig['Meter Plus (JP)'].pushRate"
|
|
13041
13428
|
]
|
|
13042
13429
|
},
|
|
13430
|
+
{
|
|
13431
|
+
"type": "fieldset",
|
|
13432
|
+
"title": "Meter Pro Settings",
|
|
13433
|
+
"expandable": true,
|
|
13434
|
+
"expanded": false,
|
|
13435
|
+
"items": [
|
|
13436
|
+
"options.deviceConfig['MeterPro'].hide_device",
|
|
13437
|
+
"options.deviceConfig['MeterPro'].hide_temperature",
|
|
13438
|
+
"options.deviceConfig['MeterPro'].convertUnitTo",
|
|
13439
|
+
"options.deviceConfig['MeterPro'].hide_humidity",
|
|
13440
|
+
"options.deviceConfig['MeterPro'].connectionType",
|
|
13441
|
+
"options.deviceConfig['MeterPro'].disablePlatformBLE",
|
|
13442
|
+
"options.deviceConfig['MeterPro'].scanDuration",
|
|
13443
|
+
"options.deviceConfig['MeterPro'].webhook",
|
|
13444
|
+
"options.deviceConfig['MeterPro'].external",
|
|
13445
|
+
"options.deviceConfig['MeterPro'].maxRetry",
|
|
13446
|
+
"options.deviceConfig['MeterPro'].maxRetries",
|
|
13447
|
+
"options.deviceConfig['MeterPro'].delayBetweenRetries",
|
|
13448
|
+
"options.deviceConfig['MeterPro'].disableCaching",
|
|
13449
|
+
"options.deviceConfig['MeterPro'].offline",
|
|
13450
|
+
"options.deviceConfig['MeterPro'].history",
|
|
13451
|
+
"options.deviceConfig['MeterPro'].firmware",
|
|
13452
|
+
"options.deviceConfig['MeterPro'].logging",
|
|
13453
|
+
"options.deviceConfig['MeterPro'].refreshRate",
|
|
13454
|
+
"options.deviceConfig['MeterPro'].updateRate",
|
|
13455
|
+
"options.deviceConfig['MeterPro'].pushRate"
|
|
13456
|
+
]
|
|
13457
|
+
},
|
|
13458
|
+
{
|
|
13459
|
+
"type": "fieldset",
|
|
13460
|
+
"title": "Meter Pro (CO2) Settings",
|
|
13461
|
+
"expandable": true,
|
|
13462
|
+
"expanded": false,
|
|
13463
|
+
"items": [
|
|
13464
|
+
"options.deviceConfig['MeterPro(CO2)'].hide_device",
|
|
13465
|
+
"options.deviceConfig['MeterPro(CO2)'].hide_temperature",
|
|
13466
|
+
"options.deviceConfig['MeterPro(CO2)'].convertUnitTo",
|
|
13467
|
+
"options.deviceConfig['MeterPro(CO2)'].hide_humidity",
|
|
13468
|
+
"options.deviceConfig['MeterPro(CO2)'].connectionType",
|
|
13469
|
+
"options.deviceConfig['MeterPro(CO2)'].disablePlatformBLE",
|
|
13470
|
+
"options.deviceConfig['MeterPro(CO2)'].scanDuration",
|
|
13471
|
+
"options.deviceConfig['MeterPro(CO2)'].webhook",
|
|
13472
|
+
"options.deviceConfig['MeterPro(CO2)'].external",
|
|
13473
|
+
"options.deviceConfig['MeterPro(CO2)'].maxRetry",
|
|
13474
|
+
"options.deviceConfig['MeterPro(CO2)'].maxRetries",
|
|
13475
|
+
"options.deviceConfig['MeterPro(CO2)'].delayBetweenRetries",
|
|
13476
|
+
"options.deviceConfig['MeterPro(CO2)'].disableCaching",
|
|
13477
|
+
"options.deviceConfig['MeterPro(CO2)'].offline",
|
|
13478
|
+
"options.deviceConfig['MeterPro(CO2)'].history",
|
|
13479
|
+
"options.deviceConfig['MeterPro(CO2)'].firmware",
|
|
13480
|
+
"options.deviceConfig['MeterPro(CO2)'].logging",
|
|
13481
|
+
"options.deviceConfig['MeterPro(CO2)'].refreshRate",
|
|
13482
|
+
"options.deviceConfig['MeterPro(CO2)'].updateRate",
|
|
13483
|
+
"options.deviceConfig['MeterPro(CO2)'].pushRate"
|
|
13484
|
+
]
|
|
13485
|
+
},
|
|
13043
13486
|
{
|
|
13044
13487
|
"type": "fieldset",
|
|
13045
13488
|
"title": "Indoor Outdoor Sensor Settings",
|