homebridge-melcloud-control 2.5.0-beta.8 → 2.5.0-beta.81

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.
@@ -12,7 +12,6 @@
12
12
  "accounts": {
13
13
  "type": "array",
14
14
  "items": {
15
- "title": "MELCloud accounts",
16
15
  "type": "object",
17
16
  "properties": {
18
17
  "name": {
@@ -205,562 +204,8 @@
205
204
  "description": "Here select the language used in MELCloud account.",
206
205
  "required": true
207
206
  },
208
- "ataDisplayMode": {
209
- "title": "Control",
210
- "type": "integer",
211
- "minimum": 0,
212
- "maximum": 1,
213
- "default": 0,
214
- "oneOf": [
215
- {
216
- "title": "Heater/Cooler",
217
- "enum": [
218
- 0
219
- ]
220
- },
221
- {
222
- "title": "Thermostat",
223
- "enum": [
224
- 1
225
- ]
226
- }
227
- ],
228
- "description": "Select device control mode displayed in HomeKit app.",
229
- "required": true
230
- },
231
- "ataHeatDryFanMode": {
232
- "title": "Heat",
233
- "type": "integer",
234
- "minimum": 0,
235
- "maximum": 3,
236
- "default": 1,
237
- "oneOf": [
238
- {
239
- "title": "None/Disabled",
240
- "enum": [
241
- 0
242
- ]
243
- },
244
- {
245
- "title": "Heat",
246
- "enum": [
247
- 1
248
- ]
249
- },
250
- {
251
- "title": "Dry",
252
- "enum": [
253
- 2
254
- ]
255
- },
256
- {
257
- "title": "Fan",
258
- "enum": [
259
- 3
260
- ]
261
- }
262
- ],
263
- "description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled.",
264
- "required": true
265
- },
266
- "ataCoolDryFanMode": {
267
- "title": "Cool",
268
- "type": "integer",
269
- "minimum": 0,
270
- "maximum": 3,
271
- "default": 1,
272
- "oneOf": [
273
- {
274
- "title": "None/Disabled",
275
- "enum": [
276
- 0
277
- ]
278
- },
279
- {
280
- "title": "Cool",
281
- "enum": [
282
- 1
283
- ]
284
- },
285
- {
286
- "title": "Dry",
287
- "enum": [
288
- 2
289
- ]
290
- },
291
- {
292
- "title": "Fan",
293
- "enum": [
294
- 3
295
- ]
296
- }
297
- ],
298
- "description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled.",
299
- "required": true
300
- },
301
- "ataAutoDryFanMode": {
302
- "title": "Auto",
303
- "type": "integer",
304
- "minimum": 0,
305
- "maximum": 3,
306
- "default": 1,
307
- "oneOf": [
308
- {
309
- "title": "None/Disabled",
310
- "enum": [
311
- 0
312
- ]
313
- },
314
- {
315
- "title": "Auto",
316
- "enum": [
317
- 1
318
- ]
319
- },
320
- {
321
- "title": "Dry",
322
- "enum": [
323
- 2
324
- ]
325
- },
326
- {
327
- "title": "Fan",
328
- "enum": [
329
- 3
330
- ]
331
- }
332
- ],
333
- "description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled.",
334
- "required": true
335
- },
336
- "ataPresets": {
337
- "title": "Presets",
338
- "type": "boolean",
339
- "default": false,
340
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
341
- "required": false
342
- },
343
- "ataTemperatureSensor": {
344
- "title": "Room",
345
- "type": "boolean",
346
- "default": false,
347
- "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
348
- "required": false
349
- },
350
- "ataTemperatureSensorOutdoor": {
351
- "title": "Outdoor",
352
- "type": "boolean",
353
- "default": false,
354
- "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
355
- "required": false
356
- },
357
- "ataButtons": {
358
- "title": "Button / Sensor",
359
- "type": "array",
360
- "items": {
361
- "type": "object",
362
- "properties": {
363
- "name": {
364
- "title": "Name",
365
- "type": "string",
366
- "placeholder": "Button name",
367
- "description": "Your own name displayed in Homebridge/HomeKit app.",
368
- "required": true
369
- },
370
- "mode": {
371
- "title": "Mode",
372
- "type": "integer",
373
- "minimum": 0,
374
- "maximum": 40,
375
- "description": "Function, VH - Vane Horizontal, VV - Vane Vertical.",
376
- "oneOf": [
377
- {
378
- "title": "POWER ON/OFF",
379
- "enum": [
380
- 0
381
- ]
382
- },
383
- {
384
- "title": "MODE HEAT",
385
- "enum": [
386
- 1
387
- ]
388
- },
389
- {
390
- "title": "MODE DRY",
391
- "enum": [
392
- 2
393
- ]
394
- },
395
- {
396
- "title": "MODE COOL",
397
- "enum": [
398
- 3
399
- ]
400
- },
401
- {
402
- "title": "MODE FAN",
403
- "enum": [
404
- 4
405
- ]
406
- },
407
- {
408
- "title": "MODE AUTO",
409
- "enum": [
410
- 5
411
- ]
412
- },
413
- {
414
- "title": "MODE PURIFY",
415
- "enum": [
416
- 6
417
- ]
418
- },
419
- {
420
- "title": "MODE DRY CONTROL HIDE",
421
- "enum": [
422
- 7
423
- ]
424
- },
425
- {
426
- "title": "VH MODE AUTO",
427
- "enum": [
428
- 10
429
- ]
430
- },
431
- {
432
- "title": "VH MODE 1 / LEFT",
433
- "enum": [
434
- 11
435
- ]
436
- },
437
- {
438
- "title": "VH MODE 2",
439
- "enum": [
440
- 12
441
- ]
442
- },
443
- {
444
- "title": "VH MODE 3 / CENTER",
445
- "enum": [
446
- 13
447
- ]
448
- },
449
- {
450
- "title": "VH MODE 4",
451
- "enum": [
452
- 14
453
- ]
454
- },
455
- {
456
- "title": "VH MODE 5 / RIGHT",
457
- "enum": [
458
- 15
459
- ]
460
- },
461
- {
462
- "title": "VH MODE SPLIT",
463
- "enum": [
464
- 16
465
- ]
466
- },
467
- {
468
- "title": "VH MODE SWING",
469
- "enum": [
470
- 17
471
- ]
472
- },
473
- {
474
- "title": "VV MODE AUTO",
475
- "enum": [
476
- 20
477
- ]
478
- },
479
- {
480
- "title": "VV MODE 1 / UP",
481
- "enum": [
482
- 21
483
- ]
484
- },
485
- {
486
- "title": "VV MODE 2",
487
- "enum": [
488
- 22
489
- ]
490
- },
491
- {
492
- "title": "VV MODE 3 / CENTER",
493
- "enum": [
494
- 23
495
- ]
496
- },
497
- {
498
- "title": "VV MODE 4",
499
- "enum": [
500
- 24
501
- ]
502
- },
503
- {
504
- "title": "VV MODE 5 / DOWN",
505
- "enum": [
506
- 25
507
- ]
508
- },
509
- {
510
- "title": "VV SWING",
511
- "enum": [
512
- 26
513
- ]
514
- },
515
- {
516
- "title": "VH/VV CONTROLS HIDE",
517
- "enum": [
518
- 27
519
- ]
520
- },
521
- {
522
- "title": "FAN MODE AUTO",
523
- "enum": [
524
- 30
525
- ]
526
- },
527
- {
528
- "title": "FAN MODE 1",
529
- "enum": [
530
- 31
531
- ]
532
- },
533
- {
534
- "title": "FAN MODE 2",
535
- "enum": [
536
- 32
537
- ]
538
- },
539
- {
540
- "title": "FAN MODE 3",
541
- "enum": [
542
- 33
543
- ]
544
- },
545
- {
546
- "title": "FAN MODE 4",
547
- "enum": [
548
- 34
549
- ]
550
- },
551
- {
552
- "title": "FAN MODE 5",
553
- "enum": [
554
- 35
555
- ]
556
- },
557
- {
558
- "title": "FAN MODE 6",
559
- "enum": [
560
- 36
561
- ]
562
- },
563
- {
564
- "title": "LOCK CONTROL All",
565
- "enum": [
566
- 37
567
- ]
568
- },
569
- {
570
- "title": "LOCK CONTROL POWER",
571
- "enum": [
572
- 38
573
- ]
574
- },
575
- {
576
- "title": "LOCK CONTROL MODE",
577
- "enum": [
578
- 39
579
- ]
580
- },
581
- {
582
- "title": "LOCK CONTROL TEMPERATURE",
583
- "enum": [
584
- 40
585
- ]
586
- }
587
- ],
588
- "required": true
589
- },
590
- "displayType": {
591
- "title": "Type",
592
- "type": "integer",
593
- "minimum": 0,
594
- "maximum": 5,
595
- "oneOf": [
596
- {
597
- "title": "None/Disabled",
598
- "enum": [
599
- 0
600
- ]
601
- },
602
- {
603
- "title": "Outlet",
604
- "enum": [
605
- 1
606
- ]
607
- },
608
- {
609
- "title": "Switch",
610
- "enum": [
611
- 2
612
- ]
613
- },
614
- {
615
- "title": "Motion Sensor",
616
- "enum": [
617
- 3
618
- ]
619
- },
620
- {
621
- "title": "Occupancy Sensor",
622
- "enum": [
623
- 4
624
- ]
625
- },
626
- {
627
- "title": "Contact Sensor",
628
- "enum": [
629
- 5
630
- ]
631
- }
632
- ],
633
- "description": "Select the characteristic type to be displayed in HomeKit app.",
634
- "required": true
635
- },
636
- "namePrefix": {
637
- "title": "Prefix",
638
- "type": "boolean",
639
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
640
- "required": false
641
- }
642
- }
643
- },
644
- "required": false
645
- },
646
- "ataHideDeviceById": {
647
- "title": "Hide Device By Id",
648
- "type": "array",
649
- "items": {
650
- "type": "object",
651
- "properties": {
652
- "name": {
653
- "title": "Name",
654
- "type": "string",
655
- "placeholder": "Device name",
656
- "description": "Your own name.",
657
- "required": false
658
- },
659
- "id": {
660
- "title": "Id",
661
- "type": "string",
662
- "description": "Set device Id to be hidden and not exposed to the Homebridge/Homekit.",
663
- "required": false
664
- }
665
- }
666
- },
667
- "required": false
668
- },
669
- "atwDisplayMode": {
670
- "title": "Control Mode",
671
- "type": "integer",
672
- "minimum": 0,
673
- "maximum": 1,
674
- "default": 0,
675
- "oneOf": [
676
- {
677
- "title": "Heater/Cooler",
678
- "enum": [
679
- 0
680
- ]
681
- },
682
- {
683
- "title": "Thermostat",
684
- "enum": [
685
- 1
686
- ]
687
- }
688
- ],
689
- "description": "Select main control mode.",
690
- "required": true
691
- },
692
- "atwTemperatureSensor": {
693
- "title": "Temperature Sensor Room",
694
- "type": "boolean",
695
- "default": false,
696
- "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
697
- "required": false
698
- },
699
- "atwTemperatureSensorFlow": {
700
- "title": "Temperature Sensor Flow",
701
- "type": "boolean",
702
- "default": false,
703
- "description": "This enable extra Flow temperature sensor to use with automations in HomeKit app.",
704
- "required": false
705
- },
706
- "atwTemperatureSensorReturn": {
707
- "title": "Temperature Sensor Return",
708
- "type": "boolean",
709
- "default": false,
710
- "description": "This enable extra Return temperature sensor to use with automations in HomeKit app.",
711
- "required": false
712
- },
713
- "atwTemperatureSensorFlowZone1": {
714
- "title": "Temperature Sensor Flow Zone 1",
715
- "type": "boolean",
716
- "default": false,
717
- "description": "This enable extra Flow Zone 1 temperature sensor to use with automations in HomeKit app.",
718
- "required": false
719
- },
720
- "atwTemperatureSensorReturnZone1": {
721
- "title": "Temperature Sensor Return Zone 1",
722
- "type": "boolean",
723
- "default": false,
724
- "description": "This enable extra Return Zone 1 temperature sensor to use with automations in HomeKit app.",
725
- "required": false
726
- },
727
- "atwTemperatureSensorFlowWaterTank": {
728
- "title": "Temperature Sensor Flow Water Tank",
729
- "type": "boolean",
730
- "default": false,
731
- "description": "This enable extra Flow Water Tank temperature sensor to use with automations in HomeKit app.",
732
- "required": false
733
- },
734
- "atwTemperatureSensorReturnWaterTank": {
735
- "title": "Temperature Sensor Return Water Tank",
736
- "type": "boolean",
737
- "default": false,
738
- "description": "This enable extra Return Water Tank temperature sensor to use with automations in HomeKit app.",
739
- "required": false
740
- },
741
- "atwTemperatureSensorFlowZone2": {
742
- "title": "Temperature Sensor Flow Zone 2",
743
- "type": "boolean",
744
- "default": false,
745
- "description": "This enable extra Flow Zone 2 temperature sensor to use with automations in HomeKit app.",
746
- "required": false
747
- },
748
- "atwTemperatureSensorReturnZone2": {
749
- "title": "Temperature Sensor Return Zone 2",
750
- "type": "boolean",
751
- "default": false,
752
- "description": "This enable extra Return Zone 2 temperature sensor to use with automations in HomeKit app.",
753
- "required": false
754
- },
755
- "atwPresets": {
756
- "title": "Presets",
757
- "type": "boolean",
758
- "default": false,
759
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
760
- "required": false
761
- },
762
- "atwButtons": {
763
- "title": "Button",
207
+ "ataDevices": {
208
+ "title": "Devices ATA",
764
209
  "type": "array",
765
210
  "items": {
766
211
  "type": "object",
@@ -768,157 +213,122 @@
768
213
  "name": {
769
214
  "title": "Name",
770
215
  "type": "string",
771
- "placeholder": "Button name",
772
- "description": "Your own name displayed in Homebridge/HomeKit app.",
773
- "required": true
216
+ "required": false
774
217
  },
775
- "mode": {
776
- "title": "Mode",
218
+ "id": {
219
+ "title": "ID",
220
+ "type": "integer",
221
+ "required": false
222
+ },
223
+ "type": {
224
+ "title": "Type",
225
+ "type": "integer",
226
+ "required": false
227
+ },
228
+ "displayMode": {
229
+ "title": "Control",
777
230
  "type": "integer",
778
231
  "minimum": 0,
779
- "maximum": 70,
780
- "description": "Select the function.",
232
+ "maximum": 1,
233
+ "default": 0,
781
234
  "oneOf": [
782
235
  {
783
- "title": "POWER ON/OFF",
236
+ "title": "None/Disabled",
784
237
  "enum": [
785
238
  0
786
239
  ]
787
240
  },
788
241
  {
789
- "title": "MODE HEAT",
242
+ "title": "Heater/Cooler",
790
243
  "enum": [
791
244
  1
792
245
  ]
793
246
  },
794
247
  {
795
- "title": "MODE COOL",
796
- "enum": [
797
- 2
798
- ]
799
- },
800
- {
801
- "title": "MODE HOLIDAY",
802
- "enum": [
803
- 3
804
- ]
805
- },
806
- {
807
- "title": "LOCK CONTROL ALL",
808
- "enum": [
809
- 10
810
- ]
811
- },
812
- {
813
- "title": "Z1 MODE HEAT THERMOSTAT",
814
- "enum": [
815
- 20
816
- ]
817
- },
818
- {
819
- "title": "Z1 MODE HEAT FLOW",
820
- "enum": [
821
- 21
822
- ]
823
- },
824
- {
825
- "title": "Z1 MODE HEAT CURVE",
826
- "enum": [
827
- 22
828
- ]
829
- },
830
- {
831
- "title": "Z1 MODE COOL THERMOSTAT",
832
- "enum": [
833
- 23
834
- ]
835
- },
836
- {
837
- "title": "Z1 MODE COOL FLOW",
838
- "enum": [
839
- 24
840
- ]
841
- },
842
- {
843
- "title": "Z1 MODE FLOOR DRY UP",
844
- "enum": [
845
- 25
846
- ]
847
- },
848
- {
849
- "title": "Z1 LOCK CONTROL",
850
- "enum": [
851
- 30
852
- ]
853
- },
854
- {
855
- "title": "HW MODE FORCE",
856
- "enum": [
857
- 40
858
- ]
859
- },
860
- {
861
- "title": "HW MODE ECO",
248
+ "title": "Thermostat",
862
249
  "enum": [
863
- 41
250
+ 1
864
251
  ]
865
- },
252
+ }
253
+ ],
254
+ "description": "Select device control mode displayed in HomeKit app.",
255
+ "required": true
256
+ },
257
+ "heatDryFanMode": {
258
+ "title": "Heat",
259
+ "type": "integer",
260
+ "minimum": 0,
261
+ "maximum": 3,
262
+ "default": 1,
263
+ "oneOf": [
866
264
  {
867
- "title": "HW LOCK CONTROL",
265
+ "title": "None/Disabled",
868
266
  "enum": [
869
- 50
267
+ 0
870
268
  ]
871
269
  },
872
270
  {
873
- "title": "Z2 MODE HEAT THERMOSTAT",
271
+ "title": "Heat",
874
272
  "enum": [
875
- 60
273
+ 1
876
274
  ]
877
275
  },
878
276
  {
879
- "title": "Z2 MODE HEAT FLOW",
277
+ "title": "Dry",
880
278
  "enum": [
881
- 61
279
+ 2
882
280
  ]
883
281
  },
884
282
  {
885
- "title": "Z2 MODE HEAT CURVE",
283
+ "title": "Fan",
886
284
  "enum": [
887
- 62
285
+ 3
888
286
  ]
889
- },
287
+ }
288
+ ],
289
+ "description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled.",
290
+ "required": true
291
+ },
292
+ "coolDryFanMode": {
293
+ "title": "Cool",
294
+ "type": "integer",
295
+ "minimum": 0,
296
+ "maximum": 3,
297
+ "oneOf": [
890
298
  {
891
- "title": "Z2 MODE COOL THERMOSTAT",
299
+ "title": "None/Disabled",
892
300
  "enum": [
893
- 63
301
+ 0
894
302
  ]
895
303
  },
896
304
  {
897
- "title": "Z2 MODE COOL FLOW",
305
+ "title": "Cool",
898
306
  "enum": [
899
- 64
307
+ 1
900
308
  ]
901
309
  },
902
310
  {
903
- "title": "Z2 MODE FLOOR DRY UP",
311
+ "title": "Dry",
904
312
  "enum": [
905
- 65
313
+ 2
906
314
  ]
907
315
  },
908
316
  {
909
- "title": "Z2 LOCK CONTROL",
317
+ "title": "Fan",
910
318
  "enum": [
911
- 70
319
+ 3
912
320
  ]
913
321
  }
914
322
  ],
323
+ "description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled.",
915
324
  "required": true
916
325
  },
917
- "displayType": {
918
- "title": "Type",
326
+ "autoDryFanMode": {
327
+ "title": "Auto",
919
328
  "type": "integer",
920
329
  "minimum": 0,
921
- "maximum": 5,
330
+ "maximum": 3,
331
+ "default": 1,
922
332
  "oneOf": [
923
333
  {
924
334
  "title": "None/Disabled",
@@ -927,125 +337,343 @@
927
337
  ]
928
338
  },
929
339
  {
930
- "title": "Outlet",
340
+ "title": "Auto",
931
341
  "enum": [
932
342
  1
933
343
  ]
934
344
  },
935
345
  {
936
- "title": "Switch",
346
+ "title": "Dry",
937
347
  "enum": [
938
348
  2
939
349
  ]
940
350
  },
941
351
  {
942
- "title": "Motion Sensor",
352
+ "title": "Fan",
943
353
  "enum": [
944
354
  3
945
355
  ]
946
- },
947
- {
948
- "title": "Occupancy Sensor",
949
- "enum": [
950
- 4
951
- ]
952
- },
953
- {
954
- "title": "Contact Sensor",
955
- "enum": [
956
- 5
957
- ]
958
356
  }
959
357
  ],
960
- "description": "Select the characteristic type to be displayed in HomeKit app.",
358
+ "description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled.",
961
359
  "required": true
962
360
  },
963
- "namePrefix": {
964
- "title": "Prefix",
361
+ "presets": {
362
+ "title": "Presets",
965
363
  "type": "boolean",
966
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
364
+ "default": false,
365
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
967
366
  "required": false
968
- }
969
- }
970
- },
971
- "required": false
972
- },
973
- "atwHideDeviceById": {
974
- "title": "Hide Device By Id",
975
- "type": "array",
976
- "items": {
977
- "type": "object",
978
- "properties": {
979
- "name": {
980
- "title": "Name",
981
- "type": "string",
982
- "placeholder": "Device name",
983
- "description": "Your own name.",
367
+ },
368
+ "temperatureSensor": {
369
+ "title": "Room",
370
+ "type": "boolean",
371
+ "default": false,
372
+ "description": "This enable extra room temperature sensor to use with automations in HomeKit app.",
984
373
  "required": false
985
374
  },
986
- "id": {
987
- "title": "Id",
988
- "type": "string",
989
- "description": "Set device Id to be hidden and not exposed to the Homebridge/Homekit.",
375
+ "temperatureSensorOutdoor": {
376
+ "title": "Outdoor",
377
+ "type": "boolean",
378
+ "default": false,
379
+ "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
990
380
  "required": false
381
+ },
382
+ "buttonsSensors": {
383
+ "title": "Button / Sensor",
384
+ "type": "array",
385
+ "items": {
386
+ "type": "object",
387
+ "properties": {
388
+ "name": {
389
+ "title": "Name",
390
+ "type": "string",
391
+ "placeholder": "Button name",
392
+ "description": "Your own name displayed in Homebridge/HomeKit app.",
393
+ "required": true
394
+ },
395
+ "mode": {
396
+ "title": "Mode",
397
+ "type": "integer",
398
+ "minimum": 0,
399
+ "maximum": 40,
400
+ "description": "Function, VH - Vane Horizontal, VV - Vane Vertical.",
401
+ "oneOf": [
402
+ {
403
+ "title": "POWER ON/OFF",
404
+ "enum": [
405
+ 0
406
+ ]
407
+ },
408
+ {
409
+ "title": "MODE HEAT",
410
+ "enum": [
411
+ 1
412
+ ]
413
+ },
414
+ {
415
+ "title": "MODE DRY",
416
+ "enum": [
417
+ 2
418
+ ]
419
+ },
420
+ {
421
+ "title": "MODE COOL",
422
+ "enum": [
423
+ 3
424
+ ]
425
+ },
426
+ {
427
+ "title": "MODE FAN",
428
+ "enum": [
429
+ 4
430
+ ]
431
+ },
432
+ {
433
+ "title": "MODE AUTO",
434
+ "enum": [
435
+ 5
436
+ ]
437
+ },
438
+ {
439
+ "title": "MODE PURIFY",
440
+ "enum": [
441
+ 6
442
+ ]
443
+ },
444
+ {
445
+ "title": "MODE DRY CONTROL HIDE",
446
+ "enum": [
447
+ 7
448
+ ]
449
+ },
450
+ {
451
+ "title": "VH MODE AUTO",
452
+ "enum": [
453
+ 10
454
+ ]
455
+ },
456
+ {
457
+ "title": "VH MODE 1 / LEFT",
458
+ "enum": [
459
+ 11
460
+ ]
461
+ },
462
+ {
463
+ "title": "VH MODE 2",
464
+ "enum": [
465
+ 12
466
+ ]
467
+ },
468
+ {
469
+ "title": "VH MODE 3 / CENTER",
470
+ "enum": [
471
+ 13
472
+ ]
473
+ },
474
+ {
475
+ "title": "VH MODE 4",
476
+ "enum": [
477
+ 14
478
+ ]
479
+ },
480
+ {
481
+ "title": "VH MODE 5 / RIGHT",
482
+ "enum": [
483
+ 15
484
+ ]
485
+ },
486
+ {
487
+ "title": "VH MODE SPLIT",
488
+ "enum": [
489
+ 16
490
+ ]
491
+ },
492
+ {
493
+ "title": "VH MODE SWING",
494
+ "enum": [
495
+ 17
496
+ ]
497
+ },
498
+ {
499
+ "title": "VV MODE AUTO",
500
+ "enum": [
501
+ 20
502
+ ]
503
+ },
504
+ {
505
+ "title": "VV MODE 1 / UP",
506
+ "enum": [
507
+ 21
508
+ ]
509
+ },
510
+ {
511
+ "title": "VV MODE 2",
512
+ "enum": [
513
+ 22
514
+ ]
515
+ },
516
+ {
517
+ "title": "VV MODE 3 / CENTER",
518
+ "enum": [
519
+ 23
520
+ ]
521
+ },
522
+ {
523
+ "title": "VV MODE 4",
524
+ "enum": [
525
+ 24
526
+ ]
527
+ },
528
+ {
529
+ "title": "VV MODE 5 / DOWN",
530
+ "enum": [
531
+ 25
532
+ ]
533
+ },
534
+ {
535
+ "title": "VV SWING",
536
+ "enum": [
537
+ 26
538
+ ]
539
+ },
540
+ {
541
+ "title": "VH/VV CONTROLS HIDE",
542
+ "enum": [
543
+ 27
544
+ ]
545
+ },
546
+ {
547
+ "title": "FAN MODE AUTO",
548
+ "enum": [
549
+ 30
550
+ ]
551
+ },
552
+ {
553
+ "title": "FAN MODE 1",
554
+ "enum": [
555
+ 31
556
+ ]
557
+ },
558
+ {
559
+ "title": "FAN MODE 2",
560
+ "enum": [
561
+ 32
562
+ ]
563
+ },
564
+ {
565
+ "title": "FAN MODE 3",
566
+ "enum": [
567
+ 33
568
+ ]
569
+ },
570
+ {
571
+ "title": "FAN MODE 4",
572
+ "enum": [
573
+ 34
574
+ ]
575
+ },
576
+ {
577
+ "title": "FAN MODE 5",
578
+ "enum": [
579
+ 35
580
+ ]
581
+ },
582
+ {
583
+ "title": "FAN MODE 6",
584
+ "enum": [
585
+ 36
586
+ ]
587
+ },
588
+ {
589
+ "title": "LOCK CONTROL All",
590
+ "enum": [
591
+ 37
592
+ ]
593
+ },
594
+ {
595
+ "title": "LOCK CONTROL POWER",
596
+ "enum": [
597
+ 38
598
+ ]
599
+ },
600
+ {
601
+ "title": "LOCK CONTROL MODE",
602
+ "enum": [
603
+ 39
604
+ ]
605
+ },
606
+ {
607
+ "title": "LOCK CONTROL TEMPERATURE",
608
+ "enum": [
609
+ 40
610
+ ]
611
+ }
612
+ ],
613
+ "required": true
614
+ },
615
+ "displayType": {
616
+ "title": "Type",
617
+ "type": "integer",
618
+ "minimum": 0,
619
+ "maximum": 5,
620
+ "default": 0,
621
+ "oneOf": [
622
+ {
623
+ "title": "None/Disabled",
624
+ "enum": [
625
+ 0
626
+ ]
627
+ },
628
+ {
629
+ "title": "Outlet",
630
+ "enum": [
631
+ 1
632
+ ]
633
+ },
634
+ {
635
+ "title": "Switch",
636
+ "enum": [
637
+ 2
638
+ ]
639
+ },
640
+ {
641
+ "title": "Motion Sensor",
642
+ "enum": [
643
+ 3
644
+ ]
645
+ },
646
+ {
647
+ "title": "Occupancy Sensor",
648
+ "enum": [
649
+ 4
650
+ ]
651
+ },
652
+ {
653
+ "title": "Contact Sensor",
654
+ "enum": [
655
+ 5
656
+ ]
657
+ }
658
+ ],
659
+ "description": "Select the characteristic type to be displayed in HomeKit app.",
660
+ "required": true
661
+ },
662
+ "namePrefix": {
663
+ "title": "Prefix",
664
+ "type": "boolean",
665
+ "default": false,
666
+ "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
667
+ "required": false
668
+ }
669
+ }
670
+ }
991
671
  }
992
672
  }
993
- },
994
- "required": false
995
- },
996
- "ervDisplayMode": {
997
- "title": "Control Mode",
998
- "type": "integer",
999
- "minimum": 0,
1000
- "maximum": 1,
1001
- "default": 0,
1002
- "oneOf": [
1003
- {
1004
- "title": "Heater/Cooler",
1005
- "enum": [
1006
- 0
1007
- ]
1008
- },
1009
- {
1010
- "title": "Thermostat",
1011
- "enum": [
1012
- 1
1013
- ]
1014
- }
1015
- ],
1016
- "description": "Select main control mode.",
1017
- "required": true
1018
- },
1019
- "ervTemperatureSensor": {
1020
- "title": "Temperature Sensor Room",
1021
- "type": "boolean",
1022
- "default": false,
1023
- "description": "This enable extra temperature sensor to use with automations in HomeKit app.",
1024
- "required": false
1025
- },
1026
- "ervTemperatureSensorOutdoor": {
1027
- "title": "Temperature Sensor Outdoor",
1028
- "type": "boolean",
1029
- "default": false,
1030
- "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
1031
- "required": false
1032
- },
1033
- "ervTemperatureSensorSupply": {
1034
- "title": "Temperature Sensor Supply",
1035
- "type": "boolean",
1036
- "default": false,
1037
- "description": "This enable extra supply temperature sensor to use with automations in HomeKit app.",
1038
- "required": false
1039
- },
1040
- "ervPresets": {
1041
- "title": "Presets",
1042
- "type": "boolean",
1043
- "default": false,
1044
- "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
1045
- "required": false
673
+ }
1046
674
  },
1047
- "ervButtons": {
1048
- "title": "Button",
675
+ "atwDevices": {
676
+ "title": "Devices ATW",
1049
677
  "type": "array",
1050
678
  "items": {
1051
679
  "type": "object",
@@ -1053,109 +681,359 @@
1053
681
  "name": {
1054
682
  "title": "Name",
1055
683
  "type": "string",
1056
- "placeholder": "Button name",
1057
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1058
- "required": true
684
+ "required": false
1059
685
  },
1060
- "mode": {
686
+ "id": {
1061
687
  "title": "Mode",
1062
688
  "type": "integer",
689
+ "required": false
690
+ },
691
+ "type": {
692
+ "title": "Type",
693
+ "type": "integer",
694
+ "required": false
695
+ },
696
+ "displayMode": {
697
+ "title": "Control",
698
+ "type": "integer",
1063
699
  "minimum": 0,
1064
- "maximum": 18,
1065
- "description": "Select the function.",
700
+ "maximum": 2,
701
+ "default": 1,
1066
702
  "oneOf": [
1067
703
  {
1068
- "title": "POWER ON/OFF",
704
+ "title": "None/Disabled",
1069
705
  "enum": [
1070
706
  0
1071
707
  ]
1072
708
  },
1073
709
  {
1074
- "title": "MODE LOSSNAY",
1075
- "enum": [
1076
- 1
1077
- ]
1078
- },
1079
- {
1080
- "title": "MODE BYPASS",
1081
- "enum": [
1082
- 2
1083
- ]
1084
- },
1085
- {
1086
- "title": "MODE AUTO",
1087
- "enum": [
1088
- 3
1089
- ]
1090
- },
1091
- {
1092
- "title": "MODE NIGHT PURGE",
1093
- "enum": [
1094
- 4
1095
- ]
1096
- },
1097
- {
1098
- "title": "FAN MODE AUTO",
1099
- "enum": [
1100
- 10
1101
- ]
1102
- },
1103
- {
1104
- "title": "FAN MODE 1",
1105
- "enum": [
1106
- 11
1107
- ]
1108
- },
1109
- {
1110
- "title": "FAN MODE 2",
1111
- "enum": [
1112
- 12
1113
- ]
1114
- },
1115
- {
1116
- "title": "FAN MODE 3",
1117
- "enum": [
1118
- 13
1119
- ]
1120
- },
1121
- {
1122
- "title": "FAN MODE 4",
1123
- "enum": [
1124
- 14
1125
- ]
1126
- },
1127
- {
1128
- "title": "LOCK CONTROL",
1129
- "enum": [
1130
- 15
1131
- ]
1132
- },
1133
- {
1134
- "title": "ROOM TEMP HIDE",
1135
- "enum": [
1136
- 16
1137
- ]
1138
- },
1139
- {
1140
- "title": "SUPPLY TEMP HIDE",
710
+ "title": "Heater/Cooler",
1141
711
  "enum": [
1142
- 17
712
+ 1
1143
713
  ]
1144
714
  },
1145
715
  {
1146
- "title": "OUTDOOR TEMP HIDE",
716
+ "title": "Thermostat",
1147
717
  "enum": [
1148
- 18
718
+ 2
1149
719
  ]
1150
720
  }
1151
721
  ],
722
+ "description": "Select device control mode displayed in HomeKit app.",
1152
723
  "required": true
1153
724
  },
1154
- "displayType": {
725
+ "temperatureSensor": {
726
+ "title": "Temperature Sensor Room",
727
+ "type": "boolean",
728
+ "default": false,
729
+ "description": "This enable extra temperature sensor to use with automations in HomeKit app.",
730
+ "required": false
731
+ },
732
+ "temperatureSensorFlow": {
733
+ "title": "Temperature Sensor Flow",
734
+ "type": "boolean",
735
+ "default": false,
736
+ "description": "This enable extra Flow temperature sensor to use with automations in HomeKit app.",
737
+ "required": false
738
+ },
739
+ "temperatureSensorReturn": {
740
+ "title": "Temperature Sensor Return",
741
+ "type": "boolean",
742
+ "default": false,
743
+ "description": "This enable extra Return temperature sensor to use with automations in HomeKit app.",
744
+ "required": false
745
+ },
746
+ "temperatureSensorFlowZone1": {
747
+ "title": "Temperature Sensor Flow Zone 1",
748
+ "type": "boolean",
749
+ "default": false,
750
+ "description": "This enable extra Flow Zone 1 temperature sensor to use with automations in HomeKit app.",
751
+ "required": false
752
+ },
753
+ "temperatureSensorReturnZone1": {
754
+ "title": "Temperature Sensor Return Zone 1",
755
+ "type": "boolean",
756
+ "default": false,
757
+ "description": "This enable extra Return Zone 1 temperature sensor to use with automations in HomeKit app.",
758
+ "required": false
759
+ },
760
+ "temperatureSensorFlowWaterTank": {
761
+ "title": "Temperature Sensor Flow Water Tank",
762
+ "type": "boolean",
763
+ "default": false,
764
+ "description": "This enable extra Flow Water Tank temperature sensor to use with automations in HomeKit app.",
765
+ "required": false
766
+ },
767
+ "temperatureSensorReturnWaterTank": {
768
+ "title": "Temperature Sensor Return Water Tank",
769
+ "type": "boolean",
770
+ "default": false,
771
+ "description": "This enable extra Return Water Tank temperature sensor to use with automations in HomeKit app.",
772
+ "required": false
773
+ },
774
+ "temperatureSensorFlowZone2": {
775
+ "title": "Temperature Sensor Flow Zone 2",
776
+ "type": "boolean",
777
+ "default": false,
778
+ "description": "This enable extra Flow Zone 2 temperature sensor to use with automations in HomeKit app.",
779
+ "required": false
780
+ },
781
+ "temperatureSensorReturnZone2": {
782
+ "title": "Temperature Sensor Return Zone 2",
783
+ "type": "boolean",
784
+ "default": false,
785
+ "description": "This enable extra Return Zone 2 temperature sensor to use with automations in HomeKit app.",
786
+ "required": false
787
+ },
788
+ "presets": {
789
+ "title": "Presets",
790
+ "type": "boolean",
791
+ "default": false,
792
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
793
+ "required": false
794
+ },
795
+ "buttonsSensors": {
796
+ "title": "Button",
797
+ "type": "array",
798
+ "items": {
799
+ "type": "object",
800
+ "properties": {
801
+ "name": {
802
+ "title": "Name",
803
+ "type": "string",
804
+ "placeholder": "Button name",
805
+ "description": "Your own name displayed in Homebridge/HomeKit app.",
806
+ "required": true
807
+ },
808
+ "mode": {
809
+ "title": "Mode",
810
+ "type": "integer",
811
+ "minimum": 0,
812
+ "maximum": 70,
813
+ "description": "Select the function.",
814
+ "oneOf": [
815
+ {
816
+ "title": "POWER ON/OFF",
817
+ "enum": [
818
+ 0
819
+ ]
820
+ },
821
+ {
822
+ "title": "MODE HEAT",
823
+ "enum": [
824
+ 1
825
+ ]
826
+ },
827
+ {
828
+ "title": "MODE COOL",
829
+ "enum": [
830
+ 2
831
+ ]
832
+ },
833
+ {
834
+ "title": "MODE HOLIDAY",
835
+ "enum": [
836
+ 3
837
+ ]
838
+ },
839
+ {
840
+ "title": "LOCK CONTROL ALL",
841
+ "enum": [
842
+ 10
843
+ ]
844
+ },
845
+ {
846
+ "title": "Z1 MODE HEAT THERMOSTAT",
847
+ "enum": [
848
+ 20
849
+ ]
850
+ },
851
+ {
852
+ "title": "Z1 MODE HEAT FLOW",
853
+ "enum": [
854
+ 21
855
+ ]
856
+ },
857
+ {
858
+ "title": "Z1 MODE HEAT CURVE",
859
+ "enum": [
860
+ 22
861
+ ]
862
+ },
863
+ {
864
+ "title": "Z1 MODE COOL THERMOSTAT",
865
+ "enum": [
866
+ 23
867
+ ]
868
+ },
869
+ {
870
+ "title": "Z1 MODE COOL FLOW",
871
+ "enum": [
872
+ 24
873
+ ]
874
+ },
875
+ {
876
+ "title": "Z1 MODE FLOOR DRY UP",
877
+ "enum": [
878
+ 25
879
+ ]
880
+ },
881
+ {
882
+ "title": "Z1 LOCK CONTROL",
883
+ "enum": [
884
+ 30
885
+ ]
886
+ },
887
+ {
888
+ "title": "HW MODE FORCE",
889
+ "enum": [
890
+ 40
891
+ ]
892
+ },
893
+ {
894
+ "title": "HW MODE ECO",
895
+ "enum": [
896
+ 41
897
+ ]
898
+ },
899
+ {
900
+ "title": "HW LOCK CONTROL",
901
+ "enum": [
902
+ 50
903
+ ]
904
+ },
905
+ {
906
+ "title": "Z2 MODE HEAT THERMOSTAT",
907
+ "enum": [
908
+ 60
909
+ ]
910
+ },
911
+ {
912
+ "title": "Z2 MODE HEAT FLOW",
913
+ "enum": [
914
+ 61
915
+ ]
916
+ },
917
+ {
918
+ "title": "Z2 MODE HEAT CURVE",
919
+ "enum": [
920
+ 62
921
+ ]
922
+ },
923
+ {
924
+ "title": "Z2 MODE COOL THERMOSTAT",
925
+ "enum": [
926
+ 63
927
+ ]
928
+ },
929
+ {
930
+ "title": "Z2 MODE COOL FLOW",
931
+ "enum": [
932
+ 64
933
+ ]
934
+ },
935
+ {
936
+ "title": "Z2 MODE FLOOR DRY UP",
937
+ "enum": [
938
+ 65
939
+ ]
940
+ },
941
+ {
942
+ "title": "Z2 LOCK CONTROL",
943
+ "enum": [
944
+ 70
945
+ ]
946
+ }
947
+ ],
948
+ "required": true
949
+ },
950
+ "displayType": {
951
+ "title": "Type",
952
+ "type": "integer",
953
+ "minimum": 0,
954
+ "maximum": 5,
955
+ "default": 0,
956
+ "oneOf": [
957
+ {
958
+ "title": "None/Disabled",
959
+ "enum": [
960
+ 0
961
+ ]
962
+ },
963
+ {
964
+ "title": "Outlet",
965
+ "enum": [
966
+ 1
967
+ ]
968
+ },
969
+ {
970
+ "title": "Switch",
971
+ "enum": [
972
+ 2
973
+ ]
974
+ },
975
+ {
976
+ "title": "Motion Sensor",
977
+ "enum": [
978
+ 3
979
+ ]
980
+ },
981
+ {
982
+ "title": "Occupancy Sensor",
983
+ "enum": [
984
+ 4
985
+ ]
986
+ },
987
+ {
988
+ "title": "Contact Sensor",
989
+ "enum": [
990
+ 5
991
+ ]
992
+ }
993
+ ],
994
+ "description": "Select the characteristic type to be displayed in HomeKit app.",
995
+ "required": true
996
+ },
997
+ "namePrefix": {
998
+ "title": "Prefix",
999
+ "type": "boolean",
1000
+ "default": false,
1001
+ "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1002
+ "required": false
1003
+ }
1004
+ }
1005
+ }
1006
+ }
1007
+ }
1008
+ }
1009
+ },
1010
+ "ervDevices": {
1011
+ "title": "Devices ERV",
1012
+ "type": "array",
1013
+ "items": {
1014
+ "type": "object",
1015
+ "properties": {
1016
+ "name": {
1017
+ "title": "Name",
1018
+ "type": "string",
1019
+ "required": false
1020
+ },
1021
+ "id": {
1022
+ "title": "Mode",
1023
+ "type": "integer",
1024
+ "required": false
1025
+ },
1026
+ "type": {
1155
1027
  "title": "Type",
1156
1028
  "type": "integer",
1029
+ "required": false
1030
+ },
1031
+ "displayMode": {
1032
+ "title": "Control",
1033
+ "type": "integer",
1157
1034
  "minimum": 0,
1158
- "maximum": 5,
1035
+ "maximum": 2,
1036
+ "default": 0,
1159
1037
  "oneOf": [
1160
1038
  {
1161
1039
  "title": "None/Disabled",
@@ -1164,71 +1042,215 @@
1164
1042
  ]
1165
1043
  },
1166
1044
  {
1167
- "title": "Outlet",
1045
+ "title": "Heater/Cooler",
1168
1046
  "enum": [
1169
1047
  1
1170
1048
  ]
1171
1049
  },
1172
1050
  {
1173
- "title": "Switch",
1051
+ "title": "Thermostat",
1174
1052
  "enum": [
1175
1053
  2
1176
1054
  ]
1177
- },
1178
- {
1179
- "title": "Motion Sensor",
1180
- "enum": [
1181
- 3
1182
- ]
1183
- },
1184
- {
1185
- "title": "Occupancy Sensor",
1186
- "enum": [
1187
- 4
1188
- ]
1189
- },
1190
- {
1191
- "title": "Contact Sensor",
1192
- "enum": [
1193
- 5
1194
- ]
1195
1055
  }
1196
1056
  ],
1197
- "description": "Select the characteristic type to be displayed in HomeKit app.",
1057
+ "description": "Select device control mode displayed in HomeKit app.",
1058
+ "required": true
1059
+ },
1060
+ "temperatureSensor": {
1061
+ "title": "Temperature Sensor Room",
1062
+ "type": "boolean",
1063
+ "default": false,
1064
+ "description": "This enable extra temperature sensor to use with automations in HomeKit app.",
1198
1065
  "required": false
1199
1066
  },
1200
- "namePrefix": {
1201
- "title": "Prefix",
1067
+ "temperatureSensorOutdoor": {
1068
+ "title": "Temperature Sensor Outdoor",
1202
1069
  "type": "boolean",
1203
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1070
+ "default": false,
1071
+ "description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app.",
1204
1072
  "required": false
1205
- }
1206
- }
1207
- },
1208
- "required": false
1209
- },
1210
- "ervHideDeviceById": {
1211
- "title": "Hide Device By Id",
1212
- "type": "array",
1213
- "items": {
1214
- "type": "object",
1215
- "properties": {
1216
- "name": {
1217
- "title": "Name",
1218
- "type": "string",
1219
- "placeholder": "Device name",
1220
- "description": "Your own name.",
1073
+ },
1074
+ "temperatureSensorSupply": {
1075
+ "title": "Temperature Sensor Supply",
1076
+ "type": "boolean",
1077
+ "default": false,
1078
+ "description": "This enable extra supply temperature sensor to use with automations in HomeKit app.",
1221
1079
  "required": false
1222
1080
  },
1223
- "id": {
1224
- "title": "Id",
1225
- "type": "string",
1226
- "description": "Set device Id to be hidden and not exposed to the Homebridge/Homekit.",
1081
+ "presets": {
1082
+ "title": "Presets",
1083
+ "type": "boolean",
1084
+ "default": false,
1085
+ "description": "This enable extra buttons for configured presets and display it in HomeKit app.",
1227
1086
  "required": false
1087
+ },
1088
+ "buttonsSensors": {
1089
+ "title": "Button",
1090
+ "type": "array",
1091
+ "items": {
1092
+ "type": "object",
1093
+ "properties": {
1094
+ "name": {
1095
+ "title": "Name",
1096
+ "type": "string",
1097
+ "placeholder": "Button name",
1098
+ "description": "Your own name displayed in Homebridge/HomeKit app.",
1099
+ "required": true
1100
+ },
1101
+ "mode": {
1102
+ "title": "Mode",
1103
+ "type": "integer",
1104
+ "minimum": 0,
1105
+ "maximum": 18,
1106
+ "description": "Select the function.",
1107
+ "oneOf": [
1108
+ {
1109
+ "title": "POWER ON/OFF",
1110
+ "enum": [
1111
+ 0
1112
+ ]
1113
+ },
1114
+ {
1115
+ "title": "MODE LOSSNAY",
1116
+ "enum": [
1117
+ 1
1118
+ ]
1119
+ },
1120
+ {
1121
+ "title": "MODE BYPASS",
1122
+ "enum": [
1123
+ 2
1124
+ ]
1125
+ },
1126
+ {
1127
+ "title": "MODE AUTO",
1128
+ "enum": [
1129
+ 3
1130
+ ]
1131
+ },
1132
+ {
1133
+ "title": "MODE NIGHT PURGE",
1134
+ "enum": [
1135
+ 4
1136
+ ]
1137
+ },
1138
+ {
1139
+ "title": "FAN MODE AUTO",
1140
+ "enum": [
1141
+ 10
1142
+ ]
1143
+ },
1144
+ {
1145
+ "title": "FAN MODE 1",
1146
+ "enum": [
1147
+ 11
1148
+ ]
1149
+ },
1150
+ {
1151
+ "title": "FAN MODE 2",
1152
+ "enum": [
1153
+ 12
1154
+ ]
1155
+ },
1156
+ {
1157
+ "title": "FAN MODE 3",
1158
+ "enum": [
1159
+ 13
1160
+ ]
1161
+ },
1162
+ {
1163
+ "title": "FAN MODE 4",
1164
+ "enum": [
1165
+ 14
1166
+ ]
1167
+ },
1168
+ {
1169
+ "title": "LOCK CONTROL",
1170
+ "enum": [
1171
+ 15
1172
+ ]
1173
+ },
1174
+ {
1175
+ "title": "ROOM TEMP HIDE",
1176
+ "enum": [
1177
+ 16
1178
+ ]
1179
+ },
1180
+ {
1181
+ "title": "SUPPLY TEMP HIDE",
1182
+ "enum": [
1183
+ 17
1184
+ ]
1185
+ },
1186
+ {
1187
+ "title": "OUTDOOR TEMP HIDE",
1188
+ "enum": [
1189
+ 18
1190
+ ]
1191
+ }
1192
+ ],
1193
+ "required": true
1194
+ },
1195
+ "displayType": {
1196
+ "title": "Type",
1197
+ "type": "integer",
1198
+ "minimum": 0,
1199
+ "maximum": 5,
1200
+ "default": 0,
1201
+ "oneOf": [
1202
+ {
1203
+ "title": "None/Disabled",
1204
+ "enum": [
1205
+ 0
1206
+ ]
1207
+ },
1208
+ {
1209
+ "title": "Outlet",
1210
+ "enum": [
1211
+ 1
1212
+ ]
1213
+ },
1214
+ {
1215
+ "title": "Switch",
1216
+ "enum": [
1217
+ 2
1218
+ ]
1219
+ },
1220
+ {
1221
+ "title": "Motion Sensor",
1222
+ "enum": [
1223
+ 3
1224
+ ]
1225
+ },
1226
+ {
1227
+ "title": "Occupancy Sensor",
1228
+ "enum": [
1229
+ 4
1230
+ ]
1231
+ },
1232
+ {
1233
+ "title": "Contact Sensor",
1234
+ "enum": [
1235
+ 5
1236
+ ]
1237
+ }
1238
+ ],
1239
+ "description": "Select the characteristic type to be displayed in HomeKit app.",
1240
+ "required": true
1241
+ },
1242
+ "namePrefix": {
1243
+ "title": "Prefix",
1244
+ "type": "boolean",
1245
+ "default": false,
1246
+ "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1247
+ "required": false
1248
+ }
1249
+ }
1250
+ }
1228
1251
  }
1229
1252
  }
1230
- },
1231
- "required": false
1253
+ }
1232
1254
  },
1233
1255
  "refreshInterval": {
1234
1256
  "title": "Account Refresh Interval",
@@ -1415,252 +1437,245 @@
1415
1437
  "accounts[].language",
1416
1438
  {
1417
1439
  "key": "accounts[]",
1418
- "type": "section",
1419
- "title": "Advanced Settings",
1420
- "expandable": true,
1421
- "expanded": false,
1440
+ "type": "tabarray",
1441
+ "title": "{{ value.title }}",
1422
1442
  "items": [
1423
1443
  {
1424
1444
  "key": "accounts[]",
1425
- "type": "tabarray",
1426
- "title": "{{ value.title }}",
1445
+ "title": "Air Conditioner",
1427
1446
  "items": [
1428
1447
  {
1429
- "key": "accounts[]",
1430
- "title": "Air Conditioner",
1448
+ "key": "accounts[].ataDevices",
1449
+ "type": "tabarray",
1450
+ "title": "{{ value.name }}",
1431
1451
  "items": [
1432
- "accounts[].ataDisplayMode",
1433
- "accounts[].ataPresets",
1434
1452
  {
1435
- "key": "accounts[]",
1436
- "type": "section",
1437
- "title": "Operating Modes",
1438
- "expandable": true,
1439
- "expanded": false,
1440
- "items": [
1441
- "accounts[].ataHeatDryFanMode",
1442
- "accounts[].ataCoolDryFanMode",
1443
- "accounts[].ataAutoDryFanMode"
1444
- ]
1453
+ "key": "accounts[].ataDevices[].name",
1454
+ "readonly": true
1455
+ },
1456
+ {
1457
+ "key": "accounts[].ataDevices[].id",
1458
+ "readonly": true
1445
1459
  },
1446
1460
  {
1447
- "key": "accounts[]",
1461
+ "key": "accounts[].ataDevices[].type",
1462
+ "readonly": true
1463
+ },
1464
+ "accounts[].ataDevices[].displayMode",
1465
+ "accounts[].ataDevices[].heatDryFanMode",
1466
+ "accounts[].ataDevices[].coolDryFanMode",
1467
+ "accounts[].ataDevices[].autoDryFanMode",
1468
+ "accounts[].ataDevices[].presets",
1469
+ {
1470
+ "key": "accounts[].ataDevices[]",
1448
1471
  "type": "section",
1449
1472
  "title": "Temperature Sensors",
1450
1473
  "expandable": true,
1451
1474
  "expanded": false,
1452
1475
  "items": [
1453
- "accounts[].ataTemperatureSensor",
1454
- "accounts[].ataTemperatureSensorOutdoor"
1476
+ "accounts[].ataDevices[].temperatureSensor",
1477
+ "accounts[].ataDevices[].temperatureSensorOutdoor"
1455
1478
  ]
1456
1479
  },
1457
1480
  {
1458
- "key": "accounts[]",
1481
+ "key": "accounts[].ataDevices[]",
1459
1482
  "type": "section",
1460
1483
  "title": "Buttons / Sensors",
1461
1484
  "expandable": true,
1462
1485
  "expanded": false,
1463
1486
  "items": [
1464
1487
  {
1465
- "key": "accounts[].ataButtons",
1488
+ "key": "accounts[].ataDevices[].buttonsSensors",
1466
1489
  "type": "tabarray",
1467
1490
  "title": "{{ value.name || 'button/sensor' }}",
1468
1491
  "items": [
1469
- "accounts[].ataButtons[].name",
1470
- "accounts[].ataButtons[].mode",
1471
- "accounts[].ataButtons[].displayType",
1472
- "accounts[].ataButtons[].namePrefix"
1473
- ]
1474
- }
1475
- ]
1476
- },
1477
- {
1478
- "key": "accounts[]",
1479
- "type": "section",
1480
- "title": "Hide Device By Id",
1481
- "expandable": true,
1482
- "expanded": false,
1483
- "items": [
1484
- {
1485
- "key": "accounts[].ataHideDeviceById",
1486
- "type": "tabarray",
1487
- "title": "{{ value.name || 'device' }}",
1488
- "items": [
1489
- "accounts[].ataHideDeviceById[].name",
1490
- "accounts[].ataHideDeviceById[].id"
1492
+ "accounts[].ataDevices[].buttonsSensors[].name",
1493
+ "accounts[].ataDevices[].buttonsSensors[].mode",
1494
+ "accounts[].ataDevices[].buttonsSensors[].displayType",
1495
+ "accounts[].ataDevices[].buttonsSensors[].namePrefix"
1491
1496
  ]
1492
1497
  }
1493
1498
  ]
1494
1499
  }
1495
1500
  ]
1496
- },
1501
+ }
1502
+ ]
1503
+ },
1504
+ {
1505
+ "key": "accounts[]",
1506
+ "title": "Heat Pump",
1507
+ "items": [
1497
1508
  {
1498
- "key": "accounts[]",
1499
- "title": "Heat Pump",
1509
+ "key": "accounts[].atwDevices",
1510
+ "type": "tabarray",
1511
+ "title": "{{ value.name }}",
1512
+ "addable": false,
1500
1513
  "items": [
1501
- "accounts[].atwDisplayMode",
1502
- "accounts[].atwPresets",
1503
1514
  {
1504
- "key": "accounts[]",
1515
+ "key": "accounts[].atwDevices[].name",
1516
+ "readonly": true
1517
+ },
1518
+ {
1519
+ "key": "accounts[].atwDevices[].id",
1520
+ "readonly": true
1521
+ },
1522
+ {
1523
+ "key": "accounts[].atwDevices[].type",
1524
+ "readonly": true
1525
+ },
1526
+ "accounts[].atwDevices[].displayMode",
1527
+ "accounts[].atwDevices[].presets",
1528
+ {
1529
+ "key": "accounts[].atwDevices[]",
1505
1530
  "type": "section",
1506
1531
  "title": "Temperature Sensors",
1507
1532
  "expandable": true,
1508
1533
  "expanded": false,
1509
1534
  "items": [
1510
- "accounts[].atwTemperatureSensor",
1511
- "accounts[].atwTemperatureSensorFlow",
1512
- "accounts[].atwTemperatureSensorReturn",
1513
- "accounts[].atwTemperatureSensorFlowZone1",
1514
- "accounts[].atwTemperatureSensorReturnZone1",
1515
- "accounts[].atwTemperatureSensorFlowWaterTank",
1516
- "accounts[].atwTemperatureSensorReturnWaterTank",
1517
- "accounts[].atwTemperatureSensorFlowZone2",
1518
- "accounts[].atwTemperatureSensorReturnZone2"
1535
+ "accounts[].atwDevices[].temperatureSensor",
1536
+ "accounts[].atwDevices[].temperatureSensorFlow",
1537
+ "accounts[].atwDevices[].temperatureSensorReturn",
1538
+ "accounts[].atwDevices[].temperatureSensorFlowZone1",
1539
+ "accounts[].atwDevices[].temperatureSensorReturnZone1",
1540
+ "accounts[].atwDevices[].temperatureSensorFlowWaterTank",
1541
+ "accounts[].atwDevices[].temperatureSensorReturnWaterTank",
1542
+ "accounts[].atwDevices[].temperatureSensorFlowZone2",
1543
+ "accounts[].atwDevices[].temperatureSensorReturnZone2"
1519
1544
  ]
1520
1545
  },
1521
1546
  {
1522
- "key": "accounts[]",
1547
+ "key": "accounts[].atwDevices[]",
1523
1548
  "type": "section",
1524
1549
  "title": "Buttons / Sensors",
1525
1550
  "expandable": true,
1526
1551
  "expanded": false,
1527
1552
  "items": [
1528
1553
  {
1529
- "key": "accounts[].atwButtons",
1554
+ "key": "accounts[].atwDevices[].buttonsSensors",
1530
1555
  "type": "tabarray",
1531
1556
  "title": "{{ value.name || 'button/sensor' }}",
1532
1557
  "items": [
1533
- "accounts[].atwButtons[].name",
1534
- "accounts[].atwButtons[].mode",
1535
- "accounts[].atwButtons[].displayType",
1536
- "accounts[].atwButtons[].namePrefix"
1537
- ]
1538
- }
1539
- ]
1540
- },
1541
- {
1542
- "key": "accounts[]",
1543
- "type": "section",
1544
- "title": "Hide Device By Id",
1545
- "expandable": true,
1546
- "expanded": false,
1547
- "items": [
1548
- {
1549
- "key": "accounts[].atwHideDeviceById",
1550
- "type": "tabarray",
1551
- "title": "{{ value.name || 'device' }}",
1552
- "items": [
1553
- "accounts[].atwHideDeviceById[].name",
1554
- "accounts[].atwHideDeviceById[].id"
1558
+ "accounts[].atwDevices[].buttonsSensors[].name",
1559
+ "accounts[].atwDevices[].buttonsSensors[].mode",
1560
+ "accounts[].atwDevices[].buttonsSensors[].displayType",
1561
+ "accounts[].atwDevices[].buttonsSensors[].namePrefix"
1555
1562
  ]
1556
1563
  }
1557
1564
  ]
1558
1565
  }
1559
1566
  ]
1560
- },
1567
+ }
1568
+ ],
1569
+ "condition": {
1570
+ "functionBody": "return model.accounts[arrayIndices].atwDevices.length > 0 && model.accounts[arrayIndices].atwDevices[].every(device => device.id);"
1571
+ }
1572
+ },
1573
+ {
1574
+ "key": "accounts[]",
1575
+ "title": "Energy Recovery Ventilation",
1576
+ "items": [
1561
1577
  {
1562
- "key": "accounts[]",
1563
- "title": "Energy Recovery Ventilation",
1578
+ "key": "accounts[].ervDevices",
1579
+ "type": "tabarray",
1580
+ "title": "{{ value.name }}",
1581
+ "addable": false,
1564
1582
  "items": [
1565
- "accounts[].ervDisplayMode",
1566
- "accounts[].ervPresets",
1567
1583
  {
1568
- "key": "accounts[]",
1584
+ "key": "accounts[].ervDevices[].name",
1585
+ "readonly": true
1586
+ },
1587
+ {
1588
+ "key": "accounts[].ervDevices[].id",
1589
+ "readonly": true
1590
+ },
1591
+ {
1592
+ "key": "accounts[].ervDevices[].type",
1593
+ "readonly": true
1594
+ },
1595
+ "accounts[].ervDevices[].displayMode",
1596
+ "accounts[].ervDevices[].presets",
1597
+ {
1598
+ "key": "accounts[].ervDevices[]",
1569
1599
  "type": "section",
1570
1600
  "title": "Temperature Sensors",
1571
1601
  "expandable": true,
1572
1602
  "expanded": false,
1573
1603
  "items": [
1574
- "accounts[].ervTemperatureSensor",
1575
- "accounts[].ervTemperatureSensorOutdoor",
1576
- "accounts[].ervTemperatureSensorSupply"
1604
+ "accounts[].ervDevices[].temperatureSensor",
1605
+ "accounts[].ervDevices[].temperatureSensorOutdoor",
1606
+ "accounts[].ervDevices[].temperatureSensorSupply"
1577
1607
  ]
1578
1608
  },
1579
1609
  {
1580
- "key": "accounts[]",
1610
+ "key": "accounts[].ervDevices[]",
1581
1611
  "type": "section",
1582
1612
  "title": "Buttons / Sensors",
1583
1613
  "expandable": true,
1584
1614
  "expanded": false,
1585
1615
  "items": [
1586
1616
  {
1587
- "key": "accounts[].ervButtons",
1617
+ "key": "accounts[].ervDevices[].buttonsSensors",
1588
1618
  "type": "tabarray",
1589
1619
  "title": "{{ value.name || 'button/sensor' }}",
1590
1620
  "items": [
1591
- "accounts[].ervButtons[].name",
1592
- "accounts[].ervButtons[].mode",
1593
- "accounts[].ervButtons[].displayType",
1594
- "accounts[].ervButtons[].namePrefix"
1595
- ]
1596
- }
1597
- ]
1598
- },
1599
- {
1600
- "key": "accounts[]",
1601
- "type": "section",
1602
- "title": "Hide Device By Id",
1603
- "expandable": true,
1604
- "expanded": false,
1605
- "items": [
1606
- {
1607
- "key": "accounts[].ervHideDeviceById",
1608
- "type": "tabarray",
1609
- "title": "{{ value.name || 'device' }}",
1610
- "items": [
1611
- "accounts[].ervHideDeviceById[].name",
1612
- "accounts[].ervHideDeviceById[].id"
1621
+ "accounts[].ervDevices[].buttonsSensors[].name",
1622
+ "accounts[].ervDevices[].buttonsSensors[].mode",
1623
+ "accounts[].ervDevices[].buttonsSensors[].displayType",
1624
+ "accounts[].ervDevices[].buttonsSensors[].namePrefix"
1613
1625
  ]
1614
1626
  }
1615
1627
  ]
1616
1628
  }
1617
1629
  ]
1618
- },
1619
- {
1620
- "key": "accounts[]",
1621
- "title": "System",
1622
- "items": [
1623
- "accounts[].enableDebugMode",
1624
- "accounts[].disableLogInfo",
1625
- "accounts[].disableLogDeviceInfo",
1626
- "accounts[].refreshInterval",
1627
- "accounts[].deviceRefreshInterval"
1628
- ]
1629
- },
1630
+ }
1631
+ ],
1632
+ "condition": {
1633
+ "functionBody": "return model.accounts[arrayIndices].ervDevices.length > 0 && model.accounts[arrayIndices].ervDevices[].every(device => device.id);"
1634
+ }
1635
+ },
1636
+ {
1637
+ "key": "accounts[]",
1638
+ "title": "System",
1639
+ "items": [
1640
+ "accounts[].enableDebugMode",
1641
+ "accounts[].disableLogInfo",
1642
+ "accounts[].disableLogDeviceInfo",
1643
+ "accounts[].refreshInterval",
1644
+ "accounts[].deviceRefreshInterval"
1645
+ ]
1646
+ },
1647
+ {
1648
+ "key": "accounts[]",
1649
+ "title": "External Integrations",
1650
+ "items": [
1630
1651
  {
1631
1652
  "key": "accounts[]",
1632
- "title": "External Integrations",
1653
+ "type": "tabarray",
1654
+ "title": "{{ value.title }}",
1633
1655
  "items": [
1634
1656
  {
1635
- "key": "accounts[]",
1636
- "type": "tabarray",
1637
- "title": "{{ value.title }}",
1657
+ "key": "accounts[].restFul",
1658
+ "title": "RESTFul",
1638
1659
  "items": [
1660
+ "accounts[].restFul.enable",
1661
+ "accounts[].restFul.debug"
1662
+ ]
1663
+ },
1664
+ {
1665
+ "key": "accounts[].mqtt",
1666
+ "title": "MQTT",
1667
+ "items": [
1668
+ "accounts[].mqtt.enable",
1669
+ "accounts[].mqtt.debug",
1670
+ "accounts[].mqtt.host",
1671
+ "accounts[].mqtt.port",
1672
+ "accounts[].mqtt.clientId",
1673
+ "accounts[].mqtt.prefix",
1674
+ "accounts[].mqtt.auth",
1675
+ "accounts[].mqtt.user",
1639
1676
  {
1640
- "key": "accounts[].restFul",
1641
- "title": "RESTFul",
1642
- "items": [
1643
- "accounts[].restFul.enable",
1644
- "accounts[].restFul.debug"
1645
- ]
1646
- },
1647
- {
1648
- "key": "accounts[].mqtt",
1649
- "title": "MQTT",
1650
- "items": [
1651
- "accounts[].mqtt.enable",
1652
- "accounts[].mqtt.debug",
1653
- "accounts[].mqtt.host",
1654
- "accounts[].mqtt.port",
1655
- "accounts[].mqtt.clientId",
1656
- "accounts[].mqtt.prefix",
1657
- "accounts[].mqtt.auth",
1658
- "accounts[].mqtt.user",
1659
- {
1660
- "key": "accounts[].mqtt.passwd",
1661
- "type": "password"
1662
- }
1663
- ]
1677
+ "key": "accounts[].mqtt.passwd",
1678
+ "type": "password"
1664
1679
  }
1665
1680
  ]
1666
1681
  }