homebridge-cmd4 6.1.1 → 6.3.0

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.
@@ -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.1",
4
+ "version": "6.3.0",
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
+ }