homebridge-cmd4 8.0.0-beta.2 → 8.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -1
- package/Cmd4Accessory.js +9 -0
- package/Extras/a.out +0 -0
- package/Extras/config.json +4 -16
- package/Extras/config.min.json +4 -29
- package/RUNNING_CHANGELOG.md +5 -2
- package/homebridge-cmd4-8.0.0-beta.4.tgz +0 -0
- package/lib/CMD4_ACC_TYPE_ENUM.js +288 -278
- package/lib/CMD4_DEVICE_TYPE_ENUM.js +256 -147
- package/package.json +2 -2
|
@@ -476,7 +476,7 @@ module.exports =
|
|
|
476
476
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
477
477
|
props: {format: hapFormats.UINT32,
|
|
478
478
|
allowedWordCount: 1,
|
|
479
|
-
perms: [hapPerms.
|
|
479
|
+
perms: [hapPerms.PAIRED_READ,
|
|
480
480
|
hapPerms.NOTIFY
|
|
481
481
|
]
|
|
482
482
|
},
|
|
@@ -493,14 +493,14 @@ module.exports =
|
|
|
493
493
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
494
494
|
props: {format: hapFormats.STRING,
|
|
495
495
|
allowedWordCount: 0,
|
|
496
|
-
perms: [hapPerms.
|
|
496
|
+
perms: [hapPerms.PAIRED_READ
|
|
497
497
|
]
|
|
498
498
|
},
|
|
499
499
|
validValues: {}
|
|
500
500
|
},
|
|
501
501
|
3: { type: "Active",
|
|
502
502
|
sche: "active",
|
|
503
|
-
characteristic:Characteristic.Active,
|
|
503
|
+
characteristic: Characteristic.Active,
|
|
504
504
|
deprecated: false,
|
|
505
505
|
UUID: "000000B0-0000-1000-8000-0026BB765291",
|
|
506
506
|
description: "If the Device is ACTIVE/INACTIVE",
|
|
@@ -512,8 +512,8 @@ module.exports =
|
|
|
512
512
|
maxValue: 1,
|
|
513
513
|
minValue: 0,
|
|
514
514
|
minStep: 1,
|
|
515
|
-
perms: [hapPerms.
|
|
516
|
-
hapPerms.
|
|
515
|
+
perms: [hapPerms.PAIRED_READ,
|
|
516
|
+
hapPerms.PAIRED_WRITE,
|
|
517
517
|
hapPerms.NOTIFY
|
|
518
518
|
]
|
|
519
519
|
},
|
|
@@ -533,8 +533,8 @@ module.exports =
|
|
|
533
533
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
534
534
|
props: {format: hapFormats.UINT32,
|
|
535
535
|
allowedWordCount: 1,
|
|
536
|
-
perms: [hapPerms.
|
|
537
|
-
hapPerms.
|
|
536
|
+
perms: [hapPerms.PAIRED_READ,
|
|
537
|
+
hapPerms.PAIRED_WRITE,
|
|
538
538
|
hapPerms.NOTIFY
|
|
539
539
|
]
|
|
540
540
|
},
|
|
@@ -553,7 +553,7 @@ module.exports =
|
|
|
553
553
|
allowedWordCount: 1,
|
|
554
554
|
minValue: 0,
|
|
555
555
|
minStep: 1,
|
|
556
|
-
perms: [hapPerms.
|
|
556
|
+
perms: [hapPerms.PAIRED_READ,
|
|
557
557
|
hapPerms.NOTIFY
|
|
558
558
|
]
|
|
559
559
|
},
|
|
@@ -570,8 +570,8 @@ module.exports =
|
|
|
570
570
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
571
571
|
props: {format: hapFormats.BOOL,
|
|
572
572
|
allowedWordCount: 1,
|
|
573
|
-
perms: [hapPerms.
|
|
574
|
-
hapPerms.
|
|
573
|
+
perms: [hapPerms.PAIRED_READ,
|
|
574
|
+
hapPerms.PAIRED_WRITE,
|
|
575
575
|
hapPerms.NOTIFY
|
|
576
576
|
]
|
|
577
577
|
},
|
|
@@ -593,7 +593,7 @@ module.exports =
|
|
|
593
593
|
allowedWordCount: 1,
|
|
594
594
|
maxValue: 1000,
|
|
595
595
|
minValue: 0,
|
|
596
|
-
perms: [hapPerms.
|
|
596
|
+
perms: [hapPerms.PAIRED_READ,
|
|
597
597
|
hapPerms.NOTIFY
|
|
598
598
|
]
|
|
599
599
|
},
|
|
@@ -613,7 +613,7 @@ module.exports =
|
|
|
613
613
|
maxValue: 1,
|
|
614
614
|
minValue: 0,
|
|
615
615
|
minStep: 1,
|
|
616
|
-
perms: [hapPerms.
|
|
616
|
+
perms: [hapPerms.PAIRED_READ,
|
|
617
617
|
hapPerms.NOTIFY
|
|
618
618
|
]
|
|
619
619
|
},
|
|
@@ -639,7 +639,7 @@ module.exports =
|
|
|
639
639
|
maxValue: 5,
|
|
640
640
|
minValue: 0,
|
|
641
641
|
minStep: 1,
|
|
642
|
-
perms: [hapPerms.
|
|
642
|
+
perms: [hapPerms.PAIRED_READ,
|
|
643
643
|
hapPerms.NOTIFY
|
|
644
644
|
]
|
|
645
645
|
},
|
|
@@ -664,7 +664,7 @@ module.exports =
|
|
|
664
664
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
665
665
|
props: {format: hapFormats.TLV8,
|
|
666
666
|
allowedWordCount: 0,
|
|
667
|
-
perms: [hapPerms.
|
|
667
|
+
perms: [hapPerms.PAIRED_READ
|
|
668
668
|
]
|
|
669
669
|
},
|
|
670
670
|
validValues: // Checked 11/20/2020
|
|
@@ -681,8 +681,8 @@ module.exports =
|
|
|
681
681
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
682
682
|
props: {format: hapFormats.BOOL,
|
|
683
683
|
allowedWordCount: 1,
|
|
684
|
-
perms: [hapPerms.
|
|
685
|
-
hapPerms.
|
|
684
|
+
perms: [hapPerms.PAIRED_READ,
|
|
685
|
+
hapPerms.PAIRED_WRITE,
|
|
686
686
|
hapPerms.NOTIFY
|
|
687
687
|
]
|
|
688
688
|
},
|
|
@@ -706,7 +706,7 @@ module.exports =
|
|
|
706
706
|
maxValue: 100,
|
|
707
707
|
minValue: 0,
|
|
708
708
|
minStep: 1,
|
|
709
|
-
perms: [hapPerms.
|
|
709
|
+
perms: [hapPerms.PAIRED_READ,
|
|
710
710
|
hapPerms.NOTIFY
|
|
711
711
|
]
|
|
712
712
|
},
|
|
@@ -727,8 +727,8 @@ module.exports =
|
|
|
727
727
|
maxValue: 100,
|
|
728
728
|
minValue: 0,
|
|
729
729
|
minStep: 1,
|
|
730
|
-
perms: [hapPerms.
|
|
731
|
-
hapPerms.
|
|
730
|
+
perms: [hapPerms.PAIRED_READ,
|
|
731
|
+
hapPerms.PAIRED_WRITE,
|
|
732
732
|
hapPerms.NOTIFY
|
|
733
733
|
]
|
|
734
734
|
},
|
|
@@ -794,8 +794,8 @@ module.exports =
|
|
|
794
794
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
795
795
|
props: {format: hapFormats.BOOL,
|
|
796
796
|
allowedWordCount: 1,
|
|
797
|
-
perms: [hapPerms.
|
|
798
|
-
hapPerms.
|
|
797
|
+
perms: [hapPerms.PAIRED_READ,
|
|
798
|
+
hapPerms.PAIRED_WRITE,
|
|
799
799
|
hapPerms.NOTIFY,
|
|
800
800
|
hapPerms.TIMED_WRITE
|
|
801
801
|
]
|
|
@@ -819,7 +819,7 @@ module.exports =
|
|
|
819
819
|
maxValue: 1,
|
|
820
820
|
minValue: 0,
|
|
821
821
|
minStep: 1,
|
|
822
|
-
perms: [hapPerms.
|
|
822
|
+
perms: [hapPerms.PAIRED_READ,
|
|
823
823
|
hapPerms.NOTIFY
|
|
824
824
|
]
|
|
825
825
|
},
|
|
@@ -844,7 +844,7 @@ module.exports =
|
|
|
844
844
|
maxValue: 100000,
|
|
845
845
|
minValue: 0,
|
|
846
846
|
minStep: 1,
|
|
847
|
-
perms: [hapPerms.
|
|
847
|
+
perms: [hapPerms.PAIRED_READ,
|
|
848
848
|
hapPerms.NOTIFY
|
|
849
849
|
]
|
|
850
850
|
},
|
|
@@ -864,7 +864,7 @@ module.exports =
|
|
|
864
864
|
maxValue: 100000,
|
|
865
865
|
minValue: 0,
|
|
866
866
|
minStep: 1,
|
|
867
|
-
perms: [hapPerms.
|
|
867
|
+
perms: [hapPerms.PAIRED_READ,
|
|
868
868
|
hapPerms.NOTIFY
|
|
869
869
|
]
|
|
870
870
|
},
|
|
@@ -884,7 +884,7 @@ module.exports =
|
|
|
884
884
|
maxValue: 1,
|
|
885
885
|
minValue: 0,
|
|
886
886
|
minStep: 1,
|
|
887
|
-
perms: [hapPerms.
|
|
887
|
+
perms: [hapPerms.PAIRED_READ,
|
|
888
888
|
hapPerms.NOTIFY
|
|
889
889
|
]
|
|
890
890
|
},
|
|
@@ -909,7 +909,7 @@ module.exports =
|
|
|
909
909
|
maxValue: 100,
|
|
910
910
|
minValue: 0,
|
|
911
911
|
minStep: 1,
|
|
912
|
-
perms: [hapPerms.
|
|
912
|
+
perms: [hapPerms.PAIRED_READ,
|
|
913
913
|
hapPerms.NOTIFY
|
|
914
914
|
]
|
|
915
915
|
},
|
|
@@ -929,16 +929,17 @@ module.exports =
|
|
|
929
929
|
maxValue: 100,
|
|
930
930
|
minValue: 0,
|
|
931
931
|
minStep: 1,
|
|
932
|
-
perms: [hapPerms.
|
|
932
|
+
perms: [hapPerms.PAIRED_READ,
|
|
933
933
|
hapPerms.NOTIFY
|
|
934
934
|
]
|
|
935
935
|
},
|
|
936
936
|
validValues: {}
|
|
937
937
|
},
|
|
938
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
938
939
|
24: { type: "Category", // HomeKitTypes-Bridge
|
|
939
940
|
sche: "category", // HomeKitTypes-Bridge
|
|
940
941
|
characteristic: Characteristic.Category,
|
|
941
|
-
deprecated:
|
|
942
|
+
deprecated: true,
|
|
942
943
|
UUID: "000000A3-0000-1000-8000-0026BB765291",
|
|
943
944
|
description: "A Hint to HomeKitf of which Icon to Use",
|
|
944
945
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -948,7 +949,7 @@ module.exports =
|
|
|
948
949
|
allowedWordCount: 1,
|
|
949
950
|
maxValue: 16,
|
|
950
951
|
minValue: 1,
|
|
951
|
-
perms: [hapPerms.
|
|
952
|
+
perms: [hapPerms.PAIRED_READ,
|
|
952
953
|
hapPerms.NOTIFY
|
|
953
954
|
]
|
|
954
955
|
},
|
|
@@ -986,14 +987,14 @@ module.exports =
|
|
|
986
987
|
maxValue: 2,
|
|
987
988
|
minValue: 0,
|
|
988
989
|
minStep: 1,
|
|
989
|
-
perms: [hapPerms.
|
|
990
|
+
perms: [hapPerms.PAIRED_READ,
|
|
990
991
|
hapPerms.NOTIFY
|
|
991
992
|
]
|
|
992
993
|
},
|
|
993
994
|
validValues: // Checked 04/24/2020. Note: HomeKit Spec has inProgress, Not CHARGING
|
|
994
995
|
{"NOT_CHARGING": Characteristic.ChargingState.NOT_CHARGING,
|
|
995
996
|
"CHARGING": Characteristic.ChargingState.CHARGING,
|
|
996
|
-
"NOT_CHARGEABLE":Characteristic.ChargingState.NOT_CHARGEABLE
|
|
997
|
+
"NOT_CHARGEABLE": Characteristic.ChargingState.NOT_CHARGEABLE
|
|
997
998
|
}
|
|
998
999
|
},
|
|
999
1000
|
27: { type: "ClosedCaptions", // HomeKitTypes-Television
|
|
@@ -1010,8 +1011,8 @@ module.exports =
|
|
|
1010
1011
|
maxValue: 1,
|
|
1011
1012
|
minValue: 0,
|
|
1012
1013
|
minStep: 1,
|
|
1013
|
-
perms: [hapPerms.
|
|
1014
|
-
hapPerms.
|
|
1014
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1015
|
+
hapPerms.PAIRED_WRITE,
|
|
1015
1016
|
hapPerms.NOTIFY
|
|
1016
1017
|
]
|
|
1017
1018
|
},
|
|
@@ -1034,17 +1035,18 @@ module.exports =
|
|
|
1034
1035
|
maxValue: 500,
|
|
1035
1036
|
minValue: 140,
|
|
1036
1037
|
minStep: 1,
|
|
1037
|
-
perms: [hapPerms.
|
|
1038
|
-
hapPerms.
|
|
1038
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1039
|
+
hapPerms.PAIRED_WRITE,
|
|
1039
1040
|
hapPerms.NOTIFY
|
|
1040
1041
|
]
|
|
1041
1042
|
},
|
|
1042
1043
|
validValues: {}
|
|
1043
1044
|
},
|
|
1045
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
1044
1046
|
29: { type: "ConfigureBridgedAccessory", // HomeKitTypes-Bridge
|
|
1045
1047
|
sche: "configureBridgedAccessory", // HomeKitTypes-Bridge
|
|
1046
1048
|
characteristic: Characteristic.ConfigureBridgedAccessory,
|
|
1047
|
-
deprecated:
|
|
1049
|
+
deprecated: true,
|
|
1048
1050
|
UUID: "000000A0-0000-1000-8000-0026BB765291",
|
|
1049
1051
|
description: "The Configured Bridge Accessory",
|
|
1050
1052
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -1057,10 +1059,11 @@ module.exports =
|
|
|
1057
1059
|
},
|
|
1058
1060
|
validValues: {}
|
|
1059
1061
|
},
|
|
1062
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
1060
1063
|
30: { type: "ConfigureBridgedAccessoryStatus", // HomeKitTypes-Bridge
|
|
1061
1064
|
sche: "configureBridgedAccessoryStatus", // HomeKitTypes-Bridge
|
|
1062
1065
|
characteristic: Characteristic.ConfigureBridgedAccessoryStatus,
|
|
1063
|
-
deprecated:
|
|
1066
|
+
deprecated: true,
|
|
1064
1067
|
UUID: "0000009D-0000-1000-8000-0026BB765291",
|
|
1065
1068
|
description: "The Configured Bridge Accessory Status",
|
|
1066
1069
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -1068,7 +1071,7 @@ module.exports =
|
|
|
1068
1071
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
1069
1072
|
props: {format: hapFormats.TLV8,
|
|
1070
1073
|
allowedWordCount: 0,
|
|
1071
|
-
perms: [hapPerms.
|
|
1074
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1072
1075
|
hapPerms.NOTIFY
|
|
1073
1076
|
]
|
|
1074
1077
|
},
|
|
@@ -1085,8 +1088,8 @@ module.exports =
|
|
|
1085
1088
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
1086
1089
|
props: {format: hapFormats.STRING,
|
|
1087
1090
|
allowedWordCount: 0,
|
|
1088
|
-
perms: [hapPerms.
|
|
1089
|
-
hapPerms.
|
|
1091
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1092
|
+
hapPerms.PAIRED_WRITE,
|
|
1090
1093
|
hapPerms.NOTIFY
|
|
1091
1094
|
]
|
|
1092
1095
|
},
|
|
@@ -1106,7 +1109,7 @@ module.exports =
|
|
|
1106
1109
|
maxValue: 1,
|
|
1107
1110
|
minValue: 0,
|
|
1108
1111
|
minStep: 1,
|
|
1109
|
-
perms: [hapPerms.
|
|
1112
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1110
1113
|
hapPerms.NOTIFY
|
|
1111
1114
|
]
|
|
1112
1115
|
},
|
|
@@ -1130,8 +1133,8 @@ module.exports =
|
|
|
1130
1133
|
maxValue: 35,
|
|
1131
1134
|
minValue: 10,
|
|
1132
1135
|
minStep: 0.1,
|
|
1133
|
-
perms: [hapPerms.
|
|
1134
|
-
hapPerms.
|
|
1136
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1137
|
+
hapPerms.PAIRED_WRITE,
|
|
1135
1138
|
hapPerms.NOTIFY
|
|
1136
1139
|
]
|
|
1137
1140
|
},
|
|
@@ -1151,14 +1154,14 @@ module.exports =
|
|
|
1151
1154
|
maxValue: 2,
|
|
1152
1155
|
minValue: 0,
|
|
1153
1156
|
minStep: 1,
|
|
1154
|
-
perms: [hapPerms.
|
|
1157
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1155
1158
|
hapPerms.NOTIFY
|
|
1156
1159
|
]
|
|
1157
1160
|
},
|
|
1158
1161
|
validValues: // Checked 04/24/2020
|
|
1159
1162
|
{"INACTIVE": Characteristic.CurrentAirPurifierState.INACTIVE,
|
|
1160
1163
|
"IDLE": Characteristic.CurrentAirPurifierState.IDLE,
|
|
1161
|
-
"PURIFYING_AIR":Characteristic.CurrentAirPurifierState.PURIFYING_AIR
|
|
1164
|
+
"PURIFYING_AIR": Characteristic.CurrentAirPurifierState.PURIFYING_AIR
|
|
1162
1165
|
}
|
|
1163
1166
|
},
|
|
1164
1167
|
35: { type: "CurrentAmbientLightLevel",
|
|
@@ -1175,7 +1178,7 @@ module.exports =
|
|
|
1175
1178
|
unit: hapUnits.LUX,
|
|
1176
1179
|
maxValue: 100000,
|
|
1177
1180
|
minValue: 0.0001,
|
|
1178
|
-
perms: [hapPerms.
|
|
1181
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1179
1182
|
hapPerms.NOTIFY
|
|
1180
1183
|
]
|
|
1181
1184
|
},
|
|
@@ -1195,7 +1198,7 @@ module.exports =
|
|
|
1195
1198
|
maxValue: 4,
|
|
1196
1199
|
minValue: 0,
|
|
1197
1200
|
minStep: 1,
|
|
1198
|
-
perms: [hapPerms.
|
|
1201
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1199
1202
|
hapPerms.NOTIFY
|
|
1200
1203
|
]
|
|
1201
1204
|
},
|
|
@@ -1221,7 +1224,7 @@ module.exports =
|
|
|
1221
1224
|
maxValue: 2,
|
|
1222
1225
|
minValue: 0,
|
|
1223
1226
|
minStep: 1,
|
|
1224
|
-
perms: [hapPerms.
|
|
1227
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1225
1228
|
hapPerms.NOTIFY
|
|
1226
1229
|
]
|
|
1227
1230
|
},
|
|
@@ -1245,7 +1248,7 @@ module.exports =
|
|
|
1245
1248
|
maxValue: 3,
|
|
1246
1249
|
minValue: 0,
|
|
1247
1250
|
minStep: 1,
|
|
1248
|
-
perms: [hapPerms.
|
|
1251
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1249
1252
|
hapPerms.NOTIFY
|
|
1250
1253
|
]
|
|
1251
1254
|
},
|
|
@@ -1270,7 +1273,7 @@ module.exports =
|
|
|
1270
1273
|
maxValue: 3,
|
|
1271
1274
|
minValue: 0,
|
|
1272
1275
|
minStep: 1,
|
|
1273
|
-
perms: [hapPerms.
|
|
1276
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1274
1277
|
hapPerms.NOTIFY
|
|
1275
1278
|
]
|
|
1276
1279
|
},
|
|
@@ -1297,7 +1300,7 @@ module.exports =
|
|
|
1297
1300
|
maxValue: 90,
|
|
1298
1301
|
minValue: -90,
|
|
1299
1302
|
minStep: 1,
|
|
1300
|
-
perms: [hapPerms.
|
|
1303
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1301
1304
|
hapPerms.NOTIFY
|
|
1302
1305
|
]
|
|
1303
1306
|
},
|
|
@@ -1317,7 +1320,7 @@ module.exports =
|
|
|
1317
1320
|
maxValue: 3,
|
|
1318
1321
|
minValue: 0,
|
|
1319
1322
|
minStep: 1,
|
|
1320
|
-
perms: [hapPerms.
|
|
1323
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1321
1324
|
hapPerms.NOTIFY
|
|
1322
1325
|
]
|
|
1323
1326
|
},
|
|
@@ -1368,7 +1371,7 @@ module.exports =
|
|
|
1368
1371
|
maxValue: 100,
|
|
1369
1372
|
minValue: 0,
|
|
1370
1373
|
minStep: 1,
|
|
1371
|
-
perms: [hapPerms.
|
|
1374
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1372
1375
|
hapPerms.NOTIFY
|
|
1373
1376
|
]
|
|
1374
1377
|
},
|
|
@@ -1389,7 +1392,7 @@ module.exports =
|
|
|
1389
1392
|
maxValue: 100,
|
|
1390
1393
|
minValue: 0,
|
|
1391
1394
|
minStep: 1,
|
|
1392
|
-
perms: [hapPerms.
|
|
1395
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1393
1396
|
hapPerms.NOTIFY
|
|
1394
1397
|
]
|
|
1395
1398
|
},
|
|
@@ -1412,7 +1415,7 @@ module.exports =
|
|
|
1412
1415
|
maxValue: 2,
|
|
1413
1416
|
minValue: 0,
|
|
1414
1417
|
minStep: 1,
|
|
1415
|
-
perms: [hapPerms.
|
|
1418
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1416
1419
|
hapPerms.NOTIFY
|
|
1417
1420
|
]
|
|
1418
1421
|
},
|
|
@@ -1438,7 +1441,7 @@ module.exports =
|
|
|
1438
1441
|
maxValue: 100,
|
|
1439
1442
|
minValue: -270,
|
|
1440
1443
|
minStep: 0.1,
|
|
1441
|
-
perms: [hapPerms.
|
|
1444
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1442
1445
|
hapPerms.NOTIFY
|
|
1443
1446
|
]
|
|
1444
1447
|
},
|
|
@@ -1459,16 +1462,17 @@ module.exports =
|
|
|
1459
1462
|
maxValue: 90,
|
|
1460
1463
|
minValue: -90,
|
|
1461
1464
|
minStep: 1,
|
|
1462
|
-
perms: [hapPerms.
|
|
1465
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1463
1466
|
hapPerms.NOTIFY
|
|
1464
1467
|
]
|
|
1465
1468
|
},
|
|
1466
1469
|
validValues: {}
|
|
1467
1470
|
},
|
|
1471
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
1468
1472
|
48: { type: "CurrentTime", // HomeKitTypes-Bridge
|
|
1469
1473
|
sche: "currentTime", // HomeKitTypes-Bridge
|
|
1470
1474
|
characteristic: Characteristic.CurrentTime,
|
|
1471
|
-
deprecated:
|
|
1475
|
+
deprecated: true,
|
|
1472
1476
|
UUID: "0000009B-0000-1000-8000-0026BB765291",
|
|
1473
1477
|
description: "What Time it is Now",
|
|
1474
1478
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -1476,8 +1480,8 @@ module.exports =
|
|
|
1476
1480
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
1477
1481
|
props: {format: hapFormats.STRING,
|
|
1478
1482
|
allowedWordCount: 0,
|
|
1479
|
-
perms: [hapPerms.
|
|
1480
|
-
hapPerms.
|
|
1483
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1484
|
+
hapPerms.PAIRED_WRITE
|
|
1481
1485
|
]
|
|
1482
1486
|
},
|
|
1483
1487
|
validValues: {}
|
|
@@ -1493,7 +1497,7 @@ module.exports =
|
|
|
1493
1497
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
1494
1498
|
props: {format: hapFormats.BOOL,
|
|
1495
1499
|
allowedWordCount: 1,
|
|
1496
|
-
perms: [hapPerms.
|
|
1500
|
+
perms: [hapPerms.PAIRED_READ
|
|
1497
1501
|
]
|
|
1498
1502
|
},
|
|
1499
1503
|
validValues:
|
|
@@ -1516,7 +1520,7 @@ module.exports =
|
|
|
1516
1520
|
maxValue: 90,
|
|
1517
1521
|
minValue: -90,
|
|
1518
1522
|
minStep: 1,
|
|
1519
|
-
perms: [hapPerms.
|
|
1523
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1520
1524
|
hapPerms.NOTIFY
|
|
1521
1525
|
]
|
|
1522
1526
|
},
|
|
@@ -1536,7 +1540,7 @@ module.exports =
|
|
|
1536
1540
|
maxValue: 1,
|
|
1537
1541
|
minValue: 0,
|
|
1538
1542
|
minStep: 1,
|
|
1539
|
-
perms: [hapPerms.
|
|
1543
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1540
1544
|
hapPerms.NOTIFY
|
|
1541
1545
|
]
|
|
1542
1546
|
},
|
|
@@ -1556,8 +1560,8 @@ module.exports =
|
|
|
1556
1560
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
1557
1561
|
props: {format: hapFormats.TLV8,
|
|
1558
1562
|
allowedWordCount: 0,
|
|
1559
|
-
perms: [hapPerms.
|
|
1560
|
-
hapPerms.
|
|
1563
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1564
|
+
hapPerms.PAIRED_WRITE,
|
|
1561
1565
|
hapPerms.WRITE_RESPONSE
|
|
1562
1566
|
]
|
|
1563
1567
|
},
|
|
@@ -1580,10 +1584,11 @@ module.exports =
|
|
|
1580
1584
|
},
|
|
1581
1585
|
validValues: {}
|
|
1582
1586
|
},
|
|
1587
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
1583
1588
|
54: { type: "DayoftheWeek", // HomeKitTypes-Bridge
|
|
1584
1589
|
sche: "dayoftheWeek", // HomeKitTypes-Bridge
|
|
1585
1590
|
characteristic: Characteristic.DayoftheWeek,
|
|
1586
|
-
deprecated:
|
|
1591
|
+
deprecated: true,
|
|
1587
1592
|
UUID: "00000098-0000-1000-8000-0026BB765291",
|
|
1588
1593
|
description: "The Current Numerical Day of the Week",
|
|
1589
1594
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -1593,8 +1598,8 @@ module.exports =
|
|
|
1593
1598
|
allowedWordCount: 1,
|
|
1594
1599
|
maxValue: 7,
|
|
1595
1600
|
minValue: 1,
|
|
1596
|
-
perms: [hapPerms.
|
|
1597
|
-
hapPerms.
|
|
1601
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1602
|
+
hapPerms.PAIRED_WRITE
|
|
1598
1603
|
]
|
|
1599
1604
|
},
|
|
1600
1605
|
validValues: {}
|
|
@@ -1613,7 +1618,7 @@ module.exports =
|
|
|
1613
1618
|
unit: hapUnits.ARC_DEGREE,
|
|
1614
1619
|
maxValue: 360,
|
|
1615
1620
|
minValue: 0,
|
|
1616
|
-
perms: [hapPerms.
|
|
1621
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1617
1622
|
hapPerms.NOTIFY
|
|
1618
1623
|
]
|
|
1619
1624
|
},
|
|
@@ -1631,17 +1636,18 @@ module.exports =
|
|
|
1631
1636
|
props: {format: hapFormats.FLOAT,
|
|
1632
1637
|
allowedWordCount: 1,
|
|
1633
1638
|
minStep: 0.1,
|
|
1634
|
-
perms: [hapPerms.
|
|
1635
|
-
hapPerms.
|
|
1639
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1640
|
+
hapPerms.PAIRED_WRITE,
|
|
1636
1641
|
hapPerms.NOTIFY
|
|
1637
1642
|
]
|
|
1638
1643
|
},
|
|
1639
1644
|
validValues: {}
|
|
1640
1645
|
},
|
|
1646
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
1641
1647
|
57: { type: "DiscoverBridgedAccessories", // HomKitTypes-Bridge
|
|
1642
1648
|
sche: "discoverBridgedAccessories", // HomKitTypes-Bridge
|
|
1643
1649
|
characteristic: Characteristic.DiscoverBridgedAccessories,
|
|
1644
|
-
deprecated:
|
|
1650
|
+
deprecated: true,
|
|
1645
1651
|
UUID: "0000009E-0000-1000-8000-0026BB765291",
|
|
1646
1652
|
description: "The Discovered Bridge Accessories",
|
|
1647
1653
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -1649,17 +1655,18 @@ module.exports =
|
|
|
1649
1655
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
1650
1656
|
props: {format: hapFormats.UINT8,
|
|
1651
1657
|
allowedWordCount: 1,
|
|
1652
|
-
perms: [hapPerms.
|
|
1653
|
-
hapPerms.
|
|
1658
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1659
|
+
hapPerms.PAIRED_WRITE,
|
|
1654
1660
|
hapPerms.NOTIFY
|
|
1655
1661
|
]
|
|
1656
1662
|
},
|
|
1657
1663
|
validValues:{}
|
|
1658
1664
|
},
|
|
1665
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
1659
1666
|
58: { type: "DiscoveredBridgedAccessories", // HomKitTypes-Bridge
|
|
1660
1667
|
sche: "discoveredBridgedAccessories", // HomKitTypes-Bridge
|
|
1661
1668
|
characteristic: Characteristic.DiscoveredBridgedAccessories,
|
|
1662
|
-
deprecated:
|
|
1669
|
+
deprecated: true,
|
|
1663
1670
|
UUID: "0000009F-0000-1000-8000-0026BB765291",
|
|
1664
1671
|
description: "The Discovered Bridged Accessories",
|
|
1665
1672
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -1667,7 +1674,7 @@ module.exports =
|
|
|
1667
1674
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
1668
1675
|
props: {format: hapFormats.UINT16,
|
|
1669
1676
|
allowedWordCount: 1,
|
|
1670
|
-
perms: [hapPerms.
|
|
1677
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1671
1678
|
hapPerms.NOTIFY
|
|
1672
1679
|
]
|
|
1673
1680
|
},
|
|
@@ -1684,8 +1691,8 @@ module.exports =
|
|
|
1684
1691
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
1685
1692
|
props: {format: hapFormats.TLV8,
|
|
1686
1693
|
allowedWordCount: 0,
|
|
1687
|
-
perms: [hapPerms.
|
|
1688
|
-
hapPerms.
|
|
1694
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1695
|
+
hapPerms.PAIRED_WRITE,
|
|
1689
1696
|
hapPerms.NOTIFY
|
|
1690
1697
|
]
|
|
1691
1698
|
},
|
|
@@ -1720,8 +1727,8 @@ module.exports =
|
|
|
1720
1727
|
allowedWordCount: 1,
|
|
1721
1728
|
maxValue: 1,
|
|
1722
1729
|
minValue: 0,
|
|
1723
|
-
perms: [hapPerms.
|
|
1724
|
-
hapPerms.
|
|
1730
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1731
|
+
hapPerms.PAIRED_WRITE,
|
|
1725
1732
|
hapPerms.NOTIFY
|
|
1726
1733
|
]
|
|
1727
1734
|
},
|
|
@@ -1760,13 +1767,13 @@ module.exports =
|
|
|
1760
1767
|
maxValue: 1,
|
|
1761
1768
|
minValue: 0,
|
|
1762
1769
|
minStep: 1,
|
|
1763
|
-
perms: [hapPerms.
|
|
1770
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1764
1771
|
hapPerms.NOTIFY
|
|
1765
1772
|
]
|
|
1766
1773
|
},
|
|
1767
1774
|
validValues: // Checked 04/24/2020. HomeKit Spec has these as "notNeeded" and "needed"
|
|
1768
1775
|
{"FILTER_OK": Characteristic.FilterChangeIndication.FILTER_OK,
|
|
1769
|
-
"CHANGE_FILTER":Characteristic.FilterChangeIndication.CHANGE_FILTER
|
|
1776
|
+
"CHANGE_FILTER": Characteristic.FilterChangeIndication.CHANGE_FILTER
|
|
1770
1777
|
}
|
|
1771
1778
|
},
|
|
1772
1779
|
64: { type: "FilterLifeLevel",
|
|
@@ -1783,7 +1790,7 @@ module.exports =
|
|
|
1783
1790
|
maxValue: 100,
|
|
1784
1791
|
minValue: 0,
|
|
1785
1792
|
minStep: 1,
|
|
1786
|
-
perms: [hapPerms.
|
|
1793
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1787
1794
|
hapPerms.NOTIFY
|
|
1788
1795
|
]
|
|
1789
1796
|
},
|
|
@@ -1800,7 +1807,7 @@ module.exports =
|
|
|
1800
1807
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
1801
1808
|
props: {format: hapFormats.STRING,
|
|
1802
1809
|
allowedWordCount: 0,
|
|
1803
|
-
perms: [hapPerms.
|
|
1810
|
+
perms: [hapPerms.PAIRED_READ
|
|
1804
1811
|
]
|
|
1805
1812
|
},
|
|
1806
1813
|
validValues: {}
|
|
@@ -1816,7 +1823,7 @@ module.exports =
|
|
|
1816
1823
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
1817
1824
|
props: {format: hapFormats.STRING,
|
|
1818
1825
|
allowedWordCount: 0,
|
|
1819
|
-
perms: [hapPerms.
|
|
1826
|
+
perms: [hapPerms.PAIRED_READ
|
|
1820
1827
|
]
|
|
1821
1828
|
},
|
|
1822
1829
|
validValues: {}
|
|
@@ -1853,8 +1860,8 @@ module.exports =
|
|
|
1853
1860
|
maxValue: 25,
|
|
1854
1861
|
minValue: 0,
|
|
1855
1862
|
minStep: 0.1,
|
|
1856
|
-
perms: [hapPerms.
|
|
1857
|
-
hapPerms.
|
|
1863
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1864
|
+
hapPerms.PAIRED_WRITE,
|
|
1858
1865
|
hapPerms.NOTIFY
|
|
1859
1866
|
]
|
|
1860
1867
|
},
|
|
@@ -1871,7 +1878,7 @@ module.exports =
|
|
|
1871
1878
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
1872
1879
|
props: {format: hapFormats.BOOL,
|
|
1873
1880
|
allowedWordCount: 1,
|
|
1874
|
-
perms: [hapPerms.
|
|
1881
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
1875
1882
|
]
|
|
1876
1883
|
},
|
|
1877
1884
|
validValues:
|
|
@@ -1917,8 +1924,8 @@ module.exports =
|
|
|
1917
1924
|
maxValue: 360,
|
|
1918
1925
|
minValue: 0,
|
|
1919
1926
|
minStep: 1,
|
|
1920
|
-
perms: [hapPerms.
|
|
1921
|
-
hapPerms.
|
|
1927
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1928
|
+
hapPerms.PAIRED_WRITE,
|
|
1922
1929
|
hapPerms.NOTIFY
|
|
1923
1930
|
]
|
|
1924
1931
|
},
|
|
@@ -1935,7 +1942,7 @@ module.exports =
|
|
|
1935
1942
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
1936
1943
|
props: {format: hapFormats.UINT32,
|
|
1937
1944
|
allowedWordCount: 1,
|
|
1938
|
-
perms: [hapPerms.
|
|
1945
|
+
perms: [hapPerms.PAIRED_READ
|
|
1939
1946
|
]
|
|
1940
1947
|
},
|
|
1941
1948
|
validValues: {}
|
|
@@ -1951,7 +1958,7 @@ module.exports =
|
|
|
1951
1958
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
1952
1959
|
props: {format: hapFormats.BOOL,
|
|
1953
1960
|
allowedWordCount: 1,
|
|
1954
|
-
perms: [hapPerms.
|
|
1961
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
1955
1962
|
]
|
|
1956
1963
|
},
|
|
1957
1964
|
validValues:
|
|
@@ -1970,8 +1977,8 @@ module.exports =
|
|
|
1970
1977
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
1971
1978
|
props: {format: hapFormats.BOOL,
|
|
1972
1979
|
allowedWordCount: 1,
|
|
1973
|
-
perms: [hapPerms.
|
|
1974
|
-
hapPerms.
|
|
1980
|
+
perms: [hapPerms.PAIRED_READ,
|
|
1981
|
+
hapPerms.PAIRED_WRITE,
|
|
1975
1982
|
hapPerms.NOTIFY
|
|
1976
1983
|
]
|
|
1977
1984
|
},
|
|
@@ -1995,8 +2002,8 @@ module.exports =
|
|
|
1995
2002
|
maxValue: 360,
|
|
1996
2003
|
minValue: 0,
|
|
1997
2004
|
minStep: 1,
|
|
1998
|
-
perms: [hapPerms.
|
|
1999
|
-
hapPerms.
|
|
2005
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2006
|
+
hapPerms.PAIRED_WRITE,
|
|
2000
2007
|
hapPerms.NOTIFY
|
|
2001
2008
|
]
|
|
2002
2009
|
},
|
|
@@ -2016,7 +2023,7 @@ module.exports =
|
|
|
2016
2023
|
maxValue: 1,
|
|
2017
2024
|
minValue: 0,
|
|
2018
2025
|
minStep: 1,
|
|
2019
|
-
perms: [hapPerms.
|
|
2026
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2020
2027
|
hapPerms.NOTIFY
|
|
2021
2028
|
]
|
|
2022
2029
|
},
|
|
@@ -2039,18 +2046,18 @@ module.exports =
|
|
|
2039
2046
|
maxValue: 6,
|
|
2040
2047
|
minValue: 0,
|
|
2041
2048
|
minStep: 1,
|
|
2042
|
-
perms: [hapPerms.
|
|
2049
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2043
2050
|
hapPerms.NOTIFY
|
|
2044
2051
|
]
|
|
2045
2052
|
},
|
|
2046
2053
|
validValues:
|
|
2047
|
-
{"OTHER":
|
|
2048
|
-
"TV":
|
|
2049
|
-
"RECORDING":
|
|
2050
|
-
"TUNER":
|
|
2051
|
-
"PLAYBACK":
|
|
2052
|
-
"AUDIO_SYSTEM":Characteristic.InputDeviceType.AUDIO_SYSTEM,
|
|
2053
|
-
"UNKNOWN_6":
|
|
2054
|
+
{"OTHER": Characteristic.InputDeviceType.OTHER,
|
|
2055
|
+
"TV": Characteristic.InputDeviceType.TV,
|
|
2056
|
+
"RECORDING": Characteristic.InputDeviceType.RECORDING,
|
|
2057
|
+
"TUNER": Characteristic.InputDeviceType.TUNER,
|
|
2058
|
+
"PLAYBACK": Characteristic.InputDeviceType.PLAYBACK,
|
|
2059
|
+
"AUDIO_SYSTEM": Characteristic.InputDeviceType.AUDIO_SYSTEM,
|
|
2060
|
+
"UNKNOWN_6": Characteristic.InputDeviceType.UNKNOWN_6
|
|
2054
2061
|
}
|
|
2055
2062
|
},
|
|
2056
2063
|
78: { type: "InputSourceType", // HomeKitTypes-Television
|
|
@@ -2067,7 +2074,7 @@ module.exports =
|
|
|
2067
2074
|
maxValue: 10,
|
|
2068
2075
|
minValue: 0,
|
|
2069
2076
|
minStep: 1,
|
|
2070
|
-
perms: [hapPerms.
|
|
2077
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2071
2078
|
hapPerms.NOTIFY
|
|
2072
2079
|
]
|
|
2073
2080
|
},
|
|
@@ -2099,8 +2106,8 @@ module.exports =
|
|
|
2099
2106
|
maxValue: 1,
|
|
2100
2107
|
minValue: 0,
|
|
2101
2108
|
minStep: 1,
|
|
2102
|
-
perms: [hapPerms.
|
|
2103
|
-
hapPerms.
|
|
2109
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2110
|
+
hapPerms.PAIRED_WRITE,
|
|
2104
2111
|
hapPerms.NOTIFY
|
|
2105
2112
|
]
|
|
2106
2113
|
},
|
|
@@ -2123,7 +2130,7 @@ module.exports =
|
|
|
2123
2130
|
maxValue: 1,
|
|
2124
2131
|
minValue: 0,
|
|
2125
2132
|
minStep: 1,
|
|
2126
|
-
perms: [hapPerms.
|
|
2133
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2127
2134
|
hapPerms.NOTIFY
|
|
2128
2135
|
]
|
|
2129
2136
|
},
|
|
@@ -2132,10 +2139,11 @@ module.exports =
|
|
|
2132
2139
|
"LEAK_DETECTED": Characteristic.LeakDetected.LEAK_DETECTED
|
|
2133
2140
|
}
|
|
2134
2141
|
},
|
|
2142
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
2135
2143
|
81: { type: "LinkQuality", // HomeKitTypes-Bridge
|
|
2136
2144
|
sche: "linkQuality", // HomeKitTypes-Bridge
|
|
2137
2145
|
characteristic: Characteristic.LinkQuality,
|
|
2138
|
-
deprecated:
|
|
2146
|
+
deprecated: true,
|
|
2139
2147
|
UUID: "0000009C-0000-1000-8000-0026BB765291",
|
|
2140
2148
|
description: "The Links Quality",
|
|
2141
2149
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -2145,7 +2153,7 @@ module.exports =
|
|
|
2145
2153
|
allowedWordCount: 1,
|
|
2146
2154
|
maxValue: 4,
|
|
2147
2155
|
minValue: 1,
|
|
2148
|
-
perms: [hapPerms.
|
|
2156
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2149
2157
|
hapPerms.NOTIFY
|
|
2150
2158
|
]
|
|
2151
2159
|
},
|
|
@@ -2179,7 +2187,7 @@ module.exports =
|
|
|
2179
2187
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2180
2188
|
props: {format: hapFormats.TLV8,
|
|
2181
2189
|
allowedWordCount: 0,
|
|
2182
|
-
perms: [hapPerms.
|
|
2190
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
2183
2191
|
]
|
|
2184
2192
|
},
|
|
2185
2193
|
validValues: {}
|
|
@@ -2198,7 +2206,7 @@ module.exports =
|
|
|
2198
2206
|
maxValue: 3,
|
|
2199
2207
|
minValue: 0,
|
|
2200
2208
|
minStep: 1,
|
|
2201
|
-
perms: [hapPerms.
|
|
2209
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2202
2210
|
hapPerms.NOTIFY
|
|
2203
2211
|
]
|
|
2204
2212
|
},
|
|
@@ -2223,7 +2231,7 @@ module.exports =
|
|
|
2223
2231
|
maxValue: 10,
|
|
2224
2232
|
minValue: 0,
|
|
2225
2233
|
minStep: 1,
|
|
2226
|
-
perms: [hapPerms.
|
|
2234
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2227
2235
|
hapPerms.NOTIFY
|
|
2228
2236
|
]
|
|
2229
2237
|
},
|
|
@@ -2264,8 +2272,8 @@ module.exports =
|
|
|
2264
2272
|
props: {format: hapFormats.UINT32,
|
|
2265
2273
|
allowedWordCount: 1,
|
|
2266
2274
|
unit: hapUnits.SECONDS,
|
|
2267
|
-
perms: [hapPerms.
|
|
2268
|
-
hapPerms.
|
|
2275
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2276
|
+
hapPerms.PAIRED_WRITE,
|
|
2269
2277
|
hapPerms.NOTIFY
|
|
2270
2278
|
]
|
|
2271
2279
|
},
|
|
@@ -2285,8 +2293,8 @@ module.exports =
|
|
|
2285
2293
|
maxValue: 1,
|
|
2286
2294
|
minValue: 0,
|
|
2287
2295
|
minStep: 1,
|
|
2288
|
-
perms: [hapPerms.
|
|
2289
|
-
hapPerms.
|
|
2296
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2297
|
+
hapPerms.PAIRED_WRITE,
|
|
2290
2298
|
hapPerms.NOTIFY
|
|
2291
2299
|
]
|
|
2292
2300
|
},
|
|
@@ -2309,8 +2317,8 @@ module.exports =
|
|
|
2309
2317
|
maxValue: 1,
|
|
2310
2318
|
minValue: 0,
|
|
2311
2319
|
minStep: 1,
|
|
2312
|
-
perms: [hapPerms.
|
|
2313
|
-
hapPerms.
|
|
2320
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2321
|
+
hapPerms.PAIRED_WRITE,
|
|
2314
2322
|
hapPerms.NOTIFY
|
|
2315
2323
|
]
|
|
2316
2324
|
},
|
|
@@ -2330,7 +2338,7 @@ module.exports =
|
|
|
2330
2338
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2331
2339
|
props: {format: hapFormats.TLV8,
|
|
2332
2340
|
allowedWordCount: 0,
|
|
2333
|
-
perms: [hapPerms.
|
|
2341
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2334
2342
|
hapPerms.NOTIFY
|
|
2335
2343
|
]
|
|
2336
2344
|
},
|
|
@@ -2381,8 +2389,8 @@ module.exports =
|
|
|
2381
2389
|
allowedWordCount: 1,
|
|
2382
2390
|
maxValue: 1,
|
|
2383
2391
|
minValue: 0,
|
|
2384
|
-
perms: [hapPerms.
|
|
2385
|
-
hapPerms.
|
|
2392
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2393
|
+
hapPerms.PAIRED_WRITE,
|
|
2386
2394
|
hapPerms.NOTIFY,
|
|
2387
2395
|
hapPerms.TIMED_WRITE
|
|
2388
2396
|
]
|
|
@@ -2404,7 +2412,7 @@ module.exports =
|
|
|
2404
2412
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2405
2413
|
props: {format: hapFormats.BOOL,
|
|
2406
2414
|
allowedWordCount: 1,
|
|
2407
|
-
perms: [hapPerms.
|
|
2415
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2408
2416
|
hapPerms.NOTIFY
|
|
2409
2417
|
]
|
|
2410
2418
|
},
|
|
@@ -2424,7 +2432,7 @@ module.exports =
|
|
|
2424
2432
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
2425
2433
|
props: {format: hapFormats.STRING,
|
|
2426
2434
|
allowedWordCount: 0,
|
|
2427
|
-
perms: [hapPerms.
|
|
2435
|
+
perms: [hapPerms.PAIRED_READ
|
|
2428
2436
|
]
|
|
2429
2437
|
},
|
|
2430
2438
|
validValues: {}
|
|
@@ -2440,7 +2448,7 @@ module.exports =
|
|
|
2440
2448
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
2441
2449
|
props: {format: hapFormats.STRING,
|
|
2442
2450
|
allowedWordCount: 0,
|
|
2443
|
-
perms: [hapPerms.
|
|
2451
|
+
perms: [hapPerms.PAIRED_READ
|
|
2444
2452
|
]
|
|
2445
2453
|
},
|
|
2446
2454
|
validValues: {}
|
|
@@ -2456,7 +2464,7 @@ module.exports =
|
|
|
2456
2464
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2457
2465
|
props: {format: hapFormats.BOOL,
|
|
2458
2466
|
allowedWordCount: 1,
|
|
2459
|
-
perms: [hapPerms.
|
|
2467
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2460
2468
|
hapPerms.NOTIFY
|
|
2461
2469
|
]
|
|
2462
2470
|
},
|
|
@@ -2476,8 +2484,8 @@ module.exports =
|
|
|
2476
2484
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2477
2485
|
props: {format: hapFormats.BOOL,
|
|
2478
2486
|
allowedWordCount: 1,
|
|
2479
|
-
perms: [hapPerms.
|
|
2480
|
-
hapPerms.
|
|
2487
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2488
|
+
hapPerms.PAIRED_WRITE,
|
|
2481
2489
|
hapPerms.NOTIFY
|
|
2482
2490
|
]
|
|
2483
2491
|
},
|
|
@@ -2497,7 +2505,7 @@ module.exports =
|
|
|
2497
2505
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
2498
2506
|
props: {format: hapFormats.STRING,
|
|
2499
2507
|
allowedWordCount: 0,
|
|
2500
|
-
perms: [hapPerms.
|
|
2508
|
+
perms: [hapPerms.PAIRED_READ
|
|
2501
2509
|
]
|
|
2502
2510
|
},
|
|
2503
2511
|
validValues: {}
|
|
@@ -2513,8 +2521,8 @@ module.exports =
|
|
|
2513
2521
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2514
2522
|
props: {format: hapFormats.TLV8,
|
|
2515
2523
|
allowedWordCount: 0,
|
|
2516
|
-
perms: [hapPerms.
|
|
2517
|
-
hapPerms.
|
|
2524
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2525
|
+
hapPerms.PAIRED_WRITE,
|
|
2518
2526
|
hapPerms.NOTIFY,
|
|
2519
2527
|
hapPerms.TIMED_WRITE,
|
|
2520
2528
|
hapPerms.WRITE_RESPONSE
|
|
@@ -2533,8 +2541,8 @@ module.exports =
|
|
|
2533
2541
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2534
2542
|
props: {format: hapFormats.TLV8,
|
|
2535
2543
|
allowedWordCount: 0,
|
|
2536
|
-
perms: [hapPerms.
|
|
2537
|
-
hapPerms.
|
|
2544
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2545
|
+
hapPerms.PAIRED_WRITE,
|
|
2538
2546
|
hapPerms.NOTIFY,
|
|
2539
2547
|
hapPerms.TIMED_WRITE,
|
|
2540
2548
|
hapPerms.WRITE_RESPONSE
|
|
@@ -2553,8 +2561,8 @@ module.exports =
|
|
|
2553
2561
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2554
2562
|
props: {format: hapFormats.TLV8,
|
|
2555
2563
|
allowedWordCount: 0,
|
|
2556
|
-
perms: [hapPerms.
|
|
2557
|
-
hapPerms.
|
|
2564
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2565
|
+
hapPerms.PAIRED_WRITE,
|
|
2558
2566
|
hapPerms.WRITE_RESPONSE
|
|
2559
2567
|
]
|
|
2560
2568
|
},
|
|
@@ -2571,8 +2579,8 @@ module.exports =
|
|
|
2571
2579
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2572
2580
|
props: {format: hapFormats.BOOL,
|
|
2573
2581
|
allowedWordCount: 1,
|
|
2574
|
-
perms: [hapPerms.
|
|
2575
|
-
hapPerms.
|
|
2582
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2583
|
+
hapPerms.PAIRED_WRITE,
|
|
2576
2584
|
hapPerms.NOTIFY,
|
|
2577
2585
|
hapPerms.TIMED_WRITE
|
|
2578
2586
|
]
|
|
@@ -2596,7 +2604,7 @@ module.exports =
|
|
|
2596
2604
|
maxValue: 1000,
|
|
2597
2605
|
minValue: 0,
|
|
2598
2606
|
minStep: 1,
|
|
2599
|
-
perms: [hapPerms.
|
|
2607
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2600
2608
|
hapPerms.NOTIFY
|
|
2601
2609
|
]
|
|
2602
2610
|
},
|
|
@@ -2613,7 +2621,7 @@ module.exports =
|
|
|
2613
2621
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2614
2622
|
props: {format: hapFormats.BOOL,
|
|
2615
2623
|
allowedWordCount: 1,
|
|
2616
|
-
perms: [hapPerms.
|
|
2624
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2617
2625
|
hapPerms.NOTIFY
|
|
2618
2626
|
]
|
|
2619
2627
|
},
|
|
@@ -2636,7 +2644,7 @@ module.exports =
|
|
|
2636
2644
|
maxValue: 1,
|
|
2637
2645
|
minValue: 0,
|
|
2638
2646
|
minStep: 1,
|
|
2639
|
-
perms: [hapPerms.
|
|
2647
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2640
2648
|
hapPerms.NOTIFY
|
|
2641
2649
|
]
|
|
2642
2650
|
},
|
|
@@ -2658,8 +2666,8 @@ module.exports =
|
|
|
2658
2666
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2659
2667
|
props: {format: hapFormats.BOOL,
|
|
2660
2668
|
allowedWordCount: 1,
|
|
2661
|
-
perms: [hapPerms.
|
|
2662
|
-
hapPerms.
|
|
2669
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2670
|
+
hapPerms.PAIRED_WRITE,
|
|
2663
2671
|
hapPerms.NOTIFY
|
|
2664
2672
|
]
|
|
2665
2673
|
},
|
|
@@ -2697,8 +2705,8 @@ module.exports =
|
|
|
2697
2705
|
props: {format: hapFormats.FLOAT,
|
|
2698
2706
|
allowedWordCount: 1,
|
|
2699
2707
|
minStep: .1,
|
|
2700
|
-
perms: [hapPerms.
|
|
2701
|
-
hapPerms.
|
|
2708
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2709
|
+
hapPerms.PAIRED_WRITE,
|
|
2702
2710
|
hapPerms.NOTIFY
|
|
2703
2711
|
]
|
|
2704
2712
|
},
|
|
@@ -2715,7 +2723,7 @@ module.exports =
|
|
|
2715
2723
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
2716
2724
|
props: {format: hapFormats.BOOL,
|
|
2717
2725
|
allowedWordCount: 1,
|
|
2718
|
-
perms: [hapPerms.
|
|
2726
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2719
2727
|
hapPerms.NOTIFY
|
|
2720
2728
|
]
|
|
2721
2729
|
},
|
|
@@ -2738,7 +2746,7 @@ module.exports =
|
|
|
2738
2746
|
maxValue: 1000,
|
|
2739
2747
|
minValue: 0,
|
|
2740
2748
|
minStep: 1,
|
|
2741
|
-
perms: [hapPerms.
|
|
2749
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2742
2750
|
hapPerms.NOTIFY
|
|
2743
2751
|
]
|
|
2744
2752
|
},
|
|
@@ -2758,7 +2766,7 @@ module.exports =
|
|
|
2758
2766
|
maxValue: 1000,
|
|
2759
2767
|
minValue: 0,
|
|
2760
2768
|
minStep: 1,
|
|
2761
|
-
perms: [hapPerms.
|
|
2769
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2762
2770
|
hapPerms.NOTIFY
|
|
2763
2771
|
]
|
|
2764
2772
|
},
|
|
@@ -2778,7 +2786,7 @@ module.exports =
|
|
|
2778
2786
|
maxValue: 1000,
|
|
2779
2787
|
minValue: 0,
|
|
2780
2788
|
minStep: 1,
|
|
2781
|
-
perms: [hapPerms.
|
|
2789
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2782
2790
|
hapPerms.NOTIFY
|
|
2783
2791
|
]
|
|
2784
2792
|
},
|
|
@@ -2795,8 +2803,8 @@ module.exports =
|
|
|
2795
2803
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2796
2804
|
props: {format: hapFormats.TLV8,
|
|
2797
2805
|
allowedWordCount: 0,
|
|
2798
|
-
perms: [hapPerms.
|
|
2799
|
-
hapPerms.
|
|
2806
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2807
|
+
hapPerms.PAIRED_WRITE
|
|
2800
2808
|
]
|
|
2801
2809
|
},
|
|
2802
2810
|
validValues: {}
|
|
@@ -2812,8 +2820,8 @@ module.exports =
|
|
|
2812
2820
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2813
2821
|
props: {format: hapFormats.TLV8,
|
|
2814
2822
|
allowedWordCount: 0,
|
|
2815
|
-
perms: [hapPerms.
|
|
2816
|
-
hapPerms.
|
|
2823
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2824
|
+
hapPerms.PAIRED_WRITE
|
|
2817
2825
|
]
|
|
2818
2826
|
},
|
|
2819
2827
|
validValues: {}
|
|
@@ -2829,7 +2837,7 @@ module.exports =
|
|
|
2829
2837
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
2830
2838
|
props: {format: hapFormats.UINT8,
|
|
2831
2839
|
allowedWordCount: 1,
|
|
2832
|
-
perms: [hapPerms.
|
|
2840
|
+
perms: [hapPerms.PAIRED_READ
|
|
2833
2841
|
]
|
|
2834
2842
|
},
|
|
2835
2843
|
validValues: {}
|
|
@@ -2845,8 +2853,8 @@ module.exports =
|
|
|
2845
2853
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
2846
2854
|
props: {format: hapFormats.TLV8,
|
|
2847
2855
|
allowedWordCount: 0,
|
|
2848
|
-
perms: [hapPerms.
|
|
2849
|
-
hapPerms.
|
|
2856
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2857
|
+
hapPerms.PAIRED_WRITE
|
|
2850
2858
|
]
|
|
2851
2859
|
},
|
|
2852
2860
|
validValues: {}
|
|
@@ -2880,8 +2888,8 @@ module.exports =
|
|
|
2880
2888
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
2881
2889
|
props: {format: hapFormats.UINT8,
|
|
2882
2890
|
allowedWordCount: 1,
|
|
2883
|
-
perms: [hapPerms.
|
|
2884
|
-
hapPerms.
|
|
2891
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2892
|
+
hapPerms.PAIRED_WRITE,
|
|
2885
2893
|
hapPerms.NOTIFY
|
|
2886
2894
|
]
|
|
2887
2895
|
},
|
|
@@ -2904,8 +2912,8 @@ module.exports =
|
|
|
2904
2912
|
maxValue: 13,
|
|
2905
2913
|
minValue: 0,
|
|
2906
2914
|
minStep: 1,
|
|
2907
|
-
perms: [hapPerms.
|
|
2908
|
-
hapPerms.
|
|
2915
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2916
|
+
hapPerms.PAIRED_WRITE,
|
|
2909
2917
|
hapPerms.NOTIFY
|
|
2910
2918
|
]
|
|
2911
2919
|
},
|
|
@@ -2956,7 +2964,7 @@ module.exports =
|
|
|
2956
2964
|
maxValue: 2,
|
|
2957
2965
|
minValue: 0,
|
|
2958
2966
|
minStep: 1,
|
|
2959
|
-
perms: [hapPerms.
|
|
2967
|
+
perms: [hapPerms.PAIRED_READ,
|
|
2960
2968
|
hapPerms.NOTIFY
|
|
2961
2969
|
]
|
|
2962
2970
|
},
|
|
@@ -2980,7 +2988,7 @@ module.exports =
|
|
|
2980
2988
|
maxValue: 1,
|
|
2981
2989
|
minValue: 0,
|
|
2982
2990
|
minStep: 1,
|
|
2983
|
-
perms: [hapPerms.
|
|
2991
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
2984
2992
|
]
|
|
2985
2993
|
},
|
|
2986
2994
|
validValues:
|
|
@@ -2999,7 +3007,7 @@ module.exports =
|
|
|
2999
3007
|
stringConversionFunction: function ( str ){ return stringPassThru( str ); },
|
|
3000
3008
|
props: {format: hapFormats.DATA,
|
|
3001
3009
|
allowedWordCount: 0,
|
|
3002
|
-
perms: [hapPerms.
|
|
3010
|
+
perms: [hapPerms.PAIRED_READ
|
|
3003
3011
|
]
|
|
3004
3012
|
},
|
|
3005
3013
|
validValues: {}
|
|
@@ -3018,7 +3026,7 @@ module.exports =
|
|
|
3018
3026
|
maxValue: 2,
|
|
3019
3027
|
minValue: 0,
|
|
3020
3028
|
minStep: 1,
|
|
3021
|
-
perms: [hapPerms.
|
|
3029
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3022
3030
|
hapPerms.NOTIFY
|
|
3023
3031
|
]
|
|
3024
3032
|
},
|
|
@@ -3028,7 +3036,7 @@ module.exports =
|
|
|
3028
3036
|
"PROGRAM_SCHEDULED":
|
|
3029
3037
|
Characteristic.ProgramMode.PROGRAM_SCHEDULED,
|
|
3030
3038
|
"PROGRAM_SCHEDULED_MANUAL_MODE":
|
|
3031
|
-
Characteristic.ProgramMode.
|
|
3039
|
+
Characteristic.ProgramMode.PROGRAM_SCHEDULED_MANUAL_MODE
|
|
3032
3040
|
}
|
|
3033
3041
|
},
|
|
3034
3042
|
125: { type: "ProgrammableSwitchEvent",
|
|
@@ -3045,7 +3053,7 @@ module.exports =
|
|
|
3045
3053
|
maxValue: 2,
|
|
3046
3054
|
minValue: 0,
|
|
3047
3055
|
minStep: 1,
|
|
3048
|
-
perms: [hapPerms.
|
|
3056
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3049
3057
|
hapPerms.NOTIFY
|
|
3050
3058
|
]
|
|
3051
3059
|
},
|
|
@@ -3069,17 +3077,18 @@ module.exports =
|
|
|
3069
3077
|
maxValue: 1,
|
|
3070
3078
|
minValue: 0,
|
|
3071
3079
|
minStep: 1,
|
|
3072
|
-
perms: [hapPerms.
|
|
3073
|
-
hapPerms.
|
|
3080
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3081
|
+
hapPerms.PAIRED_WRITE,
|
|
3074
3082
|
hapPerms.NOTIFY
|
|
3075
3083
|
]
|
|
3076
3084
|
},
|
|
3077
3085
|
validValues: {}
|
|
3078
3086
|
},
|
|
3087
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
3079
3088
|
127: { type: "Reachable", // HomeKitTypes-Bridge
|
|
3080
3089
|
sche: "reachable", // HomeKitTypes-Bridge
|
|
3081
3090
|
characteristic: Characteristic.Reachable,
|
|
3082
|
-
deprecated:
|
|
3091
|
+
deprecated: true,
|
|
3083
3092
|
UUID: "00000063-0000-1000-8000-0026BB765291",
|
|
3084
3093
|
description: "If the Device is Reachable",
|
|
3085
3094
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -3164,8 +3173,8 @@ module.exports =
|
|
|
3164
3173
|
maxValue: 100,
|
|
3165
3174
|
minValue: 0,
|
|
3166
3175
|
minStep: 1,
|
|
3167
|
-
perms: [hapPerms.
|
|
3168
|
-
hapPerms.
|
|
3176
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3177
|
+
hapPerms.PAIRED_WRITE,
|
|
3169
3178
|
hapPerms.NOTIFY
|
|
3170
3179
|
]
|
|
3171
3180
|
},
|
|
@@ -3186,8 +3195,8 @@ module.exports =
|
|
|
3186
3195
|
maxValue: 100,
|
|
3187
3196
|
minValue: 0,
|
|
3188
3197
|
minStep: 1,
|
|
3189
|
-
perms: [hapPerms.
|
|
3190
|
-
hapPerms.
|
|
3198
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3199
|
+
hapPerms.PAIRED_WRITE,
|
|
3191
3200
|
hapPerms.NOTIFY
|
|
3192
3201
|
]
|
|
3193
3202
|
},
|
|
@@ -3204,8 +3213,8 @@ module.exports =
|
|
|
3204
3213
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3205
3214
|
props: {format: hapFormats.TLV8,
|
|
3206
3215
|
allowedWordCount: 0,
|
|
3207
|
-
perms: [hapPerms.
|
|
3208
|
-
hapPerms.
|
|
3216
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3217
|
+
hapPerms.PAIRED_WRITE,
|
|
3209
3218
|
hapPerms.NOTIFY
|
|
3210
3219
|
]
|
|
3211
3220
|
},
|
|
@@ -3222,8 +3231,8 @@ module.exports =
|
|
|
3222
3231
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
3223
3232
|
props: {format: hapFormats.BOOL,
|
|
3224
3233
|
allowedWordCount: 1,
|
|
3225
|
-
perms: [hapPerms.
|
|
3226
|
-
hapPerms.
|
|
3234
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3235
|
+
hapPerms.PAIRED_WRITE,
|
|
3227
3236
|
hapPerms.NOTIFY
|
|
3228
3237
|
]
|
|
3229
3238
|
},
|
|
@@ -3246,7 +3255,7 @@ module.exports =
|
|
|
3246
3255
|
maxValue: 5,
|
|
3247
3256
|
minValue: 0,
|
|
3248
3257
|
minStep: 1,
|
|
3249
|
-
perms: [hapPerms.
|
|
3258
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3250
3259
|
hapPerms.NOTIFY
|
|
3251
3260
|
]
|
|
3252
3261
|
},
|
|
@@ -3266,7 +3275,7 @@ module.exports =
|
|
|
3266
3275
|
maxValue: 3600,
|
|
3267
3276
|
minValue: 0,
|
|
3268
3277
|
minStep: 1,
|
|
3269
|
-
perms: [hapPerms.
|
|
3278
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3270
3279
|
hapPerms.NOTIFY
|
|
3271
3280
|
]
|
|
3272
3281
|
},
|
|
@@ -3286,7 +3295,7 @@ module.exports =
|
|
|
3286
3295
|
maxValue: 16,
|
|
3287
3296
|
minValue: 0,
|
|
3288
3297
|
minStep: 1,
|
|
3289
|
-
perms: [hapPerms.
|
|
3298
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
3290
3299
|
]
|
|
3291
3300
|
},
|
|
3292
3301
|
validValues:
|
|
@@ -3323,7 +3332,7 @@ module.exports =
|
|
|
3323
3332
|
maxValue: 1,
|
|
3324
3333
|
minValue: 1,
|
|
3325
3334
|
minStep: 1,
|
|
3326
|
-
perms: [hapPerms.
|
|
3335
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
3327
3336
|
]
|
|
3328
3337
|
},
|
|
3329
3338
|
validValues: {}
|
|
@@ -3342,8 +3351,8 @@ module.exports =
|
|
|
3342
3351
|
maxValue: 1,
|
|
3343
3352
|
minValue: 0,
|
|
3344
3353
|
minStep: 1,
|
|
3345
|
-
perms: [hapPerms.
|
|
3346
|
-
hapPerms.
|
|
3354
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3355
|
+
hapPerms.PAIRED_WRITE,
|
|
3347
3356
|
hapPerms.NOTIFY
|
|
3348
3357
|
]
|
|
3349
3358
|
},
|
|
@@ -3369,8 +3378,8 @@ module.exports =
|
|
|
3369
3378
|
maxValue: 100,
|
|
3370
3379
|
minValue: 0,
|
|
3371
3380
|
minStep: 1,
|
|
3372
|
-
perms: [hapPerms.
|
|
3373
|
-
hapPerms.
|
|
3381
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3382
|
+
hapPerms.PAIRED_WRITE,
|
|
3374
3383
|
hapPerms.NOTIFY
|
|
3375
3384
|
]
|
|
3376
3385
|
},
|
|
@@ -3389,7 +3398,7 @@ module.exports =
|
|
|
3389
3398
|
allowedWordCount: 1,
|
|
3390
3399
|
maxValue: 1,
|
|
3391
3400
|
minValue: 0,
|
|
3392
|
-
perms: [hapPerms.
|
|
3401
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3393
3402
|
hapPerms.NOTIFY
|
|
3394
3403
|
]
|
|
3395
3404
|
},
|
|
@@ -3412,8 +3421,8 @@ module.exports =
|
|
|
3412
3421
|
maxValue: 100,
|
|
3413
3422
|
minValue: 0,
|
|
3414
3423
|
minStep: 1,
|
|
3415
|
-
perms: [hapPerms.
|
|
3416
|
-
hapPerms.
|
|
3424
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3425
|
+
hapPerms.PAIRED_WRITE,
|
|
3417
3426
|
hapPerms.NOTIFY
|
|
3418
3427
|
]
|
|
3419
3428
|
},
|
|
@@ -3433,7 +3442,7 @@ module.exports =
|
|
|
3433
3442
|
maxValue: 1,
|
|
3434
3443
|
minValue: 0,
|
|
3435
3444
|
minStep: 1,
|
|
3436
|
-
perms: [hapPerms.
|
|
3445
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3437
3446
|
hapPerms.NOTIFY
|
|
3438
3447
|
]
|
|
3439
3448
|
},
|
|
@@ -3453,7 +3462,7 @@ module.exports =
|
|
|
3453
3462
|
maxValue: 4,
|
|
3454
3463
|
minValue: 0,
|
|
3455
3464
|
minStep: 1,
|
|
3456
|
-
perms: [hapPerms.
|
|
3465
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3457
3466
|
hapPerms.NOTIFY
|
|
3458
3467
|
]
|
|
3459
3468
|
},
|
|
@@ -3484,8 +3493,8 @@ module.exports =
|
|
|
3484
3493
|
maxValue: 3,
|
|
3485
3494
|
minValue: 0,
|
|
3486
3495
|
minStep: 1,
|
|
3487
|
-
perms: [hapPerms.
|
|
3488
|
-
hapPerms.
|
|
3496
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3497
|
+
hapPerms.PAIRED_WRITE,
|
|
3489
3498
|
hapPerms.NOTIFY
|
|
3490
3499
|
]
|
|
3491
3500
|
},
|
|
@@ -3524,8 +3533,8 @@ module.exports =
|
|
|
3524
3533
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3525
3534
|
props: {format: hapFormats.TLV8,
|
|
3526
3535
|
allowedWordCount: 0,
|
|
3527
|
-
perms: [hapPerms.
|
|
3528
|
-
hapPerms.
|
|
3536
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3537
|
+
hapPerms.PAIRED_WRITE,
|
|
3529
3538
|
hapPerms.NOTIFY
|
|
3530
3539
|
]
|
|
3531
3540
|
},
|
|
@@ -3542,8 +3551,8 @@ module.exports =
|
|
|
3542
3551
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3543
3552
|
props: {format: hapFormats.TLV8,
|
|
3544
3553
|
allowedWordCount: 0,
|
|
3545
|
-
perms: [hapPerms.
|
|
3546
|
-
hapPerms.
|
|
3554
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3555
|
+
hapPerms.PAIRED_WRITE
|
|
3547
3556
|
]
|
|
3548
3557
|
},
|
|
3549
3558
|
validValues: {}
|
|
@@ -3559,7 +3568,7 @@ module.exports =
|
|
|
3559
3568
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
3560
3569
|
props: {format: hapFormats.STRING,
|
|
3561
3570
|
allowedWordCount: 0,
|
|
3562
|
-
perms: [hapPerms.
|
|
3571
|
+
perms: [hapPerms.PAIRED_READ
|
|
3563
3572
|
]
|
|
3564
3573
|
},
|
|
3565
3574
|
validValues: {}
|
|
@@ -3578,7 +3587,7 @@ module.exports =
|
|
|
3578
3587
|
maxValue: 255,
|
|
3579
3588
|
minValue: 1,
|
|
3580
3589
|
minStep: 1,
|
|
3581
|
-
perms: [hapPerms.
|
|
3590
|
+
perms: [hapPerms.PAIRED_READ
|
|
3582
3591
|
]
|
|
3583
3592
|
},
|
|
3584
3593
|
validValues: {}
|
|
@@ -3597,7 +3606,7 @@ module.exports =
|
|
|
3597
3606
|
maxValue: 1,
|
|
3598
3607
|
minValue: 0,
|
|
3599
3608
|
minStep: 1,
|
|
3600
|
-
perms: [hapPerms.
|
|
3609
|
+
perms: [hapPerms.PAIRED_READ
|
|
3601
3610
|
]
|
|
3602
3611
|
},
|
|
3603
3612
|
validValues:
|
|
@@ -3619,8 +3628,8 @@ module.exports =
|
|
|
3619
3628
|
maxValue: 3600,
|
|
3620
3629
|
minValue: 0,
|
|
3621
3630
|
minStep: 1,
|
|
3622
|
-
perms: [hapPerms.
|
|
3623
|
-
hapPerms.
|
|
3631
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3632
|
+
hapPerms.PAIRED_WRITE,
|
|
3624
3633
|
hapPerms.NOTIFY
|
|
3625
3634
|
]
|
|
3626
3635
|
},
|
|
@@ -3655,8 +3664,8 @@ module.exports =
|
|
|
3655
3664
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3656
3665
|
props: {format: hapFormats.TLV8,
|
|
3657
3666
|
allowedWordCount: 0,
|
|
3658
|
-
perms: [hapPerms.
|
|
3659
|
-
hapPerms.
|
|
3667
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3668
|
+
hapPerms.PAIRED_WRITE
|
|
3660
3669
|
]
|
|
3661
3670
|
},
|
|
3662
3671
|
validValues: {}
|
|
@@ -3728,7 +3737,7 @@ module.exports =
|
|
|
3728
3737
|
maxValue: 1,
|
|
3729
3738
|
minValue: 0,
|
|
3730
3739
|
minStep: 1,
|
|
3731
|
-
perms: [hapPerms.
|
|
3740
|
+
perms: [hapPerms.PAIRED_READ
|
|
3732
3741
|
]
|
|
3733
3742
|
},
|
|
3734
3743
|
validValues:
|
|
@@ -3750,7 +3759,7 @@ module.exports =
|
|
|
3750
3759
|
maxValue: 1,
|
|
3751
3760
|
minValue: 0,
|
|
3752
3761
|
minStep: 1,
|
|
3753
|
-
perms: [hapPerms.
|
|
3762
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3754
3763
|
hapPerms.NOTIFY
|
|
3755
3764
|
]
|
|
3756
3765
|
},
|
|
@@ -3792,7 +3801,7 @@ module.exports =
|
|
|
3792
3801
|
maxValue: 1,
|
|
3793
3802
|
minValue: 0,
|
|
3794
3803
|
minStep: 1,
|
|
3795
|
-
perms: [hapPerms.
|
|
3804
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3796
3805
|
hapPerms.NOTIFY
|
|
3797
3806
|
]
|
|
3798
3807
|
},
|
|
@@ -3812,7 +3821,7 @@ module.exports =
|
|
|
3812
3821
|
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
3813
3822
|
props: {format: hapFormats.STRING,
|
|
3814
3823
|
allowedWordCount: 0,
|
|
3815
|
-
perms: [hapPerms.
|
|
3824
|
+
perms: [hapPerms.PAIRED_READ
|
|
3816
3825
|
]
|
|
3817
3826
|
},
|
|
3818
3827
|
validValues: {}
|
|
@@ -3828,7 +3837,7 @@ module.exports =
|
|
|
3828
3837
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
3829
3838
|
props: {format: hapFormats.BOOL,
|
|
3830
3839
|
allowedWordCount: 1,
|
|
3831
|
-
perms: [hapPerms.
|
|
3840
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3832
3841
|
hapPerms.NOTIFY
|
|
3833
3842
|
]
|
|
3834
3843
|
},
|
|
@@ -3851,7 +3860,7 @@ module.exports =
|
|
|
3851
3860
|
maxValue: 1,
|
|
3852
3861
|
minValue: 0,
|
|
3853
3862
|
minStep: 1,
|
|
3854
|
-
perms: [hapPerms.
|
|
3863
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3855
3864
|
hapPerms.NOTIFY
|
|
3856
3865
|
]
|
|
3857
3866
|
},
|
|
@@ -3874,7 +3883,7 @@ module.exports =
|
|
|
3874
3883
|
maxValue: 1,
|
|
3875
3884
|
minValue: 0,
|
|
3876
3885
|
minStep: 1,
|
|
3877
|
-
perms: [hapPerms.
|
|
3886
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3878
3887
|
hapPerms.NOTIFY
|
|
3879
3888
|
]
|
|
3880
3889
|
},
|
|
@@ -3897,7 +3906,7 @@ module.exports =
|
|
|
3897
3906
|
maxValue: 1,
|
|
3898
3907
|
minValue: 0,
|
|
3899
3908
|
minStep: 1,
|
|
3900
|
-
perms: [hapPerms.
|
|
3909
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3901
3910
|
hapPerms.NOTIFY
|
|
3902
3911
|
]
|
|
3903
3912
|
},
|
|
@@ -3922,7 +3931,7 @@ module.exports =
|
|
|
3922
3931
|
maxValue: 1,
|
|
3923
3932
|
minValue: 0,
|
|
3924
3933
|
minStep: 1,
|
|
3925
|
-
perms: [hapPerms.
|
|
3934
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3926
3935
|
hapPerms.NOTIFY
|
|
3927
3936
|
]
|
|
3928
3937
|
},
|
|
@@ -3942,7 +3951,7 @@ module.exports =
|
|
|
3942
3951
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3943
3952
|
props: {format: hapFormats.TLV8,
|
|
3944
3953
|
allowedWordCount: 0,
|
|
3945
|
-
perms: [hapPerms.
|
|
3954
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3946
3955
|
hapPerms.NOTIFY
|
|
3947
3956
|
]
|
|
3948
3957
|
},
|
|
@@ -3962,7 +3971,7 @@ module.exports =
|
|
|
3962
3971
|
maxValue: 1000,
|
|
3963
3972
|
minValue: 0,
|
|
3964
3973
|
minStep: 1,
|
|
3965
|
-
perms: [hapPerms.
|
|
3974
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3966
3975
|
hapPerms.NOTIFY
|
|
3967
3976
|
]
|
|
3968
3977
|
},
|
|
@@ -3979,7 +3988,7 @@ module.exports =
|
|
|
3979
3988
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3980
3989
|
props: {format: hapFormats.TLV8,
|
|
3981
3990
|
allowedWordCount: 0,
|
|
3982
|
-
perms: [hapPerms.
|
|
3991
|
+
perms: [hapPerms.PAIRED_READ,
|
|
3983
3992
|
hapPerms.NOTIFY
|
|
3984
3993
|
]
|
|
3985
3994
|
},
|
|
@@ -3996,7 +4005,7 @@ module.exports =
|
|
|
3996
4005
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
3997
4006
|
props: {format: hapFormats.TLV8,
|
|
3998
4007
|
allowedWordCount: 0,
|
|
3999
|
-
perms: [hapPerms.
|
|
4008
|
+
perms: [hapPerms.PAIRED_READ
|
|
4000
4009
|
]
|
|
4001
4010
|
},
|
|
4002
4011
|
validValues: {}
|
|
@@ -4012,7 +4021,7 @@ module.exports =
|
|
|
4012
4021
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4013
4022
|
props: {format: hapFormats.TLV8,
|
|
4014
4023
|
allowedWordCount: 0,
|
|
4015
|
-
perms: [hapPerms.
|
|
4024
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4016
4025
|
hapPerms.NOTIFY
|
|
4017
4026
|
]
|
|
4018
4027
|
},
|
|
@@ -4029,7 +4038,7 @@ module.exports =
|
|
|
4029
4038
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4030
4039
|
props: {format: hapFormats.TLV8,
|
|
4031
4040
|
allowedWordCount: 0,
|
|
4032
|
-
perms: [hapPerms.
|
|
4041
|
+
perms: [hapPerms.PAIRED_READ
|
|
4033
4042
|
]
|
|
4034
4043
|
},
|
|
4035
4044
|
validValues: {}
|
|
@@ -4045,7 +4054,7 @@ module.exports =
|
|
|
4045
4054
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4046
4055
|
props: {format: hapFormats.TLV8,
|
|
4047
4056
|
allowedWordCount: 0,
|
|
4048
|
-
perms: [hapPerms.
|
|
4057
|
+
perms: [hapPerms.PAIRED_READ
|
|
4049
4058
|
]
|
|
4050
4059
|
},
|
|
4051
4060
|
validValues: {}
|
|
@@ -4077,7 +4086,7 @@ module.exports =
|
|
|
4077
4086
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4078
4087
|
props: {format: hapFormats.TLV8,
|
|
4079
4088
|
allowedWordCount: 0,
|
|
4080
|
-
perms: [hapPerms.
|
|
4089
|
+
perms: [hapPerms.PAIRED_READ
|
|
4081
4090
|
]
|
|
4082
4091
|
},
|
|
4083
4092
|
validValues: {}
|
|
@@ -4093,7 +4102,7 @@ module.exports =
|
|
|
4093
4102
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4094
4103
|
props: {format: hapFormats.TLV8,
|
|
4095
4104
|
allowedWordCount: 0,
|
|
4096
|
-
perms: [hapPerms.
|
|
4105
|
+
perms: [hapPerms.PAIRED_READ
|
|
4097
4106
|
]
|
|
4098
4107
|
},
|
|
4099
4108
|
validValues: {}
|
|
@@ -4125,7 +4134,7 @@ module.exports =
|
|
|
4125
4134
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4126
4135
|
props: {format: hapFormats.TLV8,
|
|
4127
4136
|
allowedWordCount: 0,
|
|
4128
|
-
perms: [hapPerms.
|
|
4137
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4129
4138
|
hapPerms.NOTIFY
|
|
4130
4139
|
]
|
|
4131
4140
|
},
|
|
@@ -4142,7 +4151,7 @@ module.exports =
|
|
|
4142
4151
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4143
4152
|
props: {format: hapFormats.TLV8,
|
|
4144
4153
|
allowedWordCount: 0,
|
|
4145
|
-
perms: [hapPerms.
|
|
4154
|
+
perms: [hapPerms.PAIRED_READ
|
|
4146
4155
|
]
|
|
4147
4156
|
},
|
|
4148
4157
|
validValues: {}
|
|
@@ -4162,8 +4171,8 @@ module.exports =
|
|
|
4162
4171
|
maxValue: 1,
|
|
4163
4172
|
minValue: 0,
|
|
4164
4173
|
minStep: 1,
|
|
4165
|
-
perms: [hapPerms.
|
|
4166
|
-
hapPerms.
|
|
4174
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4175
|
+
hapPerms.PAIRED_WRITE,
|
|
4167
4176
|
hapPerms.NOTIFY
|
|
4168
4177
|
]
|
|
4169
4178
|
},
|
|
@@ -4186,8 +4195,8 @@ module.exports =
|
|
|
4186
4195
|
maxValue: 1,
|
|
4187
4196
|
minValue: 0,
|
|
4188
4197
|
minStep: 1,
|
|
4189
|
-
perms: [hapPerms.
|
|
4190
|
-
hapPerms.
|
|
4198
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4199
|
+
hapPerms.PAIRED_WRITE,
|
|
4191
4200
|
hapPerms.NOTIFY
|
|
4192
4201
|
]
|
|
4193
4202
|
},
|
|
@@ -4213,8 +4222,8 @@ module.exports =
|
|
|
4213
4222
|
allowedWordCount: 1,
|
|
4214
4223
|
maxValue: 2,
|
|
4215
4224
|
minValue: 0,
|
|
4216
|
-
perms: [hapPerms.
|
|
4217
|
-
hapPerms.
|
|
4225
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4226
|
+
hapPerms.PAIRED_WRITE,
|
|
4218
4227
|
hapPerms.NOTIFY
|
|
4219
4228
|
]
|
|
4220
4229
|
},
|
|
@@ -4274,8 +4283,8 @@ module.exports =
|
|
|
4274
4283
|
maxValue: 1,
|
|
4275
4284
|
minValue: 0,
|
|
4276
4285
|
minStep: 1,
|
|
4277
|
-
perms: [hapPerms.
|
|
4278
|
-
hapPerms.
|
|
4286
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4287
|
+
hapPerms.PAIRED_WRITE,
|
|
4279
4288
|
hapPerms.NOTIFY
|
|
4280
4289
|
]
|
|
4281
4290
|
},
|
|
@@ -4298,8 +4307,8 @@ module.exports =
|
|
|
4298
4307
|
maxValue: 1,
|
|
4299
4308
|
minValue: 0,
|
|
4300
4309
|
minStep: 1,
|
|
4301
|
-
perms: [hapPerms.
|
|
4302
|
-
hapPerms.
|
|
4310
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4311
|
+
hapPerms.PAIRED_WRITE,
|
|
4303
4312
|
hapPerms.NOTIFY
|
|
4304
4313
|
]
|
|
4305
4314
|
},
|
|
@@ -4322,8 +4331,8 @@ module.exports =
|
|
|
4322
4331
|
maxValue: 2,
|
|
4323
4332
|
minValue: 0,
|
|
4324
4333
|
minStep: 1,
|
|
4325
|
-
perms: [hapPerms.
|
|
4326
|
-
hapPerms.
|
|
4334
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4335
|
+
hapPerms.PAIRED_WRITE,
|
|
4327
4336
|
hapPerms.NOTIFY
|
|
4328
4337
|
]
|
|
4329
4338
|
},
|
|
@@ -4347,8 +4356,8 @@ module.exports =
|
|
|
4347
4356
|
maxValue: 3,
|
|
4348
4357
|
minValue: 0,
|
|
4349
4358
|
minStep: 1,
|
|
4350
|
-
perms: [hapPerms.
|
|
4351
|
-
hapPerms.
|
|
4359
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4360
|
+
hapPerms.PAIRED_WRITE,
|
|
4352
4361
|
hapPerms.NOTIFY
|
|
4353
4362
|
]
|
|
4354
4363
|
},
|
|
@@ -4374,8 +4383,8 @@ module.exports =
|
|
|
4374
4383
|
maxValue: 90,
|
|
4375
4384
|
minValue: -90,
|
|
4376
4385
|
minStep: 1,
|
|
4377
|
-
perms: [hapPerms.
|
|
4378
|
-
hapPerms.
|
|
4386
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4387
|
+
hapPerms.PAIRED_WRITE,
|
|
4379
4388
|
hapPerms.NOTIFY
|
|
4380
4389
|
]
|
|
4381
4390
|
},
|
|
@@ -4395,8 +4404,8 @@ module.exports =
|
|
|
4395
4404
|
maxValue: 2,
|
|
4396
4405
|
minValue: 0,
|
|
4397
4406
|
minStep: 1,
|
|
4398
|
-
perms: [hapPerms.
|
|
4399
|
-
hapPerms.
|
|
4407
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4408
|
+
hapPerms.PAIRED_WRITE,
|
|
4400
4409
|
hapPerms.NOTIFY
|
|
4401
4410
|
]
|
|
4402
4411
|
},
|
|
@@ -4423,8 +4432,8 @@ module.exports =
|
|
|
4423
4432
|
maxValue: 2,
|
|
4424
4433
|
minValue: 0,
|
|
4425
4434
|
minStep: 1,
|
|
4426
|
-
perms: [hapPerms.
|
|
4427
|
-
hapPerms.
|
|
4435
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4436
|
+
hapPerms.PAIRED_WRITE,
|
|
4428
4437
|
hapPerms.NOTIFY
|
|
4429
4438
|
]
|
|
4430
4439
|
},
|
|
@@ -4449,8 +4458,8 @@ module.exports =
|
|
|
4449
4458
|
maxValue: 100,
|
|
4450
4459
|
minValue: 0,
|
|
4451
4460
|
minStep: 1,
|
|
4452
|
-
perms: [hapPerms.
|
|
4453
|
-
hapPerms.
|
|
4461
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4462
|
+
hapPerms.PAIRED_WRITE,
|
|
4454
4463
|
hapPerms.NOTIFY
|
|
4455
4464
|
]
|
|
4456
4465
|
},
|
|
@@ -4471,8 +4480,8 @@ module.exports =
|
|
|
4471
4480
|
maxValue: 100,
|
|
4472
4481
|
minValue: 0,
|
|
4473
4482
|
minStep: 1,
|
|
4474
|
-
perms: [hapPerms.
|
|
4475
|
-
hapPerms.
|
|
4483
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4484
|
+
hapPerms.PAIRED_WRITE,
|
|
4476
4485
|
hapPerms.NOTIFY
|
|
4477
4486
|
]
|
|
4478
4487
|
},
|
|
@@ -4495,8 +4504,8 @@ module.exports =
|
|
|
4495
4504
|
allowedWordCount: 1,
|
|
4496
4505
|
maxValue: 1,
|
|
4497
4506
|
minValue: 0,
|
|
4498
|
-
perms: [hapPerms.
|
|
4499
|
-
hapPerms.
|
|
4507
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4508
|
+
hapPerms.PAIRED_WRITE,
|
|
4500
4509
|
hapPerms.NOTIFY
|
|
4501
4510
|
]
|
|
4502
4511
|
},
|
|
@@ -4522,8 +4531,8 @@ module.exports =
|
|
|
4522
4531
|
maxValue: 38,
|
|
4523
4532
|
minValue: 10,
|
|
4524
4533
|
minStep: 0.1,
|
|
4525
|
-
perms: [hapPerms.
|
|
4526
|
-
hapPerms.
|
|
4534
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4535
|
+
hapPerms.PAIRED_WRITE,
|
|
4527
4536
|
hapPerms.NOTIFY
|
|
4528
4537
|
]
|
|
4529
4538
|
},
|
|
@@ -4544,8 +4553,8 @@ module.exports =
|
|
|
4544
4553
|
maxValue: 90,
|
|
4545
4554
|
minValue: -90,
|
|
4546
4555
|
minStep: 1,
|
|
4547
|
-
perms: [hapPerms.
|
|
4548
|
-
hapPerms.
|
|
4556
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4557
|
+
hapPerms.PAIRED_WRITE,
|
|
4549
4558
|
hapPerms.NOTIFY
|
|
4550
4559
|
]
|
|
4551
4560
|
},
|
|
@@ -4566,8 +4575,8 @@ module.exports =
|
|
|
4566
4575
|
maxValue: 90,
|
|
4567
4576
|
minValue: -90,
|
|
4568
4577
|
minStep: 1,
|
|
4569
|
-
perms: [hapPerms.
|
|
4570
|
-
hapPerms.
|
|
4578
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4579
|
+
hapPerms.PAIRED_WRITE,
|
|
4571
4580
|
hapPerms.NOTIFY
|
|
4572
4581
|
]
|
|
4573
4582
|
},
|
|
@@ -4587,8 +4596,8 @@ module.exports =
|
|
|
4587
4596
|
maxValue: 1,
|
|
4588
4597
|
minValue: 0,
|
|
4589
4598
|
minStep: 1,
|
|
4590
|
-
perms: [hapPerms.
|
|
4591
|
-
hapPerms.
|
|
4599
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4600
|
+
hapPerms.PAIRED_WRITE,
|
|
4592
4601
|
hapPerms.NOTIFY
|
|
4593
4602
|
]
|
|
4594
4603
|
},
|
|
@@ -4611,8 +4620,8 @@ module.exports =
|
|
|
4611
4620
|
maxValue: 1,
|
|
4612
4621
|
minValue: 0,
|
|
4613
4622
|
minStep: 1,
|
|
4614
|
-
perms: [hapPerms.
|
|
4615
|
-
hapPerms.
|
|
4623
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4624
|
+
hapPerms.PAIRED_WRITE,
|
|
4616
4625
|
hapPerms.NOTIFY
|
|
4617
4626
|
]
|
|
4618
4627
|
},
|
|
@@ -4632,7 +4641,7 @@ module.exports =
|
|
|
4632
4641
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
4633
4642
|
props: {format: hapFormats.UINT8,
|
|
4634
4643
|
allowedWordCount: 1,
|
|
4635
|
-
perms: [hapPerms.
|
|
4644
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4636
4645
|
hapPerms.NOTIFY
|
|
4637
4646
|
]
|
|
4638
4647
|
},
|
|
@@ -4641,10 +4650,11 @@ module.exports =
|
|
|
4641
4650
|
"ON" : Characteristic.ThirdPartyCameraActive.ON // 1
|
|
4642
4651
|
}
|
|
4643
4652
|
},
|
|
4653
|
+
// @deprecated Removed and not used anymore as of homebridge v2
|
|
4644
4654
|
202: { type: "TimeUpdate", // HomeKitTypes-Bridge
|
|
4645
4655
|
sche: "timeUpdate", // HomeKitTypes-Bridge
|
|
4646
4656
|
characteristic: Characteristic.TimeUpdate,
|
|
4647
|
-
deprecated:
|
|
4657
|
+
deprecated: true,
|
|
4648
4658
|
UUID: "0000009A-0000-1000-8000-0026BB765291",
|
|
4649
4659
|
description: "Ifnthe Time Should be Updated",
|
|
4650
4660
|
relatedCurrentAccTypeEnumIndex: null,
|
|
@@ -4704,9 +4714,9 @@ module.exports =
|
|
|
4704
4714
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
4705
4715
|
props: {format: hapFormats.INT,
|
|
4706
4716
|
allowedWordCount: 1,
|
|
4707
|
-
perms: [hapPerms.
|
|
4708
|
-
hapPerms.
|
|
4709
|
-
hapPerms.
|
|
4717
|
+
perms: [hapPerms.NOTIFY,
|
|
4718
|
+
hapPerms.PAIRED_READ,
|
|
4719
|
+
hapPerms.PAIRED_WRITE
|
|
4710
4720
|
]
|
|
4711
4721
|
},
|
|
4712
4722
|
validValues: {}
|
|
@@ -4722,8 +4732,8 @@ module.exports =
|
|
|
4722
4732
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
4723
4733
|
props: {format: hapFormats.BOOL,
|
|
4724
4734
|
allowedWordCount: 1,
|
|
4725
|
-
perms: [hapPerms.
|
|
4726
|
-
hapPerms.
|
|
4735
|
+
perms: [hapPerms.PAIRED_WRITE, // Reversed in HomeBridge
|
|
4736
|
+
hapPerms.PAIRED_READ,
|
|
4727
4737
|
hapPerms.NOTIFY
|
|
4728
4738
|
]
|
|
4729
4739
|
},
|
|
@@ -4743,8 +4753,8 @@ module.exports =
|
|
|
4743
4753
|
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
4744
4754
|
props: {format: hapFormats.BOOL,
|
|
4745
4755
|
allowedWordCount: 1,
|
|
4746
|
-
perms: [hapPerms.
|
|
4747
|
-
hapPerms.
|
|
4756
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4757
|
+
hapPerms.PAIRED_WRITE,
|
|
4748
4758
|
hapPerms.NOTIFY
|
|
4749
4759
|
]
|
|
4750
4760
|
},
|
|
@@ -4764,7 +4774,7 @@ module.exports =
|
|
|
4764
4774
|
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
4765
4775
|
props: {format: hapFormats.INT,
|
|
4766
4776
|
allowedWordCount: 1,
|
|
4767
|
-
perms: [hapPerms.
|
|
4777
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4768
4778
|
hapPerms.NOTIFY
|
|
4769
4779
|
]
|
|
4770
4780
|
},
|
|
@@ -4784,7 +4794,7 @@ module.exports =
|
|
|
4784
4794
|
maxValue: 1000,
|
|
4785
4795
|
minValue: 0,
|
|
4786
4796
|
minStep: 1,
|
|
4787
|
-
perms: [hapPerms.
|
|
4797
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4788
4798
|
hapPerms.NOTIFY
|
|
4789
4799
|
]
|
|
4790
4800
|
},
|
|
@@ -4804,7 +4814,7 @@ module.exports =
|
|
|
4804
4814
|
maxValue: 3,
|
|
4805
4815
|
minValue: 0,
|
|
4806
4816
|
minStep: 1,
|
|
4807
|
-
perms: [hapPerms.
|
|
4817
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4808
4818
|
hapPerms.NOTIFY
|
|
4809
4819
|
]
|
|
4810
4820
|
},
|
|
@@ -4865,8 +4875,8 @@ module.exports =
|
|
|
4865
4875
|
maxValue: 100,
|
|
4866
4876
|
minValue: 0,
|
|
4867
4877
|
minStep: 1,
|
|
4868
|
-
perms: [hapPerms.
|
|
4869
|
-
hapPerms.
|
|
4878
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4879
|
+
hapPerms.PAIRED_WRITE,
|
|
4870
4880
|
hapPerms.NOTIFY
|
|
4871
4881
|
]
|
|
4872
4882
|
},
|
|
@@ -4886,7 +4896,7 @@ module.exports =
|
|
|
4886
4896
|
maxValue: 3,
|
|
4887
4897
|
minValue: 0,
|
|
4888
4898
|
minStep: 1,
|
|
4889
|
-
perms: [hapPerms.
|
|
4899
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4890
4900
|
hapPerms.NOTIFY
|
|
4891
4901
|
]
|
|
4892
4902
|
},
|
|
@@ -4915,7 +4925,7 @@ module.exports =
|
|
|
4915
4925
|
maxValue: 1,
|
|
4916
4926
|
minValue: 0,
|
|
4917
4927
|
minStep: 1,
|
|
4918
|
-
perms: [hapPerms.
|
|
4928
|
+
perms: [hapPerms.PAIRED_WRITE
|
|
4919
4929
|
]
|
|
4920
4930
|
},
|
|
4921
4931
|
validValues:
|
|
@@ -4934,7 +4944,7 @@ module.exports =
|
|
|
4934
4944
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4935
4945
|
props: {format: hapFormats.TLV8,
|
|
4936
4946
|
allowedWordCount: 0,
|
|
4937
|
-
perms: [hapPerms.
|
|
4947
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4938
4948
|
hapPerms.NOTIFY
|
|
4939
4949
|
]
|
|
4940
4950
|
},
|
|
@@ -4951,7 +4961,7 @@ module.exports =
|
|
|
4951
4961
|
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4952
4962
|
props: {format: hapFormats.TLV8,
|
|
4953
4963
|
allowedWordCount: 0,
|
|
4954
|
-
perms: [hapPerms.
|
|
4964
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4955
4965
|
hapPerms.NOTIFY
|
|
4956
4966
|
]
|
|
4957
4967
|
},
|
|
@@ -4987,7 +4997,7 @@ module.exports =
|
|
|
4987
4997
|
maxValue: 100,
|
|
4988
4998
|
minValue: 0,
|
|
4989
4999
|
minStep: 1,
|
|
4990
|
-
perms: [hapPerms.
|
|
5000
|
+
perms: [hapPerms.PAIRED_READ,
|
|
4991
5001
|
hapPerms.NOTIFY
|
|
4992
5002
|
]
|
|
4993
5003
|
},
|