homebridge-tasmota-control 1.7.6 → 1.7.8
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/config.schema.json +182 -176
- package/package.json +1 -1
package/config.schema.json
CHANGED
|
@@ -18,21 +18,18 @@
|
|
|
18
18
|
"name": {
|
|
19
19
|
"title": "Name",
|
|
20
20
|
"type": "string",
|
|
21
|
-
"placeholder": "socket"
|
|
22
|
-
"required": true
|
|
21
|
+
"placeholder": "socket"
|
|
23
22
|
},
|
|
24
23
|
"host": {
|
|
25
24
|
"title": "IP/Hostname",
|
|
26
25
|
"type": "string",
|
|
27
26
|
"placeholder": "192.168.1.5",
|
|
28
|
-
"format": "hostname"
|
|
29
|
-
"required": true
|
|
27
|
+
"format": "hostname"
|
|
30
28
|
},
|
|
31
29
|
"auth": {
|
|
32
30
|
"title": "Authorization",
|
|
33
31
|
"type": "boolean",
|
|
34
|
-
"default": false
|
|
35
|
-
"required": false
|
|
32
|
+
"default": false
|
|
36
33
|
},
|
|
37
34
|
"user": {
|
|
38
35
|
"title": "User",
|
|
@@ -40,8 +37,7 @@
|
|
|
40
37
|
"placeholder": "username",
|
|
41
38
|
"condition": {
|
|
42
39
|
"functionBody": "return model.devices[arrayIndices].auth === true;"
|
|
43
|
-
}
|
|
44
|
-
"required": false
|
|
40
|
+
}
|
|
45
41
|
},
|
|
46
42
|
"passwd": {
|
|
47
43
|
"title": "Password",
|
|
@@ -50,15 +46,13 @@
|
|
|
50
46
|
"format": "password",
|
|
51
47
|
"condition": {
|
|
52
48
|
"functionBody": "return model.devices[arrayIndices].auth === true;"
|
|
53
|
-
}
|
|
54
|
-
"required": false
|
|
49
|
+
}
|
|
55
50
|
},
|
|
56
51
|
"disableAccessory": {
|
|
57
52
|
"title": "Disable Accessory",
|
|
58
53
|
"type": "boolean",
|
|
59
54
|
"default": false,
|
|
60
|
-
"description": "Here You can disable this accessory."
|
|
61
|
-
"required": false
|
|
55
|
+
"description": "Here You can disable this accessory."
|
|
62
56
|
},
|
|
63
57
|
"miElHvac": {
|
|
64
58
|
"title": "RESTFul",
|
|
@@ -96,8 +90,7 @@
|
|
|
96
90
|
]
|
|
97
91
|
}
|
|
98
92
|
],
|
|
99
|
-
"description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled."
|
|
100
|
-
"required": true
|
|
93
|
+
"description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled."
|
|
101
94
|
},
|
|
102
95
|
"coolDryFanMode": {
|
|
103
96
|
"title": "Cool",
|
|
@@ -131,8 +124,7 @@
|
|
|
131
124
|
]
|
|
132
125
|
}
|
|
133
126
|
],
|
|
134
|
-
"description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled."
|
|
135
|
-
"required": true
|
|
127
|
+
"description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled."
|
|
136
128
|
},
|
|
137
129
|
"autoDryFanMode": {
|
|
138
130
|
"title": "Auto",
|
|
@@ -166,8 +158,7 @@
|
|
|
166
158
|
]
|
|
167
159
|
}
|
|
168
160
|
],
|
|
169
|
-
"description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled."
|
|
170
|
-
"required": true
|
|
161
|
+
"description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled."
|
|
171
162
|
},
|
|
172
163
|
"remoteTemperatureSensor": {
|
|
173
164
|
"title": "External Sensor",
|
|
@@ -177,8 +168,7 @@
|
|
|
177
168
|
"title": "Activate",
|
|
178
169
|
"type": "boolean",
|
|
179
170
|
"default": false,
|
|
180
|
-
"description": "This enable external remote sensor for A.C. device."
|
|
181
|
-
"required": false
|
|
171
|
+
"description": "This enable external remote sensor for A.C. device."
|
|
182
172
|
},
|
|
183
173
|
"path": {
|
|
184
174
|
"title": "Path",
|
|
@@ -188,8 +178,7 @@
|
|
|
188
178
|
"description": "Here set the path to the external temperature sensor.",
|
|
189
179
|
"condition": {
|
|
190
180
|
"functionBody": "return model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.enable === true;"
|
|
191
|
-
}
|
|
192
|
-
"required": false
|
|
181
|
+
}
|
|
193
182
|
},
|
|
194
183
|
"refreshInterval": {
|
|
195
184
|
"title": "Refresh Interval",
|
|
@@ -201,8 +190,7 @@
|
|
|
201
190
|
"description": "Here set the sensor data refresh time in (sec).",
|
|
202
191
|
"condition": {
|
|
203
192
|
"functionBody": "return model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.enable === true;"
|
|
204
|
-
}
|
|
205
|
-
"required": false
|
|
193
|
+
}
|
|
206
194
|
},
|
|
207
195
|
"auth": {
|
|
208
196
|
"title": "Authorization",
|
|
@@ -210,8 +198,7 @@
|
|
|
210
198
|
"default": false,
|
|
211
199
|
"condition": {
|
|
212
200
|
"functionBody": "return model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.enable === true;"
|
|
213
|
-
}
|
|
214
|
-
"required": false
|
|
201
|
+
}
|
|
215
202
|
},
|
|
216
203
|
"user": {
|
|
217
204
|
"title": "User",
|
|
@@ -219,8 +206,7 @@
|
|
|
219
206
|
"placeholder": "username",
|
|
220
207
|
"condition": {
|
|
221
208
|
"functionBody": "return model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.enable === true && model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.auth === true;"
|
|
222
|
-
}
|
|
223
|
-
"required": false
|
|
209
|
+
}
|
|
224
210
|
},
|
|
225
211
|
"passwd": {
|
|
226
212
|
"title": "Password",
|
|
@@ -229,8 +215,7 @@
|
|
|
229
215
|
"format": "password",
|
|
230
216
|
"condition": {
|
|
231
217
|
"functionBody": "return model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.enable === true && model.devices[arrayIndices].miElHvac.remoteTemperatureSensor.auth === true;"
|
|
232
|
-
}
|
|
233
|
-
"required": false
|
|
218
|
+
}
|
|
234
219
|
}
|
|
235
220
|
}
|
|
236
221
|
},
|
|
@@ -240,12 +225,60 @@
|
|
|
240
225
|
"items": {
|
|
241
226
|
"type": "object",
|
|
242
227
|
"properties": {
|
|
228
|
+
"displayType": {
|
|
229
|
+
"title": "Type",
|
|
230
|
+
"type": "integer",
|
|
231
|
+
"minimum": 0,
|
|
232
|
+
"maximum": 5,
|
|
233
|
+
"default": 0,
|
|
234
|
+
"oneOf": [
|
|
235
|
+
{
|
|
236
|
+
"title": "None/Disabled",
|
|
237
|
+
"enum": [
|
|
238
|
+
0
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"title": "Outlet",
|
|
243
|
+
"enum": [
|
|
244
|
+
1
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"title": "Switch",
|
|
249
|
+
"enum": [
|
|
250
|
+
2
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"title": "Motion Sensor",
|
|
255
|
+
"enum": [
|
|
256
|
+
3
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"title": "Occupancy Sensor",
|
|
261
|
+
"enum": [
|
|
262
|
+
4
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"title": "Contact Sensor",
|
|
267
|
+
"enum": [
|
|
268
|
+
5
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"description": "Select the characteristic type to be displayed in HomeKit app."
|
|
273
|
+
},
|
|
243
274
|
"name": {
|
|
244
275
|
"title": "Name",
|
|
245
276
|
"type": "string",
|
|
246
277
|
"placeholder": "Preset name",
|
|
247
278
|
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
248
|
-
"
|
|
279
|
+
"condition": {
|
|
280
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0;"
|
|
281
|
+
}
|
|
249
282
|
},
|
|
250
283
|
"mode": {
|
|
251
284
|
"title": "Operation Mode",
|
|
@@ -284,7 +317,9 @@
|
|
|
284
317
|
}
|
|
285
318
|
],
|
|
286
319
|
"description": "Select the operation mode.",
|
|
287
|
-
"
|
|
320
|
+
"condition": {
|
|
321
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0;"
|
|
322
|
+
}
|
|
288
323
|
},
|
|
289
324
|
"setTemp": {
|
|
290
325
|
"title": "Target Temperature",
|
|
@@ -295,9 +330,8 @@
|
|
|
295
330
|
"default": 20,
|
|
296
331
|
"description": "Here set the target temperature.",
|
|
297
332
|
"condition": {
|
|
298
|
-
"functionBody": "return model.devices[arrayIndices].miElHvac.presets[arrayIndices].mode === heat ||
|
|
299
|
-
}
|
|
300
|
-
"required": false
|
|
333
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0 && (model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].mode === heat || model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].mode === cool || model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].mode === auto);"
|
|
334
|
+
}
|
|
301
335
|
},
|
|
302
336
|
"fanSpeed": {
|
|
303
337
|
"title": "Fan Speed",
|
|
@@ -341,7 +375,9 @@
|
|
|
341
375
|
}
|
|
342
376
|
],
|
|
343
377
|
"description": "Select the fan speed.",
|
|
344
|
-
"
|
|
378
|
+
"condition": {
|
|
379
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0;"
|
|
380
|
+
}
|
|
345
381
|
},
|
|
346
382
|
"swingV": {
|
|
347
383
|
"title": "VANE Vertical Direction",
|
|
@@ -392,7 +428,9 @@
|
|
|
392
428
|
}
|
|
393
429
|
],
|
|
394
430
|
"description": "Select the vane vertical direction.",
|
|
395
|
-
"
|
|
431
|
+
"condition": {
|
|
432
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0;"
|
|
433
|
+
}
|
|
396
434
|
},
|
|
397
435
|
"swingH": {
|
|
398
436
|
"title": "VANE Horizontal Direction",
|
|
@@ -461,13 +499,36 @@
|
|
|
461
499
|
}
|
|
462
500
|
],
|
|
463
501
|
"description": "Select the vane horizontal direction.",
|
|
464
|
-
"
|
|
502
|
+
"condition": {
|
|
503
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0;"
|
|
504
|
+
}
|
|
465
505
|
},
|
|
506
|
+
"namePrefix": {
|
|
507
|
+
"title": "Prefix",
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"default": false,
|
|
510
|
+
"description": "Enable/disable the accessory name as a prefix for button/sensor name.",
|
|
511
|
+
"condition": {
|
|
512
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.presets[arrayIndices[1]].displayType > 0;"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"required": [
|
|
517
|
+
"displayType"
|
|
518
|
+
]
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"buttons": {
|
|
522
|
+
"title": "Button",
|
|
523
|
+
"type": "array",
|
|
524
|
+
"items": {
|
|
525
|
+
"type": "object",
|
|
526
|
+
"properties": {
|
|
466
527
|
"displayType": {
|
|
467
528
|
"title": "Type",
|
|
468
529
|
"type": "integer",
|
|
469
530
|
"minimum": 0,
|
|
470
|
-
"maximum":
|
|
531
|
+
"maximum": 2,
|
|
471
532
|
"default": 0,
|
|
472
533
|
"oneOf": [
|
|
473
534
|
{
|
|
@@ -487,51 +548,18 @@
|
|
|
487
548
|
"enum": [
|
|
488
549
|
2
|
|
489
550
|
]
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"title": "Motion Sensor",
|
|
493
|
-
"enum": [
|
|
494
|
-
3
|
|
495
|
-
]
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"title": "Occupancy Sensor",
|
|
499
|
-
"enum": [
|
|
500
|
-
4
|
|
501
|
-
]
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"title": "Contact Sensor",
|
|
505
|
-
"enum": [
|
|
506
|
-
5
|
|
507
|
-
]
|
|
508
551
|
}
|
|
509
552
|
],
|
|
510
|
-
"description": "Select the characteristic type to be displayed in HomeKit app."
|
|
511
|
-
"required": true
|
|
553
|
+
"description": "Select the characteristic type to be displayed in HomeKit app."
|
|
512
554
|
},
|
|
513
|
-
"namePrefix": {
|
|
514
|
-
"title": "Prefix",
|
|
515
|
-
"type": "boolean",
|
|
516
|
-
"default": false,
|
|
517
|
-
"description": "Enable/disable the accessory name as a prefix for button/sensor name.",
|
|
518
|
-
"required": false
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
"buttons": {
|
|
524
|
-
"title": "Button",
|
|
525
|
-
"type": "array",
|
|
526
|
-
"items": {
|
|
527
|
-
"type": "object",
|
|
528
|
-
"properties": {
|
|
529
555
|
"name": {
|
|
530
556
|
"title": "Name",
|
|
531
557
|
"type": "string",
|
|
532
558
|
"placeholder": "Button name",
|
|
533
559
|
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
534
|
-
"
|
|
560
|
+
"condition": {
|
|
561
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.buttons[arrayIndices[1]].displayType > 0;"
|
|
562
|
+
}
|
|
535
563
|
},
|
|
536
564
|
"mode": {
|
|
537
565
|
"title": "Mode",
|
|
@@ -776,13 +804,36 @@
|
|
|
776
804
|
]
|
|
777
805
|
}
|
|
778
806
|
],
|
|
779
|
-
"
|
|
807
|
+
"condition": {
|
|
808
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.buttons[arrayIndices[1]].displayType > 0;"
|
|
809
|
+
}
|
|
780
810
|
},
|
|
811
|
+
"namePrefix": {
|
|
812
|
+
"title": "Prefix",
|
|
813
|
+
"type": "boolean",
|
|
814
|
+
"default": false,
|
|
815
|
+
"description": "Enable/disable the accessory name as a prefix for button name.",
|
|
816
|
+
"condition": {
|
|
817
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.buttons[arrayIndices[1]].displayType > 0;"
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"required": [
|
|
822
|
+
"displayType"
|
|
823
|
+
]
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"sensors": {
|
|
827
|
+
"title": "Sensor",
|
|
828
|
+
"type": "array",
|
|
829
|
+
"items": {
|
|
830
|
+
"type": "object",
|
|
831
|
+
"properties": {
|
|
781
832
|
"displayType": {
|
|
782
833
|
"title": "Type",
|
|
783
834
|
"type": "integer",
|
|
784
835
|
"minimum": 0,
|
|
785
|
-
"maximum":
|
|
836
|
+
"maximum": 3,
|
|
786
837
|
"default": 0,
|
|
787
838
|
"oneOf": [
|
|
788
839
|
{
|
|
@@ -792,43 +843,34 @@
|
|
|
792
843
|
]
|
|
793
844
|
},
|
|
794
845
|
{
|
|
795
|
-
"title": "
|
|
846
|
+
"title": "Motion Sensor",
|
|
796
847
|
"enum": [
|
|
797
848
|
1
|
|
798
849
|
]
|
|
799
850
|
},
|
|
800
851
|
{
|
|
801
|
-
"title": "
|
|
852
|
+
"title": "Occupancy Sensor",
|
|
802
853
|
"enum": [
|
|
803
854
|
2
|
|
804
855
|
]
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"title": "Contact Sensor",
|
|
859
|
+
"enum": [
|
|
860
|
+
3
|
|
861
|
+
]
|
|
805
862
|
}
|
|
806
863
|
],
|
|
807
|
-
"description": "Select the characteristic type to be displayed in HomeKit app."
|
|
808
|
-
"required": true
|
|
864
|
+
"description": "Select the characteristic type to be displayed in HomeKit app."
|
|
809
865
|
},
|
|
810
|
-
"namePrefix": {
|
|
811
|
-
"title": "Prefix",
|
|
812
|
-
"type": "boolean",
|
|
813
|
-
"default": false,
|
|
814
|
-
"description": "Enable/disable the accessory name as a prefix for button name.",
|
|
815
|
-
"required": false
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
|
-
"sensors": {
|
|
821
|
-
"title": "Sensor",
|
|
822
|
-
"type": "array",
|
|
823
|
-
"items": {
|
|
824
|
-
"type": "object",
|
|
825
|
-
"properties": {
|
|
826
866
|
"name": {
|
|
827
867
|
"title": "Name",
|
|
828
868
|
"type": "string",
|
|
829
869
|
"placeholder": "Sensor name",
|
|
830
870
|
"description": "Your own name displayed in Homebridge/HomeKit app.",
|
|
831
|
-
"
|
|
871
|
+
"condition": {
|
|
872
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.sensors[arrayIndices[1]].displayType > 0;"
|
|
873
|
+
}
|
|
832
874
|
},
|
|
833
875
|
"mode": {
|
|
834
876
|
"title": "Mode",
|
|
@@ -1169,51 +1211,23 @@
|
|
|
1169
1211
|
]
|
|
1170
1212
|
}
|
|
1171
1213
|
],
|
|
1172
|
-
"
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
"title": "Type",
|
|
1176
|
-
"type": "integer",
|
|
1177
|
-
"minimum": 0,
|
|
1178
|
-
"maximum": 3,
|
|
1179
|
-
"default": 0,
|
|
1180
|
-
"oneOf": [
|
|
1181
|
-
{
|
|
1182
|
-
"title": "None/Disabled",
|
|
1183
|
-
"enum": [
|
|
1184
|
-
0
|
|
1185
|
-
]
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
"title": "Motion Sensor",
|
|
1189
|
-
"enum": [
|
|
1190
|
-
1
|
|
1191
|
-
]
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"title": "Occupancy Sensor",
|
|
1195
|
-
"enum": [
|
|
1196
|
-
2
|
|
1197
|
-
]
|
|
1198
|
-
},
|
|
1199
|
-
{
|
|
1200
|
-
"title": "Contact Sensor",
|
|
1201
|
-
"enum": [
|
|
1202
|
-
3
|
|
1203
|
-
]
|
|
1204
|
-
}
|
|
1205
|
-
],
|
|
1206
|
-
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1207
|
-
"required": true
|
|
1214
|
+
"condition": {
|
|
1215
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.sensors[arrayIndices[1]].displayType > 0;"
|
|
1216
|
+
}
|
|
1208
1217
|
},
|
|
1209
1218
|
"namePrefix": {
|
|
1210
1219
|
"title": "Prefix",
|
|
1211
1220
|
"type": "boolean",
|
|
1212
1221
|
"default": false,
|
|
1213
1222
|
"description": "Enable/disable the accessory name as a prefix for sensor name.",
|
|
1214
|
-
"
|
|
1223
|
+
"condition": {
|
|
1224
|
+
"functionBody": "return model.devices[arrayIndices[0]].miElHvac.sensors[arrayIndices[1]].displayType > 0;"
|
|
1225
|
+
}
|
|
1215
1226
|
}
|
|
1216
|
-
}
|
|
1227
|
+
},
|
|
1228
|
+
"required": [
|
|
1229
|
+
"displayType"
|
|
1230
|
+
]
|
|
1217
1231
|
}
|
|
1218
1232
|
},
|
|
1219
1233
|
"frostProtect": {
|
|
@@ -1237,8 +1251,7 @@
|
|
|
1237
1251
|
"description": "Here set the low temperature at which device start to frost protect.",
|
|
1238
1252
|
"condition": {
|
|
1239
1253
|
"functionBody": "return model.devices[arrayIndices].miElHvac.frostProtect.enable === true;"
|
|
1240
|
-
}
|
|
1241
|
-
"required": false
|
|
1254
|
+
}
|
|
1242
1255
|
},
|
|
1243
1256
|
"highTemp": {
|
|
1244
1257
|
"title": "High Temperature",
|
|
@@ -1250,8 +1263,7 @@
|
|
|
1250
1263
|
"description": "Here set the high temperature at which device will be disable.",
|
|
1251
1264
|
"condition": {
|
|
1252
1265
|
"functionBody": "return model.devices[arrayIndices].miElHvac.frostProtect.enable === true;"
|
|
1253
|
-
}
|
|
1254
|
-
"required": false
|
|
1266
|
+
}
|
|
1255
1267
|
}
|
|
1256
1268
|
}
|
|
1257
1269
|
},
|
|
@@ -1259,17 +1271,20 @@
|
|
|
1259
1271
|
"title": "Room",
|
|
1260
1272
|
"type": "boolean",
|
|
1261
1273
|
"default": false,
|
|
1262
|
-
"description": "This enable extra room temperature sensor to use with automations in HomeKit app."
|
|
1263
|
-
"required": false
|
|
1274
|
+
"description": "This enable extra room temperature sensor to use with automations in HomeKit app."
|
|
1264
1275
|
},
|
|
1265
1276
|
"temperatureSensorOutdoor": {
|
|
1266
1277
|
"title": "Outdoor",
|
|
1267
1278
|
"type": "boolean",
|
|
1268
1279
|
"default": false,
|
|
1269
|
-
"description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app."
|
|
1270
|
-
"required": false
|
|
1280
|
+
"description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app."
|
|
1271
1281
|
}
|
|
1272
|
-
}
|
|
1282
|
+
},
|
|
1283
|
+
"required": [
|
|
1284
|
+
"heatDryFanMode",
|
|
1285
|
+
"coolDryFanMode",
|
|
1286
|
+
"autoDryFanMode"
|
|
1287
|
+
]
|
|
1273
1288
|
},
|
|
1274
1289
|
"relaysDisplayType": {
|
|
1275
1290
|
"title": "Display Type",
|
|
@@ -1291,43 +1306,37 @@
|
|
|
1291
1306
|
]
|
|
1292
1307
|
}
|
|
1293
1308
|
],
|
|
1294
|
-
"description": "Here select characteristic display type for relays which are exposed in the HomeKit app."
|
|
1295
|
-
"required": false
|
|
1309
|
+
"description": "Here select characteristic display type for relays which are exposed in the HomeKit app."
|
|
1296
1310
|
},
|
|
1297
1311
|
"relaysNamePrefix": {
|
|
1298
1312
|
"title": "Name Prefix",
|
|
1299
1313
|
"type": "boolean",
|
|
1300
1314
|
"default": false,
|
|
1301
|
-
"description": "Here enable/disable the accessory name as a prefix for relays name."
|
|
1302
|
-
"required": false
|
|
1315
|
+
"description": "Here enable/disable the accessory name as a prefix for relays name."
|
|
1303
1316
|
},
|
|
1304
1317
|
"lightsNamePrefix": {
|
|
1305
1318
|
"title": "Name Prefix",
|
|
1306
1319
|
"type": "boolean",
|
|
1307
1320
|
"default": false,
|
|
1308
|
-
"description": "Here enable/disable the accessory name as a prefix for light name."
|
|
1309
|
-
"required": false
|
|
1321
|
+
"description": "Here enable/disable the accessory name as a prefix for light name."
|
|
1310
1322
|
},
|
|
1311
1323
|
"fansNamePrefix": {
|
|
1312
1324
|
"title": "Name Prefix",
|
|
1313
1325
|
"type": "boolean",
|
|
1314
1326
|
"default": false,
|
|
1315
|
-
"description": "Here enable/disable the accessory name as a prefix for fan name."
|
|
1316
|
-
"required": false
|
|
1327
|
+
"description": "Here enable/disable the accessory name as a prefix for fan name."
|
|
1317
1328
|
},
|
|
1318
1329
|
"sensorsNamePrefix": {
|
|
1319
1330
|
"title": "Name Prefix",
|
|
1320
1331
|
"type": "boolean",
|
|
1321
1332
|
"default": false,
|
|
1322
|
-
"description": "Here enable/disable the accessory name as a prefix for sensors name."
|
|
1323
|
-
"required": false
|
|
1333
|
+
"description": "Here enable/disable the accessory name as a prefix for sensors name."
|
|
1324
1334
|
},
|
|
1325
1335
|
"loadNameFromDevice": {
|
|
1326
1336
|
"title": "Load Name From Device",
|
|
1327
1337
|
"type": "boolean",
|
|
1328
1338
|
"default": false,
|
|
1329
|
-
"description": "If enabled, the accessory name will be loaded direct from device."
|
|
1330
|
-
"required": false
|
|
1339
|
+
"description": "If enabled, the accessory name will be loaded direct from device."
|
|
1331
1340
|
},
|
|
1332
1341
|
"refreshInterval": {
|
|
1333
1342
|
"title": "Refresh Interval",
|
|
@@ -1336,47 +1345,44 @@
|
|
|
1336
1345
|
"maximum": 60,
|
|
1337
1346
|
"multipleOf": 0.5,
|
|
1338
1347
|
"default": 5,
|
|
1339
|
-
"description": "Here set the data refresh time in (sec)."
|
|
1340
|
-
"required": true
|
|
1348
|
+
"description": "Here set the data refresh time in (sec)."
|
|
1341
1349
|
},
|
|
1342
1350
|
"disableLogDeviceInfo": {
|
|
1343
1351
|
"title": "Disable Log Device Info",
|
|
1344
1352
|
"type": "boolean",
|
|
1345
1353
|
"default": false,
|
|
1346
|
-
"description": "This disable logging device info by every connections device to the network."
|
|
1347
|
-
"required": false
|
|
1354
|
+
"description": "This disable logging device info by every connections device to the network."
|
|
1348
1355
|
},
|
|
1349
1356
|
"disableLogInfo": {
|
|
1350
1357
|
"title": "Disable Log Info",
|
|
1351
1358
|
"type": "boolean",
|
|
1352
|
-
"default": false
|
|
1353
|
-
"required": false
|
|
1359
|
+
"default": false
|
|
1354
1360
|
},
|
|
1355
1361
|
"disableLogSuccess": {
|
|
1356
1362
|
"title": "Disable Log Success",
|
|
1357
1363
|
"type": "boolean",
|
|
1358
|
-
"default": false
|
|
1359
|
-
"required": false
|
|
1364
|
+
"default": false
|
|
1360
1365
|
},
|
|
1361
1366
|
"disableLogWarn": {
|
|
1362
1367
|
"title": "Disable Log Warn",
|
|
1363
1368
|
"type": "boolean",
|
|
1364
|
-
"default": false
|
|
1365
|
-
"required": false
|
|
1369
|
+
"default": false
|
|
1366
1370
|
},
|
|
1367
1371
|
"disableLogError": {
|
|
1368
1372
|
"title": "Disable Log Error",
|
|
1369
1373
|
"type": "boolean",
|
|
1370
|
-
"default": false
|
|
1371
|
-
"required": false
|
|
1374
|
+
"default": false
|
|
1372
1375
|
},
|
|
1373
1376
|
"enableDebugMode": {
|
|
1374
1377
|
"title": "Enable Log Debug",
|
|
1375
1378
|
"type": "boolean",
|
|
1376
|
-
"default": false
|
|
1377
|
-
"required": false
|
|
1379
|
+
"default": false
|
|
1378
1380
|
}
|
|
1379
|
-
}
|
|
1381
|
+
},
|
|
1382
|
+
"required": [
|
|
1383
|
+
"name",
|
|
1384
|
+
"host"
|
|
1385
|
+
]
|
|
1380
1386
|
}
|
|
1381
1387
|
}
|
|
1382
1388
|
}
|
|
@@ -1439,13 +1445,13 @@
|
|
|
1439
1445
|
"type": "tabarray",
|
|
1440
1446
|
"title": "{{ value.name || 'preset'}}",
|
|
1441
1447
|
"items": [
|
|
1448
|
+
"devices[].miElHvac.presets[].displayType",
|
|
1442
1449
|
"devices[].miElHvac.presets[].name",
|
|
1443
1450
|
"devices[].miElHvac.presets[].mode",
|
|
1444
1451
|
"devices[].miElHvac.presets[].setTemp",
|
|
1445
1452
|
"devices[].miElHvac.presets[].fanSpeed",
|
|
1446
1453
|
"devices[].miElHvac.presets[].swingV",
|
|
1447
1454
|
"devices[].miElHvac.presets[].swingH",
|
|
1448
|
-
"devices[].miElHvac.presets[].displayType",
|
|
1449
1455
|
"devices[].miElHvac.presets[].namePrefix"
|
|
1450
1456
|
]
|
|
1451
1457
|
}
|
|
@@ -1463,9 +1469,9 @@
|
|
|
1463
1469
|
"type": "tabarray",
|
|
1464
1470
|
"title": "{{ value.name || 'button' }}",
|
|
1465
1471
|
"items": [
|
|
1472
|
+
"devices[].miElHvac.buttons[].displayType",
|
|
1466
1473
|
"devices[].miElHvac.buttons[].name",
|
|
1467
1474
|
"devices[].miElHvac.buttons[].mode",
|
|
1468
|
-
"devices[].miElHvac.buttons[].displayType",
|
|
1469
1475
|
"devices[].miElHvac.buttons[].namePrefix"
|
|
1470
1476
|
]
|
|
1471
1477
|
}
|
|
@@ -1485,9 +1491,9 @@
|
|
|
1485
1491
|
"type": "tabarray",
|
|
1486
1492
|
"title": "{{ value.name || 'sensor' }}",
|
|
1487
1493
|
"items": [
|
|
1494
|
+
"devices[].miElHvac.sensors[].displayType",
|
|
1488
1495
|
"devices[].miElHvac.sensors[].name",
|
|
1489
1496
|
"devices[].miElHvac.sensors[].mode",
|
|
1490
|
-
"devices[].miElHvac.sensors[].displayType",
|
|
1491
1497
|
"devices[].miElHvac.sensors[].namePrefix"
|
|
1492
1498
|
]
|
|
1493
1499
|
}
|
package/package.json
CHANGED