homebridge-cmd4 8.0.0-beta.1 → 8.0.0-beta.3

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 CHANGED
@@ -1,12 +1,18 @@
1
1
  # Homebridges-cmd4 - CMD4 Plugin for Homebridge - Supports ~All Accessory Types and now all Characteristics too!!
2
- ### 7.1.0 (2024-03-04)
2
+ ### 8.0.0 (2024-06-28)
3
3
 
4
4
  ##### Documentation Changes
5
+ * Document changes for homebridge v2 where TargetAirQuality and TargetSlatState are deprecated ([80ef143](https://github.com/ztalbot2000/homebridge-cmd4/commit/80ef143fa68ff7abedd6bcf4b715d2dab3ae8451))
5
6
 
6
- * Update for newest characteristics ([fccb9ebd](https://github.com/ztalbot2000/homebridge-cmd4/commit/fccb9ebdc18a2cd876b1512e0da2d5d28e8019b0))
7
+ ##### Bug Fixes
8
+ * fix for homebridge v2 where TargetSlateStte and TargetAirQuality are deprecated ([6acfbb2](https://github.com/ztalbot2000/homebridge-cmd4/commit/6acfbb26bf56a355d76f3f96dafabdfefd26bbb6))
9
+ * Fix for homebridge v2 Formats&Perms&Units only available directly from HAP ([2a9d6e9](https://github.com/ztalbot2000/homebridge-cmd4/commit/2a9d6e976647f1fa7e1a3ee34e5080a3c28eae73))
10
+ * Fix lint error ([286dc68](https://github.com/ztalbot2000/homebridge-cmd4/commit/286dc68441c776a93f0f0d913db326fa9ccafeec))
11
+
12
+ * Fix for homebridge v2 Formats&Perms&Units only available directly from HAP ([999f226](https://github.com/ztalbot2000/homebridge-cmd4/commit/999f226855de026b3bb0e9ecdd237fc7d0976f22))
7
13
 
8
- ##### New Features
9
14
 
10
- * Add in latest new characteristics and devices ([545112f0](https://github.com/ztalbot2000/homebridge-cmd4/commit/545112f0fa2122abf51d3217707012879db723b7))
15
+ ##### New Features
11
16
 
17
+ * Support only Platform Accessories as per Homebridge recommendation ([0ee6efc](https://github.com/ztalbot2000/homebridge-cmd4/commit/0ee6efcc09b7c87f346299fb9ccab5940fba7ee0))
12
18
 
package/Cmd4Accessory.js CHANGED
@@ -394,7 +394,7 @@ class Cmd4Accessory
394
394
  let format = CMD4_ACC_TYPE_ENUM.properties[ accTypeEnumIndex ].props.format;
395
395
 
396
396
  // No matter what, remove it
397
- if ( format == this.api.hap.Characteristic.Formats.TLV8 && this.hV.allowTLV8 == false )
397
+ if ( format == this.api.hap.Formats.TLV8 && this.hV.allowTLV8 == false )
398
398
  {
399
399
  if ( this.cmd4Storage.getStoredValueForIndex( accTypeEnumIndex ) != null )
400
400
  {
@@ -843,10 +843,10 @@ class Cmd4Accessory
843
843
  // - CurrentTemperature
844
844
  // - CurrentHeatingCoolingState
845
845
  // - StatusFault
846
- if ( perms.indexOf( this.api.hap.Characteristic.Perms.READ ) >= 0 &&
847
- perms.indexOf( this.api.hap.Characteristic.Perms.WRITE ) == -1 ||
848
- perms.indexOf( this.api.hap.Characteristic.Perms.PAIRED_READ ) >= 0 &&
849
- perms.indexOf( this.api.hap.Characteristic.Perms.PAIRED_WRITE ) == -1 )
846
+ if ( perms.indexOf( this.api.hap.Perms.READ ) >= 0 &&
847
+ perms.indexOf( this.api.hap.Perms.WRITE ) == -1 ||
848
+ perms.indexOf( this.api.hap.Perms.PAIRED_READ ) >= 0 &&
849
+ perms.indexOf( this.api.hap.Perms.PAIRED_WRITE ) == -1 )
850
850
  {
851
851
  accessory.service.setCharacteristic(
852
852
  CMD4_ACC_TYPE_ENUM.properties[ accTypeEnumIndex ].characteristic,
@@ -860,7 +860,7 @@ class Cmd4Accessory
860
860
  .characteristic ).listeners( "get" ).length == 0 )
861
861
  {
862
862
  // Add Read services for characterisitcs, if possible
863
- if ( perms.indexOf( this.api.hap.Characteristic.Perms.READ ) != -1 )
863
+ if ( perms.indexOf( this.api.hap.Perms.READ ) != -1 )
864
864
  {
865
865
 
866
866
  // getCachedValue or getValue
@@ -896,7 +896,7 @@ class Cmd4Accessory
896
896
  .characteristic ).listeners( "set" ).length == 0 )
897
897
  {
898
898
  // Add Write services for characterisitcs, if possible
899
- if ( perms.indexOf( this.api.hap.Characteristic.Perms.WRITE ) != -1 )
899
+ if ( perms.indexOf( this.api.hap.Perms.WRITE ) != -1 )
900
900
  {
901
901
  // setCachedValue or setValue
902
902
  if ( ! accessory.polling ||
@@ -1267,6 +1267,12 @@ class Cmd4Accessory
1267
1267
  let characteristicString = rcDirective.type;
1268
1268
  let accTypeEnumIndex = rcDirective.accTypeEnumIndex;
1269
1269
 
1270
+ if ( CMD4_ACC_TYPE_ENUM.properties[ accTypeEnumIndex ].deprecated == true )
1271
+ {
1272
+ this.log.warn( `The config.json characteristic: ${ characteristicString } is deprecated. It will be ignored.\nTo remove this Warning, Please fix your config.json.` );
1273
+ return;
1274
+ }
1275
+
1270
1276
  // Do not update the stored values as it is being restored from cache
1271
1277
  if ( parseConfigShouldUseCharacteristicValues == false )
1272
1278
  return;
@@ -1478,6 +1484,9 @@ class Cmd4Accessory
1478
1484
  }
1479
1485
  this.typeIndex = rcValue.devEnumIndex;
1480
1486
 
1487
+ if ( CMD4_DEVICE_TYPE_ENUM.properties[ this.typeIndex ].deprecated == true )
1488
+ throw new Error( `Error: device type: "${ this.type }" is now deprecated in Homebridge.` );
1489
+
1481
1490
  break;
1482
1491
  }
1483
1492
  case constants.SUBTYPE:
package/Cmd4Platform.js CHANGED
@@ -545,7 +545,8 @@ class Cmd4Platform
545
545
 
546
546
 
547
547
  // Just a flag to say we have processed this existing platform accessory.
548
- platform.updateReachability( true );
548
+ // @deprecated homebridge v2
549
+ //platform.updateReachability( true );
549
550
 
550
551
 
551
552
  // For Unit testing only
@@ -1879,31 +1879,6 @@
1879
1879
  "stateChangeResponseTime": 10 // Default (Seconds)
1880
1880
  //"state_cmd": "node .homebridge/< yourScriptHere >"
1881
1881
  },
1882
- {
1883
- "type": "TimeInformation",
1884
- "displayName": "MyTimeInformation", // Not a characteristic, but a function parameter
1885
-
1886
- // Required characteristics
1887
- "currentTime": "11:15", // Format: string
1888
-
1889
- "dayoftheWeek": 1, // Range: 1-7
1890
-
1891
- "timeUpdate": "TRUE", // 0 - "FALSE"
1892
- // 1 - "TRUE"
1893
-
1894
- // Optional Characteristics
1895
- "name": "MyTimeInformation",
1896
-
1897
- "manufacturer": "Somebody", // Available for all accessories
1898
-
1899
- "model": "Anything", // Available for all accessories
1900
-
1901
- "serialNumber": "12345", // Available for all accessories
1902
-
1903
- // Cmd4 Specific
1904
- "stateChangeResponseTime": 3 // Default (Seconds)
1905
- //"state_cmd": "node .homebridge/< yourScriptHere >"
1906
- },
1907
1882
  {
1908
1883
  "type": "Valve",
1909
1884
  "displayName": "MyValve", // Not a characteristic, but a function parameter
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  ## ChangeLog
7
+ * <a href="#Whats-new-in-8-0-0">**Whats new in 8.0.0**</a>
7
8
  * <a href="#Whats-new-in-7-1-0">**Whats new in 7.1.0**</a>
8
9
  * <a href="#Whats-new-in-7-0-3">**Whats new in 7.0.3**</a>
9
10
  * <a href="#Whats-new-in-7-0-2">**Whats new in 7.0.2**</a>
@@ -91,6 +92,25 @@
91
92
  * <a href="#Whats-new-in-2-1">**Whats new in 2.1**</a>
92
93
  * <a href="#Whats-new-in-2-0">**Whats new in 2.0**</a>
93
94
 
95
+ <a name="Whats-new-in-8-0-0">## Whats new in 8.0.0</a>
96
+ ### 8.0.0 (2024-06-28)
97
+
98
+
99
+ ##### Documentation Changes
100
+ * Document changes for homebridge v2 where TargetAirQuality and TargetSlatState are deprecated ([80ef143](https://github.com/ztalbot2000/homebridge-cmd4/commit/80ef143fa68ff7abedd6bcf4b715d2dab3ae8451))
101
+
102
+ ##### Bug Fixes
103
+ * fix for homebridge v2 where TargetSlateStte and TargetAirQuality are deprecated ([6acfbb2](https://github.com/ztalbot2000/homebridge-cmd4/commit/6acfbb26bf56a355d76f3f96dafabdfefd26bbb6))
104
+ * Fix for homebridge v2 Formats&Perms&Units only available directly from HAP ([2a9d6e9](https://github.com/ztalbot2000/homebridge-cmd4/commit/2a9d6e976647f1fa7e1a3ee34e5080a3c28eae73))
105
+
106
+ * Fix lint error ([286dc68](https://github.com/ztalbot2000/homebridge-cmd4/commit/286dc68441c776a93f0f0d913db326fa9ccafeec))
107
+
108
+
109
+ ##### New Features
110
+
111
+ * Support only Platform Accessories as per Homebridge recommendation ([0ee6efc](https://github.com/ztalbot2000/homebridge-cmd4/commit/0ee6efcc09b7c87f346299fb9ccab5940fba7ee0))
112
+
113
+
94
114
  <a name="Whats-new-in-7-1-0">## Whats new in 7.1.0</a>
95
115
  ### 7.1.0 (2024-03-04)
96
116
 
@@ -935,10 +935,11 @@ module.exports =
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: false,
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,
@@ -1041,10 +1042,11 @@ module.exports =
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: false,
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: false,
1066
+ deprecated: true,
1064
1067
  UUID: "0000009D-0000-1000-8000-0026BB765291",
1065
1068
  description: "The Configured Bridge Accessory Status",
1066
1069
  relatedCurrentAccTypeEnumIndex: null,
@@ -1465,10 +1468,11 @@ module.exports =
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: false,
1475
+ deprecated: true,
1472
1476
  UUID: "0000009B-0000-1000-8000-0026BB765291",
1473
1477
  description: "What Time it is Now",
1474
1478
  relatedCurrentAccTypeEnumIndex: null,
@@ -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: false,
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,
@@ -1638,10 +1643,11 @@ module.exports =
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: false,
1650
+ deprecated: true,
1645
1651
  UUID: "0000009E-0000-1000-8000-0026BB765291",
1646
1652
  description: "The Discovered Bridge Accessories",
1647
1653
  relatedCurrentAccTypeEnumIndex: null,
@@ -1656,10 +1662,11 @@ module.exports =
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: false,
1669
+ deprecated: true,
1663
1670
  UUID: "0000009F-0000-1000-8000-0026BB765291",
1664
1671
  description: "The Discovered Bridged Accessories",
1665
1672
  relatedCurrentAccTypeEnumIndex: null,
@@ -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: false,
2146
+ deprecated: true,
2139
2147
  UUID: "0000009C-0000-1000-8000-0026BB765291",
2140
2148
  description: "The Links Quality",
2141
2149
  relatedCurrentAccTypeEnumIndex: null,
@@ -3076,10 +3084,11 @@ module.exports =
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: false,
3091
+ deprecated: true,
3083
3092
  UUID: "00000063-0000-1000-8000-0026BB765291",
3084
3093
  description: "If the Device is Reachable",
3085
3094
  relatedCurrentAccTypeEnumIndex: null,
@@ -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: false,
4657
+ deprecated: true,
4648
4658
  UUID: "0000009A-0000-1000-8000-0026BB765291",
4649
4659
  description: "Ifnthe Time Should be Updated",
4650
4660
  relatedCurrentAccTypeEnumIndex: null,
@@ -122,6 +122,7 @@ module.exports =
122
122
  CMD4_DEVICE_TYPE_ENUM.properties =
123
123
  {
124
124
  0: { deviceName:'AccessControl',
125
+ deprecated: false,
125
126
  UUID: "000000DA-0000-1000-8000-0026BB765291",
126
127
  service: Service.AccessControl,
127
128
  defaultCategory: Categories.OTHER,
@@ -141,6 +142,7 @@ module.exports =
141
142
  []
142
143
  },
143
144
  1: { deviceName:'AccessoryRuntimeInformation',
145
+ deprecated: false,
144
146
  UUID: "00000239-0000-1000-8000-0026BB765291",
145
147
  service: Service.AccessoryRuntimeInformation,
146
148
  defaultCategory: Categories.OTHER,
@@ -162,6 +164,7 @@ module.exports =
162
164
  []
163
165
  },
164
166
  2: { deviceName:'AccessoryInformation',
167
+ deprecated: false,
165
168
  UUID: "0000003E-0000-1000-8000-0026BB765291",
166
169
  service: Service.AccessoryInformation,
167
170
  defaultCategory: Categories.OTHER,
@@ -208,6 +211,7 @@ module.exports =
208
211
  ]
209
212
  },
210
213
  3: { deviceName:'AirPurifier',
214
+ deprecated: false,
211
215
  UUID: "000000BB-0000-1000-8000-0026BB765291",
212
216
  service: Service.AirPurifier,
213
217
  defaultCategory: Categories.AIR_PURIFIER,
@@ -241,6 +245,7 @@ module.exports =
241
245
  ]
242
246
  },
243
247
  4: { deviceName:'AirQualitySensor',
248
+ deprecated: false,
244
249
  UUID: "0000008D-0000-1000-8000-0026BB765291",
245
250
  service: Service.AirQualitySensor,
246
251
  defaultCategory: Categories.OTHER,
@@ -273,6 +278,7 @@ module.exports =
273
278
  ]
274
279
  },
275
280
  5: { deviceName:'BatteryService',
281
+ deprecated: false,
276
282
  UUID: "00000096-0000-1000-8000-0026BB765291",
277
283
  service: Service.BatteryService,
278
284
  defaultCategory: Categories.OTHER,
@@ -302,67 +308,83 @@ module.exports =
302
308
  [ CMD4_ACC_TYPE_ENUM.StatusLowBattery
303
309
  ]
304
310
  },
311
+ // @deprecated Removed and not used anymore as of homebridge v2
305
312
  6: { deviceName:'BridgeConfiguration',
313
+ deprecated: true,
306
314
  UUID: "000000A1-0000-1000-8000-0026BB765291",
307
- service: Service.BridgeConfiguration,
308
- defaultCategory: Categories.BRIDGE,
315
+ // service: Service.BridgeConfiguration,
316
+ service: null,
317
+ // defaultCategory: Categories.BRIDGE,
318
+ defaultCategory: null,
309
319
  publishExternally: false,
310
320
  devicesStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
311
321
  requiredCharacteristics:
312
- [ {type: CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessoryStatus,
313
- defaultValue: 0, // Format: TLV8
314
- relatedCurrentAccTypeEnumArray: [ ],
315
- relatedTargetAccTypeEnumArray: [ ]
316
- }
322
+ [
323
+ //{type: CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessoryStatus,
324
+ // defaultValue: 0, // Format: TLV8
325
+ // relatedCurrentAccTypeEnumArray: [ ],
326
+ // relatedTargetAccTypeEnumArray: [ ]
327
+ //}
317
328
  ],
318
329
  optionalCharacteristics:
319
- [ CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessoryStatus,
320
- CMD4_ACC_TYPE_ENUM.DiscoverBridgedAccessories,
321
- CMD4_ACC_TYPE_ENUM.DiscoveredBridgedAccessories,
322
- CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessory
330
+ [
331
+ //CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessoryStatus,
332
+ //CMD4_ACC_TYPE_ENUM.DiscoverBridgedAccessories,
333
+ //CMD4_ACC_TYPE_ENUM.DiscoveredBridgedAccessories,
334
+ //CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessory
323
335
  ],
324
336
  defaultPollingCharacteristics:
325
- [ CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessoryStatus
337
+ [
338
+ //CMD4_ACC_TYPE_ENUM.ConfigureBridgedAccessoryStatus
326
339
  ]
327
340
  },
341
+ // @deprecated Removed and not used anymore as of homebridge v2
328
342
  7: { deviceName:'BridgingState',
343
+ deprecated: true,
329
344
  UUID: "00000062-0000-1000-8000-0026BB765291",
330
- service: Service.BridgingState,
331
- defaultCategory: Categories.BRIDGE,
345
+ // @deprecated Removed and not used anymore as of homebridge v2
346
+ // service: Service.BridgingState,
347
+ service: null,
348
+ // defaultCategory: Categories.BRIDGE,
349
+ defaultCategory: null,
332
350
  publishExternally: false,
333
351
  devicesStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
334
352
  requiredCharacteristics:
335
- [ {type: CMD4_ACC_TYPE_ENUM.Reachable,
336
- defaultValue: 1, // Format: Bool
337
- relatedCurrentAccTypeEnumArray: [ ],
338
- relatedTargetAccTypeEnumArray: [ ]
339
- },
340
- {type: CMD4_ACC_TYPE_ENUM.LinkQuality,
341
- defaultValue: 1, // Format: Uint8
353
+ [
354
+ //{type: CMD4_ACC_TYPE_ENUM.Reachable,
355
+ // defaultValue: 1, // Format: Bool
356
+ // relatedCurrentAccTypeEnumArray: [ ],
357
+ // relatedTargetAccTypeEnumArray: [ ]
358
+ //},
359
+ //{type: CMD4_ACC_TYPE_ENUM.LinkQuality,
360
+ // defaultValue: 1, // Format: Uint8
342
361
  // Range: 1-4, Step: 1
343
- relatedCurrentAccTypeEnumArray: [ ],
344
- relatedTargetAccTypeEnumArray: [ ]
345
- },
346
- {type: CMD4_ACC_TYPE_ENUM.AccessoryIdentifier,
347
- defaultValue: "id999", // Format: String
348
- relatedCurrentAccTypeEnumArray: [ ],
349
- relatedTargetAccTypeEnumArray: [ ]
350
- },
351
- {type: CMD4_ACC_TYPE_ENUM.Category,
352
- defaultValue: 16, // Format: Uint16
362
+ // relatedCurrentAccTypeEnumArray: [ ],
363
+ // relatedTargetAccTypeEnumArray: [ ]
364
+ //},
365
+ //{type: CMD4_ACC_TYPE_ENUM.AccessoryIdentifier,
366
+ // defaultValue: "id999", // Format: String
367
+ // relatedCurrentAccTypeEnumArray: [ ],
368
+ // relatedTargetAccTypeEnumArray: [ ]
369
+ //},
370
+ //{type: CMD4_ACC_TYPE_ENUM.Category,
371
+ // defaultValue: 16, // Format: Uint16
353
372
  // Range: 1-16, Step 1
354
- relatedCurrentAccTypeEnumArray: [ ],
355
- relatedTargetAccTypeEnumArray: [ ]
356
- }
373
+ // relatedCurrentAccTypeEnumArray: [ ],
374
+ // relatedTargetAccTypeEnumArray: [ ]
375
+ //}
357
376
  ],
358
377
  optionalCharacteristics:
359
- [ CMD4_ACC_TYPE_ENUM.Name
378
+ [
379
+ //CMD4_ACC_TYPE_ENUM.Name
360
380
  ],
361
381
  defaultPollingCharacteristics:
362
- [ CMD4_ACC_TYPE_ENUM.Reachable
382
+ [
383
+ //CMD4_ACC_TYPE_ENUM.Reachable
363
384
  ]
364
385
  },
365
386
  8: { deviceName:'CameraEventRecordingManagement',
387
+ deprecated: false,
366
388
  UUID: "00000204-0000-1000-8000-0026BB765291",
367
389
  service: Service.CameraEventRecordingManagement,
368
390
  defaultCategory: Categories.OTHER,
@@ -402,36 +424,44 @@ module.exports =
402
424
  [ CMD4_ACC_TYPE_ENUM.Active
403
425
  ]
404
426
  },
427
+ // @deprecated Removed and not used anymore as of homebridge v2
405
428
  9: { deviceName:'CameraControl',
429
+ deprecated: true,
406
430
  UUID: "00000111-0000-1000-8000-0026BB765291",
407
- service: Service.CameraControl,
408
- defaultCategory: Categories.OTHER,
431
+ // service: Service.CameraControl,
432
+ service: null,
433
+ //defaultCategory: Categories.OTHER,
434
+ defaultCategory: null,
409
435
  publishExternally: false,
410
436
  devicesStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
411
437
  requiredCharacteristics:
412
- [ {type: CMD4_ACC_TYPE_ENUM.On,
413
- defaultValue: 1, // Format: Bool
414
- relatedCurrentAccTypeEnumArray: [ ],
415
- relatedTargetAccTypeEnumArray: [ ]
416
- }
438
+ [
439
+ //{type: CMD4_ACC_TYPE_ENUM.On,
440
+ // defaultValue: 1, // Format: Bool
441
+ // relatedCurrentAccTypeEnumArray: [ ],
442
+ // relatedTargetAccTypeEnumArray: [ ]
443
+ //}
417
444
  ],
418
445
  optionalCharacteristics:
419
- [ CMD4_ACC_TYPE_ENUM.CurrentHorizontalTiltAngle,
420
- CMD4_ACC_TYPE_ENUM.CurrentVerticalTiltAngle,
421
- CMD4_ACC_TYPE_ENUM.TargetHorizontalTiltAngle,
422
- CMD4_ACC_TYPE_ENUM.TargetVerticalTiltAngle,
423
- CMD4_ACC_TYPE_ENUM.NightVision,
424
- CMD4_ACC_TYPE_ENUM.OpticalZoom,
425
- CMD4_ACC_TYPE_ENUM.DigitalZoom,
426
- CMD4_ACC_TYPE_ENUM.ImageRotation,
427
- CMD4_ACC_TYPE_ENUM.ImageMirroring,
428
- CMD4_ACC_TYPE_ENUM.Name
446
+ [
447
+ //CMD4_ACC_TYPE_ENUM.CurrentHorizontalTiltAngle,
448
+ //CMD4_ACC_TYPE_ENUM.CurrentVerticalTiltAngle,
449
+ //CMD4_ACC_TYPE_ENUM.TargetHorizontalTiltAngle,
450
+ //CMD4_ACC_TYPE_ENUM.TargetVerticalTiltAngle,
451
+ //CMD4_ACC_TYPE_ENUM.NightVision,
452
+ //CMD4_ACC_TYPE_ENUM.OpticalZoom,
453
+ //CMD4_ACC_TYPE_ENUM.DigitalZoom,
454
+ //CMD4_ACC_TYPE_ENUM.ImageRotation,
455
+ //CMD4_ACC_TYPE_ENUM.ImageMirroring,
456
+ //CMD4_ACC_TYPE_ENUM.Name
429
457
  ],
430
458
  defaultPollingCharacteristics:
431
- [ CMD4_ACC_TYPE_ENUM.On
459
+ [
460
+ //CMD4_ACC_TYPE_ENUM.On
432
461
  ]
433
462
  },
434
463
  10: { deviceName:'CameraRTPStreamManagement',
464
+ deprecated: false,
435
465
  UUID: "00000110-0000-1000-8000-0026BB765291",
436
466
  service: Service.CameraRTPStreamManagement,
437
467
  defaultCategory: Categories.OTHER,
@@ -477,6 +507,7 @@ module.exports =
477
507
  ]
478
508
  },
479
509
  11: { deviceName:'CameraOperatingMode',
510
+ deprecated: false,
480
511
  UUID: "0000021A-0000-1000-8000-0026BB765291",
481
512
  service: Service.CameraOperatingMode,
482
513
  defaultCategory: Categories.OTHER,
@@ -506,6 +537,7 @@ module.exports =
506
537
  []
507
538
  },
508
539
  12: { deviceName:'CarbonDioxideSensor',
540
+ deprecated: false,
509
541
  UUID: "00000097-0000-1000-8000-0026BB765291",
510
542
  service: Service.CarbonDioxideSensor,
511
543
  defaultCategory: Categories.SENSOR,
@@ -532,6 +564,7 @@ module.exports =
532
564
  ]
533
565
  },
534
566
  13: { deviceName:'CarbonMonoxideSensor',
567
+ deprecated: false,
535
568
  UUID: "0000007F-0000-1000-8000-0026BB765291",
536
569
  service: Service.CarbonMonoxideSensor,
537
570
  defaultCategory: Categories.SENSOR,
@@ -558,6 +591,7 @@ module.exports =
558
591
  ]
559
592
  },
560
593
  14: { deviceName:'ContactSensor',
594
+ deprecated: false,
561
595
  UUID: "00000080-0000-1000-8000-0026BB765291",
562
596
  service: Service.ContactSensor,
563
597
  defaultCategory: Categories.SENSOR,
@@ -582,6 +616,7 @@ module.exports =
582
616
  ]
583
617
  },
584
618
  15: { deviceName:'Diagnostics',
619
+ deprecated: false,
585
620
  UUID: "00000237-0000-1000-8000-0026BB765291",
586
621
  service: Service.Diagnostics,
587
622
  defaultCategory: Categories.OTHER,
@@ -601,6 +636,7 @@ module.exports =
601
636
  []
602
637
  },
603
638
  16: { deviceName:'Door',
639
+ deprecated: false,
604
640
  UUID: "00000081-0000-1000-8000-0026BB765291",
605
641
  service: Service.Door,
606
642
  defaultCategory: Categories.DOOR,
@@ -634,6 +670,7 @@ module.exports =
634
670
  ]
635
671
  },
636
672
  17: { deviceName:'DoorBell',
673
+ deprecated: false,
637
674
  UUID: "00000121-0000-1000-8000-0026BB765291",
638
675
  service: Service.Doorbell,
639
676
  defaultCategory: Categories.OTHER,
@@ -658,6 +695,7 @@ module.exports =
658
695
  ]
659
696
  },
660
697
  18: { deviceName:'Fan',
698
+ deprecated: false,
661
699
  UUID: "00000040-0000-1000-8000-0026BB765291",
662
700
  service: Service.Fan,
663
701
  defaultCategory: Categories.FAN,
@@ -680,6 +718,7 @@ module.exports =
680
718
  ]
681
719
  },
682
720
  19: { deviceName:'Fanv1',
721
+ deprecated: false,
683
722
  UUID: "00000040-0000-1000-8000-0026BB765291",
684
723
  service: Service.Fan,
685
724
  defaultCategory: Categories.FAN,
@@ -702,6 +741,7 @@ module.exports =
702
741
  ]
703
742
  },
704
743
  20: { deviceName:'Fanv2',
744
+ deprecated: false,
705
745
  UUID: "000000B7-0000-1000-8000-0026BB765291",
706
746
  service: Service.Fanv2,
707
747
  defaultCategory: Categories.FAN,
@@ -728,6 +768,7 @@ module.exports =
728
768
  ]
729
769
  },
730
770
  21: { deviceName:'Faucet',
771
+ deprecated: false,
731
772
  UUID: "000000D7-0000-1000-8000-0026BB765291",
732
773
  service: Service.Faucet,
733
774
  defaultCategory: Categories.FAUCET,
@@ -749,6 +790,7 @@ module.exports =
749
790
  ]
750
791
  },
751
792
  22: { deviceName:'FilterMaintenance',
793
+ deprecated: false,
752
794
  UUID: "000000BA-0000-1000-8000-0026BB765291",
753
795
  service: Service.FilterMaintenance,
754
796
  defaultCategory: Categories.OTHER,
@@ -771,6 +813,7 @@ module.exports =
771
813
  ]
772
814
  },
773
815
  23: { deviceName:'GarageDoorOpener',
816
+ deprecated: false,
774
817
  UUID: "00000041-0000-1000-8000-0026BB765291",
775
818
  service: Service.GarageDoorOpener,
776
819
  defaultCategory: Categories.GARAGE_DOOR_OPENER,
@@ -804,6 +847,7 @@ module.exports =
804
847
  ]
805
848
  },
806
849
  24: { deviceName:'HeaterCooler',
850
+ deprecated: false,
807
851
  UUID: "000000BC-0000-1000-8000-0026BB765291",
808
852
  service: Service.HeaterCooler,
809
853
  defaultCategory: Categories.AIR_HEATER,
@@ -847,6 +891,7 @@ module.exports =
847
891
  ]
848
892
  },
849
893
  25: { deviceName:'HumidifierDehumidifier',
894
+ deprecated: false,
850
895
  UUID: "000000BD-0000-1000-8000-0026BB765291",
851
896
  service: Service.HumidifierDehumidifier,
852
897
  defaultCategory: Categories.OTHER,
@@ -890,6 +935,7 @@ module.exports =
890
935
  ]
891
936
  },
892
937
  26: { deviceName:'HumiditySensor',
938
+ deprecated: false,
893
939
  UUID: "00000082-0000-1000-8000-0026BB765291",
894
940
  service: Service.HumiditySensor,
895
941
  defaultCategory: Categories.SENSOR,
@@ -916,6 +962,7 @@ module.exports =
916
962
  ]
917
963
  },
918
964
  27: { deviceName:'InputSource',
965
+ deprecated: false,
919
966
  UUID: "000000D9-0000-1000-8000-0026BB765291",
920
967
  service: Service.InputSource,
921
968
  defaultCategory: Categories.OTHER,
@@ -954,6 +1001,7 @@ module.exports =
954
1001
  ]
955
1002
  },
956
1003
  28: { deviceName:'IrrigationSystem',
1004
+ deprecated: false,
957
1005
  UUID: "000000CF-0000-1000-8000-0026BB765291",
958
1006
  service: Service.IrrigationSystem,
959
1007
  defaultCategory: Categories.SPRINKLER,
@@ -986,6 +1034,7 @@ module.exports =
986
1034
  ]
987
1035
  },
988
1036
  29: { deviceName:'LeakSensor',
1037
+ deprecated: false,
989
1038
  UUID: "00000083-0000-1000-8000-0026BB765291",
990
1039
  service: Service.LeakSensor,
991
1040
  defaultCategory: Categories.SENSOR,
@@ -1010,6 +1059,7 @@ module.exports =
1010
1059
  ]
1011
1060
  },
1012
1061
  30: { deviceName:'LightSensor',
1062
+ deprecated: false,
1013
1063
  UUID: "00000084-0000-1000-8000-0026BB765291",
1014
1064
  service: Service.LightSensor,
1015
1065
  defaultCategory: Categories.SENSOR,
@@ -1036,6 +1086,7 @@ module.exports =
1036
1086
  ]
1037
1087
  },
1038
1088
  31: { deviceName:'Lightbulb',
1089
+ deprecated: false,
1039
1090
  UUID: "00000043-0000-1000-8000-0026BB765291",
1040
1091
  service: Service.Lightbulb,
1041
1092
  defaultCategory: Categories.LIGHTBULB,
@@ -1060,6 +1111,7 @@ module.exports =
1060
1111
  ]
1061
1112
  },
1062
1113
  32: { deviceName:'LockManagement',
1114
+ deprecated: false,
1063
1115
  UUID: "00000044-0000-1000-8000-0026BB765291",
1064
1116
  service: Service.LockManagement,
1065
1117
  defaultCategory: Categories.ALARM_SYSTEM,
@@ -1093,6 +1145,7 @@ module.exports =
1093
1145
  ]
1094
1146
  },
1095
1147
  33: { deviceName:'LockMechanism',
1148
+ deprecated: false,
1096
1149
  UUID: "00000045-0000-1000-8000-0026BB765291",
1097
1150
  service: Service.LockMechanism,
1098
1151
  defaultCategory: Categories.DOOR_LOCK,
@@ -1119,6 +1172,7 @@ module.exports =
1119
1172
  ]
1120
1173
  },
1121
1174
  34: { deviceName:'Microphone',
1175
+ deprecated: false,
1122
1176
  UUID: "00000112-0000-1000-8000-0026BB765291",
1123
1177
  service: Service.Microphone,
1124
1178
  defaultCategory: Categories.OTHER,
@@ -1142,6 +1196,7 @@ module.exports =
1142
1196
  ]
1143
1197
  },
1144
1198
  35: { deviceName:'MotionSensor',
1199
+ deprecated: false,
1145
1200
  UUID: "00000085-0000-1000-8000-0026BB765291",
1146
1201
  service: Service.MotionSensor,
1147
1202
  defaultCategory: Categories.SENSOR,
@@ -1166,6 +1221,7 @@ module.exports =
1166
1221
  ]
1167
1222
  },
1168
1223
  36: { deviceName:'OccupancySensor',
1224
+ deprecated: false,
1169
1225
  UUID: "00000086-0000-1000-8000-0026BB765291",
1170
1226
  service: Service.OccupancySensor,
1171
1227
  defaultCategory: Categories.SENSOR,
@@ -1190,6 +1246,7 @@ module.exports =
1190
1246
  ]
1191
1247
  },
1192
1248
  37: { deviceName:'Outlet',
1249
+ deprecated: false,
1193
1250
  UUID: "00000047-0000-1000-8000-0026BB765291",
1194
1251
  service: Service.Outlet,
1195
1252
  defaultCategory: Categories.OUTLET,
@@ -1215,6 +1272,7 @@ module.exports =
1215
1272
  ]
1216
1273
  },
1217
1274
  38: { deviceName:'Pairing',
1275
+ deprecated: false,
1218
1276
  UUID: "00000055-0000-1000-8000-0026BB765291",
1219
1277
  service: Service.Pairing,
1220
1278
  defaultCategory: Categories.OTHER,
@@ -1250,6 +1308,7 @@ module.exports =
1250
1308
  ]
1251
1309
  },
1252
1310
  39: { deviceName:'PowerManagement',
1311
+ deprecated: false,
1253
1312
  UUID: "00000221-0000-1000-8000-0026BB765291",
1254
1313
  service: Service.PowerManagement,
1255
1314
  defaultCategory: Categories.OTHER,
@@ -1269,6 +1328,7 @@ module.exports =
1269
1328
  []
1270
1329
  },
1271
1330
  40: { deviceName:'ProtocolInformation',
1331
+ deprecated: false,
1272
1332
  UUID: "000000A2-0000-1000-8000-0026BB765291",
1273
1333
  service: Service.ProtocolInformation,
1274
1334
  defaultCategory: Categories.OTHER,
@@ -1289,6 +1349,7 @@ module.exports =
1289
1349
  ]
1290
1350
  },
1291
1351
  41: { deviceName:'Relay',
1352
+ deprecated: false,
1292
1353
  UUID: "0000005A-0000-1000-8000-0026BB765291",
1293
1354
  service: Service.Relay,
1294
1355
  defaultCategory: Categories.SWITCH,
@@ -1320,6 +1381,7 @@ module.exports =
1320
1381
  ]
1321
1382
  },
1322
1383
  42: { deviceName:'SecuritySystem',
1384
+ deprecated: false,
1323
1385
  UUID: "0000007E-0000-1000-8000-0026BB765291",
1324
1386
  service: Service.SecuritySystem,
1325
1387
  defaultCategory: Categories.SECURITY_SYSTEM,
@@ -1349,6 +1411,7 @@ module.exports =
1349
1411
  ]
1350
1412
  },
1351
1413
  43: { deviceName:'ServiceLabel',
1414
+ deprecated: false,
1352
1415
  UUID: "000000CC-0000-1000-8000-0026BB765291",
1353
1416
  service: Service.ServiceLabel,
1354
1417
  defaultCategory: Categories.OTHER,
@@ -1369,6 +1432,7 @@ module.exports =
1369
1432
  ]
1370
1433
  },
1371
1434
  44: { deviceName:'Siri',
1435
+ deprecated: false,
1372
1436
  UUID: "00000133-0000-1000-8000-0026BB765291",
1373
1437
  service: Service.Siri,
1374
1438
  defaultCategory: Categories.HOMEPOD,
@@ -1393,6 +1457,7 @@ module.exports =
1393
1457
  []
1394
1458
  },
1395
1459
  45: { deviceName:'Slats',
1460
+ deprecated: false,
1396
1461
  UUID: "000000B9-0000-1000-8000-0026BB765291",
1397
1462
  service: Service.Slats,
1398
1463
  defaultCategory: Categories.WINDOW_COVERING,
@@ -1422,6 +1487,7 @@ module.exports =
1422
1487
  ]
1423
1488
  },
1424
1489
  46: { deviceName:'SmartSpeaker',
1490
+ deprecated: false,
1425
1491
  UUID: "00000228-0000-1000-8000-0026BB765291",
1426
1492
  service: Service.SmartSpeaker,
1427
1493
  defaultCategory: Categories.HOMEPOD,
@@ -1450,6 +1516,7 @@ module.exports =
1450
1516
  []
1451
1517
  },
1452
1518
  47: { deviceName:'SmokeSensor',
1519
+ deprecated: false,
1453
1520
  UUID: "00000087-0000-1000-8000-0026BB765291",
1454
1521
  service: Service.SmokeSensor,
1455
1522
  defaultCategory: Categories.SENSOR,
@@ -1474,6 +1541,7 @@ module.exports =
1474
1541
  ]
1475
1542
  },
1476
1543
  48: { deviceName:'Speaker',
1544
+ deprecated: false,
1477
1545
  UUID: "00000113-0000-1000-8000-0026BB765291",
1478
1546
  service: Service.Speaker,
1479
1547
  defaultCategory: Categories.SPEAKER,
@@ -1498,6 +1566,7 @@ module.exports =
1498
1566
  ]
1499
1567
  },
1500
1568
  49: { deviceName:'StatefulProgrammableSwitch',
1569
+ deprecated: false,
1501
1570
  UUID: "00000088-0000-1000-8000-0026BB765291",
1502
1571
  service: Service.StatefulProgrammableSwitch,
1503
1572
  defaultCategory: Categories.SWITCH,
@@ -1524,6 +1593,7 @@ module.exports =
1524
1593
  ]
1525
1594
  },
1526
1595
  50: { deviceName:'StatelessProgrammableSwitch',
1596
+ deprecated: false,
1527
1597
  UUID: "00000089-0000-1000-8000-0026BB765291",
1528
1598
  service: Service.StatelessProgrammableSwitch,
1529
1599
  defaultCategory: Categories.SWITCH,
@@ -1545,6 +1615,7 @@ module.exports =
1545
1615
  ]
1546
1616
  },
1547
1617
  51: { deviceName:'Switch',
1618
+ deprecated: false,
1548
1619
  UUID: "00000049-0000-1000-8000-0026BB765291",
1549
1620
  service: Service.Switch,
1550
1621
  defaultCategory: Categories.SWITCH,
@@ -1565,6 +1636,7 @@ module.exports =
1565
1636
  ]
1566
1637
  },
1567
1638
  52: { deviceName:'TargetControl',
1639
+ deprecated: false,
1568
1640
  UUID: "00000125-0000-1000-8000-0026BB765291",
1569
1641
  service: Service.TargetControl,
1570
1642
  defaultCategory: Categories.TARGET_CONTROLLER,
@@ -1595,6 +1667,7 @@ module.exports =
1595
1667
  []
1596
1668
  },
1597
1669
  53: { deviceName:'TargetControlManagement',
1670
+ deprecated: false,
1598
1671
  UUID: "00000122-0000-1000-8000-0026BB765291",
1599
1672
  service: Service.TargetControlManagement,
1600
1673
  defaultCategory: Categories.TARGET_CONTROLLER,
@@ -1619,6 +1692,7 @@ module.exports =
1619
1692
  []
1620
1693
  },
1621
1694
  54: { deviceName:'Television',
1695
+ deprecated: false,
1622
1696
  UUID: "000000D8-0000-1000-8000-0026BB765291",
1623
1697
  service: Service.Television,
1624
1698
  defaultCategory: Categories.TELEVISION,
@@ -1666,6 +1740,7 @@ module.exports =
1666
1740
  ]
1667
1741
  },
1668
1742
  55: { deviceName:'TelevisionSpeaker',
1743
+ deprecated: false,
1669
1744
  UUID: "00000113-0000-1000-8000-0026BB765291",
1670
1745
  service: Service.TelevisionSpeaker,
1671
1746
  defaultCategory: Categories.AUDIO_RECEIVER,
@@ -1690,6 +1765,7 @@ module.exports =
1690
1765
  ]
1691
1766
  },
1692
1767
  56: { deviceName:'TemperatureSensor',
1768
+ deprecated: false,
1693
1769
  UUID: "0000008A-0000-1000-8000-0026BB765291",
1694
1770
  service: Service.TemperatureSensor,
1695
1771
  defaultCategory: Categories.SWITCH,
@@ -1717,6 +1793,7 @@ module.exports =
1717
1793
  ]
1718
1794
  },
1719
1795
  57: { deviceName:'Thermostat',
1796
+ deprecated: false,
1720
1797
  UUID: "0000004A-0000-1000-8000-0026BB765291",
1721
1798
  service: Service.Thermostat,
1722
1799
  defaultCategory: Categories.THERMOSTAT,
@@ -1766,37 +1843,45 @@ module.exports =
1766
1843
  CMD4_ACC_TYPE_ENUM.TargetTemperature
1767
1844
  ]
1768
1845
  },
1846
+ // @deprecated Removed and not used anymore as of homebridge v2
1769
1847
  58: { deviceName:'TimeInformation',
1848
+ deprecated: true,
1770
1849
  UUID: "00000099-0000-1000-8000-0026BB765291",
1771
- service: Service.TimeInformation,
1772
- defaultCategory: Categories.OTHER,
1850
+ //service: Service.TimeInformation,
1851
+ service: null,
1852
+ //defaultCategory: Categories.OTHER,
1853
+ defaultCategory: null,
1773
1854
  publishExternally: false,
1774
1855
  devicesStateChangeDefaultTime: constants.MEDIUM_STATE_CHANGE_RESPONSE_TIME,
1775
1856
  requiredCharacteristics:
1776
- [ {type: CMD4_ACC_TYPE_ENUM.CurrentTime,
1777
- defaultValue: '11:15', // Format: String
1778
- relatedCurrentAccTypeEnumArray: [ ],
1779
- relatedTargetAccTypeEnumArray: [ ]
1780
- },
1781
- {type: CMD4_ACC_TYPE_ENUM.DayoftheWeek,
1782
- defaultValue: 1, // Range: 1 - 7
1783
- relatedCurrentAccTypeEnumArray: [ ],
1784
- relatedTargetAccTypeEnumArray: [ ]
1785
- },
1786
- {type: CMD4_ACC_TYPE_ENUM.TimeUpdate,
1787
- defaultValue: 0, // Format: Bool
1788
- relatedCurrentAccTypeEnumArray: [ ],
1789
- relatedTargetAccTypeEnumArray: [ ]
1790
- }
1857
+ [
1858
+ //{type: CMD4_ACC_TYPE_ENUM.CurrentTime,
1859
+ // defaultValue: '11:15', // Format: String
1860
+ // relatedCurrentAccTypeEnumArray: [ ],
1861
+ // relatedTargetAccTypeEnumArray: [ ]
1862
+ //},
1863
+ //{type: CMD4_ACC_TYPE_ENUM.DayoftheWeek,
1864
+ // defaultValue: 1, // Range: 1 - 7
1865
+ // relatedCurrentAccTypeEnumArray: [ ],
1866
+ // relatedTargetAccTypeEnumArray: [ ]
1867
+ //},
1868
+ //{type: CMD4_ACC_TYPE_ENUM.TimeUpdate,
1869
+ // defaultValue: 0, // Format: Bool
1870
+ // relatedCurrentAccTypeEnumArray: [ ],
1871
+ // relatedTargetAccTypeEnumArray: [ ]
1872
+ //}
1791
1873
  ],
1792
1874
  optionalCharacteristics:
1793
- [ CMD4_ACC_TYPE_ENUM.Name
1875
+ [
1876
+ //CMD4_ACC_TYPE_ENUM.Name
1794
1877
  ],
1795
1878
  defaultPollingCharacteristics:
1796
- [ CMD4_ACC_TYPE_ENUM.CurrentTime
1879
+ [
1880
+ //CMD4_ACC_TYPE_ENUM.CurrentTime
1797
1881
  ]
1798
1882
  },
1799
1883
  59: { deviceName:'TransferTransportManagement',
1884
+ deprecated: false,
1800
1885
  UUID: "00000203-0000-1000-8000-0026BB765291",
1801
1886
  service: Service.TransferTransportManagement,
1802
1887
  defaultCategory: Categories.OTHER,
@@ -1821,6 +1906,7 @@ module.exports =
1821
1906
  []
1822
1907
  },
1823
1908
  60: { deviceName:'TunneledBTLEAccessoryService', // Same as Tunnel
1909
+ deprecated: false,
1824
1910
  UUID: "00000056-0000-1000-8000-0026BB765291",
1825
1911
  service: Service.TunneledBTLEAccessoryService,
1826
1912
  defaultCategory: Categories.OTHER,
@@ -1864,6 +1950,7 @@ module.exports =
1864
1950
  ]
1865
1951
  },
1866
1952
  61: { deviceName:'Valve',
1953
+ deprecated: false,
1867
1954
  UUID: "000000D0-0000-1000-8000-0026BB765291",
1868
1955
  service: Service.Valve,
1869
1956
  defaultCategory: Categories.FAUCET,
@@ -1899,6 +1986,7 @@ module.exports =
1899
1986
  ]
1900
1987
  },
1901
1988
  62: { deviceName:'WiFiRouter',
1989
+ deprecated: false,
1902
1990
  UUID: "0000020A-0000-1000-8000-0026BB765291",
1903
1991
  service: Service.WiFiRouter,
1904
1992
  defaultCategory: Categories.AIRPORT,
@@ -1958,6 +2046,7 @@ module.exports =
1958
2046
  []
1959
2047
  },
1960
2048
  63: { deviceName:'WiFiSatellite',
2049
+ deprecated: false,
1961
2050
  UUID: "0000020F-0000-1000-8000-0026BB765291",
1962
2051
  service: Service.WiFiSatellite,
1963
2052
  defaultCategory: Categories.TV_SET_TOP_BOX,
@@ -1977,6 +2066,7 @@ module.exports =
1977
2066
  []
1978
2067
  },
1979
2068
  64: { deviceName:'Window',
2069
+ deprecated: false,
1980
2070
  UUID: "0000008B-0000-1000-8000-0026BB765291",
1981
2071
  service: Service.Window,
1982
2072
  defaultCategory: Categories.WINDOW,
@@ -2012,6 +2102,7 @@ module.exports =
2012
2102
  ]
2013
2103
  },
2014
2104
  65: { deviceName:'WindowCovering',
2105
+ deprecated: false,
2015
2106
  UUID: "0000008C-0000-1000-8000-0026BB765291",
2016
2107
  service: Service.WindowCovering,
2017
2108
  defaultCategory: Categories.WINDOW_COVERING,
@@ -2051,6 +2142,7 @@ module.exports =
2051
2142
  ]
2052
2143
  },
2053
2144
  66: { deviceName:'AccessoryMetrics',
2145
+ deprecated: false,
2054
2146
  UUID: "00000270-0000-1000-8000-0026BB765291",
2055
2147
  service: Service.AccessoryMetrics,
2056
2148
  defaultCategory: Categories.OTHER,
@@ -2079,6 +2171,7 @@ module.exports =
2079
2171
  [ CMD4_ACC_TYPE_ENUM.Active ]
2080
2172
  },
2081
2173
  67: { deviceName:'AssetUpdate',
2174
+ deprecated: false,
2082
2175
  UUID: "00000267-0000-1000-8000-0026BB765291",
2083
2176
  service: Service.AssetUpdate,
2084
2177
  defaultCategory: Categories.OTHER,
@@ -2102,6 +2195,7 @@ module.exports =
2102
2195
  []
2103
2196
  },
2104
2197
  68: { deviceName:'Assistant',
2198
+ deprecated: false,
2105
2199
  UUID: "0000026A-0000-1000-8000-0026BB765291",
2106
2200
  service: Service.Assistant,
2107
2201
  defaultCategory: Categories.OTHER,
@@ -2130,6 +2224,7 @@ module.exports =
2130
2224
  []
2131
2225
  },
2132
2226
  69: { deviceName:'AudioStreamManagement',
2227
+ deprecated: false,
2133
2228
  UUID: "00000127-0000-1000-8000-0026BB765291",
2134
2229
  service: Service.AudioStreamManagement,
2135
2230
  defaultCategory: Categories.OTHER,
@@ -2153,6 +2248,7 @@ module.exports =
2153
2248
  []
2154
2249
  },
2155
2250
  70: { deviceName:'Battery',
2251
+ deprecated: false,
2156
2252
  UUID: "00000096-0000-1000-8000-0026BB765291",
2157
2253
  service: Service.Battery,
2158
2254
  defaultCategory: Categories.OTHER,
@@ -2174,6 +2270,7 @@ module.exports =
2174
2270
  []
2175
2271
  },
2176
2272
  71: { deviceName:'CameraRecordingManagement',
2273
+ deprecated: false,
2177
2274
  UUID: "00000204-0000-1000-8000-0026BB765291",
2178
2275
  service: Service.CameraRecordingManagement,
2179
2276
  defaultCategory: Categories.OTHER,
@@ -2213,6 +2310,7 @@ module.exports =
2213
2310
  []
2214
2311
  },
2215
2312
  72: { deviceName:'CloudRelay',
2313
+ deprecated: false,
2216
2314
  UUID: "0000005A-0000-1000-8000-0026BB765291",
2217
2315
  service: Service.CloudRelay,
2218
2316
  defaultCategory: Categories.OTHER,
@@ -2241,6 +2339,7 @@ module.exports =
2241
2339
  []
2242
2340
  },
2243
2341
  73: { deviceName:'DataStreamTransportManagement',
2342
+ deprecated: false,
2244
2343
  UUID: "00000129-0000-1000-8000-0026BB765291",
2245
2344
  service: Service.DataStreamTransportManagement,
2246
2345
  defaultCategory: Categories.OTHER,
@@ -2269,6 +2368,7 @@ module.exports =
2269
2368
  []
2270
2369
  },
2271
2370
  74: { deviceName:'NFCAccess',
2371
+ deprecated: false,
2272
2372
  UUID: "00000266-0000-1000-8000-0026BB765291",
2273
2373
  service: Service.NFCAccess,
2274
2374
  defaultCategory: Categories.OTHER,
@@ -2297,6 +2397,7 @@ module.exports =
2297
2397
  []
2298
2398
  },
2299
2399
  75: { deviceName:'SiriEndpoint',
2400
+ deprecated: false,
2300
2401
  UUID: "00000253-0000-1000-8000-0026BB765291",
2301
2402
  service: Service.SiriEndpoint,
2302
2403
  defaultCategory: Categories.OTHER,
@@ -2322,6 +2423,7 @@ module.exports =
2322
2423
  []
2323
2424
  },
2324
2425
  76: { deviceName:'ThreadTransport',
2426
+ deprecated: false,
2325
2427
  UUID: "00000701-0000-1000-8000-0026BB765291",
2326
2428
  service: Service.ThreadTransport,
2327
2429
  defaultCategory: Categories.OTHER,
@@ -2369,6 +2471,7 @@ module.exports =
2369
2471
 
2370
2472
  // New Mar 2024
2371
2473
  77: { deviceName:'AccessCode',
2474
+ deprecated: false,
2372
2475
  UUID: "00000260-0000-1000-8000-0026BB765291",
2373
2476
  service: Service.AccessCode,
2374
2477
  defaultCategory: Categories.OTHER,
@@ -2397,6 +2500,7 @@ module.exports =
2397
2500
  []
2398
2501
  },
2399
2502
  78: { deviceName:'FirmwareUpdate',
2503
+ deprecated: false,
2400
2504
  UUID: "00000236-0000-1000-8000-0026BB765291",
2401
2505
  service: Service.FirmwareUpdate,
2402
2506
  defaultCategory: Categories.OTHER,
@@ -2422,6 +2526,7 @@ module.exports =
2422
2526
  []
2423
2527
  },
2424
2528
  79: { deviceName:'TapManagement',
2529
+ deprecated: false,
2425
2530
  UUID: "0000022E-0000-1000-8000-0026BB765291",
2426
2531
  service: Service.TapManagement,
2427
2532
  defaultCategory: Categories.OTHER,
@@ -2455,6 +2560,7 @@ module.exports =
2455
2560
  []
2456
2561
  },
2457
2562
  80: { deviceName:'WiFiTransport',
2563
+ deprecated: false,
2458
2564
  UUID: "0000022A-0000-1000-8000-0026BB765291",
2459
2565
  service: Service.WiFiTransport,
2460
2566
  defaultCategory: Categories.OTHER,
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": "8.0.0-beta.1",
4
+ "version": "8.0.0-beta.3",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "John Talbot"
@@ -47,7 +47,7 @@
47
47
  "docs": "docs"
48
48
  },
49
49
  "engines": {
50
- "homebridge": ">=1.2.5",
50
+ "homebridge": ">=1.8.0",
51
51
  "node": ">=10.17.0"
52
52
  },
53
53
  "keywords": [