homebridge-cmd4 6.1.2 → 6.3.0-beta.1

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.
@@ -3,6 +3,8 @@
3
3
  ## Homebridge UI User. Do not click on any inline links. Homebridge UI does not supprt them. Bug#1098
4
4
 
5
5
  ## ChangeLog
6
+ * <a href="#Whats-new-in-6-3-0">**Whats new in 6.3.0**</a>
7
+ * <a href="#Whats-new-in-6-2-0">**Whats new in 6.2.0**</a>
6
8
  * <a href="#Whats-new-in-6-1-2">**Whats new in 6.1.2**</a>
7
9
  * <a href="#Whats-new-in-6-1-1">**Whats new in 6.1.1**</a>
8
10
  * <a href="#Whats-new-in-6-1-0">**Whats new in 6.1.0**</a>
@@ -82,6 +84,51 @@
82
84
  * <a href="#Whats-new-in-2-1">**Whats new in 2.1**</a>
83
85
  * <a href="#Whats-new-in-2-0">**Whats new in 2.0**</a>
84
86
 
87
+ <a name="Whats-new-in-6-3-0">## Whats new in 6.3.0</a>
88
+ ### 6.3.0 (2022-04-12)
89
+
90
+ ##### Bug Fixes
91
+
92
+ * Bug [#130](https://github.com/ztalbot2000/homebridge-cmd4/pull/130), linked accessories not accesible after restart ([aeab5a40](https://github.com/ztalbot2000/homebridge-cmd4/commit/aeab5a40340631910ae6ac19f9af8453f46faa55))
93
+
94
+
95
+ <a name="Whats-new-in-6-2-0">## Whats new in 6.2.0</a>
96
+ ## 6.2.0 (2022-02-18)
97
+
98
+ ##### New Features
99
+
100
+ * Add new characteristics and device types ([c3560130](https://github.com/ztalbot2000/homebridge-cmd4/commit/c3560130e7092b698d0d750924c548a99c4e20f4))
101
+
102
+ Characteristics
103
+ ---------------
104
+ AssetUpdateReadiness
105
+ SupportedAssetTypes
106
+ ConfigurationState
107
+ NFCAccessControlPoint
108
+ NFCAccessSupportedConfiguration
109
+ SiriEndpointSessionStatus
110
+ ThreadControlPoint
111
+ ThreadNodeCapabilities
112
+ ThreadStatus
113
+ ThreadOpenThreadVersion
114
+
115
+ Device Types
116
+ ------------
117
+ AccessoryMetrics
118
+ AssetUpdate
119
+ Assistant
120
+ AudioStreamManagement
121
+ Battery
122
+ CameraRecordingManagement
123
+ CloudRelay
124
+ DataStreamTransportManagement
125
+ NFCAccess
126
+ SiriEndpoint
127
+ ThreadTransport
128
+
129
+ Note: While these are now available to use. Some may not be suitable for Cmd4 depending on their complexity.
130
+
131
+
85
132
  <a name="Whats-new-in-6-1-2">## Whats new in 6.1.2</a>
86
133
  #### 6.1.2 (2022-02-12)
87
134
 
@@ -284,7 +284,7 @@ var CMD4_ACC_TYPE_ENUM =
284
284
  ThirdPartyCameraActive: 201,
285
285
  TimeUpdate: 202,
286
286
  TransmitPower: 203,
287
- TransmitPowerMaximum: 204,
287
+ MaximumTransmitPower: 204,
288
288
  TunnelConnectionTimeout: 205,
289
289
  TunneledAccessoryAdvertising: 206,
290
290
  TunneledAccessoryConnected: 207,
@@ -303,7 +303,20 @@ var CMD4_ACC_TYPE_ENUM =
303
303
  WiFiCapabilities: 220,
304
304
  WiFiConfigurationControl: 221,
305
305
  WiFiSatelliteStatus: 222,
306
- EOL: 223,
306
+
307
+ AssetUpdateReadiness: 223,
308
+ SupportedAssetTypes: 224,
309
+ ConfigurationState: 225,
310
+ NFCAccessControlPoint: 226,
311
+ NFCAccessSupportedConfiguration: 227,
312
+ SiriEndpointSessionStatus: 228,
313
+ ThreadControlPoint: 229,
314
+ ThreadNodeCapabilities: 230,
315
+ ThreadStatus: 231,
316
+ ThreadOpenThreadVersion: 232,
317
+
318
+
319
+ EOL: 233,
307
320
 
308
321
  properties: { },
309
322
 
@@ -4419,11 +4432,11 @@ module.exports =
4419
4432
  },
4420
4433
  validValues: {}
4421
4434
  },
4422
- 204: { type: "TransmitPowerMaximum", // HomeKitTypes
4423
- sche: "transmitPowerMaximum", // HomeKitTypes
4424
- characteristic: Characteristic.TransmitPowerMaximum,
4425
- UUID: "0000021E-0000-1000-8000-00000243",
4426
- description: "The Devices Maximum Power Output",
4435
+ 204: { type: "MaximumTransmitPower",
4436
+ sche: "MaximumTransmitPower",
4437
+ characteristic: Characteristic.MaximumTransmitPower,
4438
+ UUID: "00000243-0000-1000-8000-0026BB765291",
4439
+ description: "The Devices Maximum Transmit Power",
4427
4440
  relatedCurrentAccTypeEnumIndex: null,
4428
4441
  relatedTargetAccTypeEnumIndex: null,
4429
4442
  stringConversionFunction: function ( str ){ return stringToInt( str ); },
@@ -4774,6 +4787,179 @@ module.exports =
4774
4787
  "CONNECTED" : Characteristic.WiFiSatelliteStatus.CONNECTED, // 1,
4775
4788
  "NOT_CONNECTED": Characteristic.WiFiSatelliteStatus.NOT_CONNECTED // 2
4776
4789
  }
4790
+ },
4791
+
4792
+ 223: { type: "AssetUpdateReadiness",
4793
+ sche: "assetUpdateReadiness",
4794
+ characteristic: Characteristic.AssetUpdateReadiness,
4795
+ UUID: "00000269-0000-1000-8000-0026BB765291",
4796
+ description: "The Devices Asset Update Readiness",
4797
+ relatedCurrentAccTypeEnumIndex: null,
4798
+ relatedTargetAccTypeEnumIndex: null,
4799
+ stringConversionFunction: function ( str ){ return stringToInt( str ); },
4800
+ props: {format: Characteristic.Formats.UINT32,
4801
+ allowedWordCount: 1,
4802
+ perms: [Characteristic.Perms.PAIRED_READ,
4803
+ Characteristic.Perms.NOTIFY
4804
+ ]
4805
+ },
4806
+ validValues:
4807
+ { }
4808
+ },
4809
+ 224: { type: "SupportedAssetTypes",
4810
+ sche: "supportedAssetTypes",
4811
+ characteristic: Characteristic.SupportedAssetTypes,
4812
+ UUID: "00000268-0000-1000-8000-0026BB765291",
4813
+ description: "The Devices Supported Asset types",
4814
+ relatedCurrentAccTypeEnumIndex: null,
4815
+ relatedTargetAccTypeEnumIndex: null,
4816
+ stringConversionFunction: function ( str ){ return stringToInt( str ); },
4817
+ props: {format: Characteristic.Formats.UINT32,
4818
+ allowedWordCount: 1,
4819
+ perms: [Characteristic.Perms.PAIRED_READ
4820
+ ]
4821
+ },
4822
+ validValues:
4823
+ { }
4824
+ },
4825
+ 225: { type: "ConfigurationState",
4826
+ sche: "configurationState",
4827
+ characteristic: Characteristic.ConfigurationState,
4828
+ UUID: "00000263-0000-1000-8000-0026BB765291",
4829
+ description: "The Devices Configuration State",
4830
+ relatedCurrentAccTypeEnumIndex: null,
4831
+ relatedTargetAccTypeEnumIndex: null,
4832
+ stringConversionFunction: function ( str ){ return stringToInt( str ); },
4833
+ props: {format: Characteristic.Formats.UINT16,
4834
+ allowedWordCount: 1,
4835
+ perms: [Characteristic.Perms.PAIRED_READ,
4836
+ Characteristic.Perms.NOTIFY
4837
+ ]
4838
+ },
4839
+ validValues:
4840
+ { }
4841
+ },
4842
+ 226: { type: "NFCAccessControlPoint",
4843
+ sche: "NFCAccessControlPoint",
4844
+ characteristic: Characteristic.NFCAccessControlPoint,
4845
+ UUID: "00000264-0000-1000-8000-0026BB765291",
4846
+ description: "The NFC Access Point",
4847
+ relatedCurrentAccTypeEnumIndex: null,
4848
+ relatedTargetAccTypeEnumIndex: null,
4849
+ stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
4850
+ props: {format: Characteristic.Formats.TLV8,
4851
+ allowedWordCount: 0,
4852
+ perms: [Characteristic.Perms.PAIRED_READ,
4853
+ Characteristic.Perms.PAIRED_WRITE,
4854
+ Characteristic.Perms.WRITE_RESPONSE
4855
+ ]
4856
+ },
4857
+ validValues:
4858
+ { }
4859
+ },
4860
+ 227: { type: "NFCAccessSupportedConfiguration",
4861
+ sche: "NFCAccessSupportedConfiguration",
4862
+ characteristic: Characteristic.NFCAccessSupportedConfiguration,
4863
+ UUID: "00000265-0000-1000-8000-0026BB765291",
4864
+ description: "The Devices NFC Access Support Configuration",
4865
+ relatedCurrentAccTypeEnumIndex: null,
4866
+ relatedTargetAccTypeEnumIndex: null,
4867
+ stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
4868
+ props: {format: Characteristic.Formats.TLV8,
4869
+ allowedWordCount: 0,
4870
+ perms: [Characteristic.Perms.PAIRED_READ
4871
+ ]
4872
+ },
4873
+ validValues:
4874
+ { }
4875
+ },
4876
+ 228: { type: "SiriEndpointSessionStatus",
4877
+ sche: "SiriEndpointSessionStatus",
4878
+ characteristic: Characteristic.SiriEndpointSessionStatus,
4879
+ UUID: "00000254-0000-1000-8000-0026BB765291",
4880
+ description: "The Devices Siri endpoint",
4881
+ relatedCurrentAccTypeEnumIndex: null,
4882
+ relatedTargetAccTypeEnumIndex: null,
4883
+ stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
4884
+ props: {format: Characteristic.Formats.TLV8,
4885
+ allowedWordCount: 0,
4886
+ perms: [Characteristic.Perms.PAIRED_READ,
4887
+ Characteristic.Perms.NOTIFY
4888
+ ]
4889
+ },
4890
+ validValues:
4891
+ { }
4892
+ },
4893
+ 229: { type: "ThreadControlPoint",
4894
+ sche: "threadControlPoint",
4895
+ characteristic: Characteristic.ThreadControlPoint,
4896
+ UUID: "00000704-0000-1000-8000-0026BB765291",
4897
+ description: "The Devices thread control point",
4898
+ relatedCurrentAccTypeEnumIndex: null,
4899
+ relatedTargetAccTypeEnumIndex: null,
4900
+ stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
4901
+ props: {format: Characteristic.Formats.TLV8,
4902
+ allowedWordCount: 0,
4903
+ perms: [Characteristic.Perms.PAIRED_WRITE
4904
+ ]
4905
+ },
4906
+ validValues:
4907
+ { }
4908
+ },
4909
+ 230: { type: "ThreadNodeCapabilities",
4910
+ sche: "threadNodeCapabilities",
4911
+ characteristic: Characteristic.ThreadNodeCapabilities,
4912
+ UUID: "00000702-0000-1000-8000-0026BB765291",
4913
+ description: "The Devices thread node capabilities",
4914
+ relatedCurrentAccTypeEnumIndex: null,
4915
+ relatedTargetAccTypeEnumIndex: null,
4916
+ stringConversionFunction: function ( str ){ return stringToInt( str ); },
4917
+ props: {format: Characteristic.Formats.UINT16,
4918
+ allowedWordCount: 1,
4919
+ maxValue: 31,
4920
+ minValue: 0,
4921
+ minStep: 1,
4922
+ perms: [Characteristic.Perms.PAIRED_READ
4923
+ ]
4924
+ },
4925
+ validValues:
4926
+ { }
4927
+ },
4928
+ 231: { type: "ThreadStatus",
4929
+ sche: "threadStatus",
4930
+ characteristic: Characteristic.ThreadStatus,
4931
+ UUID: "00000703-0000-1000-8000-0026BB765291",
4932
+ description: "The Devices thread status",
4933
+ relatedCurrentAccTypeEnumIndex: null,
4934
+ relatedTargetAccTypeEnumIndex: null,
4935
+ stringConversionFunction: function ( str ){ return stringToInt( str ); },
4936
+ props: {format: Characteristic.Formats.UINT16,
4937
+ allowedWordCount: 1,
4938
+ maxValue: 6,
4939
+ minValue: 0,
4940
+ minStep: 1,
4941
+ perms: [Characteristic.Perms.PAIRED_READ,
4942
+ Characteristic.Perms.NOTIFY
4943
+ ]
4944
+ },
4945
+ validValues:
4946
+ { }
4947
+ },
4948
+ 232: { type: "ThreadOpenThreadVersion",
4949
+ sche: "threadOpenThreadVersion",
4950
+ characteristic: Characteristic.ThreadOpenThreadVersion,
4951
+ UUID: "00000706-0000-1000-8000-0026BB765291",
4952
+ description: "The Devices thread version",
4953
+ relatedCurrentAccTypeEnumIndex: null,
4954
+ relatedTargetAccTypeEnumIndex: null,
4955
+ stringConversionFunction: function ( str ){ return stringToString( str ); },
4956
+ props: {format: Characteristic.Formats.STRING,
4957
+ allowedWordCount: 0,
4958
+ perms: [Characteristic.Perms.PAIRED_READ
4959
+ ]
4960
+ },
4961
+ validValues:
4962
+ { }
4777
4963
  }
4778
4964
  };
4779
4965
 
@@ -78,7 +78,18 @@ var CMD4_DEVICE_TYPE_ENUM =
78
78
  WiFiSatellite: 63,
79
79
  Window: 64,
80
80
  WindowCovering: 65,
81
- EOL: 66,
81
+ AccessoryMetrics: 66,
82
+ AssetUpdate: 67,
83
+ Assistant: 68,
84
+ AudioStreamManagement: 69,
85
+ Battery: 70,
86
+ CameraRecordingManagement: 71,
87
+ CloudRelay: 72,
88
+ DataStreamTransportManagement: 73,
89
+ NFCAccess: 74,
90
+ SiriEndpoint: 75,
91
+ ThreadTransport: 76,
92
+ EOL: 77,
82
93
 
83
94
  properties:{},
84
95
 
@@ -477,11 +488,12 @@ module.exports =
477
488
  }
478
489
  ],
479
490
  optionalCharacteristics:
480
- [ CMD4_ACC_TYPE_ENUM.ManuallyDisabled,
491
+ [ CMD4_ACC_TYPE_ENUM.CameraOperatingModeIndicator,
492
+ CMD4_ACC_TYPE_ENUM.ManuallyDisabled,
481
493
  CMD4_ACC_TYPE_ENUM.NightVision,
494
+ CMD4_ACC_TYPE_ENUM.PeriodicSnapshotsActive,
482
495
  CMD4_ACC_TYPE_ENUM.ThirdPartyCameraActive,
483
- CMD4_ACC_TYPE_ENUM.CameraOperatingModeIndicator,
484
- CMD4_ACC_TYPE_ENUM.PeriodicSnapshotsActive
496
+ CMD4_ACC_TYPE_ENUM.DiagonalFieldOfView
485
497
  ],
486
498
  defaultPollingCharacteristics:
487
499
  []
@@ -2017,6 +2029,312 @@ module.exports =
2017
2029
  [ CMD4_ACC_TYPE_ENUM.CurrentPosition,
2018
2030
  CMD4_ACC_TYPE_ENUM.TargetPosition
2019
2031
  ]
2032
+ },
2033
+ 66: { deviceName:'AccessoryMetrics',
2034
+ UUID: "00000270-0000-1000-8000-0026BB765291",
2035
+ service: Service.AccessoryMetrics,
2036
+ defaultCategory: Categories.OTHER,
2037
+ publishExternally: false,
2038
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2039
+ requiredCharacteristics:
2040
+ [ {type: CMD4_ACC_TYPE_ENUM.Active,
2041
+ defaultValue: Characteristic.Active.ACTIVE,
2042
+ relatedCurrentAccTypeEnumArray: [ ],
2043
+ relatedTargetAccTypeEnumArray: [ ]
2044
+ }
2045
+ ],
2046
+ optionalCharacteristics:
2047
+ [],
2048
+ defaultPollingCharacteristics:
2049
+ [ CMD4_ACC_TYPE_ENUM.Active ]
2050
+ },
2051
+ 67: { deviceName:'AssetUpdate',
2052
+ UUID: "00000267-0000-1000-8000-0026BB765291",
2053
+ service: Service.AssetUpdate,
2054
+ defaultCategory: Categories.OTHER,
2055
+ publishExternally: false,
2056
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2057
+ requiredCharacteristics:
2058
+ [ {type: CMD4_ACC_TYPE_ENUM.AssetUpdateReadiness,
2059
+ defaultValue: 0, // Int
2060
+ relatedCurrentAccTypeEnumArray: [ ],
2061
+ relatedTargetAccTypeEnumArray: [ ]
2062
+ },
2063
+ {type: CMD4_ACC_TYPE_ENUM.SupportedAssetTypes,
2064
+ defaultValue: 0, // UINT32
2065
+ relatedCurrentAccTypeEnumArray: [ ],
2066
+ relatedTargetAccTypeEnumArray: [ ]
2067
+ }
2068
+ ],
2069
+ optionalCharacteristics:
2070
+ [],
2071
+ defaultPollingCharacteristics:
2072
+ []
2073
+ },
2074
+ 68: { deviceName:'Assistant',
2075
+ UUID: "0000026A-0000-1000-8000-0026BB765291",
2076
+ service: Service.Assistant,
2077
+ defaultCategory: Categories.OTHER,
2078
+ publishExternally: false,
2079
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2080
+ requiredCharacteristics:
2081
+ [ {type: CMD4_ACC_TYPE_ENUM.Active,
2082
+ defaultValue: Characteristic.Active.ACTIVE,
2083
+ relatedCurrentAccTypeEnumArray: [ ],
2084
+ relatedTargetAccTypeEnumArray: [ ]
2085
+ },
2086
+ {type: CMD4_ACC_TYPE_ENUM.ActiveIdentifier,
2087
+ defaultValue: 7, // Format: UINT32
2088
+ relatedCurrentAccTypeEnumArray: [ ],
2089
+ relatedTargetAccTypeEnumArray: [ ]
2090
+ },
2091
+ {type: CMD4_ACC_TYPE_ENUM.Name,
2092
+ defaultValue: "Unnamed Service",
2093
+ relatedCurrentAccTypeEnumArray: [ ],
2094
+ relatedTargetAccTypeEnumArray: [ ]
2095
+ }
2096
+ ],
2097
+ optionalCharacteristics:
2098
+ [],
2099
+ defaultPollingCharacteristics:
2100
+ []
2101
+ },
2102
+ 69: { deviceName:'AudioStreamManagement',
2103
+ UUID: "00000127-0000-1000-8000-0026BB765291",
2104
+ service: Service.AudioStreamManagement,
2105
+ defaultCategory: Categories.OTHER,
2106
+ publishExternally: false,
2107
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2108
+ requiredCharacteristics:
2109
+ [ {type: CMD4_ACC_TYPE_ENUM.SupportedAudioStreamConfiguration,
2110
+ defaultValue: 0, // Format: TLV8
2111
+ relatedCurrentAccTypeEnumArray: [ ],
2112
+ relatedTargetAccTypeEnumArray: [ ]
2113
+ },
2114
+ {type: CMD4_ACC_TYPE_ENUM.SelectedAudioStreamConfiguration,
2115
+ defaultValue: 0, // Format: TLV8
2116
+ relatedCurrentAccTypeEnumArray: [ ],
2117
+ relatedTargetAccTypeEnumArray: [ ]
2118
+ }
2119
+ ],
2120
+ optionalCharacteristics:
2121
+ [],
2122
+ defaultPollingCharacteristics:
2123
+ []
2124
+ },
2125
+ 70: { deviceName:'Battery',
2126
+ UUID: "00000096-0000-1000-8000-0026BB765291",
2127
+ service: Service.Battery,
2128
+ defaultCategory: Categories.OTHER,
2129
+ publishExternally: false,
2130
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2131
+ requiredCharacteristics:
2132
+ [ {type: CMD4_ACC_TYPE_ENUM.StatusLowBattery,
2133
+ defaultValue: Characteristic.StatusLowBattery.BATTERY_LEVEL_NORMAL,
2134
+ relatedCurrentAccTypeEnumArray: [ ],
2135
+ relatedTargetAccTypeEnumArray: [ ]
2136
+ }
2137
+ ],
2138
+ optionalCharacteristics:
2139
+ [ CMD4_ACC_TYPE_ENUM.BatteryLevel,
2140
+ CMD4_ACC_TYPE_ENUM.ChargingState,
2141
+ CMD4_ACC_TYPE_ENUM.Name
2142
+ ],
2143
+ defaultPollingCharacteristics:
2144
+ []
2145
+ },
2146
+ 71: { deviceName:'CameraRecordingManagement',
2147
+ UUID: "00000204-0000-1000-8000-0026BB765291",
2148
+ service: Service.CameraRecordingManagement,
2149
+ defaultCategory: Categories.OTHER,
2150
+ publishExternally: false,
2151
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2152
+ requiredCharacteristics:
2153
+ [ {type: CMD4_ACC_TYPE_ENUM.Active,
2154
+ defaultValue: Characteristic.Active.ACTIVE,
2155
+ relatedCurrentAccTypeEnumArray: [ ],
2156
+ relatedTargetAccTypeEnumArray: [ ]
2157
+ },
2158
+ {type: CMD4_ACC_TYPE_ENUM.SupportedCameraRecordingConfiguration,
2159
+ defaultValue: 0, // Format: TLV8
2160
+ relatedCurrentAccTypeEnumArray: [ ],
2161
+ relatedTargetAccTypeEnumArray: [ ]
2162
+ },
2163
+ {type: CMD4_ACC_TYPE_ENUM.SupportedVideoRecordingConfiguration,
2164
+ defaultValue: 0, // Format: TLV8
2165
+ relatedCurrentAccTypeEnumArray: [ ],
2166
+ relatedTargetAccTypeEnumArray: [ ]
2167
+ },
2168
+ {type: CMD4_ACC_TYPE_ENUM.SupportedAudioRecordingConfiguration,
2169
+ defaultValue: 0, // Format: TLV8
2170
+ relatedCurrentAccTypeEnumArray: [ ],
2171
+ relatedTargetAccTypeEnumArray: [ ]
2172
+ },
2173
+ {type: CMD4_ACC_TYPE_ENUM.SelectedCameraRecordingConfiguration,
2174
+ defaultValue: 0, // Format: TLV8
2175
+ relatedCurrentAccTypeEnumArray: [ ],
2176
+ relatedTargetAccTypeEnumArray: [ ]
2177
+ }
2178
+ ],
2179
+ optionalCharacteristics:
2180
+ [ CMD4_ACC_TYPE_ENUM.RecordingAudioActive
2181
+ ],
2182
+ defaultPollingCharacteristics:
2183
+ []
2184
+ },
2185
+ 72: { deviceName:'CloudRelay',
2186
+ UUID: "0000005A-0000-1000-8000-0026BB765291",
2187
+ service: Service.CloudRelay,
2188
+ defaultCategory: Categories.OTHER,
2189
+ publishExternally: false,
2190
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2191
+ requiredCharacteristics:
2192
+ [ {type: CMD4_ACC_TYPE_ENUM.RelayControlPoint,
2193
+ defaultValue: 0, // Format: TLV8
2194
+ relatedCurrentAccTypeEnumArray: [ ],
2195
+ relatedTargetAccTypeEnumArray: [ ]
2196
+ },
2197
+ {type: CMD4_ACC_TYPE_ENUM.RelayState,
2198
+ defaultValue: 1, // Format: uint8, Values ???
2199
+ relatedCurrentAccTypeEnumArray: [ ],
2200
+ relatedTargetAccTypeEnumArray: [ ]
2201
+ },
2202
+ {type: CMD4_ACC_TYPE_ENUM.RelayEnabled,
2203
+ defaultValue: false,
2204
+ relatedCurrentAccTypeEnumArray: [ ],
2205
+ relatedTargetAccTypeEnumArray: [ ]
2206
+ }
2207
+ ],
2208
+ optionalCharacteristics:
2209
+ [],
2210
+ defaultPollingCharacteristics:
2211
+ []
2212
+ },
2213
+ 73: { deviceName:'DataStreamTransportManagement',
2214
+ UUID: "00000129-0000-1000-8000-0026BB765291",
2215
+ service: Service.DataStreamTransportManagement,
2216
+ defaultCategory: Categories.OTHER,
2217
+ publishExternally: false,
2218
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2219
+ requiredCharacteristics:
2220
+ [ {type: CMD4_ACC_TYPE_ENUM.SetupDataStreamTransport,
2221
+ defaultValue: 0, // Format: TLV8
2222
+ relatedCurrentAccTypeEnumArray: [ ],
2223
+ relatedTargetAccTypeEnumArray: [ ]
2224
+ },
2225
+ {type: CMD4_ACC_TYPE_ENUM.SupportedDataStreamTransportConfiguration,
2226
+ defaultValue: 0, // Format: TLV8
2227
+ relatedCurrentAccTypeEnumArray: [ ],
2228
+ relatedTargetAccTypeEnumArray: [ ]
2229
+ },
2230
+ {type: CMD4_ACC_TYPE_ENUM.Version,
2231
+ defaultValue: "Unknown version",
2232
+ relatedCurrentAccTypeEnumArray: [ ],
2233
+ relatedTargetAccTypeEnumArray: [ ]
2234
+ }
2235
+ ],
2236
+ optionalCharacteristics:
2237
+ [],
2238
+ defaultPollingCharacteristics:
2239
+ []
2240
+ },
2241
+ 74: { deviceName:'NFCAccess',
2242
+ UUID: "00000266-0000-1000-8000-0026BB765291",
2243
+ service: Service.NFCAccess,
2244
+ defaultCategory: Categories.OTHER,
2245
+ publishExternally: false,
2246
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2247
+ requiredCharacteristics:
2248
+ [ {type: CMD4_ACC_TYPE_ENUM.ConfigurationState,
2249
+ defaultValue: 0, // Format: UINT16 values?
2250
+ relatedCurrentAccTypeEnumArray: [ ],
2251
+ relatedTargetAccTypeEnumArray: [ ]
2252
+ },
2253
+ {type: CMD4_ACC_TYPE_ENUM.NFCAccessControlPoint,
2254
+ defaultValue: 0, // Format: TLV8
2255
+ relatedCurrentAccTypeEnumArray: [ ],
2256
+ relatedTargetAccTypeEnumArray: [ ]
2257
+ },
2258
+ {type: CMD4_ACC_TYPE_ENUM.NFCAccessSupportedConfiguration,
2259
+ defaultValue: 0, // Format: TLV8
2260
+ relatedCurrentAccTypeEnumArray: [ ],
2261
+ relatedTargetAccTypeEnumArray: [ ]
2262
+ }
2263
+ ],
2264
+ optionalCharacteristics:
2265
+ [],
2266
+ defaultPollingCharacteristics:
2267
+ []
2268
+ },
2269
+ 75: { deviceName:'SiriEndpoint',
2270
+ UUID: "00000253-0000-1000-8000-0026BB765291",
2271
+ service: Service.SiriEndpoint,
2272
+ defaultCategory: Categories.OTHER,
2273
+ publishExternally: false,
2274
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2275
+ requiredCharacteristics:
2276
+ [ {type: CMD4_ACC_TYPE_ENUM.SiriEndpointSessionStatus,
2277
+ defaultValue: 0, // Format: TLV8
2278
+ relatedCurrentAccTypeEnumArray: [ ],
2279
+ relatedTargetAccTypeEnumArray: [ ]
2280
+ },
2281
+ {type: CMD4_ACC_TYPE_ENUM.Version,
2282
+ defaultValue: "Unknown version",
2283
+ relatedCurrentAccTypeEnumArray: [ ],
2284
+ relatedTargetAccTypeEnumArray: [ ]
2285
+ }
2286
+ ],
2287
+ optionalCharacteristics:
2288
+ [ CMD4_ACC_TYPE_ENUM.ActiveIdentifier,
2289
+ CMD4_ACC_TYPE_ENUM.ManuallyDisabled
2290
+ ],
2291
+ defaultPollingCharacteristics:
2292
+ []
2293
+ },
2294
+ 76: { deviceName:'ThreadTransport',
2295
+ UUID: "00000701-0000-1000-8000-0026BB765291",
2296
+ service: Service.ThreadTransport,
2297
+ defaultCategory: Categories.OTHER,
2298
+ publishExternally: false,
2299
+ deviceStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
2300
+ requiredCharacteristics:
2301
+ [ {type: CMD4_ACC_TYPE_ENUM.CurrentTransport,
2302
+ defaultValue: 0, // Format: TLV8
2303
+ relatedCurrentAccTypeEnumArray: [ ],
2304
+ relatedTargetAccTypeEnumArray: [ ]
2305
+ },
2306
+ {type: CMD4_ACC_TYPE_ENUM.ThreadControlPoint,
2307
+ defaultValue: 0, // Format: TLV8
2308
+ relatedCurrentAccTypeEnumArray: [ ],
2309
+ relatedTargetAccTypeEnumArray: [ ]
2310
+ },
2311
+ {type: CMD4_ACC_TYPE_ENUM.ThreadNodeCapabilities,
2312
+ defaultValue: 0, // Format: TLV8
2313
+ relatedCurrentAccTypeEnumArray: [ ],
2314
+ relatedTargetAccTypeEnumArray: [ ]
2315
+ },
2316
+ {type: CMD4_ACC_TYPE_ENUM.ThreadStatus,
2317
+ defaultValue: 0, // min 0, max 6 values?
2318
+ relatedCurrentAccTypeEnumArray: [ ],
2319
+ relatedTargetAccTypeEnumArray: [ ]
2320
+ }
2321
+ ],
2322
+ optionalCharacteristics:
2323
+ [ CMD4_ACC_TYPE_ENUM.CCAEnergyDetectThreshold,
2324
+ CMD4_ACC_TYPE_ENUM.CCASignalDetectThreshold,
2325
+ CMD4_ACC_TYPE_ENUM.EventRetransmissionMaximum,
2326
+ CMD4_ACC_TYPE_ENUM.EventTransmissionCounters,
2327
+ CMD4_ACC_TYPE_ENUM.MACRetransmissionMaximum,
2328
+ CMD4_ACC_TYPE_ENUM.MACTransmissionCounters,
2329
+ CMD4_ACC_TYPE_ENUM.ReceiverSensitivity,
2330
+ CMD4_ACC_TYPE_ENUM.ReceivedSignalStrengthIndication,
2331
+ CMD4_ACC_TYPE_ENUM.SignalToNoiseRatio,
2332
+ CMD4_ACC_TYPE_ENUM.ThreadOpenThreadVersion,
2333
+ CMD4_ACC_TYPE_ENUM.TransmitPower,
2334
+ CMD4_ACC_TYPE_ENUM.MaximumTransmitPower
2335
+ ],
2336
+ defaultPollingCharacteristics:
2337
+ []
2020
2338
  }
2021
2339
  };
2022
2340
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-cmd4",
3
3
  "description": "Exec Plugin for Homebridge supporting all accessorys and characteristics",
4
- "version": "6.1.2",
4
+ "version": "6.3.0-beta.1",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "John Talbot"
@@ -112,4 +112,4 @@
112
112
  "release:minor": "tools/generateChangeLog --type minor --cleanup",
113
113
  "release:major": "tools/generateChangeLog --type major --cleanup"
114
114
  }
115
- }
115
+ }