hap-nodejs 0.10.0-beta.0 → 0.10.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/README.md +1 -1
- package/dist/BridgedCore.js +3 -3
- package/dist/BridgedCore.js.map +1 -1
- package/dist/Core.js +3 -3
- package/dist/Core.js.map +1 -1
- package/dist/accessories/AppleTVRemote_accessory.js +8 -8
- package/dist/accessories/AppleTVRemote_accessory.js.map +1 -1
- package/dist/accessories/Camera_accessory.js +2 -2
- package/dist/accessories/Camera_accessory.js.map +1 -1
- package/dist/accessories/Fan_accessory.js +4 -4
- package/dist/accessories/gstreamer-audioProducer.js +7 -7
- package/dist/accessories/gstreamer-audioProducer.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -24
- package/dist/index.js.map +1 -1
- package/dist/lib/Accessory.d.ts +25 -4
- package/dist/lib/Accessory.d.ts.map +1 -1
- package/dist/lib/Accessory.js +121 -81
- package/dist/lib/Accessory.js.map +1 -1
- package/dist/lib/AccessoryLoader.js +5 -5
- package/dist/lib/AccessoryLoader.js.map +1 -1
- package/dist/lib/Advertiser.d.ts +19 -2
- package/dist/lib/Advertiser.d.ts.map +1 -1
- package/dist/lib/Advertiser.js +120 -25
- package/dist/lib/Advertiser.js.map +1 -1
- package/dist/lib/Bridge.js +1 -1
- package/dist/lib/Bridge.js.map +1 -1
- package/dist/lib/Characteristic.d.ts +13 -1
- package/dist/lib/Characteristic.d.ts.map +1 -1
- package/dist/lib/Characteristic.js +48 -48
- package/dist/lib/Characteristic.js.map +1 -1
- package/dist/lib/HAPServer.js +26 -26
- package/dist/lib/HAPServer.js.map +1 -1
- package/dist/lib/Service.d.ts +5 -1
- package/dist/lib/Service.d.ts.map +1 -1
- package/dist/lib/Service.js +29 -25
- package/dist/lib/Service.js.map +1 -1
- package/dist/lib/camera/RTPProxy.js +1 -1
- package/dist/lib/camera/RTPProxy.js.map +1 -1
- package/dist/lib/camera/RTPStreamManagement.d.ts +2 -2
- package/dist/lib/camera/RTPStreamManagement.d.ts.map +1 -1
- package/dist/lib/camera/RTPStreamManagement.js +16 -15
- package/dist/lib/camera/RTPStreamManagement.js.map +1 -1
- package/dist/lib/camera/index.js +3 -3
- package/dist/lib/camera/index.js.map +1 -1
- package/dist/lib/controller/AdaptiveLightingController.js +12 -12
- package/dist/lib/controller/AdaptiveLightingController.js.map +1 -1
- package/dist/lib/controller/CameraController.js +5 -5
- package/dist/lib/controller/CameraController.js.map +1 -1
- package/dist/lib/controller/DoorbellController.js +1 -1
- package/dist/lib/controller/DoorbellController.js.map +1 -1
- package/dist/lib/controller/RemoteController.js +20 -20
- package/dist/lib/controller/RemoteController.js.map +1 -1
- package/dist/lib/controller/index.js +5 -5
- package/dist/lib/controller/index.js.map +1 -1
- package/dist/lib/datastream/DataStreamManagement.js +3 -3
- package/dist/lib/datastream/DataStreamManagement.js.map +1 -1
- package/dist/lib/datastream/DataStreamParser.js +15 -15
- package/dist/lib/datastream/DataStreamParser.js.map +1 -1
- package/dist/lib/datastream/DataStreamServer.js +10 -10
- package/dist/lib/datastream/DataStreamServer.js.map +1 -1
- package/dist/lib/datastream/index.js +3 -3
- package/dist/lib/datastream/index.js.map +1 -1
- package/dist/lib/definitions/CharacteristicDefinitions.d.ts +84 -0
- package/dist/lib/definitions/CharacteristicDefinitions.d.ts.map +1 -1
- package/dist/lib/definitions/CharacteristicDefinitions.js +471 -243
- package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
- package/dist/lib/definitions/ServiceDefinitions.d.ts +28 -0
- package/dist/lib/definitions/ServiceDefinitions.d.ts.map +1 -1
- package/dist/lib/definitions/ServiceDefinitions.js +158 -74
- package/dist/lib/definitions/ServiceDefinitions.js.map +1 -1
- package/dist/lib/definitions/generate-definitions.js +59 -59
- package/dist/lib/definitions/generate-definitions.js.map +1 -1
- package/dist/lib/definitions/generator-configuration.js +2 -2
- package/dist/lib/definitions/generator-configuration.js.map +1 -1
- package/dist/lib/definitions/index.js +2 -2
- package/dist/lib/definitions/index.js.map +1 -1
- package/dist/lib/model/AccessoryInfo.js +9 -9
- package/dist/lib/model/AccessoryInfo.js.map +1 -1
- package/dist/lib/model/ControllerStorage.js +6 -6
- package/dist/lib/model/ControllerStorage.js.map +1 -1
- package/dist/lib/model/HAPStorage.js +1 -1
- package/dist/lib/model/HAPStorage.js.map +1 -1
- package/dist/lib/model/IdentifierCache.js +2 -2
- package/dist/lib/model/IdentifierCache.js.map +1 -1
- package/dist/lib/tv/AccessControlManagement.js +2 -2
- package/dist/lib/tv/AccessControlManagement.js.map +1 -1
- package/dist/lib/util/clone.js +4 -4
- package/dist/lib/util/clone.js.map +1 -1
- package/dist/lib/util/color-utils.js +2 -2
- package/dist/lib/util/color-utils.js.map +1 -1
- package/dist/lib/util/eventedhttp.js +32 -32
- package/dist/lib/util/eventedhttp.js.map +1 -1
- package/dist/lib/util/hapCrypto.d.ts.map +1 -1
- package/dist/lib/util/hapCrypto.js +20 -7
- package/dist/lib/util/hapCrypto.js.map +1 -1
- package/dist/lib/util/hapStatusError.js +2 -2
- package/dist/lib/util/hapStatusError.js.map +1 -1
- package/dist/lib/util/net-utils.js +6 -6
- package/dist/lib/util/net-utils.js.map +1 -1
- package/dist/lib/util/once.js +1 -1
- package/dist/lib/util/once.js.map +1 -1
- package/dist/lib/util/promise-utils.d.ts +2 -0
- package/dist/lib/util/promise-utils.d.ts.map +1 -0
- package/dist/lib/util/promise-utils.js +10 -0
- package/dist/lib/util/promise-utils.js.map +1 -0
- package/dist/lib/util/time.js +3 -3
- package/dist/lib/util/time.js.map +1 -1
- package/dist/lib/util/tlv.js +6 -6
- package/dist/lib/util/tlv.js.map +1 -1
- package/dist/lib/util/uuid.js +1 -1
- package/dist/lib/util/uuid.js.map +1 -1
- package/package.json +17 -17
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
|
|
3
|
-
// V=
|
|
3
|
+
// V=880
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
exports.WindowCovering = exports.Window = exports.WiFiTransport = exports.WiFiSatellite = exports.WiFiRouter = exports.Valve = exports.Tunnel = exports.TransferTransportManagement = exports.TimeInformation = exports.ThreadTransport = exports.Thermostat = exports.TemperatureSensor = exports.TelevisionSpeaker = exports.Television = exports.TargetControlManagement = exports.TargetControl = exports.Switch = exports.StatelessProgrammableSwitch = exports.StatefulProgrammableSwitch = exports.Speaker = exports.SmokeSensor = void 0;
|
|
5
|
+
exports.ServiceLabel = exports.SecuritySystem = exports.ProtocolInformation = exports.PowerManagement = exports.Pairing = exports.Outlet = exports.OccupancySensor = exports.NFCAccess = exports.MotionSensor = exports.Microphone = exports.LockMechanism = exports.LockManagement = exports.LightSensor = exports.Lightbulb = exports.LeakSensor = exports.IrrigationSystem = exports.InputSource = exports.HumiditySensor = exports.HumidifierDehumidifier = exports.HeaterCooler = exports.GarageDoorOpener = exports.FilterMaintenance = exports.Faucet = exports.Fanv2 = exports.Fan = exports.Doorbell = exports.Door = exports.Diagnostics = exports.DataStreamTransportManagement = exports.ContactSensor = exports.CloudRelay = exports.CarbonMonoxideSensor = exports.CarbonDioxideSensor = exports.CameraRTPStreamManagement = exports.CameraRecordingManagement = exports.CameraOperatingMode = exports.CameraControl = exports.BridgingState = exports.BridgeConfiguration = exports.Battery = exports.AudioStreamManagement = exports.Assistant = exports.AssetUpdate = exports.AirQualitySensor = exports.AirPurifier = exports.AccessoryRuntimeInformation = exports.AccessoryMetrics = exports.AccessoryInformation = exports.AccessControl = exports.AccessCode = void 0;
|
|
6
|
+
exports.WindowCovering = exports.Window = exports.WiFiTransport = exports.WiFiSatellite = exports.WiFiRouter = exports.Valve = exports.Tunnel = exports.TransferTransportManagement = exports.TimeInformation = exports.ThreadTransport = exports.Thermostat = exports.TemperatureSensor = exports.TelevisionSpeaker = exports.Television = exports.TargetControlManagement = exports.TargetControl = exports.Switch = exports.StatelessProgrammableSwitch = exports.StatefulProgrammableSwitch = exports.Speaker = exports.SmokeSensor = exports.SmartSpeaker = exports.Slats = exports.SiriEndpoint = exports.Siri = void 0;
|
|
7
7
|
var tslib_1 = require("tslib");
|
|
8
8
|
var Characteristic_1 = require("../Characteristic");
|
|
9
9
|
var Service_1 = require("../Service");
|
|
@@ -12,7 +12,7 @@ var Service_1 = require("../Service");
|
|
|
12
12
|
* @since iOS 15
|
|
13
13
|
*/
|
|
14
14
|
var AccessCode = /** @class */ (function (_super) {
|
|
15
|
-
tslib_1.__extends(AccessCode, _super);
|
|
15
|
+
(0, tslib_1.__extends)(AccessCode, _super);
|
|
16
16
|
function AccessCode(displayName, subtype) {
|
|
17
17
|
var _this = _super.call(this, displayName, AccessCode.UUID, subtype) || this;
|
|
18
18
|
// Required Characteristics
|
|
@@ -30,7 +30,7 @@ Service_1.Service.AccessCode = AccessCode;
|
|
|
30
30
|
* Service "Access Control"
|
|
31
31
|
*/
|
|
32
32
|
var AccessControl = /** @class */ (function (_super) {
|
|
33
|
-
tslib_1.__extends(AccessControl, _super);
|
|
33
|
+
(0, tslib_1.__extends)(AccessControl, _super);
|
|
34
34
|
function AccessControl(displayName, subtype) {
|
|
35
35
|
var _this = _super.call(this, displayName, AccessControl.UUID, subtype) || this;
|
|
36
36
|
// Required Characteristics
|
|
@@ -48,7 +48,7 @@ Service_1.Service.AccessControl = AccessControl;
|
|
|
48
48
|
* Service "Accessory Information"
|
|
49
49
|
*/
|
|
50
50
|
var AccessoryInformation = /** @class */ (function (_super) {
|
|
51
|
-
tslib_1.__extends(AccessoryInformation, _super);
|
|
51
|
+
(0, tslib_1.__extends)(AccessoryInformation, _super);
|
|
52
52
|
function AccessoryInformation(displayName, subtype) {
|
|
53
53
|
var _this = _super.call(this, displayName, AccessoryInformation.UUID, subtype) || this;
|
|
54
54
|
// Required Characteristics
|
|
@@ -75,11 +75,27 @@ var AccessoryInformation = /** @class */ (function (_super) {
|
|
|
75
75
|
}(Service_1.Service));
|
|
76
76
|
exports.AccessoryInformation = AccessoryInformation;
|
|
77
77
|
Service_1.Service.AccessoryInformation = AccessoryInformation;
|
|
78
|
+
/**
|
|
79
|
+
* Service "Accessory Metrics"
|
|
80
|
+
*/
|
|
81
|
+
var AccessoryMetrics = /** @class */ (function (_super) {
|
|
82
|
+
(0, tslib_1.__extends)(AccessoryMetrics, _super);
|
|
83
|
+
function AccessoryMetrics(displayName, subtype) {
|
|
84
|
+
var _this = _super.call(this, displayName, AccessoryMetrics.UUID, subtype) || this;
|
|
85
|
+
// Required Characteristics
|
|
86
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.Active);
|
|
87
|
+
return _this;
|
|
88
|
+
}
|
|
89
|
+
AccessoryMetrics.UUID = "00000270-0000-1000-8000-0026BB765291";
|
|
90
|
+
return AccessoryMetrics;
|
|
91
|
+
}(Service_1.Service));
|
|
92
|
+
exports.AccessoryMetrics = AccessoryMetrics;
|
|
93
|
+
Service_1.Service.AccessoryMetrics = AccessoryMetrics;
|
|
78
94
|
/**
|
|
79
95
|
* Service "Accessory Runtime Information"
|
|
80
96
|
*/
|
|
81
97
|
var AccessoryRuntimeInformation = /** @class */ (function (_super) {
|
|
82
|
-
tslib_1.__extends(AccessoryRuntimeInformation, _super);
|
|
98
|
+
(0, tslib_1.__extends)(AccessoryRuntimeInformation, _super);
|
|
83
99
|
function AccessoryRuntimeInformation(displayName, subtype) {
|
|
84
100
|
var _this = _super.call(this, displayName, AccessoryRuntimeInformation.UUID, subtype) || this;
|
|
85
101
|
// Required Characteristics
|
|
@@ -99,7 +115,7 @@ Service_1.Service.AccessoryRuntimeInformation = AccessoryRuntimeInformation;
|
|
|
99
115
|
* Service "Air Purifier"
|
|
100
116
|
*/
|
|
101
117
|
var AirPurifier = /** @class */ (function (_super) {
|
|
102
|
-
tslib_1.__extends(AirPurifier, _super);
|
|
118
|
+
(0, tslib_1.__extends)(AirPurifier, _super);
|
|
103
119
|
function AirPurifier(displayName, subtype) {
|
|
104
120
|
var _this = _super.call(this, displayName, AirPurifier.UUID, subtype) || this;
|
|
105
121
|
// Required Characteristics
|
|
@@ -122,7 +138,7 @@ Service_1.Service.AirPurifier = AirPurifier;
|
|
|
122
138
|
* Service "Air Quality Sensor"
|
|
123
139
|
*/
|
|
124
140
|
var AirQualitySensor = /** @class */ (function (_super) {
|
|
125
|
-
tslib_1.__extends(AirQualitySensor, _super);
|
|
141
|
+
(0, tslib_1.__extends)(AirQualitySensor, _super);
|
|
126
142
|
function AirQualitySensor(displayName, subtype) {
|
|
127
143
|
var _this = _super.call(this, displayName, AirQualitySensor.UUID, subtype) || this;
|
|
128
144
|
// Required Characteristics
|
|
@@ -146,11 +162,48 @@ var AirQualitySensor = /** @class */ (function (_super) {
|
|
|
146
162
|
}(Service_1.Service));
|
|
147
163
|
exports.AirQualitySensor = AirQualitySensor;
|
|
148
164
|
Service_1.Service.AirQualitySensor = AirQualitySensor;
|
|
165
|
+
/**
|
|
166
|
+
* Service "Asset Update"
|
|
167
|
+
*/
|
|
168
|
+
var AssetUpdate = /** @class */ (function (_super) {
|
|
169
|
+
(0, tslib_1.__extends)(AssetUpdate, _super);
|
|
170
|
+
function AssetUpdate(displayName, subtype) {
|
|
171
|
+
var _this = _super.call(this, displayName, AssetUpdate.UUID, subtype) || this;
|
|
172
|
+
// Required Characteristics
|
|
173
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.AssetUpdateReadiness);
|
|
174
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.SupportedAssetTypes);
|
|
175
|
+
return _this;
|
|
176
|
+
}
|
|
177
|
+
AssetUpdate.UUID = "00000267-0000-1000-8000-0026BB765291";
|
|
178
|
+
return AssetUpdate;
|
|
179
|
+
}(Service_1.Service));
|
|
180
|
+
exports.AssetUpdate = AssetUpdate;
|
|
181
|
+
Service_1.Service.AssetUpdate = AssetUpdate;
|
|
182
|
+
/**
|
|
183
|
+
* Service "Assistant"
|
|
184
|
+
*/
|
|
185
|
+
var Assistant = /** @class */ (function (_super) {
|
|
186
|
+
(0, tslib_1.__extends)(Assistant, _super);
|
|
187
|
+
function Assistant(displayName, subtype) {
|
|
188
|
+
var _this = _super.call(this, displayName, Assistant.UUID, subtype) || this;
|
|
189
|
+
// Required Characteristics
|
|
190
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.Active);
|
|
191
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.Identifier);
|
|
192
|
+
if (!_this.testCharacteristic(Characteristic_1.Characteristic.Name)) { // workaround for Name characteristic collision in constructor
|
|
193
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.Name).updateValue("Unnamed Service");
|
|
194
|
+
}
|
|
195
|
+
return _this;
|
|
196
|
+
}
|
|
197
|
+
Assistant.UUID = "0000026A-0000-1000-8000-0026BB765291";
|
|
198
|
+
return Assistant;
|
|
199
|
+
}(Service_1.Service));
|
|
200
|
+
exports.Assistant = Assistant;
|
|
201
|
+
Service_1.Service.Assistant = Assistant;
|
|
149
202
|
/**
|
|
150
203
|
* Service "Audio Stream Management"
|
|
151
204
|
*/
|
|
152
205
|
var AudioStreamManagement = /** @class */ (function (_super) {
|
|
153
|
-
tslib_1.__extends(AudioStreamManagement, _super);
|
|
206
|
+
(0, tslib_1.__extends)(AudioStreamManagement, _super);
|
|
154
207
|
function AudioStreamManagement(displayName, subtype) {
|
|
155
208
|
var _this = _super.call(this, displayName, AudioStreamManagement.UUID, subtype) || this;
|
|
156
209
|
// Required Characteristics
|
|
@@ -167,7 +220,7 @@ Service_1.Service.AudioStreamManagement = AudioStreamManagement;
|
|
|
167
220
|
* Service "Battery"
|
|
168
221
|
*/
|
|
169
222
|
var Battery = /** @class */ (function (_super) {
|
|
170
|
-
tslib_1.__extends(Battery, _super);
|
|
223
|
+
(0, tslib_1.__extends)(Battery, _super);
|
|
171
224
|
function Battery(displayName, subtype) {
|
|
172
225
|
var _this = _super.call(this, displayName, Battery.UUID, subtype) || this;
|
|
173
226
|
// Required Characteristics
|
|
@@ -190,7 +243,7 @@ Service_1.Service.Battery = Battery;
|
|
|
190
243
|
* @deprecated Removed and not used anymore
|
|
191
244
|
*/
|
|
192
245
|
var BridgeConfiguration = /** @class */ (function (_super) {
|
|
193
|
-
tslib_1.__extends(BridgeConfiguration, _super);
|
|
246
|
+
(0, tslib_1.__extends)(BridgeConfiguration, _super);
|
|
194
247
|
function BridgeConfiguration(displayName, subtype) {
|
|
195
248
|
var _this = _super.call(this, displayName, BridgeConfiguration.UUID, subtype) || this;
|
|
196
249
|
// Required Characteristics
|
|
@@ -213,7 +266,7 @@ Service_1.Service.BridgeConfiguration = BridgeConfiguration;
|
|
|
213
266
|
* @deprecated Removed and not used anymore
|
|
214
267
|
*/
|
|
215
268
|
var BridgingState = /** @class */ (function (_super) {
|
|
216
|
-
tslib_1.__extends(BridgingState, _super);
|
|
269
|
+
(0, tslib_1.__extends)(BridgingState, _super);
|
|
217
270
|
function BridgingState(displayName, subtype) {
|
|
218
271
|
var _this = _super.call(this, displayName, BridgingState.UUID, subtype) || this;
|
|
219
272
|
// Required Characteristics
|
|
@@ -236,7 +289,7 @@ Service_1.Service.BridgingState = BridgingState;
|
|
|
236
289
|
* @deprecated This service has no usage anymore and will be ignored by iOS
|
|
237
290
|
*/
|
|
238
291
|
var CameraControl = /** @class */ (function (_super) {
|
|
239
|
-
tslib_1.__extends(CameraControl, _super);
|
|
292
|
+
(0, tslib_1.__extends)(CameraControl, _super);
|
|
240
293
|
function CameraControl(displayName, subtype) {
|
|
241
294
|
var _this = _super.call(this, displayName, CameraControl.UUID, subtype) || this;
|
|
242
295
|
// Required Characteristics
|
|
@@ -264,7 +317,7 @@ Service_1.Service.CameraControl = CameraControl;
|
|
|
264
317
|
* Service "Camera Operating Mode"
|
|
265
318
|
*/
|
|
266
319
|
var CameraOperatingMode = /** @class */ (function (_super) {
|
|
267
|
-
tslib_1.__extends(CameraOperatingMode, _super);
|
|
320
|
+
(0, tslib_1.__extends)(CameraOperatingMode, _super);
|
|
268
321
|
function CameraOperatingMode(displayName, subtype) {
|
|
269
322
|
var _this = _super.call(this, displayName, CameraOperatingMode.UUID, subtype) || this;
|
|
270
323
|
// Required Characteristics
|
|
@@ -288,7 +341,7 @@ Service_1.Service.CameraOperatingMode = CameraOperatingMode;
|
|
|
288
341
|
* Service "Camera Recording Management"
|
|
289
342
|
*/
|
|
290
343
|
var CameraRecordingManagement = /** @class */ (function (_super) {
|
|
291
|
-
tslib_1.__extends(CameraRecordingManagement, _super);
|
|
344
|
+
(0, tslib_1.__extends)(CameraRecordingManagement, _super);
|
|
292
345
|
function CameraRecordingManagement(displayName, subtype) {
|
|
293
346
|
var _this = _super.call(this, displayName, CameraRecordingManagement.UUID, subtype) || this;
|
|
294
347
|
// Required Characteristics
|
|
@@ -312,7 +365,7 @@ Service_1.Service.CameraRecordingManagement = CameraRecordingManagement;
|
|
|
312
365
|
* Service "Camera RTP Stream Management"
|
|
313
366
|
*/
|
|
314
367
|
var CameraRTPStreamManagement = /** @class */ (function (_super) {
|
|
315
|
-
tslib_1.__extends(CameraRTPStreamManagement, _super);
|
|
368
|
+
(0, tslib_1.__extends)(CameraRTPStreamManagement, _super);
|
|
316
369
|
function CameraRTPStreamManagement(displayName, subtype) {
|
|
317
370
|
var _this = _super.call(this, displayName, CameraRTPStreamManagement.UUID, subtype) || this;
|
|
318
371
|
// Required Characteristics
|
|
@@ -335,7 +388,7 @@ Service_1.Service.CameraRTPStreamManagement = CameraRTPStreamManagement;
|
|
|
335
388
|
* Service "Carbon Dioxide Sensor"
|
|
336
389
|
*/
|
|
337
390
|
var CarbonDioxideSensor = /** @class */ (function (_super) {
|
|
338
|
-
tslib_1.__extends(CarbonDioxideSensor, _super);
|
|
391
|
+
(0, tslib_1.__extends)(CarbonDioxideSensor, _super);
|
|
339
392
|
function CarbonDioxideSensor(displayName, subtype) {
|
|
340
393
|
var _this = _super.call(this, displayName, CarbonDioxideSensor.UUID, subtype) || this;
|
|
341
394
|
// Required Characteristics
|
|
@@ -359,7 +412,7 @@ Service_1.Service.CarbonDioxideSensor = CarbonDioxideSensor;
|
|
|
359
412
|
* Service "Carbon Monoxide Sensor"
|
|
360
413
|
*/
|
|
361
414
|
var CarbonMonoxideSensor = /** @class */ (function (_super) {
|
|
362
|
-
tslib_1.__extends(CarbonMonoxideSensor, _super);
|
|
415
|
+
(0, tslib_1.__extends)(CarbonMonoxideSensor, _super);
|
|
363
416
|
function CarbonMonoxideSensor(displayName, subtype) {
|
|
364
417
|
var _this = _super.call(this, displayName, CarbonMonoxideSensor.UUID, subtype) || this;
|
|
365
418
|
// Required Characteristics
|
|
@@ -383,7 +436,7 @@ Service_1.Service.CarbonMonoxideSensor = CarbonMonoxideSensor;
|
|
|
383
436
|
* Service "Cloud Relay"
|
|
384
437
|
*/
|
|
385
438
|
var CloudRelay = /** @class */ (function (_super) {
|
|
386
|
-
tslib_1.__extends(CloudRelay, _super);
|
|
439
|
+
(0, tslib_1.__extends)(CloudRelay, _super);
|
|
387
440
|
function CloudRelay(displayName, subtype) {
|
|
388
441
|
var _this = _super.call(this, displayName, CloudRelay.UUID, subtype) || this;
|
|
389
442
|
// Required Characteristics
|
|
@@ -403,7 +456,7 @@ Service_1.Service.CloudRelay = CloudRelay;
|
|
|
403
456
|
* Service "Contact Sensor"
|
|
404
457
|
*/
|
|
405
458
|
var ContactSensor = /** @class */ (function (_super) {
|
|
406
|
-
tslib_1.__extends(ContactSensor, _super);
|
|
459
|
+
(0, tslib_1.__extends)(ContactSensor, _super);
|
|
407
460
|
function ContactSensor(displayName, subtype) {
|
|
408
461
|
var _this = _super.call(this, displayName, ContactSensor.UUID, subtype) || this;
|
|
409
462
|
// Required Characteristics
|
|
@@ -425,7 +478,7 @@ Service_1.Service.ContactSensor = ContactSensor;
|
|
|
425
478
|
* Service "Data Stream Transport Management"
|
|
426
479
|
*/
|
|
427
480
|
var DataStreamTransportManagement = /** @class */ (function (_super) {
|
|
428
|
-
tslib_1.__extends(DataStreamTransportManagement, _super);
|
|
481
|
+
(0, tslib_1.__extends)(DataStreamTransportManagement, _super);
|
|
429
482
|
function DataStreamTransportManagement(displayName, subtype) {
|
|
430
483
|
var _this = _super.call(this, displayName, DataStreamTransportManagement.UUID, subtype) || this;
|
|
431
484
|
// Required Characteristics
|
|
@@ -443,11 +496,14 @@ Service_1.Service.DataStreamTransportManagement = DataStreamTransportManagement;
|
|
|
443
496
|
* Service "Diagnostics"
|
|
444
497
|
*/
|
|
445
498
|
var Diagnostics = /** @class */ (function (_super) {
|
|
446
|
-
tslib_1.__extends(Diagnostics, _super);
|
|
499
|
+
(0, tslib_1.__extends)(Diagnostics, _super);
|
|
447
500
|
function Diagnostics(displayName, subtype) {
|
|
448
501
|
var _this = _super.call(this, displayName, Diagnostics.UUID, subtype) || this;
|
|
449
502
|
// Required Characteristics
|
|
450
503
|
_this.addCharacteristic(Characteristic_1.Characteristic.SupportedDiagnosticsSnapshot);
|
|
504
|
+
// Optional Characteristics
|
|
505
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SelectedDiagnosticsModes);
|
|
506
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SupportedDiagnosticsModes);
|
|
451
507
|
return _this;
|
|
452
508
|
}
|
|
453
509
|
Diagnostics.UUID = "00000237-0000-1000-8000-0026BB765291";
|
|
@@ -459,7 +515,7 @@ Service_1.Service.Diagnostics = Diagnostics;
|
|
|
459
515
|
* Service "Door"
|
|
460
516
|
*/
|
|
461
517
|
var Door = /** @class */ (function (_super) {
|
|
462
|
-
tslib_1.__extends(Door, _super);
|
|
518
|
+
(0, tslib_1.__extends)(Door, _super);
|
|
463
519
|
function Door(displayName, subtype) {
|
|
464
520
|
var _this = _super.call(this, displayName, Door.UUID, subtype) || this;
|
|
465
521
|
// Required Characteristics
|
|
@@ -481,7 +537,7 @@ Service_1.Service.Door = Door;
|
|
|
481
537
|
* Service "Doorbell"
|
|
482
538
|
*/
|
|
483
539
|
var Doorbell = /** @class */ (function (_super) {
|
|
484
|
-
tslib_1.__extends(Doorbell, _super);
|
|
540
|
+
(0, tslib_1.__extends)(Doorbell, _super);
|
|
485
541
|
function Doorbell(displayName, subtype) {
|
|
486
542
|
var _this = _super.call(this, displayName, Doorbell.UUID, subtype) || this;
|
|
487
543
|
// Required Characteristics
|
|
@@ -503,7 +559,7 @@ Service_1.Service.Doorbell = Doorbell;
|
|
|
503
559
|
* Service "Fan"
|
|
504
560
|
*/
|
|
505
561
|
var Fan = /** @class */ (function (_super) {
|
|
506
|
-
tslib_1.__extends(Fan, _super);
|
|
562
|
+
(0, tslib_1.__extends)(Fan, _super);
|
|
507
563
|
function Fan(displayName, subtype) {
|
|
508
564
|
var _this = _super.call(this, displayName, Fan.UUID, subtype) || this;
|
|
509
565
|
// Required Characteristics
|
|
@@ -523,7 +579,7 @@ Service_1.Service.Fan = Fan;
|
|
|
523
579
|
* Service "Fanv2"
|
|
524
580
|
*/
|
|
525
581
|
var Fanv2 = /** @class */ (function (_super) {
|
|
526
|
-
tslib_1.__extends(Fanv2, _super);
|
|
582
|
+
(0, tslib_1.__extends)(Fanv2, _super);
|
|
527
583
|
function Fanv2(displayName, subtype) {
|
|
528
584
|
var _this = _super.call(this, displayName, Fanv2.UUID, subtype) || this;
|
|
529
585
|
// Required Characteristics
|
|
@@ -547,7 +603,7 @@ Service_1.Service.Fanv2 = Fanv2;
|
|
|
547
603
|
* Service "Faucet"
|
|
548
604
|
*/
|
|
549
605
|
var Faucet = /** @class */ (function (_super) {
|
|
550
|
-
tslib_1.__extends(Faucet, _super);
|
|
606
|
+
(0, tslib_1.__extends)(Faucet, _super);
|
|
551
607
|
function Faucet(displayName, subtype) {
|
|
552
608
|
var _this = _super.call(this, displayName, Faucet.UUID, subtype) || this;
|
|
553
609
|
// Required Characteristics
|
|
@@ -566,7 +622,7 @@ Service_1.Service.Faucet = Faucet;
|
|
|
566
622
|
* Service "Filter Maintenance"
|
|
567
623
|
*/
|
|
568
624
|
var FilterMaintenance = /** @class */ (function (_super) {
|
|
569
|
-
tslib_1.__extends(FilterMaintenance, _super);
|
|
625
|
+
(0, tslib_1.__extends)(FilterMaintenance, _super);
|
|
570
626
|
function FilterMaintenance(displayName, subtype) {
|
|
571
627
|
var _this = _super.call(this, displayName, FilterMaintenance.UUID, subtype) || this;
|
|
572
628
|
// Required Characteristics
|
|
@@ -586,7 +642,7 @@ Service_1.Service.FilterMaintenance = FilterMaintenance;
|
|
|
586
642
|
* Service "Garage Door Opener"
|
|
587
643
|
*/
|
|
588
644
|
var GarageDoorOpener = /** @class */ (function (_super) {
|
|
589
|
-
tslib_1.__extends(GarageDoorOpener, _super);
|
|
645
|
+
(0, tslib_1.__extends)(GarageDoorOpener, _super);
|
|
590
646
|
function GarageDoorOpener(displayName, subtype) {
|
|
591
647
|
var _this = _super.call(this, displayName, GarageDoorOpener.UUID, subtype) || this;
|
|
592
648
|
// Required Characteristics
|
|
@@ -608,7 +664,7 @@ Service_1.Service.GarageDoorOpener = GarageDoorOpener;
|
|
|
608
664
|
* Service "Heater-Cooler"
|
|
609
665
|
*/
|
|
610
666
|
var HeaterCooler = /** @class */ (function (_super) {
|
|
611
|
-
tslib_1.__extends(HeaterCooler, _super);
|
|
667
|
+
(0, tslib_1.__extends)(HeaterCooler, _super);
|
|
612
668
|
function HeaterCooler(displayName, subtype) {
|
|
613
669
|
var _this = _super.call(this, displayName, HeaterCooler.UUID, subtype) || this;
|
|
614
670
|
// Required Characteristics
|
|
@@ -635,7 +691,7 @@ Service_1.Service.HeaterCooler = HeaterCooler;
|
|
|
635
691
|
* Service "Humidifier-Dehumidifier"
|
|
636
692
|
*/
|
|
637
693
|
var HumidifierDehumidifier = /** @class */ (function (_super) {
|
|
638
|
-
tslib_1.__extends(HumidifierDehumidifier, _super);
|
|
694
|
+
(0, tslib_1.__extends)(HumidifierDehumidifier, _super);
|
|
639
695
|
function HumidifierDehumidifier(displayName, subtype) {
|
|
640
696
|
var _this = _super.call(this, displayName, HumidifierDehumidifier.UUID, subtype) || this;
|
|
641
697
|
// Required Characteristics
|
|
@@ -662,7 +718,7 @@ Service_1.Service.HumidifierDehumidifier = HumidifierDehumidifier;
|
|
|
662
718
|
* Service "Humidity Sensor"
|
|
663
719
|
*/
|
|
664
720
|
var HumiditySensor = /** @class */ (function (_super) {
|
|
665
|
-
tslib_1.__extends(HumiditySensor, _super);
|
|
721
|
+
(0, tslib_1.__extends)(HumiditySensor, _super);
|
|
666
722
|
function HumiditySensor(displayName, subtype) {
|
|
667
723
|
var _this = _super.call(this, displayName, HumiditySensor.UUID, subtype) || this;
|
|
668
724
|
// Required Characteristics
|
|
@@ -684,7 +740,7 @@ Service_1.Service.HumiditySensor = HumiditySensor;
|
|
|
684
740
|
* Service "Input Source"
|
|
685
741
|
*/
|
|
686
742
|
var InputSource = /** @class */ (function (_super) {
|
|
687
|
-
tslib_1.__extends(InputSource, _super);
|
|
743
|
+
(0, tslib_1.__extends)(InputSource, _super);
|
|
688
744
|
function InputSource(displayName, subtype) {
|
|
689
745
|
var _this = _super.call(this, displayName, InputSource.UUID, subtype) || this;
|
|
690
746
|
// Required Characteristics
|
|
@@ -710,7 +766,7 @@ Service_1.Service.InputSource = InputSource;
|
|
|
710
766
|
* Service "Irrigation-System"
|
|
711
767
|
*/
|
|
712
768
|
var IrrigationSystem = /** @class */ (function (_super) {
|
|
713
|
-
tslib_1.__extends(IrrigationSystem, _super);
|
|
769
|
+
(0, tslib_1.__extends)(IrrigationSystem, _super);
|
|
714
770
|
function IrrigationSystem(displayName, subtype) {
|
|
715
771
|
var _this = _super.call(this, displayName, IrrigationSystem.UUID, subtype) || this;
|
|
716
772
|
// Required Characteristics
|
|
@@ -732,7 +788,7 @@ Service_1.Service.IrrigationSystem = IrrigationSystem;
|
|
|
732
788
|
* Service "Leak Sensor"
|
|
733
789
|
*/
|
|
734
790
|
var LeakSensor = /** @class */ (function (_super) {
|
|
735
|
-
tslib_1.__extends(LeakSensor, _super);
|
|
791
|
+
(0, tslib_1.__extends)(LeakSensor, _super);
|
|
736
792
|
function LeakSensor(displayName, subtype) {
|
|
737
793
|
var _this = _super.call(this, displayName, LeakSensor.UUID, subtype) || this;
|
|
738
794
|
// Required Characteristics
|
|
@@ -754,7 +810,7 @@ Service_1.Service.LeakSensor = LeakSensor;
|
|
|
754
810
|
* Service "Lightbulb"
|
|
755
811
|
*/
|
|
756
812
|
var Lightbulb = /** @class */ (function (_super) {
|
|
757
|
-
tslib_1.__extends(Lightbulb, _super);
|
|
813
|
+
(0, tslib_1.__extends)(Lightbulb, _super);
|
|
758
814
|
function Lightbulb(displayName, subtype) {
|
|
759
815
|
var _this = _super.call(this, displayName, Lightbulb.UUID, subtype) || this;
|
|
760
816
|
// Required Characteristics
|
|
@@ -779,7 +835,7 @@ Service_1.Service.Lightbulb = Lightbulb;
|
|
|
779
835
|
* Service "Light Sensor"
|
|
780
836
|
*/
|
|
781
837
|
var LightSensor = /** @class */ (function (_super) {
|
|
782
|
-
tslib_1.__extends(LightSensor, _super);
|
|
838
|
+
(0, tslib_1.__extends)(LightSensor, _super);
|
|
783
839
|
function LightSensor(displayName, subtype) {
|
|
784
840
|
var _this = _super.call(this, displayName, LightSensor.UUID, subtype) || this;
|
|
785
841
|
// Required Characteristics
|
|
@@ -801,7 +857,7 @@ Service_1.Service.LightSensor = LightSensor;
|
|
|
801
857
|
* Service "Lock Management"
|
|
802
858
|
*/
|
|
803
859
|
var LockManagement = /** @class */ (function (_super) {
|
|
804
|
-
tslib_1.__extends(LockManagement, _super);
|
|
860
|
+
(0, tslib_1.__extends)(LockManagement, _super);
|
|
805
861
|
function LockManagement(displayName, subtype) {
|
|
806
862
|
var _this = _super.call(this, displayName, LockManagement.UUID, subtype) || this;
|
|
807
863
|
// Required Characteristics
|
|
@@ -826,7 +882,7 @@ Service_1.Service.LockManagement = LockManagement;
|
|
|
826
882
|
* Service "Lock Mechanism"
|
|
827
883
|
*/
|
|
828
884
|
var LockMechanism = /** @class */ (function (_super) {
|
|
829
|
-
tslib_1.__extends(LockMechanism, _super);
|
|
885
|
+
(0, tslib_1.__extends)(LockMechanism, _super);
|
|
830
886
|
function LockMechanism(displayName, subtype) {
|
|
831
887
|
var _this = _super.call(this, displayName, LockMechanism.UUID, subtype) || this;
|
|
832
888
|
// Required Characteristics
|
|
@@ -845,7 +901,7 @@ Service_1.Service.LockMechanism = LockMechanism;
|
|
|
845
901
|
* Service "Microphone"
|
|
846
902
|
*/
|
|
847
903
|
var Microphone = /** @class */ (function (_super) {
|
|
848
|
-
tslib_1.__extends(Microphone, _super);
|
|
904
|
+
(0, tslib_1.__extends)(Microphone, _super);
|
|
849
905
|
function Microphone(displayName, subtype) {
|
|
850
906
|
var _this = _super.call(this, displayName, Microphone.UUID, subtype) || this;
|
|
851
907
|
// Required Characteristics
|
|
@@ -863,7 +919,7 @@ Service_1.Service.Microphone = Microphone;
|
|
|
863
919
|
* Service "Motion Sensor"
|
|
864
920
|
*/
|
|
865
921
|
var MotionSensor = /** @class */ (function (_super) {
|
|
866
|
-
tslib_1.__extends(MotionSensor, _super);
|
|
922
|
+
(0, tslib_1.__extends)(MotionSensor, _super);
|
|
867
923
|
function MotionSensor(displayName, subtype) {
|
|
868
924
|
var _this = _super.call(this, displayName, MotionSensor.UUID, subtype) || this;
|
|
869
925
|
// Required Characteristics
|
|
@@ -886,7 +942,7 @@ Service_1.Service.MotionSensor = MotionSensor;
|
|
|
886
942
|
* @since iOS 15
|
|
887
943
|
*/
|
|
888
944
|
var NFCAccess = /** @class */ (function (_super) {
|
|
889
|
-
tslib_1.__extends(NFCAccess, _super);
|
|
945
|
+
(0, tslib_1.__extends)(NFCAccess, _super);
|
|
890
946
|
function NFCAccess(displayName, subtype) {
|
|
891
947
|
var _this = _super.call(this, displayName, NFCAccess.UUID, subtype) || this;
|
|
892
948
|
// Required Characteristics
|
|
@@ -904,7 +960,7 @@ Service_1.Service.NFCAccess = NFCAccess;
|
|
|
904
960
|
* Service "Occupancy Sensor"
|
|
905
961
|
*/
|
|
906
962
|
var OccupancySensor = /** @class */ (function (_super) {
|
|
907
|
-
tslib_1.__extends(OccupancySensor, _super);
|
|
963
|
+
(0, tslib_1.__extends)(OccupancySensor, _super);
|
|
908
964
|
function OccupancySensor(displayName, subtype) {
|
|
909
965
|
var _this = _super.call(this, displayName, OccupancySensor.UUID, subtype) || this;
|
|
910
966
|
// Required Characteristics
|
|
@@ -927,7 +983,7 @@ Service_1.Service.OccupancySensor = OccupancySensor;
|
|
|
927
983
|
* @since iOS 13
|
|
928
984
|
*/
|
|
929
985
|
var Outlet = /** @class */ (function (_super) {
|
|
930
|
-
tslib_1.__extends(Outlet, _super);
|
|
986
|
+
(0, tslib_1.__extends)(Outlet, _super);
|
|
931
987
|
function Outlet(displayName, subtype) {
|
|
932
988
|
var _this = _super.call(this, displayName, Outlet.UUID, subtype) || this;
|
|
933
989
|
// Required Characteristics
|
|
@@ -946,7 +1002,7 @@ Service_1.Service.Outlet = Outlet;
|
|
|
946
1002
|
* Service "Pairing"
|
|
947
1003
|
*/
|
|
948
1004
|
var Pairing = /** @class */ (function (_super) {
|
|
949
|
-
tslib_1.__extends(Pairing, _super);
|
|
1005
|
+
(0, tslib_1.__extends)(Pairing, _super);
|
|
950
1006
|
function Pairing(displayName, subtype) {
|
|
951
1007
|
var _this = _super.call(this, displayName, Pairing.UUID, subtype) || this;
|
|
952
1008
|
// Required Characteristics
|
|
@@ -965,7 +1021,7 @@ Service_1.Service.Pairing = Pairing;
|
|
|
965
1021
|
* Service "Power Management"
|
|
966
1022
|
*/
|
|
967
1023
|
var PowerManagement = /** @class */ (function (_super) {
|
|
968
|
-
tslib_1.__extends(PowerManagement, _super);
|
|
1024
|
+
(0, tslib_1.__extends)(PowerManagement, _super);
|
|
969
1025
|
function PowerManagement(displayName, subtype) {
|
|
970
1026
|
var _this = _super.call(this, displayName, PowerManagement.UUID, subtype) || this;
|
|
971
1027
|
// Required Characteristics
|
|
@@ -981,7 +1037,7 @@ Service_1.Service.PowerManagement = PowerManagement;
|
|
|
981
1037
|
* Service "Protocol Information"
|
|
982
1038
|
*/
|
|
983
1039
|
var ProtocolInformation = /** @class */ (function (_super) {
|
|
984
|
-
tslib_1.__extends(ProtocolInformation, _super);
|
|
1040
|
+
(0, tslib_1.__extends)(ProtocolInformation, _super);
|
|
985
1041
|
function ProtocolInformation(displayName, subtype) {
|
|
986
1042
|
var _this = _super.call(this, displayName, ProtocolInformation.UUID, subtype) || this;
|
|
987
1043
|
// Required Characteristics
|
|
@@ -997,7 +1053,7 @@ Service_1.Service.ProtocolInformation = ProtocolInformation;
|
|
|
997
1053
|
* Service "Security System"
|
|
998
1054
|
*/
|
|
999
1055
|
var SecuritySystem = /** @class */ (function (_super) {
|
|
1000
|
-
tslib_1.__extends(SecuritySystem, _super);
|
|
1056
|
+
(0, tslib_1.__extends)(SecuritySystem, _super);
|
|
1001
1057
|
function SecuritySystem(displayName, subtype) {
|
|
1002
1058
|
var _this = _super.call(this, displayName, SecuritySystem.UUID, subtype) || this;
|
|
1003
1059
|
// Required Characteristics
|
|
@@ -1019,7 +1075,7 @@ Service_1.Service.SecuritySystem = SecuritySystem;
|
|
|
1019
1075
|
* Service "Service Label"
|
|
1020
1076
|
*/
|
|
1021
1077
|
var ServiceLabel = /** @class */ (function (_super) {
|
|
1022
|
-
tslib_1.__extends(ServiceLabel, _super);
|
|
1078
|
+
(0, tslib_1.__extends)(ServiceLabel, _super);
|
|
1023
1079
|
function ServiceLabel(displayName, subtype) {
|
|
1024
1080
|
var _this = _super.call(this, displayName, ServiceLabel.UUID, subtype) || this;
|
|
1025
1081
|
// Required Characteristics
|
|
@@ -1035,11 +1091,18 @@ Service_1.Service.ServiceLabel = ServiceLabel;
|
|
|
1035
1091
|
* Service "Siri"
|
|
1036
1092
|
*/
|
|
1037
1093
|
var Siri = /** @class */ (function (_super) {
|
|
1038
|
-
tslib_1.__extends(Siri, _super);
|
|
1094
|
+
(0, tslib_1.__extends)(Siri, _super);
|
|
1039
1095
|
function Siri(displayName, subtype) {
|
|
1040
1096
|
var _this = _super.call(this, displayName, Siri.UUID, subtype) || this;
|
|
1041
1097
|
// Required Characteristics
|
|
1042
1098
|
_this.addCharacteristic(Characteristic_1.Characteristic.SiriInputType);
|
|
1099
|
+
// Optional Characteristics
|
|
1100
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.MultifunctionButton);
|
|
1101
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SiriEnable);
|
|
1102
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SiriEngineVersion);
|
|
1103
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SiriLightOnUse);
|
|
1104
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SiriListening);
|
|
1105
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.SiriTouchToUse);
|
|
1043
1106
|
return _this;
|
|
1044
1107
|
}
|
|
1045
1108
|
Siri.UUID = "00000133-0000-1000-8000-0026BB765291";
|
|
@@ -1047,11 +1110,31 @@ var Siri = /** @class */ (function (_super) {
|
|
|
1047
1110
|
}(Service_1.Service));
|
|
1048
1111
|
exports.Siri = Siri;
|
|
1049
1112
|
Service_1.Service.Siri = Siri;
|
|
1113
|
+
/**
|
|
1114
|
+
* Service "Siri Endpoint"
|
|
1115
|
+
*/
|
|
1116
|
+
var SiriEndpoint = /** @class */ (function (_super) {
|
|
1117
|
+
(0, tslib_1.__extends)(SiriEndpoint, _super);
|
|
1118
|
+
function SiriEndpoint(displayName, subtype) {
|
|
1119
|
+
var _this = _super.call(this, displayName, SiriEndpoint.UUID, subtype) || this;
|
|
1120
|
+
// Required Characteristics
|
|
1121
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.SiriEndpointSessionStatus);
|
|
1122
|
+
_this.addCharacteristic(Characteristic_1.Characteristic.Version);
|
|
1123
|
+
// Optional Characteristics
|
|
1124
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.ActiveIdentifier);
|
|
1125
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.ManuallyDisabled);
|
|
1126
|
+
return _this;
|
|
1127
|
+
}
|
|
1128
|
+
SiriEndpoint.UUID = "00000253-0000-1000-8000-0026BB765291";
|
|
1129
|
+
return SiriEndpoint;
|
|
1130
|
+
}(Service_1.Service));
|
|
1131
|
+
exports.SiriEndpoint = SiriEndpoint;
|
|
1132
|
+
Service_1.Service.SiriEndpoint = SiriEndpoint;
|
|
1050
1133
|
/**
|
|
1051
1134
|
* Service "Slats"
|
|
1052
1135
|
*/
|
|
1053
1136
|
var Slats = /** @class */ (function (_super) {
|
|
1054
|
-
tslib_1.__extends(Slats, _super);
|
|
1137
|
+
(0, tslib_1.__extends)(Slats, _super);
|
|
1055
1138
|
function Slats(displayName, subtype) {
|
|
1056
1139
|
var _this = _super.call(this, displayName, Slats.UUID, subtype) || this;
|
|
1057
1140
|
// Required Characteristics
|
|
@@ -1075,13 +1158,14 @@ Service_1.Service.Slats = Slats;
|
|
|
1075
1158
|
* Service "Smart Speaker"
|
|
1076
1159
|
*/
|
|
1077
1160
|
var SmartSpeaker = /** @class */ (function (_super) {
|
|
1078
|
-
tslib_1.__extends(SmartSpeaker, _super);
|
|
1161
|
+
(0, tslib_1.__extends)(SmartSpeaker, _super);
|
|
1079
1162
|
function SmartSpeaker(displayName, subtype) {
|
|
1080
1163
|
var _this = _super.call(this, displayName, SmartSpeaker.UUID, subtype) || this;
|
|
1081
1164
|
// Required Characteristics
|
|
1082
1165
|
_this.addCharacteristic(Characteristic_1.Characteristic.CurrentMediaState);
|
|
1083
1166
|
_this.addCharacteristic(Characteristic_1.Characteristic.TargetMediaState);
|
|
1084
1167
|
// Optional Characteristics
|
|
1168
|
+
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.AirPlayEnable);
|
|
1085
1169
|
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.ConfiguredName);
|
|
1086
1170
|
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.Mute);
|
|
1087
1171
|
_this.addOptionalCharacteristic(Characteristic_1.Characteristic.Name);
|
|
@@ -1097,7 +1181,7 @@ Service_1.Service.SmartSpeaker = SmartSpeaker;
|
|
|
1097
1181
|
* Service "Smoke Sensor"
|
|
1098
1182
|
*/
|
|
1099
1183
|
var SmokeSensor = /** @class */ (function (_super) {
|
|
1100
|
-
tslib_1.__extends(SmokeSensor, _super);
|
|
1184
|
+
(0, tslib_1.__extends)(SmokeSensor, _super);
|
|
1101
1185
|
function SmokeSensor(displayName, subtype) {
|
|
1102
1186
|
var _this = _super.call(this, displayName, SmokeSensor.UUID, subtype) || this;
|
|
1103
1187
|
// Required Characteristics
|
|
@@ -1120,7 +1204,7 @@ Service_1.Service.SmokeSensor = SmokeSensor;
|
|
|
1120
1204
|
* @since iOS 10
|
|
1121
1205
|
*/
|
|
1122
1206
|
var Speaker = /** @class */ (function (_super) {
|
|
1123
|
-
tslib_1.__extends(Speaker, _super);
|
|
1207
|
+
(0, tslib_1.__extends)(Speaker, _super);
|
|
1124
1208
|
function Speaker(displayName, subtype) {
|
|
1125
1209
|
var _this = _super.call(this, displayName, Speaker.UUID, subtype) || this;
|
|
1126
1210
|
// Required Characteristics
|
|
@@ -1139,7 +1223,7 @@ Service_1.Service.Speaker = Speaker;
|
|
|
1139
1223
|
* Service "Stateful Programmable Switch"
|
|
1140
1224
|
*/
|
|
1141
1225
|
var StatefulProgrammableSwitch = /** @class */ (function (_super) {
|
|
1142
|
-
tslib_1.__extends(StatefulProgrammableSwitch, _super);
|
|
1226
|
+
(0, tslib_1.__extends)(StatefulProgrammableSwitch, _super);
|
|
1143
1227
|
function StatefulProgrammableSwitch(displayName, subtype) {
|
|
1144
1228
|
var _this = _super.call(this, displayName, StatefulProgrammableSwitch.UUID, subtype) || this;
|
|
1145
1229
|
// Required Characteristics
|
|
@@ -1158,7 +1242,7 @@ Service_1.Service.StatefulProgrammableSwitch = StatefulProgrammableSwitch;
|
|
|
1158
1242
|
* Service "Stateless Programmable Switch"
|
|
1159
1243
|
*/
|
|
1160
1244
|
var StatelessProgrammableSwitch = /** @class */ (function (_super) {
|
|
1161
|
-
tslib_1.__extends(StatelessProgrammableSwitch, _super);
|
|
1245
|
+
(0, tslib_1.__extends)(StatelessProgrammableSwitch, _super);
|
|
1162
1246
|
function StatelessProgrammableSwitch(displayName, subtype) {
|
|
1163
1247
|
var _this = _super.call(this, displayName, StatelessProgrammableSwitch.UUID, subtype) || this;
|
|
1164
1248
|
// Required Characteristics
|
|
@@ -1177,7 +1261,7 @@ Service_1.Service.StatelessProgrammableSwitch = StatelessProgrammableSwitch;
|
|
|
1177
1261
|
* Service "Switch"
|
|
1178
1262
|
*/
|
|
1179
1263
|
var Switch = /** @class */ (function (_super) {
|
|
1180
|
-
tslib_1.__extends(Switch, _super);
|
|
1264
|
+
(0, tslib_1.__extends)(Switch, _super);
|
|
1181
1265
|
function Switch(displayName, subtype) {
|
|
1182
1266
|
var _this = _super.call(this, displayName, Switch.UUID, subtype) || this;
|
|
1183
1267
|
// Required Characteristics
|
|
@@ -1195,7 +1279,7 @@ Service_1.Service.Switch = Switch;
|
|
|
1195
1279
|
* Service "Target Control"
|
|
1196
1280
|
*/
|
|
1197
1281
|
var TargetControl = /** @class */ (function (_super) {
|
|
1198
|
-
tslib_1.__extends(TargetControl, _super);
|
|
1282
|
+
(0, tslib_1.__extends)(TargetControl, _super);
|
|
1199
1283
|
function TargetControl(displayName, subtype) {
|
|
1200
1284
|
var _this = _super.call(this, displayName, TargetControl.UUID, subtype) || this;
|
|
1201
1285
|
// Required Characteristics
|
|
@@ -1215,7 +1299,7 @@ Service_1.Service.TargetControl = TargetControl;
|
|
|
1215
1299
|
* Service "Target Control Management"
|
|
1216
1300
|
*/
|
|
1217
1301
|
var TargetControlManagement = /** @class */ (function (_super) {
|
|
1218
|
-
tslib_1.__extends(TargetControlManagement, _super);
|
|
1302
|
+
(0, tslib_1.__extends)(TargetControlManagement, _super);
|
|
1219
1303
|
function TargetControlManagement(displayName, subtype) {
|
|
1220
1304
|
var _this = _super.call(this, displayName, TargetControlManagement.UUID, subtype) || this;
|
|
1221
1305
|
// Required Characteristics
|
|
@@ -1232,7 +1316,7 @@ Service_1.Service.TargetControlManagement = TargetControlManagement;
|
|
|
1232
1316
|
* Service "Television"
|
|
1233
1317
|
*/
|
|
1234
1318
|
var Television = /** @class */ (function (_super) {
|
|
1235
|
-
tslib_1.__extends(Television, _super);
|
|
1319
|
+
(0, tslib_1.__extends)(Television, _super);
|
|
1236
1320
|
function Television(displayName, subtype) {
|
|
1237
1321
|
var _this = _super.call(this, displayName, Television.UUID, subtype) || this;
|
|
1238
1322
|
// Required Characteristics
|
|
@@ -1261,7 +1345,7 @@ Service_1.Service.Television = Television;
|
|
|
1261
1345
|
* Service "Television Speaker"
|
|
1262
1346
|
*/
|
|
1263
1347
|
var TelevisionSpeaker = /** @class */ (function (_super) {
|
|
1264
|
-
tslib_1.__extends(TelevisionSpeaker, _super);
|
|
1348
|
+
(0, tslib_1.__extends)(TelevisionSpeaker, _super);
|
|
1265
1349
|
function TelevisionSpeaker(displayName, subtype) {
|
|
1266
1350
|
var _this = _super.call(this, displayName, TelevisionSpeaker.UUID, subtype) || this;
|
|
1267
1351
|
// Required Characteristics
|
|
@@ -1282,7 +1366,7 @@ Service_1.Service.TelevisionSpeaker = TelevisionSpeaker;
|
|
|
1282
1366
|
* Service "Temperature Sensor"
|
|
1283
1367
|
*/
|
|
1284
1368
|
var TemperatureSensor = /** @class */ (function (_super) {
|
|
1285
|
-
tslib_1.__extends(TemperatureSensor, _super);
|
|
1369
|
+
(0, tslib_1.__extends)(TemperatureSensor, _super);
|
|
1286
1370
|
function TemperatureSensor(displayName, subtype) {
|
|
1287
1371
|
var _this = _super.call(this, displayName, TemperatureSensor.UUID, subtype) || this;
|
|
1288
1372
|
// Required Characteristics
|
|
@@ -1304,7 +1388,7 @@ Service_1.Service.TemperatureSensor = TemperatureSensor;
|
|
|
1304
1388
|
* Service "Thermostat"
|
|
1305
1389
|
*/
|
|
1306
1390
|
var Thermostat = /** @class */ (function (_super) {
|
|
1307
|
-
tslib_1.__extends(Thermostat, _super);
|
|
1391
|
+
(0, tslib_1.__extends)(Thermostat, _super);
|
|
1308
1392
|
function Thermostat(displayName, subtype) {
|
|
1309
1393
|
var _this = _super.call(this, displayName, Thermostat.UUID, subtype) || this;
|
|
1310
1394
|
// Required Characteristics
|
|
@@ -1330,7 +1414,7 @@ Service_1.Service.Thermostat = Thermostat;
|
|
|
1330
1414
|
* Service "Thread Transport"
|
|
1331
1415
|
*/
|
|
1332
1416
|
var ThreadTransport = /** @class */ (function (_super) {
|
|
1333
|
-
tslib_1.__extends(ThreadTransport, _super);
|
|
1417
|
+
(0, tslib_1.__extends)(ThreadTransport, _super);
|
|
1334
1418
|
function ThreadTransport(displayName, subtype) {
|
|
1335
1419
|
var _this = _super.call(this, displayName, ThreadTransport.UUID, subtype) || this;
|
|
1336
1420
|
// Required Characteristics
|
|
@@ -1363,7 +1447,7 @@ Service_1.Service.ThreadTransport = ThreadTransport;
|
|
|
1363
1447
|
* @deprecated Removed and not used anymore
|
|
1364
1448
|
*/
|
|
1365
1449
|
var TimeInformation = /** @class */ (function (_super) {
|
|
1366
|
-
tslib_1.__extends(TimeInformation, _super);
|
|
1450
|
+
(0, tslib_1.__extends)(TimeInformation, _super);
|
|
1367
1451
|
function TimeInformation(displayName, subtype) {
|
|
1368
1452
|
var _this = _super.call(this, displayName, TimeInformation.UUID, subtype) || this;
|
|
1369
1453
|
// Required Characteristics
|
|
@@ -1384,7 +1468,7 @@ Service_1.Service.TimeInformation = TimeInformation;
|
|
|
1384
1468
|
* Service "Transfer Transport Management"
|
|
1385
1469
|
*/
|
|
1386
1470
|
var TransferTransportManagement = /** @class */ (function (_super) {
|
|
1387
|
-
tslib_1.__extends(TransferTransportManagement, _super);
|
|
1471
|
+
(0, tslib_1.__extends)(TransferTransportManagement, _super);
|
|
1388
1472
|
function TransferTransportManagement(displayName, subtype) {
|
|
1389
1473
|
var _this = _super.call(this, displayName, TransferTransportManagement.UUID, subtype) || this;
|
|
1390
1474
|
// Required Characteristics
|
|
@@ -1401,7 +1485,7 @@ Service_1.Service.TransferTransportManagement = TransferTransportManagement;
|
|
|
1401
1485
|
* Service "Tunnel"
|
|
1402
1486
|
*/
|
|
1403
1487
|
var Tunnel = /** @class */ (function (_super) {
|
|
1404
|
-
tslib_1.__extends(Tunnel, _super);
|
|
1488
|
+
(0, tslib_1.__extends)(Tunnel, _super);
|
|
1405
1489
|
function Tunnel(displayName, subtype) {
|
|
1406
1490
|
var _this = _super.call(this, displayName, Tunnel.UUID, subtype) || this;
|
|
1407
1491
|
// Required Characteristics
|
|
@@ -1423,7 +1507,7 @@ Service_1.Service.Tunnel = Tunnel;
|
|
|
1423
1507
|
* Service "Valve"
|
|
1424
1508
|
*/
|
|
1425
1509
|
var Valve = /** @class */ (function (_super) {
|
|
1426
|
-
tslib_1.__extends(Valve, _super);
|
|
1510
|
+
(0, tslib_1.__extends)(Valve, _super);
|
|
1427
1511
|
function Valve(displayName, subtype) {
|
|
1428
1512
|
var _this = _super.call(this, displayName, Valve.UUID, subtype) || this;
|
|
1429
1513
|
// Required Characteristics
|
|
@@ -1448,7 +1532,7 @@ Service_1.Service.Valve = Valve;
|
|
|
1448
1532
|
* Service "Wi-Fi Router"
|
|
1449
1533
|
*/
|
|
1450
1534
|
var WiFiRouter = /** @class */ (function (_super) {
|
|
1451
|
-
tslib_1.__extends(WiFiRouter, _super);
|
|
1535
|
+
(0, tslib_1.__extends)(WiFiRouter, _super);
|
|
1452
1536
|
function WiFiRouter(displayName, subtype) {
|
|
1453
1537
|
var _this = _super.call(this, displayName, WiFiRouter.UUID, subtype) || this;
|
|
1454
1538
|
// Required Characteristics
|
|
@@ -1472,7 +1556,7 @@ Service_1.Service.WiFiRouter = WiFiRouter;
|
|
|
1472
1556
|
* Service "Wi-Fi Satellite"
|
|
1473
1557
|
*/
|
|
1474
1558
|
var WiFiSatellite = /** @class */ (function (_super) {
|
|
1475
|
-
tslib_1.__extends(WiFiSatellite, _super);
|
|
1559
|
+
(0, tslib_1.__extends)(WiFiSatellite, _super);
|
|
1476
1560
|
function WiFiSatellite(displayName, subtype) {
|
|
1477
1561
|
var _this = _super.call(this, displayName, WiFiSatellite.UUID, subtype) || this;
|
|
1478
1562
|
// Required Characteristics
|
|
@@ -1488,7 +1572,7 @@ Service_1.Service.WiFiSatellite = WiFiSatellite;
|
|
|
1488
1572
|
* Service "Wi-Fi Transport"
|
|
1489
1573
|
*/
|
|
1490
1574
|
var WiFiTransport = /** @class */ (function (_super) {
|
|
1491
|
-
tslib_1.__extends(WiFiTransport, _super);
|
|
1575
|
+
(0, tslib_1.__extends)(WiFiTransport, _super);
|
|
1492
1576
|
function WiFiTransport(displayName, subtype) {
|
|
1493
1577
|
var _this = _super.call(this, displayName, WiFiTransport.UUID, subtype) || this;
|
|
1494
1578
|
// Required Characteristics
|
|
@@ -1507,7 +1591,7 @@ Service_1.Service.WiFiTransport = WiFiTransport;
|
|
|
1507
1591
|
* Service "Window"
|
|
1508
1592
|
*/
|
|
1509
1593
|
var Window = /** @class */ (function (_super) {
|
|
1510
|
-
tslib_1.__extends(Window, _super);
|
|
1594
|
+
(0, tslib_1.__extends)(Window, _super);
|
|
1511
1595
|
function Window(displayName, subtype) {
|
|
1512
1596
|
var _this = _super.call(this, displayName, Window.UUID, subtype) || this;
|
|
1513
1597
|
// Required Characteristics
|
|
@@ -1529,7 +1613,7 @@ Service_1.Service.Window = Window;
|
|
|
1529
1613
|
* Service "Window Covering"
|
|
1530
1614
|
*/
|
|
1531
1615
|
var WindowCovering = /** @class */ (function (_super) {
|
|
1532
|
-
tslib_1.__extends(WindowCovering, _super);
|
|
1616
|
+
(0, tslib_1.__extends)(WindowCovering, _super);
|
|
1533
1617
|
function WindowCovering(displayName, subtype) {
|
|
1534
1618
|
var _this = _super.call(this, displayName, WindowCovering.UUID, subtype) || this;
|
|
1535
1619
|
// Required Characteristics
|