hap-nodejs 0.11.0-beta.8 → 0.11.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.
- package/README.md +1 -0
- package/dist/BridgedCore.js +4 -4
- package/dist/BridgedCore.js.map +1 -1
- package/dist/Core.js +2 -2
- package/dist/Core.js.map +1 -1
- package/dist/accessories/AirConditioner_accessory.js +18 -18
- package/dist/accessories/AirConditioner_accessory.js.map +1 -1
- package/dist/accessories/AppleTVRemote_accessory.js +6 -6
- package/dist/accessories/AppleTVRemote_accessory.js.map +1 -1
- package/dist/accessories/Camera_accessory.js +96 -87
- package/dist/accessories/Camera_accessory.js.map +1 -1
- package/dist/accessories/Fan_accessory.js +6 -6
- package/dist/accessories/Fan_accessory.js.map +1 -1
- package/dist/accessories/GarageDoorOpener_accessory.js +4 -4
- package/dist/accessories/GarageDoorOpener_accessory.js.map +1 -1
- package/dist/accessories/Light-AdaptiveLighting_accessory.js +2 -2
- package/dist/accessories/Light-AdaptiveLighting_accessory.js.map +1 -1
- package/dist/accessories/Light_accessory.js +11 -11
- package/dist/accessories/Light_accessory.js.map +1 -1
- package/dist/accessories/Lock_accessory.js +4 -4
- package/dist/accessories/Lock_accessory.js.map +1 -1
- package/dist/accessories/MotionSensor_accessory.js +3 -3
- package/dist/accessories/MotionSensor_accessory.js.map +1 -1
- package/dist/accessories/Outlet_accessory.js +4 -4
- package/dist/accessories/Outlet_accessory.js.map +1 -1
- package/dist/accessories/SmartSpeaker_accessory.js +5 -5
- package/dist/accessories/SmartSpeaker_accessory.js.map +1 -1
- package/dist/accessories/Sprinkler_accessory.js +7 -7
- package/dist/accessories/Sprinkler_accessory.js.map +1 -1
- package/dist/accessories/TV_accessory.js +9 -9
- package/dist/accessories/TV_accessory.js.map +1 -1
- package/dist/accessories/TemperatureSensor_accessory.js +2 -2
- package/dist/accessories/TemperatureSensor_accessory.js.map +1 -1
- package/dist/accessories/Wi-FiRouter_accessory.js +2 -2
- package/dist/accessories/Wi-FiRouter_accessory.js.map +1 -1
- package/dist/accessories/Wi-FiSatellite_accessory.js +2 -2
- package/dist/accessories/Wi-FiSatellite_accessory.js.map +1 -1
- package/dist/accessories/gstreamer-audioProducer.d.ts +2 -2
- package/dist/accessories/gstreamer-audioProducer.d.ts.map +1 -1
- package/dist/accessories/gstreamer-audioProducer.js +20 -20
- package/dist/accessories/gstreamer-audioProducer.js.map +1 -1
- package/dist/index.d.ts +30 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -25
- package/dist/index.js.map +1 -1
- package/dist/internal-types.d.ts +65 -126
- package/dist/internal-types.d.ts.map +1 -1
- package/dist/internal-types.js +66 -5
- package/dist/internal-types.js.map +1 -1
- package/dist/lib/Accessory.d.ts +101 -21
- package/dist/lib/Accessory.d.ts.map +1 -1
- package/dist/lib/Accessory.js +319 -327
- package/dist/lib/Accessory.js.map +1 -1
- package/dist/lib/AccessoryLoader.d.ts +12 -0
- package/dist/lib/AccessoryLoader.d.ts.map +1 -1
- package/dist/lib/AccessoryLoader.js +18 -6
- package/dist/lib/AccessoryLoader.js.map +1 -1
- package/dist/lib/Advertiser.d.ts +54 -0
- package/dist/lib/Advertiser.d.ts.map +1 -1
- package/dist/lib/Advertiser.js +205 -66
- package/dist/lib/Advertiser.js.map +1 -1
- package/dist/lib/Bridge.d.ts +2 -0
- package/dist/lib/Bridge.d.ts.map +1 -1
- package/dist/lib/Bridge.js +3 -1
- package/dist/lib/Bridge.js.map +1 -1
- package/dist/lib/Characteristic.d.ts +872 -40
- package/dist/lib/Characteristic.d.ts.map +1 -1
- package/dist/lib/Characteristic.js +172 -141
- package/dist/lib/Characteristic.js.map +1 -1
- package/dist/lib/HAPServer.d.ts +113 -20
- package/dist/lib/HAPServer.d.ts.map +1 -1
- package/dist/lib/HAPServer.js +226 -231
- package/dist/lib/HAPServer.js.map +1 -1
- package/dist/lib/Service.d.ts +329 -13
- package/dist/lib/Service.d.ts.map +1 -1
- package/dist/lib/Service.js +45 -40
- package/dist/lib/Service.js.map +1 -1
- package/dist/lib/camera/Camera.d.ts +13 -4
- package/dist/lib/camera/Camera.d.ts.map +1 -1
- package/dist/lib/camera/Camera.js +3 -0
- package/dist/lib/camera/Camera.js.map +1 -1
- package/dist/lib/camera/RTPProxy.d.ts +5 -0
- package/dist/lib/camera/RTPProxy.d.ts.map +1 -1
- package/dist/lib/camera/RTPProxy.js +2 -1
- package/dist/lib/camera/RTPProxy.js.map +1 -1
- package/dist/lib/camera/RTPStreamManagement.d.ts +156 -33
- package/dist/lib/camera/RTPStreamManagement.d.ts.map +1 -1
- package/dist/lib/camera/RTPStreamManagement.js +204 -164
- package/dist/lib/camera/RTPStreamManagement.js.map +1 -1
- package/dist/lib/camera/RecordingManagement.d.ts +61 -11
- package/dist/lib/camera/RecordingManagement.d.ts.map +1 -1
- package/dist/lib/camera/RecordingManagement.js +171 -138
- package/dist/lib/camera/RecordingManagement.js.map +1 -1
- package/dist/lib/camera/index.js +4 -4
- package/dist/lib/camera/index.js.map +1 -1
- package/dist/lib/controller/AdaptiveLightingController.d.ts +28 -2
- package/dist/lib/controller/AdaptiveLightingController.d.ts.map +1 -1
- package/dist/lib/controller/AdaptiveLightingController.js +77 -68
- package/dist/lib/controller/AdaptiveLightingController.js.map +1 -1
- package/dist/lib/controller/CameraController.d.ts +44 -13
- package/dist/lib/controller/CameraController.d.ts.map +1 -1
- package/dist/lib/controller/CameraController.js +43 -34
- package/dist/lib/controller/CameraController.js.map +1 -1
- package/dist/lib/controller/Controller.d.ts +28 -7
- package/dist/lib/controller/Controller.d.ts.map +1 -1
- package/dist/lib/controller/Controller.js +7 -0
- package/dist/lib/controller/Controller.js.map +1 -1
- package/dist/lib/controller/DoorbellController.d.ts +5 -1
- package/dist/lib/controller/DoorbellController.d.ts.map +1 -1
- package/dist/lib/controller/DoorbellController.js +5 -3
- package/dist/lib/controller/DoorbellController.js.map +1 -1
- package/dist/lib/controller/RemoteController.d.ts +108 -39
- package/dist/lib/controller/RemoteController.d.ts.map +1 -1
- package/dist/lib/controller/RemoteController.js +190 -175
- 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.d.ts +25 -19
- package/dist/lib/datastream/DataStreamManagement.d.ts.map +1 -1
- package/dist/lib/datastream/DataStreamManagement.js +36 -30
- package/dist/lib/datastream/DataStreamManagement.js.map +1 -1
- package/dist/lib/datastream/DataStreamParser.d.ts +39 -0
- package/dist/lib/datastream/DataStreamParser.d.ts.map +1 -1
- package/dist/lib/datastream/DataStreamParser.js +125 -88
- package/dist/lib/datastream/DataStreamParser.js.map +1 -1
- package/dist/lib/datastream/DataStreamServer.d.ts +121 -46
- package/dist/lib/datastream/DataStreamServer.d.ts.map +1 -1
- package/dist/lib/datastream/DataStreamServer.js +134 -100
- 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.js +799 -799
- package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
- package/dist/lib/definitions/ServiceDefinitions.js +77 -77
- package/dist/lib/definitions/ServiceDefinitions.js.map +1 -1
- package/dist/lib/definitions/generate-definitions.js +60 -59
- package/dist/lib/definitions/generate-definitions.js.map +1 -1
- package/dist/lib/definitions/generator-configuration.js +15 -15
- 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.d.ts +10 -4
- package/dist/lib/model/AccessoryInfo.d.ts.map +1 -1
- package/dist/lib/model/AccessoryInfo.js +21 -17
- package/dist/lib/model/AccessoryInfo.js.map +1 -1
- package/dist/lib/model/ControllerStorage.d.ts +3 -0
- package/dist/lib/model/ControllerStorage.d.ts.map +1 -1
- package/dist/lib/model/ControllerStorage.js +8 -5
- package/dist/lib/model/ControllerStorage.js.map +1 -1
- package/dist/lib/model/HAPStorage.d.ts +3 -0
- package/dist/lib/model/HAPStorage.d.ts.map +1 -1
- package/dist/lib/model/HAPStorage.js +4 -1
- package/dist/lib/model/HAPStorage.js.map +1 -1
- package/dist/lib/model/IdentifierCache.d.ts +1 -0
- package/dist/lib/model/IdentifierCache.d.ts.map +1 -1
- package/dist/lib/model/IdentifierCache.js +3 -2
- package/dist/lib/model/IdentifierCache.js.map +1 -1
- package/dist/lib/tv/AccessControlManagement.d.ts +11 -0
- package/dist/lib/tv/AccessControlManagement.d.ts.map +1 -1
- package/dist/lib/tv/AccessControlManagement.js +15 -7
- package/dist/lib/tv/AccessControlManagement.js.map +1 -1
- package/dist/lib/util/clone.d.ts +2 -1
- package/dist/lib/util/clone.d.ts.map +1 -1
- package/dist/lib/util/clone.js +5 -4
- package/dist/lib/util/clone.js.map +1 -1
- package/dist/lib/util/color-utils.d.ts +4 -1
- package/dist/lib/util/color-utils.d.ts.map +1 -1
- package/dist/lib/util/color-utils.js +5 -2
- package/dist/lib/util/color-utils.js.map +1 -1
- package/dist/lib/util/eventedhttp.d.ts +52 -9
- package/dist/lib/util/eventedhttp.d.ts.map +1 -1
- package/dist/lib/util/eventedhttp.js +141 -135
- package/dist/lib/util/eventedhttp.js.map +1 -1
- package/dist/lib/util/hapCrypto.d.ts +30 -2
- package/dist/lib/util/hapCrypto.d.ts.map +1 -1
- package/dist/lib/util/hapCrypto.js +28 -4
- package/dist/lib/util/hapCrypto.js.map +1 -1
- package/dist/lib/util/hapStatusError.d.ts +2 -0
- package/dist/lib/util/hapStatusError.d.ts.map +1 -1
- package/dist/lib/util/hapStatusError.js +4 -2
- package/dist/lib/util/hapStatusError.js.map +1 -1
- package/dist/lib/util/net-utils.d.ts +7 -0
- package/dist/lib/util/net-utils.d.ts.map +1 -1
- package/dist/lib/util/net-utils.js +11 -4
- package/dist/lib/util/net-utils.js.map +1 -1
- package/dist/lib/util/once.d.ts +5 -0
- package/dist/lib/util/once.d.ts.map +1 -1
- package/dist/lib/util/once.js +6 -1
- package/dist/lib/util/once.js.map +1 -1
- package/dist/lib/util/promise-utils.d.ts +13 -0
- package/dist/lib/util/promise-utils.d.ts.map +1 -1
- package/dist/lib/util/promise-utils.js +27 -1
- package/dist/lib/util/promise-utils.js.map +1 -1
- package/dist/lib/util/request-util.d.ts +16 -0
- package/dist/lib/util/request-util.d.ts.map +1 -1
- package/dist/lib/util/request-util.js +42 -27
- package/dist/lib/util/request-util.js.map +1 -1
- package/dist/lib/util/time.d.ts +6 -0
- package/dist/lib/util/time.d.ts.map +1 -1
- package/dist/lib/util/time.js +8 -2
- package/dist/lib/util/time.js.map +1 -1
- package/dist/lib/util/tlv.d.ts +95 -5
- package/dist/lib/util/tlv.d.ts.map +1 -1
- package/dist/lib/util/tlv.js +90 -21
- package/dist/lib/util/tlv.js.map +1 -1
- package/dist/lib/util/uuid.d.ts +2 -3
- package/dist/lib/util/uuid.d.ts.map +1 -1
- package/dist/lib/util/uuid.js +1 -1
- package/dist/lib/util/uuid.js.map +1 -1
- package/dist/types.d.ts +267 -19
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +8 -0
- package/dist/types.js.map +1 -1
- package/package.json +10 -7
package/dist/lib/Service.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from "events";
|
|
3
|
-
import { ServiceJsonObject } from "../
|
|
4
|
-
import { CharacteristicValue, Nullable, WithUUID } from "../types";
|
|
3
|
+
import { CharacteristicValue, Nullable, ServiceJsonObject, WithUUID } from "../types";
|
|
5
4
|
import { CharacteristicWarning } from "./Accessory";
|
|
6
5
|
import { Characteristic, CharacteristicChange, SerializedCharacteristic } from "./Characteristic";
|
|
7
|
-
import { AccessCode, AccessControl, AccessoryInformation, AccessoryMetrics, AccessoryRuntimeInformation, AirPurifier, AirQualitySensor, AssetUpdate, Assistant, AudioStreamManagement, Battery, BridgeConfiguration, BridgingState, CameraControl, CameraOperatingMode, CameraRecordingManagement, CameraRTPStreamManagement, CarbonDioxideSensor, CarbonMonoxideSensor, CloudRelay, ContactSensor, DataStreamTransportManagement, Diagnostics, Door, Doorbell, Fan, Fanv2, Faucet, FilterMaintenance, FirmwareUpdate, GarageDoorOpener, HeaterCooler, HumidifierDehumidifier, HumiditySensor, InputSource, IrrigationSystem, LeakSensor, Lightbulb, LightSensor, LockManagement, LockMechanism, Microphone, MotionSensor, NFCAccess, OccupancySensor, Outlet, Pairing, PowerManagement, ProtocolInformation, SecuritySystem, ServiceLabel, Siri, SiriEndpoint, Slats, SmartSpeaker, SmokeSensor, Speaker, StatefulProgrammableSwitch, StatelessProgrammableSwitch, Switch, TapManagement, TargetControl, TargetControlManagement, Television, TelevisionSpeaker, TemperatureSensor, Thermostat, ThreadTransport, TimeInformation, TransferTransportManagement, Tunnel, Valve, WiFiRouter, WiFiSatellite, WiFiTransport, Window, WindowCovering } from "./definitions";
|
|
6
|
+
import type { AccessCode, AccessControl, AccessoryInformation, AccessoryMetrics, AccessoryRuntimeInformation, AirPurifier, AirQualitySensor, AssetUpdate, Assistant, AudioStreamManagement, Battery, BridgeConfiguration, BridgingState, CameraControl, CameraOperatingMode, CameraRecordingManagement, CameraRTPStreamManagement, CarbonDioxideSensor, CarbonMonoxideSensor, CloudRelay, ContactSensor, DataStreamTransportManagement, Diagnostics, Door, Doorbell, Fan, Fanv2, Faucet, FilterMaintenance, FirmwareUpdate, GarageDoorOpener, HeaterCooler, HumidifierDehumidifier, HumiditySensor, InputSource, IrrigationSystem, LeakSensor, Lightbulb, LightSensor, LockManagement, LockMechanism, Microphone, MotionSensor, NFCAccess, OccupancySensor, Outlet, Pairing, PowerManagement, ProtocolInformation, SecuritySystem, ServiceLabel, Siri, SiriEndpoint, Slats, SmartSpeaker, SmokeSensor, Speaker, StatefulProgrammableSwitch, StatelessProgrammableSwitch, Switch, TapManagement, TargetControl, TargetControlManagement, Television, TelevisionSpeaker, TemperatureSensor, Thermostat, ThreadTransport, TimeInformation, TransferTransportManagement, Tunnel, Valve, WiFiRouter, WiFiSatellite, WiFiTransport, Window, WindowCovering } from "./definitions";
|
|
8
7
|
import { IdentifierCache } from "./model/IdentifierCache";
|
|
9
8
|
import { HAPConnection } from "./util/eventedhttp";
|
|
9
|
+
import { HapStatusError } from "./util/hapStatusError";
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* @group Service
|
|
12
12
|
*/
|
|
13
13
|
export interface SerializedService {
|
|
14
14
|
displayName: string;
|
|
@@ -20,19 +20,34 @@ export interface SerializedService {
|
|
|
20
20
|
characteristics: SerializedCharacteristic[];
|
|
21
21
|
optionalCharacteristics?: SerializedCharacteristic[];
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
/**
|
|
24
|
+
* string with the format: `UUID + (subtype | "")`
|
|
25
|
+
*
|
|
26
|
+
* @group Service
|
|
27
|
+
*/
|
|
28
|
+
export type ServiceId = string;
|
|
29
|
+
/**
|
|
30
|
+
* @group Service
|
|
31
|
+
*/
|
|
32
|
+
export type ServiceCharacteristicChange = CharacteristicChange & {
|
|
25
33
|
characteristic: Characteristic;
|
|
26
34
|
};
|
|
27
35
|
/**
|
|
28
36
|
* @deprecated Use ServiceEventTypes instead
|
|
37
|
+
* @group Service
|
|
38
|
+
*/
|
|
39
|
+
export type EventService = ServiceEventTypes.CHARACTERISTIC_CHANGE | ServiceEventTypes.SERVICE_CONFIGURATION_CHANGE;
|
|
40
|
+
/**
|
|
41
|
+
* @group Service
|
|
29
42
|
*/
|
|
30
|
-
export declare type EventService = ServiceEventTypes.CHARACTERISTIC_CHANGE | ServiceEventTypes.SERVICE_CONFIGURATION_CHANGE;
|
|
31
43
|
export declare const enum ServiceEventTypes {
|
|
32
44
|
CHARACTERISTIC_CHANGE = "characteristic-change",
|
|
33
45
|
SERVICE_CONFIGURATION_CHANGE = "service-configurationChange",
|
|
34
46
|
CHARACTERISTIC_WARNING = "characteristic-warning"
|
|
35
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @group Service
|
|
50
|
+
*/
|
|
36
51
|
export declare interface Service {
|
|
37
52
|
on(event: "characteristic-change", listener: (change: ServiceCharacteristicChange) => void): this;
|
|
38
53
|
on(event: "service-configurationChange", listener: () => void): this;
|
|
@@ -46,7 +61,7 @@ export declare interface Service {
|
|
|
46
61
|
* "Door Lock Mechanism" service might contain two values, one for the "desired lock state" and one for the
|
|
47
62
|
* "current lock state". A particular Service is distinguished from others by its "type", which is a UUID.
|
|
48
63
|
* HomeKit provides a set of known Service UUIDs defined in HomeKit.ts along with a corresponding
|
|
49
|
-
* concrete subclass that you can instantiate directly to
|
|
64
|
+
* concrete subclass that you can instantiate directly to set up the necessary values. These natively-supported
|
|
50
65
|
* Services are expected to contain a particular set of Characteristics.
|
|
51
66
|
*
|
|
52
67
|
* Unlike Characteristics, where you cannot have two Characteristics with the same UUID in the same Service,
|
|
@@ -60,116 +75,346 @@ export declare interface Service {
|
|
|
60
75
|
* You can also define custom Services by providing your own UUID for the type that you generate yourself.
|
|
61
76
|
* Custom Services can contain an arbitrary set of Characteristics, but Siri will likely not be able to
|
|
62
77
|
* work with these.
|
|
78
|
+
*
|
|
79
|
+
* @group Service
|
|
63
80
|
*/
|
|
64
81
|
export declare class Service extends EventEmitter {
|
|
82
|
+
/**
|
|
83
|
+
* @group Service Definitions
|
|
84
|
+
*/
|
|
65
85
|
static AccessCode: typeof AccessCode;
|
|
86
|
+
/**
|
|
87
|
+
* @group Service Definitions
|
|
88
|
+
*/
|
|
66
89
|
static AccessControl: typeof AccessControl;
|
|
90
|
+
/**
|
|
91
|
+
* @group Service Definitions
|
|
92
|
+
*/
|
|
67
93
|
static AccessoryInformation: typeof AccessoryInformation;
|
|
94
|
+
/**
|
|
95
|
+
* @group Service Definitions
|
|
96
|
+
*/
|
|
68
97
|
static AccessoryMetrics: typeof AccessoryMetrics;
|
|
98
|
+
/**
|
|
99
|
+
* @group Service Definitions
|
|
100
|
+
*/
|
|
69
101
|
static AccessoryRuntimeInformation: typeof AccessoryRuntimeInformation;
|
|
102
|
+
/**
|
|
103
|
+
* @group Service Definitions
|
|
104
|
+
*/
|
|
70
105
|
static AirPurifier: typeof AirPurifier;
|
|
106
|
+
/**
|
|
107
|
+
* @group Service Definitions
|
|
108
|
+
*/
|
|
71
109
|
static AirQualitySensor: typeof AirQualitySensor;
|
|
110
|
+
/**
|
|
111
|
+
* @group Service Definitions
|
|
112
|
+
*/
|
|
72
113
|
static AssetUpdate: typeof AssetUpdate;
|
|
114
|
+
/**
|
|
115
|
+
* @group Service Definitions
|
|
116
|
+
*/
|
|
73
117
|
static Assistant: typeof Assistant;
|
|
118
|
+
/**
|
|
119
|
+
* @group Service Definitions
|
|
120
|
+
*/
|
|
74
121
|
static AudioStreamManagement: typeof AudioStreamManagement;
|
|
122
|
+
/**
|
|
123
|
+
* @group Service Definitions
|
|
124
|
+
*/
|
|
75
125
|
static Battery: typeof Battery;
|
|
76
126
|
/**
|
|
127
|
+
* @group Service Definitions
|
|
77
128
|
* @deprecated Please use {@link Service.Battery}.
|
|
78
129
|
*/
|
|
79
130
|
static BatteryService: typeof Battery;
|
|
80
131
|
/**
|
|
132
|
+
* @group Service Definitions
|
|
81
133
|
* @deprecated Removed and not used anymore
|
|
82
134
|
*/
|
|
83
135
|
static BridgeConfiguration: typeof BridgeConfiguration;
|
|
84
136
|
/**
|
|
137
|
+
* @group Service Definitions
|
|
85
138
|
* @deprecated Removed and not used anymore
|
|
86
139
|
*/
|
|
87
140
|
static BridgingState: typeof BridgingState;
|
|
88
141
|
/**
|
|
142
|
+
* @group Service Definitions
|
|
89
143
|
* @deprecated This service has no usage anymore and will be ignored by iOS
|
|
90
144
|
*/
|
|
91
145
|
static CameraControl: typeof CameraControl;
|
|
92
146
|
/**
|
|
147
|
+
* @group Service Definitions
|
|
93
148
|
* @deprecated Please use {@link Service.CameraRecordingManagement}.
|
|
94
149
|
*/
|
|
95
150
|
static CameraEventRecordingManagement: typeof CameraRecordingManagement;
|
|
151
|
+
/**
|
|
152
|
+
* @group Service Definitions
|
|
153
|
+
*/
|
|
96
154
|
static CameraOperatingMode: typeof CameraOperatingMode;
|
|
155
|
+
/**
|
|
156
|
+
* @group Service Definitions
|
|
157
|
+
*/
|
|
97
158
|
static CameraRecordingManagement: typeof CameraRecordingManagement;
|
|
159
|
+
/**
|
|
160
|
+
* @group Service Definitions
|
|
161
|
+
*/
|
|
98
162
|
static CameraRTPStreamManagement: typeof CameraRTPStreamManagement;
|
|
163
|
+
/**
|
|
164
|
+
* @group Service Definitions
|
|
165
|
+
*/
|
|
99
166
|
static CarbonDioxideSensor: typeof CarbonDioxideSensor;
|
|
167
|
+
/**
|
|
168
|
+
* @group Service Definitions
|
|
169
|
+
*/
|
|
100
170
|
static CarbonMonoxideSensor: typeof CarbonMonoxideSensor;
|
|
171
|
+
/**
|
|
172
|
+
* @group Service Definitions
|
|
173
|
+
*/
|
|
101
174
|
static CloudRelay: typeof CloudRelay;
|
|
175
|
+
/**
|
|
176
|
+
* @group Service Definitions
|
|
177
|
+
*/
|
|
102
178
|
static ContactSensor: typeof ContactSensor;
|
|
179
|
+
/**
|
|
180
|
+
* @group Service Definitions
|
|
181
|
+
*/
|
|
103
182
|
static DataStreamTransportManagement: typeof DataStreamTransportManagement;
|
|
183
|
+
/**
|
|
184
|
+
* @group Service Definitions
|
|
185
|
+
*/
|
|
104
186
|
static Diagnostics: typeof Diagnostics;
|
|
187
|
+
/**
|
|
188
|
+
* @group Service Definitions
|
|
189
|
+
*/
|
|
105
190
|
static Door: typeof Door;
|
|
191
|
+
/**
|
|
192
|
+
* @group Service Definitions
|
|
193
|
+
*/
|
|
106
194
|
static Doorbell: typeof Doorbell;
|
|
195
|
+
/**
|
|
196
|
+
* @group Service Definitions
|
|
197
|
+
*/
|
|
107
198
|
static Fan: typeof Fan;
|
|
199
|
+
/**
|
|
200
|
+
* @group Service Definitions
|
|
201
|
+
*/
|
|
108
202
|
static Fanv2: typeof Fanv2;
|
|
203
|
+
/**
|
|
204
|
+
* @group Service Definitions
|
|
205
|
+
*/
|
|
109
206
|
static Faucet: typeof Faucet;
|
|
207
|
+
/**
|
|
208
|
+
* @group Service Definitions
|
|
209
|
+
*/
|
|
110
210
|
static FilterMaintenance: typeof FilterMaintenance;
|
|
211
|
+
/**
|
|
212
|
+
* @group Service Definitions
|
|
213
|
+
*/
|
|
111
214
|
static FirmwareUpdate: typeof FirmwareUpdate;
|
|
215
|
+
/**
|
|
216
|
+
* @group Service Definitions
|
|
217
|
+
*/
|
|
112
218
|
static GarageDoorOpener: typeof GarageDoorOpener;
|
|
219
|
+
/**
|
|
220
|
+
* @group Service Definitions
|
|
221
|
+
*/
|
|
113
222
|
static HeaterCooler: typeof HeaterCooler;
|
|
223
|
+
/**
|
|
224
|
+
* @group Service Definitions
|
|
225
|
+
*/
|
|
114
226
|
static HumidifierDehumidifier: typeof HumidifierDehumidifier;
|
|
227
|
+
/**
|
|
228
|
+
* @group Service Definitions
|
|
229
|
+
*/
|
|
115
230
|
static HumiditySensor: typeof HumiditySensor;
|
|
231
|
+
/**
|
|
232
|
+
* @group Service Definitions
|
|
233
|
+
*/
|
|
116
234
|
static InputSource: typeof InputSource;
|
|
235
|
+
/**
|
|
236
|
+
* @group Service Definitions
|
|
237
|
+
*/
|
|
117
238
|
static IrrigationSystem: typeof IrrigationSystem;
|
|
239
|
+
/**
|
|
240
|
+
* @group Service Definitions
|
|
241
|
+
*/
|
|
118
242
|
static LeakSensor: typeof LeakSensor;
|
|
243
|
+
/**
|
|
244
|
+
* @group Service Definitions
|
|
245
|
+
*/
|
|
119
246
|
static Lightbulb: typeof Lightbulb;
|
|
247
|
+
/**
|
|
248
|
+
* @group Service Definitions
|
|
249
|
+
*/
|
|
120
250
|
static LightSensor: typeof LightSensor;
|
|
251
|
+
/**
|
|
252
|
+
* @group Service Definitions
|
|
253
|
+
*/
|
|
121
254
|
static LockManagement: typeof LockManagement;
|
|
255
|
+
/**
|
|
256
|
+
* @group Service Definitions
|
|
257
|
+
*/
|
|
122
258
|
static LockMechanism: typeof LockMechanism;
|
|
259
|
+
/**
|
|
260
|
+
* @group Service Definitions
|
|
261
|
+
*/
|
|
123
262
|
static Microphone: typeof Microphone;
|
|
263
|
+
/**
|
|
264
|
+
* @group Service Definitions
|
|
265
|
+
*/
|
|
124
266
|
static MotionSensor: typeof MotionSensor;
|
|
267
|
+
/**
|
|
268
|
+
* @group Service Definitions
|
|
269
|
+
*/
|
|
125
270
|
static NFCAccess: typeof NFCAccess;
|
|
271
|
+
/**
|
|
272
|
+
* @group Service Definitions
|
|
273
|
+
*/
|
|
126
274
|
static OccupancySensor: typeof OccupancySensor;
|
|
275
|
+
/**
|
|
276
|
+
* @group Service Definitions
|
|
277
|
+
*/
|
|
127
278
|
static Outlet: typeof Outlet;
|
|
279
|
+
/**
|
|
280
|
+
* @group Service Definitions
|
|
281
|
+
*/
|
|
128
282
|
static Pairing: typeof Pairing;
|
|
283
|
+
/**
|
|
284
|
+
* @group Service Definitions
|
|
285
|
+
*/
|
|
129
286
|
static PowerManagement: typeof PowerManagement;
|
|
287
|
+
/**
|
|
288
|
+
* @group Service Definitions
|
|
289
|
+
*/
|
|
130
290
|
static ProtocolInformation: typeof ProtocolInformation;
|
|
131
291
|
/**
|
|
292
|
+
* @group Service Definitions
|
|
132
293
|
* @deprecated Please use {@link Service.CloudRelay}.
|
|
133
294
|
*/
|
|
134
295
|
static Relay: typeof CloudRelay;
|
|
296
|
+
/**
|
|
297
|
+
* @group Service Definitions
|
|
298
|
+
*/
|
|
135
299
|
static SecuritySystem: typeof SecuritySystem;
|
|
300
|
+
/**
|
|
301
|
+
* @group Service Definitions
|
|
302
|
+
*/
|
|
136
303
|
static ServiceLabel: typeof ServiceLabel;
|
|
304
|
+
/**
|
|
305
|
+
* @group Service Definitions
|
|
306
|
+
*/
|
|
137
307
|
static Siri: typeof Siri;
|
|
308
|
+
/**
|
|
309
|
+
* @group Service Definitions
|
|
310
|
+
*/
|
|
138
311
|
static SiriEndpoint: typeof SiriEndpoint;
|
|
139
312
|
/**
|
|
313
|
+
* @group Service Definitions
|
|
140
314
|
* @deprecated Please use {@link Service.Slats}.
|
|
141
315
|
*/
|
|
142
316
|
static Slat: typeof Slats;
|
|
317
|
+
/**
|
|
318
|
+
* @group Service Definitions
|
|
319
|
+
*/
|
|
143
320
|
static Slats: typeof Slats;
|
|
321
|
+
/**
|
|
322
|
+
* @group Service Definitions
|
|
323
|
+
*/
|
|
144
324
|
static SmartSpeaker: typeof SmartSpeaker;
|
|
325
|
+
/**
|
|
326
|
+
* @group Service Definitions
|
|
327
|
+
*/
|
|
145
328
|
static SmokeSensor: typeof SmokeSensor;
|
|
329
|
+
/**
|
|
330
|
+
* @group Service Definitions
|
|
331
|
+
*/
|
|
146
332
|
static Speaker: typeof Speaker;
|
|
333
|
+
/**
|
|
334
|
+
* @group Service Definitions
|
|
335
|
+
*/
|
|
147
336
|
static StatefulProgrammableSwitch: typeof StatefulProgrammableSwitch;
|
|
337
|
+
/**
|
|
338
|
+
* @group Service Definitions
|
|
339
|
+
*/
|
|
148
340
|
static StatelessProgrammableSwitch: typeof StatelessProgrammableSwitch;
|
|
341
|
+
/**
|
|
342
|
+
* @group Service Definitions
|
|
343
|
+
*/
|
|
149
344
|
static Switch: typeof Switch;
|
|
345
|
+
/**
|
|
346
|
+
* @group Service Definitions
|
|
347
|
+
*/
|
|
150
348
|
static TapManagement: typeof TapManagement;
|
|
349
|
+
/**
|
|
350
|
+
* @group Service Definitions
|
|
351
|
+
*/
|
|
151
352
|
static TargetControl: typeof TargetControl;
|
|
353
|
+
/**
|
|
354
|
+
* @group Service Definitions
|
|
355
|
+
*/
|
|
152
356
|
static TargetControlManagement: typeof TargetControlManagement;
|
|
357
|
+
/**
|
|
358
|
+
* @group Service Definitions
|
|
359
|
+
*/
|
|
153
360
|
static Television: typeof Television;
|
|
361
|
+
/**
|
|
362
|
+
* @group Service Definitions
|
|
363
|
+
*/
|
|
154
364
|
static TelevisionSpeaker: typeof TelevisionSpeaker;
|
|
365
|
+
/**
|
|
366
|
+
* @group Service Definitions
|
|
367
|
+
*/
|
|
155
368
|
static TemperatureSensor: typeof TemperatureSensor;
|
|
369
|
+
/**
|
|
370
|
+
* @group Service Definitions
|
|
371
|
+
*/
|
|
156
372
|
static Thermostat: typeof Thermostat;
|
|
373
|
+
/**
|
|
374
|
+
* @group Service Definitions
|
|
375
|
+
*/
|
|
157
376
|
static ThreadTransport: typeof ThreadTransport;
|
|
158
377
|
/**
|
|
378
|
+
* @group Service Definitions
|
|
159
379
|
* @deprecated Removed and not used anymore
|
|
160
380
|
*/
|
|
161
381
|
static TimeInformation: typeof TimeInformation;
|
|
382
|
+
/**
|
|
383
|
+
* @group Service Definitions
|
|
384
|
+
*/
|
|
162
385
|
static TransferTransportManagement: typeof TransferTransportManagement;
|
|
386
|
+
/**
|
|
387
|
+
* @group Service Definitions
|
|
388
|
+
*/
|
|
163
389
|
static Tunnel: typeof Tunnel;
|
|
164
390
|
/**
|
|
391
|
+
* @group Service Definitions
|
|
165
392
|
* @deprecated Please use {@link Service.Tunnel}.
|
|
166
393
|
*/
|
|
167
394
|
static TunneledBTLEAccessoryService: typeof Tunnel;
|
|
395
|
+
/**
|
|
396
|
+
* @group Service Definitions
|
|
397
|
+
*/
|
|
168
398
|
static Valve: typeof Valve;
|
|
399
|
+
/**
|
|
400
|
+
* @group Service Definitions
|
|
401
|
+
*/
|
|
169
402
|
static WiFiRouter: typeof WiFiRouter;
|
|
403
|
+
/**
|
|
404
|
+
* @group Service Definitions
|
|
405
|
+
*/
|
|
170
406
|
static WiFiSatellite: typeof WiFiSatellite;
|
|
407
|
+
/**
|
|
408
|
+
* @group Service Definitions
|
|
409
|
+
*/
|
|
171
410
|
static WiFiTransport: typeof WiFiTransport;
|
|
411
|
+
/**
|
|
412
|
+
* @group Service Definitions
|
|
413
|
+
*/
|
|
172
414
|
static Window: typeof Window;
|
|
415
|
+
/**
|
|
416
|
+
* @group Service Definitions
|
|
417
|
+
*/
|
|
173
418
|
static WindowCovering: typeof WindowCovering;
|
|
174
419
|
displayName: string;
|
|
175
420
|
UUID: string;
|
|
@@ -192,7 +437,7 @@ export declare class Service extends EventEmitter {
|
|
|
192
437
|
linkedServices: Service[];
|
|
193
438
|
constructor(displayName: string | undefined, UUID: string, subtype?: string);
|
|
194
439
|
/**
|
|
195
|
-
* Returns an id which uniquely identifies
|
|
440
|
+
* Returns an id which uniquely identifies a service on the associated accessory.
|
|
196
441
|
* The serviceId is a concatenation of the UUID for the service (defined by HAP) and the subtype (could be empty)
|
|
197
442
|
* which is programmatically defined by the programmer.
|
|
198
443
|
*
|
|
@@ -209,13 +454,13 @@ export declare class Service extends EventEmitter {
|
|
|
209
454
|
* This will happen immediately, if the service was already added to an accessory, or later
|
|
210
455
|
* when the service gets added to an accessory.
|
|
211
456
|
*
|
|
212
|
-
* @param isPrimary
|
|
457
|
+
* @param isPrimary - optional boolean (default true) if the service should be the primary service
|
|
213
458
|
*/
|
|
214
459
|
setPrimaryService(isPrimary?: boolean): void;
|
|
215
460
|
/**
|
|
216
461
|
* Marks the service as hidden
|
|
217
462
|
*
|
|
218
|
-
* @param isHidden
|
|
463
|
+
* @param isHidden - optional boolean (default true) if the service should be marked hidden
|
|
219
464
|
*/
|
|
220
465
|
setHiddenService(isHidden?: boolean): void;
|
|
221
466
|
/**
|
|
@@ -239,19 +484,89 @@ export declare class Service extends EventEmitter {
|
|
|
239
484
|
new (): Characteristic;
|
|
240
485
|
}>): Characteristic | undefined;
|
|
241
486
|
testCharacteristic<T extends WithUUID<typeof Characteristic>>(name: string | T): boolean;
|
|
487
|
+
/**
|
|
488
|
+
* This updates the value by calling the {@link CharacteristicEventTypes.SET} event handler associated with the characteristic.
|
|
489
|
+
* This acts the same way as when a HomeKit controller sends a `/characteristics` request to update the characteristic.
|
|
490
|
+
* An event notification will be sent to all connected HomeKit controllers which are registered
|
|
491
|
+
* to receive event notifications for this characteristic.
|
|
492
|
+
*
|
|
493
|
+
* This method behaves like a {@link Characteristic.updateValue} call with the addition that the own {@link CharacteristicEventTypes.SET}
|
|
494
|
+
* event handler is called.
|
|
495
|
+
*
|
|
496
|
+
* @param name - The name or the constructor of the desired {@link Characteristic}.
|
|
497
|
+
* @param value - The updated value.
|
|
498
|
+
*
|
|
499
|
+
* Note: If you don't want the {@link CharacteristicEventTypes.SET} to be called, refer to {@link updateCharacteristic}.
|
|
500
|
+
*/
|
|
242
501
|
setCharacteristic<T extends WithUUID<{
|
|
243
502
|
new (): Characteristic;
|
|
244
503
|
}>>(name: string | T, value: CharacteristicValue): Service;
|
|
504
|
+
/**
|
|
505
|
+
* Sets the state of the characteristic to an errored state.
|
|
506
|
+
*
|
|
507
|
+
* If a {@link Characteristic.onGet} or {@link CharacteristicEventTypes.GET} handler is set up,
|
|
508
|
+
* the errored state will be ignored and the characteristic will always query the latest state by calling the provided handler.
|
|
509
|
+
*
|
|
510
|
+
* If a generic error object is supplied, the characteristic tries to extract a {@link HAPStatus} code
|
|
511
|
+
* from the error message string. If not possible a generic {@link HAPStatus.SERVICE_COMMUNICATION_FAILURE} will be used.
|
|
512
|
+
* If the supplied error object is an instance of {@link HapStatusError} the corresponding status will be used.
|
|
513
|
+
*
|
|
514
|
+
* This doesn't call any registered {@link Characteristic.onSet} or {@link CharacteristicEventTypes.SET} handlers.
|
|
515
|
+
*
|
|
516
|
+
* Have a look at the
|
|
517
|
+
* {@link https://github.com/homebridge/HAP-NodeJS/wiki/Presenting-Erroneous-Accessory-State-to-the-User Presenting Erroneous Accessory State to the User}
|
|
518
|
+
* guide for more information on how to present erroneous state to the user.
|
|
519
|
+
*
|
|
520
|
+
* @param name - The name or the constructor of the desired {@link Characteristic}.
|
|
521
|
+
* @param error - The error object
|
|
522
|
+
*
|
|
523
|
+
* Note: Erroneous state is never **pushed** to the client side. Only, if the HomeKit client requests the current
|
|
524
|
+
* state of the Characteristic, the corresponding {@link HapStatusError} is returned. As described above,
|
|
525
|
+
* any {@link Characteristic.onGet} or {@link CharacteristicEventTypes.GET} handlers have preference.
|
|
526
|
+
*/
|
|
527
|
+
setCharacteristic<T extends WithUUID<{
|
|
528
|
+
new (): Characteristic;
|
|
529
|
+
}>>(name: string | T, error: HapStatusError | Error): Service;
|
|
530
|
+
/**
|
|
531
|
+
* This updates the value of the characteristic. If the value changed, an event notification will be sent to all connected
|
|
532
|
+
* HomeKit controllers which are registered to receive event notifications for this characteristic.
|
|
533
|
+
*
|
|
534
|
+
* @param name - The name or the constructor of the desired {@link Characteristic}.
|
|
535
|
+
* @param value - The new value.
|
|
536
|
+
*/
|
|
245
537
|
updateCharacteristic<T extends WithUUID<{
|
|
246
538
|
new (): Characteristic;
|
|
247
|
-
}>>(name: string | T, value: CharacteristicValue): Service;
|
|
539
|
+
}>>(name: string | T, value: Nullable<CharacteristicValue>): Service;
|
|
540
|
+
/**
|
|
541
|
+
* Sets the state of the characteristic to an errored state.
|
|
542
|
+
* If a {@link Characteristic.onGet} or {@link CharacteristicEventTypes.GET} handler is set up,
|
|
543
|
+
* the errored state will be ignored and the characteristic will always query the latest state by calling the provided handler.
|
|
544
|
+
*
|
|
545
|
+
* If a generic error object is supplied, the characteristic tries to extract a {@link HAPStatus} code
|
|
546
|
+
* from the error message string. If not possible a generic {@link HAPStatus.SERVICE_COMMUNICATION_FAILURE} will be used.
|
|
547
|
+
* If the supplied error object is an instance of {@link HapStatusError} the corresponding status will be used.
|
|
548
|
+
*
|
|
549
|
+
* @param name - The name or the constructor of the desired {@link Characteristic}.
|
|
550
|
+
* @param error - The error object
|
|
551
|
+
*
|
|
552
|
+
* Have a look at the
|
|
553
|
+
* {@link https://github.com/homebridge/HAP-NodeJS/wiki/Presenting-Erroneous-Accessory-State-to-the-User Presenting Erroneous Accessory State to the User}
|
|
554
|
+
* guide for more information on how to present erroneous state to the user.
|
|
555
|
+
*
|
|
556
|
+
* Note: Erroneous state is never **pushed** to the client side. Only, if the HomeKit client requests the current
|
|
557
|
+
* state of the Characteristic, the corresponding {@link HapStatusError} is returned. As described above,
|
|
558
|
+
* any {@link Characteristic.onGet} or {@link CharacteristicEventTypes.GET} handlers have precedence.
|
|
559
|
+
*/
|
|
560
|
+
updateCharacteristic<T extends WithUUID<{
|
|
561
|
+
new (): Characteristic;
|
|
562
|
+
}>>(name: string | T, error: HapStatusError | Error): Service;
|
|
248
563
|
addOptionalCharacteristic(characteristic: Characteristic | {
|
|
249
564
|
new (): Characteristic;
|
|
250
565
|
}): void;
|
|
251
566
|
/**
|
|
252
567
|
* This method was created to copy all characteristics from another service to this.
|
|
253
568
|
* It's only adopting is currently in homebridge to merge the AccessoryInformation service. So some things
|
|
254
|
-
*
|
|
569
|
+
* may be explicitly tailored towards this use case.
|
|
255
570
|
*
|
|
256
571
|
* It will not remove characteristics which are present currently but not added on the other characteristic.
|
|
257
572
|
* It will not replace the characteristic if the value is falsy (except of '0' or 'false')
|
|
@@ -298,4 +613,5 @@ export declare class Service extends EventEmitter {
|
|
|
298
613
|
*/
|
|
299
614
|
static deserialize(json: SerializedService): Service;
|
|
300
615
|
}
|
|
616
|
+
import "./definitions/ServiceDefinitions";
|
|
301
617
|
//# sourceMappingURL=Service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Service.d.ts","sourceRoot":"","sources":["../../src/lib/Service.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Service.d.ts","sourceRoot":"","sources":["../../src/lib/Service.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAA6B,MAAM,aAAa,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAA4B,wBAAwB,EAAE,MA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