@homebridge/hap-nodejs 2.3.1-beta.0 → 2.3.1-beta.2
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 +13 -4
- package/dist/accessories/types.d.ts +0 -1
- package/dist/hap.d.ts +1 -1
- package/dist/hap.js +6 -4
- package/dist/hap.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/internal-types.d.ts +6 -7
- package/dist/internal-types.js +1 -5
- package/dist/internal-types.js.map +1 -1
- package/dist/lib/Accessory.d.ts +49 -25
- package/dist/lib/Accessory.js +275 -171
- package/dist/lib/Accessory.js.map +1 -1
- package/dist/lib/Advertiser.d.ts +37 -18
- package/dist/lib/Advertiser.js +143 -62
- package/dist/lib/Advertiser.js.map +1 -1
- package/dist/lib/Bridge.d.ts +1 -2
- package/dist/lib/Bridge.js +1 -1
- package/dist/lib/Characteristic.d.ts +40 -21
- package/dist/lib/Characteristic.js +207 -153
- package/dist/lib/Characteristic.js.map +1 -1
- package/dist/lib/HAPServer.d.ts +19 -13
- package/dist/lib/HAPServer.js +266 -220
- package/dist/lib/HAPServer.js.map +1 -1
- package/dist/lib/Service.d.ts +16 -12
- package/dist/lib/Service.js +58 -37
- package/dist/lib/Service.js.map +1 -1
- package/dist/lib/camera/RTPProxy.d.ts +5 -5
- package/dist/lib/camera/RTPProxy.js +48 -23
- package/dist/lib/camera/RTPProxy.js.map +1 -1
- package/dist/lib/camera/RTPStreamManagement.d.ts +18 -13
- package/dist/lib/camera/RTPStreamManagement.js +247 -216
- package/dist/lib/camera/RTPStreamManagement.js.map +1 -1
- package/dist/lib/camera/RecordingManagement.d.ts +13 -13
- package/dist/lib/camera/RecordingManagement.js +115 -110
- package/dist/lib/camera/RecordingManagement.js.map +1 -1
- package/dist/lib/camera/index.d.ts +0 -1
- package/dist/lib/controller/AdaptiveLightingController.d.ts +41 -36
- package/dist/lib/controller/AdaptiveLightingController.js +126 -113
- package/dist/lib/controller/AdaptiveLightingController.js.map +1 -1
- package/dist/lib/controller/CameraController.d.ts +17 -17
- package/dist/lib/controller/CameraController.js +30 -26
- package/dist/lib/controller/CameraController.js.map +1 -1
- package/dist/lib/controller/Controller.d.ts +15 -12
- package/dist/lib/controller/Controller.js +0 -1
- package/dist/lib/controller/Controller.js.map +1 -1
- package/dist/lib/controller/DoorbellController.d.ts +6 -6
- package/dist/lib/controller/DoorbellController.js +10 -3
- package/dist/lib/controller/DoorbellController.js.map +1 -1
- package/dist/lib/controller/RemoteController.d.ts +46 -27
- package/dist/lib/controller/RemoteController.js +268 -178
- package/dist/lib/controller/RemoteController.js.map +1 -1
- package/dist/lib/controller/index.d.ts +0 -1
- package/dist/lib/datastream/DataStreamManagement.d.ts +6 -6
- package/dist/lib/datastream/DataStreamManagement.js +30 -26
- package/dist/lib/datastream/DataStreamManagement.js.map +1 -1
- package/dist/lib/datastream/DataStreamParser.d.ts +25 -8
- package/dist/lib/datastream/DataStreamParser.js +124 -105
- package/dist/lib/datastream/DataStreamParser.js.map +1 -1
- package/dist/lib/datastream/DataStreamServer.d.ts +47 -23
- package/dist/lib/datastream/DataStreamServer.js +285 -143
- package/dist/lib/datastream/DataStreamServer.js.map +1 -1
- package/dist/lib/datastream/index.d.ts +0 -1
- package/dist/lib/definitions/CharacteristicDefinitions.d.ts +35 -1
- package/dist/lib/definitions/CharacteristicDefinitions.js +649 -568
- package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
- package/dist/lib/definitions/ServiceDefinitions.d.ts +7 -1
- package/dist/lib/definitions/ServiceDefinitions.js +16 -1
- package/dist/lib/definitions/ServiceDefinitions.js.map +1 -1
- package/dist/lib/definitions/index.d.ts +0 -1
- package/dist/lib/gen/HomeKit.d.ts +0 -1
- package/dist/lib/model/AccessoryInfo.d.ts +5 -6
- package/dist/lib/model/AccessoryInfo.js +23 -19
- package/dist/lib/model/AccessoryInfo.js.map +1 -1
- package/dist/lib/model/ControllerStorage.d.ts +11 -5
- package/dist/lib/model/ControllerStorage.js +34 -8
- package/dist/lib/model/ControllerStorage.js.map +1 -1
- package/dist/lib/model/HAPFileStorage.d.ts +20 -2
- package/dist/lib/model/HAPFileStorage.js +59 -10
- package/dist/lib/model/HAPFileStorage.js.map +1 -1
- package/dist/lib/model/HAPStorage.d.ts +0 -1
- package/dist/lib/model/HAPStorage.js +6 -3
- package/dist/lib/model/HAPStorage.js.map +1 -1
- package/dist/lib/model/IdentifierCache.d.ts +2 -3
- package/dist/lib/model/IdentifierCache.js +26 -13
- package/dist/lib/model/IdentifierCache.js.map +1 -1
- package/dist/lib/tv/AccessControlManagement.d.ts +6 -7
- package/dist/lib/tv/AccessControlManagement.js +13 -19
- package/dist/lib/tv/AccessControlManagement.js.map +1 -1
- package/dist/lib/util/checkName.d.ts +1 -2
- package/dist/lib/util/checkName.js.map +1 -1
- package/dist/lib/util/clone.d.ts +0 -1
- package/dist/lib/util/clone.js.map +1 -1
- package/dist/lib/util/color-utils.d.ts +1 -2
- package/dist/lib/util/color-utils.js +1 -1
- package/dist/lib/util/errors.d.ts +4 -0
- package/dist/lib/util/errors.js +15 -0
- package/dist/lib/util/errors.js.map +1 -0
- package/dist/lib/util/eventedhttp.d.ts +63 -19
- package/dist/lib/util/eventedhttp.js +170 -48
- package/dist/lib/util/eventedhttp.js.map +1 -1
- package/dist/lib/util/hapCrypto.d.ts +1 -2
- package/dist/lib/util/hapCrypto.js +6 -7
- package/dist/lib/util/hapCrypto.js.map +1 -1
- package/dist/lib/util/hapStatusError.d.ts +0 -1
- package/dist/lib/util/hapStatusError.js +1 -1
- package/dist/lib/util/hapStatusError.js.map +1 -1
- package/dist/lib/util/net-utils.d.ts +1 -2
- package/dist/lib/util/net-utils.js +6 -7
- package/dist/lib/util/net-utils.js.map +1 -1
- package/dist/lib/util/once.d.ts +0 -1
- package/dist/lib/util/promise-utils.d.ts +1 -2
- package/dist/lib/util/promise-utils.js +2 -1
- package/dist/lib/util/promise-utils.js.map +1 -1
- package/dist/lib/util/request-util.d.ts +4 -4
- package/dist/lib/util/request-util.js +29 -28
- package/dist/lib/util/request-util.js.map +1 -1
- package/dist/lib/util/time.d.ts +1 -2
- package/dist/lib/util/time.js.map +1 -1
- package/dist/lib/util/tlv.d.ts +4 -4
- package/dist/lib/util/tlv.js +16 -5
- package/dist/lib/util/tlv.js.map +1 -1
- package/dist/lib/util/uuid.d.ts +5 -2
- package/dist/lib/util/uuid.js +6 -0
- package/dist/lib/util/uuid.js.map +1 -1
- package/dist/types.d.ts +20 -17
- package/dist/types.js +0 -1
- package/dist/types.js.map +1 -1
- package/package.json +8 -14
- package/dist/accessories/AirConditioner_accessory.d.ts +0 -2
- package/dist/accessories/AirConditioner_accessory.d.ts.map +0 -1
- package/dist/accessories/AirConditioner_accessory.js +0 -126
- package/dist/accessories/AirConditioner_accessory.js.map +0 -1
- package/dist/accessories/AppleTVRemote_accessory.d.ts +0 -2
- package/dist/accessories/AppleTVRemote_accessory.d.ts.map +0 -1
- package/dist/accessories/AppleTVRemote_accessory.js +0 -146
- package/dist/accessories/AppleTVRemote_accessory.js.map +0 -1
- package/dist/accessories/Camera_accessory.d.ts +0 -2
- package/dist/accessories/Camera_accessory.d.ts.map +0 -1
- package/dist/accessories/Camera_accessory.js +0 -562
- package/dist/accessories/Camera_accessory.js.map +0 -1
- package/dist/accessories/Fan_accessory.d.ts +0 -2
- package/dist/accessories/Fan_accessory.d.ts.map +0 -1
- package/dist/accessories/Fan_accessory.js +0 -71
- package/dist/accessories/Fan_accessory.js.map +0 -1
- package/dist/accessories/GarageDoorOpener_accessory.d.ts +0 -2
- package/dist/accessories/GarageDoorOpener_accessory.d.ts.map +0 -1
- package/dist/accessories/GarageDoorOpener_accessory.js +0 -76
- package/dist/accessories/GarageDoorOpener_accessory.js.map +0 -1
- package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts +0 -2
- package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts.map +0 -1
- package/dist/accessories/Light-AdaptiveLighting_accessory.js +0 -103
- package/dist/accessories/Light-AdaptiveLighting_accessory.js.map +0 -1
- package/dist/accessories/Light_accessory.d.ts +0 -2
- package/dist/accessories/Light_accessory.d.ts.map +0 -1
- package/dist/accessories/Light_accessory.js +0 -143
- package/dist/accessories/Light_accessory.js.map +0 -1
- package/dist/accessories/Lock_accessory.d.ts +0 -2
- package/dist/accessories/Lock_accessory.d.ts.map +0 -1
- package/dist/accessories/Lock_accessory.js +0 -74
- package/dist/accessories/Lock_accessory.js.map +0 -1
- package/dist/accessories/MotionSensor_accessory.d.ts +0 -2
- package/dist/accessories/MotionSensor_accessory.d.ts.map +0 -1
- package/dist/accessories/MotionSensor_accessory.js +0 -43
- package/dist/accessories/MotionSensor_accessory.js.map +0 -1
- package/dist/accessories/Outlet_accessory.d.ts +0 -2
- package/dist/accessories/Outlet_accessory.d.ts.map +0 -1
- package/dist/accessories/Outlet_accessory.js +0 -77
- package/dist/accessories/Outlet_accessory.js.map +0 -1
- package/dist/accessories/SmartSpeaker_accessory.d.ts +0 -2
- package/dist/accessories/SmartSpeaker_accessory.d.ts.map +0 -1
- package/dist/accessories/SmartSpeaker_accessory.js +0 -42
- package/dist/accessories/SmartSpeaker_accessory.js.map +0 -1
- package/dist/accessories/Sprinkler_accessory.d.ts +0 -2
- package/dist/accessories/Sprinkler_accessory.d.ts.map +0 -1
- package/dist/accessories/Sprinkler_accessory.js +0 -126
- package/dist/accessories/Sprinkler_accessory.js.map +0 -1
- package/dist/accessories/TV_accessory.d.ts +0 -2
- package/dist/accessories/TV_accessory.d.ts.map +0 -1
- package/dist/accessories/TV_accessory.js +0 -99
- package/dist/accessories/TV_accessory.js.map +0 -1
- package/dist/accessories/TemperatureSensor_accessory.d.ts +0 -2
- package/dist/accessories/TemperatureSensor_accessory.d.ts.map +0 -1
- package/dist/accessories/TemperatureSensor_accessory.js +0 -42
- package/dist/accessories/TemperatureSensor_accessory.js.map +0 -1
- package/dist/accessories/Wi-FiRouter_accessory.d.ts +0 -3
- package/dist/accessories/Wi-FiRouter_accessory.d.ts.map +0 -1
- package/dist/accessories/Wi-FiRouter_accessory.js +0 -14
- package/dist/accessories/Wi-FiRouter_accessory.js.map +0 -1
- package/dist/accessories/Wi-FiSatellite_accessory.d.ts +0 -3
- package/dist/accessories/Wi-FiSatellite_accessory.d.ts.map +0 -1
- package/dist/accessories/Wi-FiSatellite_accessory.js +0 -16
- package/dist/accessories/Wi-FiSatellite_accessory.js.map +0 -1
- package/dist/accessories/gstreamer-audioProducer.d.ts +0 -25
- package/dist/accessories/gstreamer-audioProducer.d.ts.map +0 -1
- package/dist/accessories/gstreamer-audioProducer.js +0 -145
- package/dist/accessories/gstreamer-audioProducer.js.map +0 -1
- package/dist/accessories/types.d.ts.map +0 -1
- package/dist/hap.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/internal-types.d.ts.map +0 -1
- package/dist/lib/Accessory.d.ts.map +0 -1
- package/dist/lib/Advertiser.d.ts.map +0 -1
- package/dist/lib/Bridge.d.ts.map +0 -1
- package/dist/lib/Characteristic.d.ts.map +0 -1
- package/dist/lib/HAPServer.d.ts.map +0 -1
- package/dist/lib/Service.d.ts.map +0 -1
- package/dist/lib/camera/RTPProxy.d.ts.map +0 -1
- package/dist/lib/camera/RTPStreamManagement.d.ts.map +0 -1
- package/dist/lib/camera/RecordingManagement.d.ts.map +0 -1
- package/dist/lib/camera/index.d.ts.map +0 -1
- package/dist/lib/controller/AdaptiveLightingController.d.ts.map +0 -1
- package/dist/lib/controller/CameraController.d.ts.map +0 -1
- package/dist/lib/controller/Controller.d.ts.map +0 -1
- package/dist/lib/controller/DoorbellController.d.ts.map +0 -1
- package/dist/lib/controller/RemoteController.d.ts.map +0 -1
- package/dist/lib/controller/index.d.ts.map +0 -1
- package/dist/lib/datastream/DataStreamManagement.d.ts.map +0 -1
- package/dist/lib/datastream/DataStreamParser.d.ts.map +0 -1
- package/dist/lib/datastream/DataStreamServer.d.ts.map +0 -1
- package/dist/lib/datastream/index.d.ts.map +0 -1
- package/dist/lib/definitions/CharacteristicDefinitions.d.ts.map +0 -1
- package/dist/lib/definitions/ServiceDefinitions.d.ts.map +0 -1
- package/dist/lib/definitions/generate-definitions.d.ts +0 -34
- package/dist/lib/definitions/generate-definitions.d.ts.map +0 -1
- package/dist/lib/definitions/generate-definitions.js +0 -624
- package/dist/lib/definitions/generate-definitions.js.map +0 -1
- package/dist/lib/definitions/generator-configuration.d.ts +0 -22
- package/dist/lib/definitions/generator-configuration.d.ts.map +0 -1
- package/dist/lib/definitions/generator-configuration.js +0 -674
- package/dist/lib/definitions/generator-configuration.js.map +0 -1
- package/dist/lib/definitions/index.d.ts.map +0 -1
- package/dist/lib/gen/HomeKit.d.ts.map +0 -1
- package/dist/lib/model/AccessoryInfo.d.ts.map +0 -1
- package/dist/lib/model/ControllerStorage.d.ts.map +0 -1
- package/dist/lib/model/HAPFileStorage.d.ts.map +0 -1
- package/dist/lib/model/HAPStorage.d.ts.map +0 -1
- package/dist/lib/model/IdentifierCache.d.ts.map +0 -1
- package/dist/lib/tv/AccessControlManagement.d.ts.map +0 -1
- package/dist/lib/util/checkName.d.ts.map +0 -1
- package/dist/lib/util/clone.d.ts.map +0 -1
- package/dist/lib/util/color-utils.d.ts.map +0 -1
- package/dist/lib/util/eventedhttp.d.ts.map +0 -1
- package/dist/lib/util/hapCrypto.d.ts.map +0 -1
- package/dist/lib/util/hapStatusError.d.ts.map +0 -1
- package/dist/lib/util/net-utils.d.ts.map +0 -1
- package/dist/lib/util/once.d.ts.map +0 -1
- package/dist/lib/util/promise-utils.d.ts.map +0 -1
- package/dist/lib/util/request-util.d.ts.map +0 -1
- package/dist/lib/util/time.d.ts.map +0 -1
- package/dist/lib/util/tlv.d.ts.map +0 -1
- package/dist/lib/util/uuid.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
|
|
2
|
-
// V=
|
|
3
|
-
import { Characteristic } from '../Characteristic.js';
|
|
2
|
+
// V=891
|
|
3
|
+
import { Access, Characteristic, Formats, Perms, Units } from '../Characteristic.js';
|
|
4
4
|
/**
|
|
5
5
|
* Characteristic "Access Code Control Point"
|
|
6
6
|
* @since iOS 15
|
|
@@ -9,8 +9,8 @@ export class AccessCodeControlPoint extends Characteristic {
|
|
|
9
9
|
static UUID = '00000262-0000-1000-8000-0026BB765291';
|
|
10
10
|
constructor() {
|
|
11
11
|
super('Access Code Control Point', AccessCodeControlPoint.UUID, {
|
|
12
|
-
format:
|
|
13
|
-
perms: [
|
|
12
|
+
format: Formats.TLV8,
|
|
13
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
14
14
|
});
|
|
15
15
|
this.value = this.getDefaultValue();
|
|
16
16
|
}
|
|
@@ -24,8 +24,8 @@ export class AccessCodeSupportedConfiguration extends Characteristic {
|
|
|
24
24
|
static UUID = '00000261-0000-1000-8000-0026BB765291';
|
|
25
25
|
constructor() {
|
|
26
26
|
super('Access Code Supported Configuration', AccessCodeSupportedConfiguration.UUID, {
|
|
27
|
-
format:
|
|
28
|
-
perms: [
|
|
27
|
+
format: Formats.TLV8,
|
|
28
|
+
perms: [Perms.PAIRED_READ],
|
|
29
29
|
});
|
|
30
30
|
this.value = this.getDefaultValue();
|
|
31
31
|
}
|
|
@@ -38,8 +38,8 @@ export class AccessControlLevel extends Characteristic {
|
|
|
38
38
|
static UUID = '000000E5-0000-1000-8000-0026BB765291';
|
|
39
39
|
constructor() {
|
|
40
40
|
super('Access Control Level', AccessControlLevel.UUID, {
|
|
41
|
-
format:
|
|
42
|
-
perms: [
|
|
41
|
+
format: Formats.UINT16,
|
|
42
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
43
43
|
minValue: 0,
|
|
44
44
|
maxValue: 2,
|
|
45
45
|
minStep: 1,
|
|
@@ -56,8 +56,8 @@ export class AccessoryFlags extends Characteristic {
|
|
|
56
56
|
static REQUIRES_ADDITIONAL_SETUP_BIT_MASK = 1;
|
|
57
57
|
constructor() {
|
|
58
58
|
super('Accessory Flags', AccessoryFlags.UUID, {
|
|
59
|
-
format:
|
|
60
|
-
perms: [
|
|
59
|
+
format: Formats.UINT32,
|
|
60
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
61
61
|
});
|
|
62
62
|
this.value = this.getDefaultValue();
|
|
63
63
|
}
|
|
@@ -70,8 +70,8 @@ export class AccessoryIdentifier extends Characteristic {
|
|
|
70
70
|
static UUID = '00000057-0000-1000-8000-0026BB765291';
|
|
71
71
|
constructor() {
|
|
72
72
|
super('Accessory Identifier', AccessoryIdentifier.UUID, {
|
|
73
|
-
format:
|
|
74
|
-
perms: [
|
|
73
|
+
format: Formats.STRING,
|
|
74
|
+
perms: [Perms.PAIRED_READ],
|
|
75
75
|
});
|
|
76
76
|
this.value = this.getDefaultValue();
|
|
77
77
|
}
|
|
@@ -86,8 +86,8 @@ export class Active extends Characteristic {
|
|
|
86
86
|
static ACTIVE = 1;
|
|
87
87
|
constructor() {
|
|
88
88
|
super('Active', Active.UUID, {
|
|
89
|
-
format:
|
|
90
|
-
perms: [
|
|
89
|
+
format: Formats.UINT8,
|
|
90
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
91
91
|
minValue: 0,
|
|
92
92
|
maxValue: 1,
|
|
93
93
|
minStep: 1,
|
|
@@ -104,8 +104,8 @@ export class ActiveIdentifier extends Characteristic {
|
|
|
104
104
|
static UUID = '000000E7-0000-1000-8000-0026BB765291';
|
|
105
105
|
constructor() {
|
|
106
106
|
super('Active Identifier', ActiveIdentifier.UUID, {
|
|
107
|
-
format:
|
|
108
|
-
perms: [
|
|
107
|
+
format: Formats.UINT32,
|
|
108
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
109
109
|
});
|
|
110
110
|
this.value = this.getDefaultValue();
|
|
111
111
|
}
|
|
@@ -119,8 +119,8 @@ export class ActivityInterval extends Characteristic {
|
|
|
119
119
|
static UUID = '0000023B-0000-1000-8000-0026BB765291';
|
|
120
120
|
constructor() {
|
|
121
121
|
super('Activity Interval', ActivityInterval.UUID, {
|
|
122
|
-
format:
|
|
123
|
-
perms: [
|
|
122
|
+
format: Formats.UINT32,
|
|
123
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
124
124
|
minValue: 0,
|
|
125
125
|
minStep: 1,
|
|
126
126
|
});
|
|
@@ -135,8 +135,8 @@ export class AdministratorOnlyAccess extends Characteristic {
|
|
|
135
135
|
static UUID = '00000001-0000-1000-8000-0026BB765291';
|
|
136
136
|
constructor() {
|
|
137
137
|
super('Administrator Only Access', AdministratorOnlyAccess.UUID, {
|
|
138
|
-
format:
|
|
139
|
-
perms: [
|
|
138
|
+
format: Formats.BOOL,
|
|
139
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
140
140
|
});
|
|
141
141
|
this.value = this.getDefaultValue();
|
|
142
142
|
}
|
|
@@ -149,8 +149,8 @@ export class AirParticulateDensity extends Characteristic {
|
|
|
149
149
|
static UUID = '00000064-0000-1000-8000-0026BB765291';
|
|
150
150
|
constructor() {
|
|
151
151
|
super('Air Particulate Density', AirParticulateDensity.UUID, {
|
|
152
|
-
format:
|
|
153
|
-
perms: [
|
|
152
|
+
format: Formats.FLOAT,
|
|
153
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
154
154
|
minValue: 0,
|
|
155
155
|
maxValue: 1000,
|
|
156
156
|
});
|
|
@@ -167,8 +167,8 @@ export class AirParticulateSize extends Characteristic {
|
|
|
167
167
|
static _10_M = 1;
|
|
168
168
|
constructor() {
|
|
169
169
|
super('Air Particulate Size', AirParticulateSize.UUID, {
|
|
170
|
-
format:
|
|
171
|
-
perms: [
|
|
170
|
+
format: Formats.UINT8,
|
|
171
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
172
172
|
minValue: 0,
|
|
173
173
|
maxValue: 1,
|
|
174
174
|
minStep: 1,
|
|
@@ -185,8 +185,8 @@ export class AirPlayEnable extends Characteristic {
|
|
|
185
185
|
static UUID = '0000025B-0000-1000-8000-0026BB765291';
|
|
186
186
|
constructor() {
|
|
187
187
|
super('AirPlay Enable', AirPlayEnable.UUID, {
|
|
188
|
-
format:
|
|
189
|
-
perms: [
|
|
188
|
+
format: Formats.UINT8,
|
|
189
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
190
190
|
minValue: 0,
|
|
191
191
|
maxValue: 1,
|
|
192
192
|
});
|
|
@@ -207,8 +207,8 @@ export class AirQuality extends Characteristic {
|
|
|
207
207
|
static POOR = 5;
|
|
208
208
|
constructor() {
|
|
209
209
|
super('Air Quality', AirQuality.UUID, {
|
|
210
|
-
format:
|
|
211
|
-
perms: [
|
|
210
|
+
format: Formats.UINT8,
|
|
211
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
212
212
|
minValue: 0,
|
|
213
213
|
maxValue: 5,
|
|
214
214
|
minStep: 1,
|
|
@@ -225,8 +225,8 @@ export class AppMatchingIdentifier extends Characteristic {
|
|
|
225
225
|
static UUID = '000000A4-0000-1000-8000-0026BB765291';
|
|
226
226
|
constructor() {
|
|
227
227
|
super('App Matching Identifier', AppMatchingIdentifier.UUID, {
|
|
228
|
-
format:
|
|
229
|
-
perms: [
|
|
228
|
+
format: Formats.TLV8,
|
|
229
|
+
perms: [Perms.PAIRED_READ],
|
|
230
230
|
});
|
|
231
231
|
this.value = this.getDefaultValue();
|
|
232
232
|
}
|
|
@@ -239,8 +239,8 @@ export class AssetUpdateReadiness extends Characteristic {
|
|
|
239
239
|
static UUID = '00000269-0000-1000-8000-0026BB765291';
|
|
240
240
|
constructor() {
|
|
241
241
|
super('Asset Update Readiness', AssetUpdateReadiness.UUID, {
|
|
242
|
-
format:
|
|
243
|
-
perms: [
|
|
242
|
+
format: Formats.UINT32,
|
|
243
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
244
244
|
});
|
|
245
245
|
this.value = this.getDefaultValue();
|
|
246
246
|
}
|
|
@@ -253,8 +253,8 @@ export class AudioFeedback extends Characteristic {
|
|
|
253
253
|
static UUID = '00000005-0000-1000-8000-0026BB765291';
|
|
254
254
|
constructor() {
|
|
255
255
|
super('Audio Feedback', AudioFeedback.UUID, {
|
|
256
|
-
format:
|
|
257
|
-
perms: [
|
|
256
|
+
format: Formats.BOOL,
|
|
257
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
258
258
|
});
|
|
259
259
|
this.value = this.getDefaultValue();
|
|
260
260
|
}
|
|
@@ -267,9 +267,9 @@ export class BatteryLevel extends Characteristic {
|
|
|
267
267
|
static UUID = '00000068-0000-1000-8000-0026BB765291';
|
|
268
268
|
constructor() {
|
|
269
269
|
super('Battery Level', BatteryLevel.UUID, {
|
|
270
|
-
format:
|
|
271
|
-
perms: [
|
|
272
|
-
unit:
|
|
270
|
+
format: Formats.UINT8,
|
|
271
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
272
|
+
unit: Units.PERCENTAGE,
|
|
273
273
|
minValue: 0,
|
|
274
274
|
maxValue: 100,
|
|
275
275
|
minStep: 1,
|
|
@@ -285,9 +285,9 @@ export class Brightness extends Characteristic {
|
|
|
285
285
|
static UUID = '00000008-0000-1000-8000-0026BB765291';
|
|
286
286
|
constructor() {
|
|
287
287
|
super('Brightness', Brightness.UUID, {
|
|
288
|
-
format:
|
|
289
|
-
perms: [
|
|
290
|
-
unit:
|
|
288
|
+
format: Formats.INT,
|
|
289
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
290
|
+
unit: Units.PERCENTAGE,
|
|
291
291
|
minValue: 0,
|
|
292
292
|
maxValue: 100,
|
|
293
293
|
minStep: 1,
|
|
@@ -303,9 +303,9 @@ export class ButtonEvent extends Characteristic {
|
|
|
303
303
|
static UUID = '00000126-0000-1000-8000-0026BB765291';
|
|
304
304
|
constructor() {
|
|
305
305
|
super('Button Event', ButtonEvent.UUID, {
|
|
306
|
-
format:
|
|
307
|
-
perms: [
|
|
308
|
-
adminOnlyAccess: [
|
|
306
|
+
format: Formats.TLV8,
|
|
307
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
308
|
+
adminOnlyAccess: [Access.NOTIFY],
|
|
309
309
|
});
|
|
310
310
|
this.value = this.getDefaultValue();
|
|
311
311
|
}
|
|
@@ -320,12 +320,12 @@ export class CameraOperatingModeIndicator extends Characteristic {
|
|
|
320
320
|
static ENABLE = 1;
|
|
321
321
|
constructor() {
|
|
322
322
|
super('Camera Operating Mode Indicator', CameraOperatingModeIndicator.UUID, {
|
|
323
|
-
format:
|
|
323
|
+
format: Formats.UINT8,
|
|
324
324
|
perms: [
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
325
|
+
Perms.NOTIFY,
|
|
326
|
+
Perms.PAIRED_READ,
|
|
327
|
+
Perms.PAIRED_WRITE,
|
|
328
|
+
Perms.TIMED_WRITE,
|
|
329
329
|
],
|
|
330
330
|
minValue: 0,
|
|
331
331
|
maxValue: 1,
|
|
@@ -345,8 +345,8 @@ export class CarbonDioxideDetected extends Characteristic {
|
|
|
345
345
|
static CO2_LEVELS_ABNORMAL = 1;
|
|
346
346
|
constructor() {
|
|
347
347
|
super('Carbon Dioxide Detected', CarbonDioxideDetected.UUID, {
|
|
348
|
-
format:
|
|
349
|
-
perms: [
|
|
348
|
+
format: Formats.UINT8,
|
|
349
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
350
350
|
minValue: 0,
|
|
351
351
|
maxValue: 1,
|
|
352
352
|
minStep: 1,
|
|
@@ -363,8 +363,8 @@ export class CarbonDioxideLevel extends Characteristic {
|
|
|
363
363
|
static UUID = '00000093-0000-1000-8000-0026BB765291';
|
|
364
364
|
constructor() {
|
|
365
365
|
super('Carbon Dioxide Level', CarbonDioxideLevel.UUID, {
|
|
366
|
-
format:
|
|
367
|
-
perms: [
|
|
366
|
+
format: Formats.FLOAT,
|
|
367
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
368
368
|
minValue: 0,
|
|
369
369
|
maxValue: 100000,
|
|
370
370
|
minStep: 1,
|
|
@@ -380,8 +380,8 @@ export class CarbonDioxidePeakLevel extends Characteristic {
|
|
|
380
380
|
static UUID = '00000094-0000-1000-8000-0026BB765291';
|
|
381
381
|
constructor() {
|
|
382
382
|
super('Carbon Dioxide Peak Level', CarbonDioxidePeakLevel.UUID, {
|
|
383
|
-
format:
|
|
384
|
-
perms: [
|
|
383
|
+
format: Formats.FLOAT,
|
|
384
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
385
385
|
minValue: 0,
|
|
386
386
|
maxValue: 100000,
|
|
387
387
|
minStep: 1,
|
|
@@ -399,8 +399,8 @@ export class CarbonMonoxideDetected extends Characteristic {
|
|
|
399
399
|
static CO_LEVELS_ABNORMAL = 1;
|
|
400
400
|
constructor() {
|
|
401
401
|
super('Carbon Monoxide Detected', CarbonMonoxideDetected.UUID, {
|
|
402
|
-
format:
|
|
403
|
-
perms: [
|
|
402
|
+
format: Formats.UINT8,
|
|
403
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
404
404
|
minValue: 0,
|
|
405
405
|
maxValue: 1,
|
|
406
406
|
minStep: 1,
|
|
@@ -417,8 +417,8 @@ export class CarbonMonoxideLevel extends Characteristic {
|
|
|
417
417
|
static UUID = '00000090-0000-1000-8000-0026BB765291';
|
|
418
418
|
constructor() {
|
|
419
419
|
super('Carbon Monoxide Level', CarbonMonoxideLevel.UUID, {
|
|
420
|
-
format:
|
|
421
|
-
perms: [
|
|
420
|
+
format: Formats.FLOAT,
|
|
421
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
422
422
|
minValue: 0,
|
|
423
423
|
maxValue: 100,
|
|
424
424
|
minStep: 1,
|
|
@@ -434,8 +434,8 @@ export class CarbonMonoxidePeakLevel extends Characteristic {
|
|
|
434
434
|
static UUID = '00000091-0000-1000-8000-0026BB765291';
|
|
435
435
|
constructor() {
|
|
436
436
|
super('Carbon Monoxide Peak Level', CarbonMonoxidePeakLevel.UUID, {
|
|
437
|
-
format:
|
|
438
|
-
perms: [
|
|
437
|
+
format: Formats.FLOAT,
|
|
438
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
439
439
|
minValue: 0,
|
|
440
440
|
maxValue: 100,
|
|
441
441
|
minStep: 1,
|
|
@@ -452,8 +452,8 @@ export class CCAEnergyDetectThreshold extends Characteristic {
|
|
|
452
452
|
static UUID = '00000246-0000-1000-8000-0026BB765291';
|
|
453
453
|
constructor() {
|
|
454
454
|
super('CCA Energy Detect Threshold', CCAEnergyDetectThreshold.UUID, {
|
|
455
|
-
format:
|
|
456
|
-
perms: [
|
|
455
|
+
format: Formats.INT,
|
|
456
|
+
perms: [Perms.PAIRED_READ],
|
|
457
457
|
});
|
|
458
458
|
this.value = this.getDefaultValue();
|
|
459
459
|
}
|
|
@@ -467,8 +467,8 @@ export class CCASignalDetectThreshold extends Characteristic {
|
|
|
467
467
|
static UUID = '00000245-0000-1000-8000-0026BB765291';
|
|
468
468
|
constructor() {
|
|
469
469
|
super('CCA Signal Detect Threshold', CCASignalDetectThreshold.UUID, {
|
|
470
|
-
format:
|
|
471
|
-
perms: [
|
|
470
|
+
format: Formats.INT,
|
|
471
|
+
perms: [Perms.PAIRED_READ],
|
|
472
472
|
});
|
|
473
473
|
this.value = this.getDefaultValue();
|
|
474
474
|
}
|
|
@@ -482,8 +482,8 @@ export class CharacteristicValueActiveTransitionCount extends Characteristic {
|
|
|
482
482
|
static UUID = '0000024B-0000-1000-8000-0026BB765291';
|
|
483
483
|
constructor() {
|
|
484
484
|
super('Characteristic Value Active Transition Count', CharacteristicValueActiveTransitionCount.UUID, {
|
|
485
|
-
format:
|
|
486
|
-
perms: [
|
|
485
|
+
format: Formats.UINT8,
|
|
486
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
487
487
|
});
|
|
488
488
|
this.value = this.getDefaultValue();
|
|
489
489
|
}
|
|
@@ -497,8 +497,8 @@ export class CharacteristicValueTransitionControl extends Characteristic {
|
|
|
497
497
|
static UUID = '00000143-0000-1000-8000-0026BB765291';
|
|
498
498
|
constructor() {
|
|
499
499
|
super('Characteristic Value Transition Control', CharacteristicValueTransitionControl.UUID, {
|
|
500
|
-
format:
|
|
501
|
-
perms: [
|
|
500
|
+
format: Formats.TLV8,
|
|
501
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
502
502
|
});
|
|
503
503
|
this.value = this.getDefaultValue();
|
|
504
504
|
}
|
|
@@ -514,8 +514,8 @@ export class ChargingState extends Characteristic {
|
|
|
514
514
|
static NOT_CHARGEABLE = 2;
|
|
515
515
|
constructor() {
|
|
516
516
|
super('Charging State', ChargingState.UUID, {
|
|
517
|
-
format:
|
|
518
|
-
perms: [
|
|
517
|
+
format: Formats.UINT8,
|
|
518
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
519
519
|
minValue: 0,
|
|
520
520
|
maxValue: 2,
|
|
521
521
|
minStep: 1,
|
|
@@ -534,8 +534,8 @@ export class ClosedCaptions extends Characteristic {
|
|
|
534
534
|
static ENABLED = 1;
|
|
535
535
|
constructor() {
|
|
536
536
|
super('Closed Captions', ClosedCaptions.UUID, {
|
|
537
|
-
format:
|
|
538
|
-
perms: [
|
|
537
|
+
format: Formats.UINT8,
|
|
538
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
539
539
|
minValue: 0,
|
|
540
540
|
maxValue: 1,
|
|
541
541
|
minStep: 1,
|
|
@@ -552,8 +552,8 @@ export class ColorTemperature extends Characteristic {
|
|
|
552
552
|
static UUID = '000000CE-0000-1000-8000-0026BB765291';
|
|
553
553
|
constructor() {
|
|
554
554
|
super('Color Temperature', ColorTemperature.UUID, {
|
|
555
|
-
format:
|
|
556
|
-
perms: [
|
|
555
|
+
format: Formats.INT,
|
|
556
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
557
557
|
minValue: 140,
|
|
558
558
|
maxValue: 500,
|
|
559
559
|
minStep: 1,
|
|
@@ -570,8 +570,8 @@ export class ConfigurationState extends Characteristic {
|
|
|
570
570
|
static UUID = '00000263-0000-1000-8000-0026BB765291';
|
|
571
571
|
constructor() {
|
|
572
572
|
super('Configuration State', ConfigurationState.UUID, {
|
|
573
|
-
format:
|
|
574
|
-
perms: [
|
|
573
|
+
format: Formats.UINT16,
|
|
574
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
575
575
|
});
|
|
576
576
|
this.value = this.getDefaultValue();
|
|
577
577
|
}
|
|
@@ -584,8 +584,8 @@ export class ConfiguredName extends Characteristic {
|
|
|
584
584
|
static UUID = '000000E3-0000-1000-8000-0026BB765291';
|
|
585
585
|
constructor() {
|
|
586
586
|
super('Configured Name', ConfiguredName.UUID, {
|
|
587
|
-
format:
|
|
588
|
-
perms: [
|
|
587
|
+
format: Formats.STRING,
|
|
588
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
589
589
|
});
|
|
590
590
|
this.value = this.getDefaultValue();
|
|
591
591
|
}
|
|
@@ -598,8 +598,8 @@ export class ConnectionHealthMonitor extends Characteristic {
|
|
|
598
598
|
static UUID = '00000273-0000-1000-8000-0026BB765291';
|
|
599
599
|
constructor() {
|
|
600
600
|
super('Connection Health Monitor', ConnectionHealthMonitor.UUID, {
|
|
601
|
-
format:
|
|
602
|
-
perms: [
|
|
601
|
+
format: Formats.TLV8,
|
|
602
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
603
603
|
});
|
|
604
604
|
this.value = this.getDefaultValue();
|
|
605
605
|
}
|
|
@@ -614,8 +614,8 @@ export class ContactSensorState extends Characteristic {
|
|
|
614
614
|
static CONTACT_NOT_DETECTED = 1;
|
|
615
615
|
constructor() {
|
|
616
616
|
super('Contact Sensor State', ContactSensorState.UUID, {
|
|
617
|
-
format:
|
|
618
|
-
perms: [
|
|
617
|
+
format: Formats.UINT8,
|
|
618
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
619
619
|
minValue: 0,
|
|
620
620
|
maxValue: 1,
|
|
621
621
|
minStep: 1,
|
|
@@ -632,9 +632,9 @@ export class CoolingThresholdTemperature extends Characteristic {
|
|
|
632
632
|
static UUID = '0000000D-0000-1000-8000-0026BB765291';
|
|
633
633
|
constructor() {
|
|
634
634
|
super('Cooling Threshold Temperature', CoolingThresholdTemperature.UUID, {
|
|
635
|
-
format:
|
|
636
|
-
perms: [
|
|
637
|
-
unit:
|
|
635
|
+
format: Formats.FLOAT,
|
|
636
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
637
|
+
unit: Units.CELSIUS,
|
|
638
638
|
minValue: 10,
|
|
639
639
|
maxValue: 35,
|
|
640
640
|
minStep: 0.1,
|
|
@@ -651,8 +651,8 @@ export class CryptoHash extends Characteristic {
|
|
|
651
651
|
static UUID = '00000250-0000-1000-8000-0026BB765291';
|
|
652
652
|
constructor() {
|
|
653
653
|
super('Crypto Hash', CryptoHash.UUID, {
|
|
654
|
-
format:
|
|
655
|
-
perms: [
|
|
654
|
+
format: Formats.TLV8,
|
|
655
|
+
perms: [Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
656
656
|
});
|
|
657
657
|
this.value = this.getDefaultValue();
|
|
658
658
|
}
|
|
@@ -668,8 +668,8 @@ export class CurrentAirPurifierState extends Characteristic {
|
|
|
668
668
|
static PURIFYING_AIR = 2;
|
|
669
669
|
constructor() {
|
|
670
670
|
super('Current Air Purifier State', CurrentAirPurifierState.UUID, {
|
|
671
|
-
format:
|
|
672
|
-
perms: [
|
|
671
|
+
format: Formats.UINT8,
|
|
672
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
673
673
|
minValue: 0,
|
|
674
674
|
maxValue: 2,
|
|
675
675
|
minStep: 1,
|
|
@@ -686,9 +686,9 @@ export class CurrentAmbientLightLevel extends Characteristic {
|
|
|
686
686
|
static UUID = '0000006B-0000-1000-8000-0026BB765291';
|
|
687
687
|
constructor() {
|
|
688
688
|
super('Current Ambient Light Level', CurrentAmbientLightLevel.UUID, {
|
|
689
|
-
format:
|
|
690
|
-
perms: [
|
|
691
|
-
unit:
|
|
689
|
+
format: Formats.FLOAT,
|
|
690
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
691
|
+
unit: Units.LUX,
|
|
692
692
|
minValue: 0.0001,
|
|
693
693
|
maxValue: 100000,
|
|
694
694
|
});
|
|
@@ -708,8 +708,8 @@ export class CurrentDoorState extends Characteristic {
|
|
|
708
708
|
static STOPPED = 4;
|
|
709
709
|
constructor() {
|
|
710
710
|
super('Current Door State', CurrentDoorState.UUID, {
|
|
711
|
-
format:
|
|
712
|
-
perms: [
|
|
711
|
+
format: Formats.UINT8,
|
|
712
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
713
713
|
minValue: 0,
|
|
714
714
|
maxValue: 4,
|
|
715
715
|
minStep: 1,
|
|
@@ -729,8 +729,8 @@ export class CurrentFanState extends Characteristic {
|
|
|
729
729
|
static BLOWING_AIR = 2;
|
|
730
730
|
constructor() {
|
|
731
731
|
super('Current Fan State', CurrentFanState.UUID, {
|
|
732
|
-
format:
|
|
733
|
-
perms: [
|
|
732
|
+
format: Formats.UINT8,
|
|
733
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
734
734
|
minValue: 0,
|
|
735
735
|
maxValue: 2,
|
|
736
736
|
minStep: 1,
|
|
@@ -751,8 +751,8 @@ export class CurrentHeaterCoolerState extends Characteristic {
|
|
|
751
751
|
static COOLING = 3;
|
|
752
752
|
constructor() {
|
|
753
753
|
super('Current Heater-Cooler State', CurrentHeaterCoolerState.UUID, {
|
|
754
|
-
format:
|
|
755
|
-
perms: [
|
|
754
|
+
format: Formats.UINT8,
|
|
755
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
756
756
|
minValue: 0,
|
|
757
757
|
maxValue: 3,
|
|
758
758
|
minStep: 1,
|
|
@@ -772,8 +772,8 @@ export class CurrentHeatingCoolingState extends Characteristic {
|
|
|
772
772
|
static COOL = 2;
|
|
773
773
|
constructor() {
|
|
774
774
|
super('Current Heating Cooling State', CurrentHeatingCoolingState.UUID, {
|
|
775
|
-
format:
|
|
776
|
-
perms: [
|
|
775
|
+
format: Formats.UINT8,
|
|
776
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
777
777
|
minValue: 0,
|
|
778
778
|
maxValue: 2,
|
|
779
779
|
minStep: 1,
|
|
@@ -790,9 +790,9 @@ export class CurrentHorizontalTiltAngle extends Characteristic {
|
|
|
790
790
|
static UUID = '0000006C-0000-1000-8000-0026BB765291';
|
|
791
791
|
constructor() {
|
|
792
792
|
super('Current Horizontal Tilt Angle', CurrentHorizontalTiltAngle.UUID, {
|
|
793
|
-
format:
|
|
794
|
-
perms: [
|
|
795
|
-
unit:
|
|
793
|
+
format: Formats.INT,
|
|
794
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
795
|
+
unit: Units.ARC_DEGREE,
|
|
796
796
|
minValue: -90,
|
|
797
797
|
maxValue: 90,
|
|
798
798
|
minStep: 1,
|
|
@@ -812,8 +812,8 @@ export class CurrentHumidifierDehumidifierState extends Characteristic {
|
|
|
812
812
|
static DEHUMIDIFYING = 3;
|
|
813
813
|
constructor() {
|
|
814
814
|
super('Current Humidifier-Dehumidifier State', CurrentHumidifierDehumidifierState.UUID, {
|
|
815
|
-
format:
|
|
816
|
-
perms: [
|
|
815
|
+
format: Formats.UINT8,
|
|
816
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
817
817
|
minValue: 0,
|
|
818
818
|
maxValue: 3,
|
|
819
819
|
minStep: 1,
|
|
@@ -835,8 +835,8 @@ export class CurrentMediaState extends Characteristic {
|
|
|
835
835
|
static INTERRUPTED = 5;
|
|
836
836
|
constructor() {
|
|
837
837
|
super('Current Media State', CurrentMediaState.UUID, {
|
|
838
|
-
format:
|
|
839
|
-
perms: [
|
|
838
|
+
format: Formats.UINT8,
|
|
839
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
840
840
|
minValue: 0,
|
|
841
841
|
maxValue: 5,
|
|
842
842
|
minStep: 1,
|
|
@@ -853,9 +853,9 @@ export class CurrentPosition extends Characteristic {
|
|
|
853
853
|
static UUID = '0000006D-0000-1000-8000-0026BB765291';
|
|
854
854
|
constructor() {
|
|
855
855
|
super('Current Position', CurrentPosition.UUID, {
|
|
856
|
-
format:
|
|
857
|
-
perms: [
|
|
858
|
-
unit:
|
|
856
|
+
format: Formats.UINT8,
|
|
857
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
858
|
+
unit: Units.PERCENTAGE,
|
|
859
859
|
minValue: 0,
|
|
860
860
|
maxValue: 100,
|
|
861
861
|
minStep: 1,
|
|
@@ -871,9 +871,9 @@ export class CurrentRelativeHumidity extends Characteristic {
|
|
|
871
871
|
static UUID = '00000010-0000-1000-8000-0026BB765291';
|
|
872
872
|
constructor() {
|
|
873
873
|
super('Current Relative Humidity', CurrentRelativeHumidity.UUID, {
|
|
874
|
-
format:
|
|
875
|
-
perms: [
|
|
876
|
-
unit:
|
|
874
|
+
format: Formats.FLOAT,
|
|
875
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
876
|
+
unit: Units.PERCENTAGE,
|
|
877
877
|
minValue: 0,
|
|
878
878
|
maxValue: 100,
|
|
879
879
|
minStep: 1,
|
|
@@ -892,8 +892,8 @@ export class CurrentSlatState extends Characteristic {
|
|
|
892
892
|
static SWINGING = 2;
|
|
893
893
|
constructor() {
|
|
894
894
|
super('Current Slat State', CurrentSlatState.UUID, {
|
|
895
|
-
format:
|
|
896
|
-
perms: [
|
|
895
|
+
format: Formats.UINT8,
|
|
896
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
897
897
|
minValue: 0,
|
|
898
898
|
maxValue: 2,
|
|
899
899
|
minStep: 1,
|
|
@@ -910,9 +910,9 @@ export class CurrentTemperature extends Characteristic {
|
|
|
910
910
|
static UUID = '00000011-0000-1000-8000-0026BB765291';
|
|
911
911
|
constructor() {
|
|
912
912
|
super('Current Temperature', CurrentTemperature.UUID, {
|
|
913
|
-
format:
|
|
914
|
-
perms: [
|
|
915
|
-
unit:
|
|
913
|
+
format: Formats.FLOAT,
|
|
914
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
915
|
+
unit: Units.CELSIUS,
|
|
916
916
|
minValue: -270,
|
|
917
917
|
maxValue: 100,
|
|
918
918
|
minStep: 0.1,
|
|
@@ -928,9 +928,9 @@ export class CurrentTiltAngle extends Characteristic {
|
|
|
928
928
|
static UUID = '000000C1-0000-1000-8000-0026BB765291';
|
|
929
929
|
constructor() {
|
|
930
930
|
super('Current Tilt Angle', CurrentTiltAngle.UUID, {
|
|
931
|
-
format:
|
|
932
|
-
perms: [
|
|
933
|
-
unit:
|
|
931
|
+
format: Formats.INT,
|
|
932
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
933
|
+
unit: Units.ARC_DEGREE,
|
|
934
934
|
minValue: -90,
|
|
935
935
|
maxValue: 90,
|
|
936
936
|
minStep: 1,
|
|
@@ -947,8 +947,8 @@ export class CurrentTransport extends Characteristic {
|
|
|
947
947
|
static UUID = '0000022B-0000-1000-8000-0026BB765291';
|
|
948
948
|
constructor() {
|
|
949
949
|
super('Current Transport', CurrentTransport.UUID, {
|
|
950
|
-
format:
|
|
951
|
-
perms: [
|
|
950
|
+
format: Formats.BOOL,
|
|
951
|
+
perms: [Perms.PAIRED_READ],
|
|
952
952
|
});
|
|
953
953
|
this.value = this.getDefaultValue();
|
|
954
954
|
}
|
|
@@ -961,9 +961,9 @@ export class CurrentVerticalTiltAngle extends Characteristic {
|
|
|
961
961
|
static UUID = '0000006E-0000-1000-8000-0026BB765291';
|
|
962
962
|
constructor() {
|
|
963
963
|
super('Current Vertical Tilt Angle', CurrentVerticalTiltAngle.UUID, {
|
|
964
|
-
format:
|
|
965
|
-
perms: [
|
|
966
|
-
unit:
|
|
964
|
+
format: Formats.INT,
|
|
965
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
966
|
+
unit: Units.ARC_DEGREE,
|
|
967
967
|
minValue: -90,
|
|
968
968
|
maxValue: 90,
|
|
969
969
|
minStep: 1,
|
|
@@ -981,8 +981,8 @@ export class CurrentVisibilityState extends Characteristic {
|
|
|
981
981
|
static HIDDEN = 1;
|
|
982
982
|
constructor() {
|
|
983
983
|
super('Current Visibility State', CurrentVisibilityState.UUID, {
|
|
984
|
-
format:
|
|
985
|
-
perms: [
|
|
984
|
+
format: Formats.UINT8,
|
|
985
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
986
986
|
minValue: 0,
|
|
987
987
|
maxValue: 1,
|
|
988
988
|
minStep: 1,
|
|
@@ -1000,8 +1000,8 @@ export class DataStreamHAPTransport extends Characteristic {
|
|
|
1000
1000
|
static UUID = '00000138-0000-1000-8000-0026BB765291';
|
|
1001
1001
|
constructor() {
|
|
1002
1002
|
super('Data Stream HAP Transport', DataStreamHAPTransport.UUID, {
|
|
1003
|
-
format:
|
|
1004
|
-
perms: [
|
|
1003
|
+
format: Formats.TLV8,
|
|
1004
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
1005
1005
|
});
|
|
1006
1006
|
this.value = this.getDefaultValue();
|
|
1007
1007
|
}
|
|
@@ -1015,8 +1015,8 @@ export class DataStreamHAPTransportInterrupt extends Characteristic {
|
|
|
1015
1015
|
static UUID = '00000139-0000-1000-8000-0026BB765291';
|
|
1016
1016
|
constructor() {
|
|
1017
1017
|
super('Data Stream HAP Transport Interrupt', DataStreamHAPTransportInterrupt.UUID, {
|
|
1018
|
-
format:
|
|
1019
|
-
perms: [
|
|
1018
|
+
format: Formats.TLV8,
|
|
1019
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1020
1020
|
});
|
|
1021
1021
|
this.value = this.getDefaultValue();
|
|
1022
1022
|
}
|
|
@@ -1030,9 +1030,9 @@ export class DiagonalFieldOfView extends Characteristic {
|
|
|
1030
1030
|
static UUID = '00000224-0000-1000-8000-0026BB765291';
|
|
1031
1031
|
constructor() {
|
|
1032
1032
|
super('Diagonal Field Of View', DiagonalFieldOfView.UUID, {
|
|
1033
|
-
format:
|
|
1034
|
-
perms: [
|
|
1035
|
-
unit:
|
|
1033
|
+
format: Formats.FLOAT,
|
|
1034
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1035
|
+
unit: Units.ARC_DEGREE,
|
|
1036
1036
|
minValue: 0,
|
|
1037
1037
|
maxValue: 360,
|
|
1038
1038
|
});
|
|
@@ -1047,8 +1047,8 @@ export class DigitalZoom extends Characteristic {
|
|
|
1047
1047
|
static UUID = '0000011D-0000-1000-8000-0026BB765291';
|
|
1048
1048
|
constructor() {
|
|
1049
1049
|
super('Digital Zoom', DigitalZoom.UUID, {
|
|
1050
|
-
format:
|
|
1051
|
-
perms: [
|
|
1050
|
+
format: Formats.FLOAT,
|
|
1051
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1052
1052
|
minStep: 0.1,
|
|
1053
1053
|
});
|
|
1054
1054
|
this.value = this.getDefaultValue();
|
|
@@ -1062,13 +1062,27 @@ export class DisplayOrder extends Characteristic {
|
|
|
1062
1062
|
static UUID = '00000136-0000-1000-8000-0026BB765291';
|
|
1063
1063
|
constructor() {
|
|
1064
1064
|
super('Display Order', DisplayOrder.UUID, {
|
|
1065
|
-
format:
|
|
1066
|
-
perms: [
|
|
1065
|
+
format: Formats.TLV8,
|
|
1066
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1067
1067
|
});
|
|
1068
1068
|
this.value = this.getDefaultValue();
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
1071
|
Characteristic.DisplayOrder = DisplayOrder;
|
|
1072
|
+
/**
|
|
1073
|
+
* Characteristic "Error Status"
|
|
1074
|
+
*/
|
|
1075
|
+
export class ErrorStatus extends Characteristic {
|
|
1076
|
+
static UUID = '00000330-0000-1000-8000-0026BB765291';
|
|
1077
|
+
constructor() {
|
|
1078
|
+
super('Error Status', ErrorStatus.UUID, {
|
|
1079
|
+
format: Formats.TLV8,
|
|
1080
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1081
|
+
});
|
|
1082
|
+
this.value = this.getDefaultValue();
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
Characteristic.ErrorStatus = ErrorStatus;
|
|
1072
1086
|
/**
|
|
1073
1087
|
* Characteristic "Event Retransmission Maximum"
|
|
1074
1088
|
* @since iOS 14
|
|
@@ -1077,8 +1091,8 @@ export class EventRetransmissionMaximum extends Characteristic {
|
|
|
1077
1091
|
static UUID = '0000023D-0000-1000-8000-0026BB765291';
|
|
1078
1092
|
constructor() {
|
|
1079
1093
|
super('Event Retransmission Maximum', EventRetransmissionMaximum.UUID, {
|
|
1080
|
-
format:
|
|
1081
|
-
perms: [
|
|
1094
|
+
format: Formats.UINT8,
|
|
1095
|
+
perms: [Perms.PAIRED_READ],
|
|
1082
1096
|
});
|
|
1083
1097
|
this.value = this.getDefaultValue();
|
|
1084
1098
|
}
|
|
@@ -1093,8 +1107,8 @@ export class EventSnapshotsActive extends Characteristic {
|
|
|
1093
1107
|
static ENABLE = 1;
|
|
1094
1108
|
constructor() {
|
|
1095
1109
|
super('Event Snapshots Active', EventSnapshotsActive.UUID, {
|
|
1096
|
-
format:
|
|
1097
|
-
perms: [
|
|
1110
|
+
format: Formats.UINT8,
|
|
1111
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1098
1112
|
minValue: 0,
|
|
1099
1113
|
maxValue: 1,
|
|
1100
1114
|
validValues: [0, 1],
|
|
@@ -1111,8 +1125,8 @@ export class EventTransmissionCounters extends Characteristic {
|
|
|
1111
1125
|
static UUID = '0000023E-0000-1000-8000-0026BB765291';
|
|
1112
1126
|
constructor() {
|
|
1113
1127
|
super('Event Transmission Counters', EventTransmissionCounters.UUID, {
|
|
1114
|
-
format:
|
|
1115
|
-
perms: [
|
|
1128
|
+
format: Formats.UINT32,
|
|
1129
|
+
perms: [Perms.PAIRED_READ],
|
|
1116
1130
|
});
|
|
1117
1131
|
this.value = this.getDefaultValue();
|
|
1118
1132
|
}
|
|
@@ -1127,8 +1141,8 @@ export class FilterChangeIndication extends Characteristic {
|
|
|
1127
1141
|
static CHANGE_FILTER = 1;
|
|
1128
1142
|
constructor() {
|
|
1129
1143
|
super('Filter Change Indication', FilterChangeIndication.UUID, {
|
|
1130
|
-
format:
|
|
1131
|
-
perms: [
|
|
1144
|
+
format: Formats.UINT8,
|
|
1145
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1132
1146
|
minValue: 0,
|
|
1133
1147
|
maxValue: 1,
|
|
1134
1148
|
minStep: 1,
|
|
@@ -1145,8 +1159,8 @@ export class FilterLifeLevel extends Characteristic {
|
|
|
1145
1159
|
static UUID = '000000AB-0000-1000-8000-0026BB765291';
|
|
1146
1160
|
constructor() {
|
|
1147
1161
|
super('Filter Life Level', FilterLifeLevel.UUID, {
|
|
1148
|
-
format:
|
|
1149
|
-
perms: [
|
|
1162
|
+
format: Formats.FLOAT,
|
|
1163
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1150
1164
|
minValue: 0,
|
|
1151
1165
|
maxValue: 100,
|
|
1152
1166
|
minStep: 1,
|
|
@@ -1162,13 +1176,27 @@ export class FirmwareRevision extends Characteristic {
|
|
|
1162
1176
|
static UUID = '00000052-0000-1000-8000-0026BB765291';
|
|
1163
1177
|
constructor() {
|
|
1164
1178
|
super('Firmware Revision', FirmwareRevision.UUID, {
|
|
1165
|
-
format:
|
|
1166
|
-
perms: [
|
|
1179
|
+
format: Formats.STRING,
|
|
1180
|
+
perms: [Perms.PAIRED_READ],
|
|
1167
1181
|
});
|
|
1168
1182
|
this.value = this.getDefaultValue();
|
|
1169
1183
|
}
|
|
1170
1184
|
}
|
|
1171
1185
|
Characteristic.FirmwareRevision = FirmwareRevision;
|
|
1186
|
+
/**
|
|
1187
|
+
* Characteristic "Firmware Update Enabled"
|
|
1188
|
+
*/
|
|
1189
|
+
export class FirmwareUpdateEnabled extends Characteristic {
|
|
1190
|
+
static UUID = '00000318-0000-1000-8000-0026BB765291';
|
|
1191
|
+
constructor() {
|
|
1192
|
+
super('Firmware Update Enabled', FirmwareUpdateEnabled.UUID, {
|
|
1193
|
+
format: Formats.BOOL,
|
|
1194
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1195
|
+
});
|
|
1196
|
+
this.value = this.getDefaultValue();
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
Characteristic.FirmwareUpdateEnabled = FirmwareUpdateEnabled;
|
|
1172
1200
|
/**
|
|
1173
1201
|
* Characteristic "Firmware Update Protocol List"
|
|
1174
1202
|
*/
|
|
@@ -1176,8 +1204,8 @@ export class FirmwareUpdateProtocolList extends Characteristic {
|
|
|
1176
1204
|
static UUID = '0000026F-0000-1000-8000-0026BB765291';
|
|
1177
1205
|
constructor() {
|
|
1178
1206
|
super('Firmware Update Protocol List', FirmwareUpdateProtocolList.UUID, {
|
|
1179
|
-
format:
|
|
1180
|
-
perms: [
|
|
1207
|
+
format: Formats.TLV8,
|
|
1208
|
+
perms: [Perms.PAIRED_READ],
|
|
1181
1209
|
});
|
|
1182
1210
|
this.value = this.getDefaultValue();
|
|
1183
1211
|
}
|
|
@@ -1190,8 +1218,8 @@ export class FirmwareUpdateReadiness extends Characteristic {
|
|
|
1190
1218
|
static UUID = '00000234-0000-1000-8000-0026BB765291';
|
|
1191
1219
|
constructor() {
|
|
1192
1220
|
super('Firmware Update Readiness', FirmwareUpdateReadiness.UUID, {
|
|
1193
|
-
format:
|
|
1194
|
-
perms: [
|
|
1221
|
+
format: Formats.TLV8,
|
|
1222
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1195
1223
|
});
|
|
1196
1224
|
this.value = this.getDefaultValue();
|
|
1197
1225
|
}
|
|
@@ -1204,8 +1232,8 @@ export class FirmwareUpdateStatus extends Characteristic {
|
|
|
1204
1232
|
static UUID = '00000235-0000-1000-8000-0026BB765291';
|
|
1205
1233
|
constructor() {
|
|
1206
1234
|
super('Firmware Update Status', FirmwareUpdateStatus.UUID, {
|
|
1207
|
-
format:
|
|
1208
|
-
perms: [
|
|
1235
|
+
format: Formats.TLV8,
|
|
1236
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1209
1237
|
});
|
|
1210
1238
|
this.value = this.getDefaultValue();
|
|
1211
1239
|
}
|
|
@@ -1219,8 +1247,8 @@ export class HardwareFinish extends Characteristic {
|
|
|
1219
1247
|
static UUID = '0000026C-0000-1000-8000-0026BB765291';
|
|
1220
1248
|
constructor() {
|
|
1221
1249
|
super('Hardware Finish', HardwareFinish.UUID, {
|
|
1222
|
-
format:
|
|
1223
|
-
perms: [
|
|
1250
|
+
format: Formats.TLV8,
|
|
1251
|
+
perms: [Perms.PAIRED_READ],
|
|
1224
1252
|
});
|
|
1225
1253
|
this.value = this.getDefaultValue();
|
|
1226
1254
|
}
|
|
@@ -1233,8 +1261,8 @@ export class HardwareRevision extends Characteristic {
|
|
|
1233
1261
|
static UUID = '00000053-0000-1000-8000-0026BB765291';
|
|
1234
1262
|
constructor() {
|
|
1235
1263
|
super('Hardware Revision', HardwareRevision.UUID, {
|
|
1236
|
-
format:
|
|
1237
|
-
perms: [
|
|
1264
|
+
format: Formats.STRING,
|
|
1265
|
+
perms: [Perms.PAIRED_READ],
|
|
1238
1266
|
});
|
|
1239
1267
|
this.value = this.getDefaultValue();
|
|
1240
1268
|
}
|
|
@@ -1248,8 +1276,8 @@ export class HeartBeat extends Characteristic {
|
|
|
1248
1276
|
static UUID = '0000024A-0000-1000-8000-0026BB765291';
|
|
1249
1277
|
constructor() {
|
|
1250
1278
|
super('Heart Beat', HeartBeat.UUID, {
|
|
1251
|
-
format:
|
|
1252
|
-
perms: [
|
|
1279
|
+
format: Formats.UINT32,
|
|
1280
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1253
1281
|
});
|
|
1254
1282
|
this.value = this.getDefaultValue();
|
|
1255
1283
|
}
|
|
@@ -1262,9 +1290,9 @@ export class HeatingThresholdTemperature extends Characteristic {
|
|
|
1262
1290
|
static UUID = '00000012-0000-1000-8000-0026BB765291';
|
|
1263
1291
|
constructor() {
|
|
1264
1292
|
super('Heating Threshold Temperature', HeatingThresholdTemperature.UUID, {
|
|
1265
|
-
format:
|
|
1266
|
-
perms: [
|
|
1267
|
-
unit:
|
|
1293
|
+
format: Formats.FLOAT,
|
|
1294
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1295
|
+
unit: Units.CELSIUS,
|
|
1268
1296
|
minValue: 0,
|
|
1269
1297
|
maxValue: 25,
|
|
1270
1298
|
minStep: 0.1,
|
|
@@ -1280,8 +1308,8 @@ export class HoldPosition extends Characteristic {
|
|
|
1280
1308
|
static UUID = '0000006F-0000-1000-8000-0026BB765291';
|
|
1281
1309
|
constructor() {
|
|
1282
1310
|
super('Hold Position', HoldPosition.UUID, {
|
|
1283
|
-
format:
|
|
1284
|
-
perms: [
|
|
1311
|
+
format: Formats.BOOL,
|
|
1312
|
+
perms: [Perms.PAIRED_WRITE],
|
|
1285
1313
|
});
|
|
1286
1314
|
this.value = this.getDefaultValue();
|
|
1287
1315
|
}
|
|
@@ -1296,8 +1324,8 @@ export class HomeKitCameraActive extends Characteristic {
|
|
|
1296
1324
|
static ON = 1;
|
|
1297
1325
|
constructor() {
|
|
1298
1326
|
super('HomeKit Camera Active', HomeKitCameraActive.UUID, {
|
|
1299
|
-
format:
|
|
1300
|
-
perms: [
|
|
1327
|
+
format: Formats.UINT8,
|
|
1328
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1301
1329
|
minValue: 0,
|
|
1302
1330
|
maxValue: 1,
|
|
1303
1331
|
minStep: 1,
|
|
@@ -1314,9 +1342,9 @@ export class Hue extends Characteristic {
|
|
|
1314
1342
|
static UUID = '00000013-0000-1000-8000-0026BB765291';
|
|
1315
1343
|
constructor() {
|
|
1316
1344
|
super('Hue', Hue.UUID, {
|
|
1317
|
-
format:
|
|
1318
|
-
perms: [
|
|
1319
|
-
unit:
|
|
1345
|
+
format: Formats.FLOAT,
|
|
1346
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1347
|
+
unit: Units.ARC_DEGREE,
|
|
1320
1348
|
minValue: 0,
|
|
1321
1349
|
maxValue: 360,
|
|
1322
1350
|
minStep: 1,
|
|
@@ -1332,8 +1360,8 @@ export class Identifier extends Characteristic {
|
|
|
1332
1360
|
static UUID = '000000E6-0000-1000-8000-0026BB765291';
|
|
1333
1361
|
constructor() {
|
|
1334
1362
|
super('Identifier', Identifier.UUID, {
|
|
1335
|
-
format:
|
|
1336
|
-
perms: [
|
|
1363
|
+
format: Formats.UINT32,
|
|
1364
|
+
perms: [Perms.PAIRED_READ],
|
|
1337
1365
|
});
|
|
1338
1366
|
this.value = this.getDefaultValue();
|
|
1339
1367
|
}
|
|
@@ -1346,8 +1374,8 @@ export class Identify extends Characteristic {
|
|
|
1346
1374
|
static UUID = '00000014-0000-1000-8000-0026BB765291';
|
|
1347
1375
|
constructor() {
|
|
1348
1376
|
super('Identify', Identify.UUID, {
|
|
1349
|
-
format:
|
|
1350
|
-
perms: [
|
|
1377
|
+
format: Formats.BOOL,
|
|
1378
|
+
perms: [Perms.PAIRED_WRITE],
|
|
1351
1379
|
});
|
|
1352
1380
|
this.value = this.getDefaultValue();
|
|
1353
1381
|
}
|
|
@@ -1360,8 +1388,8 @@ export class ImageMirroring extends Characteristic {
|
|
|
1360
1388
|
static UUID = '0000011F-0000-1000-8000-0026BB765291';
|
|
1361
1389
|
constructor() {
|
|
1362
1390
|
super('Image Mirroring', ImageMirroring.UUID, {
|
|
1363
|
-
format:
|
|
1364
|
-
perms: [
|
|
1391
|
+
format: Formats.BOOL,
|
|
1392
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1365
1393
|
});
|
|
1366
1394
|
this.value = this.getDefaultValue();
|
|
1367
1395
|
}
|
|
@@ -1374,12 +1402,12 @@ export class ImageRotation extends Characteristic {
|
|
|
1374
1402
|
static UUID = '0000011E-0000-1000-8000-0026BB765291';
|
|
1375
1403
|
constructor() {
|
|
1376
1404
|
super('Image Rotation', ImageRotation.UUID, {
|
|
1377
|
-
format:
|
|
1378
|
-
perms: [
|
|
1379
|
-
unit:
|
|
1405
|
+
format: Formats.FLOAT,
|
|
1406
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1407
|
+
unit: Units.ARC_DEGREE,
|
|
1380
1408
|
minValue: 0,
|
|
1381
|
-
maxValue:
|
|
1382
|
-
minStep:
|
|
1409
|
+
maxValue: 270,
|
|
1410
|
+
minStep: 90,
|
|
1383
1411
|
});
|
|
1384
1412
|
this.value = this.getDefaultValue();
|
|
1385
1413
|
}
|
|
@@ -1398,8 +1426,8 @@ export class InputDeviceType extends Characteristic {
|
|
|
1398
1426
|
static AUDIO_SYSTEM = 5;
|
|
1399
1427
|
constructor() {
|
|
1400
1428
|
super('Input Device Type', InputDeviceType.UUID, {
|
|
1401
|
-
format:
|
|
1402
|
-
perms: [
|
|
1429
|
+
format: Formats.UINT8,
|
|
1430
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1403
1431
|
minValue: 0,
|
|
1404
1432
|
maxValue: 6,
|
|
1405
1433
|
minStep: 1,
|
|
@@ -1427,8 +1455,8 @@ export class InputSourceType extends Characteristic {
|
|
|
1427
1455
|
static APPLICATION = 10;
|
|
1428
1456
|
constructor() {
|
|
1429
1457
|
super('Input Source Type', InputSourceType.UUID, {
|
|
1430
|
-
format:
|
|
1431
|
-
perms: [
|
|
1458
|
+
format: Formats.UINT8,
|
|
1459
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1432
1460
|
minValue: 0,
|
|
1433
1461
|
maxValue: 10,
|
|
1434
1462
|
minStep: 1,
|
|
@@ -1447,8 +1475,8 @@ export class InUse extends Characteristic {
|
|
|
1447
1475
|
static IN_USE = 1;
|
|
1448
1476
|
constructor() {
|
|
1449
1477
|
super('In Use', InUse.UUID, {
|
|
1450
|
-
format:
|
|
1451
|
-
perms: [
|
|
1478
|
+
format: Formats.UINT8,
|
|
1479
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1452
1480
|
minValue: 0,
|
|
1453
1481
|
maxValue: 1,
|
|
1454
1482
|
minStep: 1,
|
|
@@ -1467,8 +1495,8 @@ export class IsConfigured extends Characteristic {
|
|
|
1467
1495
|
static CONFIGURED = 1;
|
|
1468
1496
|
constructor() {
|
|
1469
1497
|
super('Is Configured', IsConfigured.UUID, {
|
|
1470
|
-
format:
|
|
1471
|
-
perms: [
|
|
1498
|
+
format: Formats.UINT8,
|
|
1499
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1472
1500
|
minValue: 0,
|
|
1473
1501
|
maxValue: 1,
|
|
1474
1502
|
minStep: 1,
|
|
@@ -1487,8 +1515,8 @@ export class LeakDetected extends Characteristic {
|
|
|
1487
1515
|
static LEAK_DETECTED = 1;
|
|
1488
1516
|
constructor() {
|
|
1489
1517
|
super('Leak Detected', LeakDetected.UUID, {
|
|
1490
|
-
format:
|
|
1491
|
-
perms: [
|
|
1518
|
+
format: Formats.UINT8,
|
|
1519
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1492
1520
|
minValue: 0,
|
|
1493
1521
|
maxValue: 1,
|
|
1494
1522
|
minStep: 1,
|
|
@@ -1505,8 +1533,8 @@ export class ListPairings extends Characteristic {
|
|
|
1505
1533
|
static UUID = '00000050-0000-1000-8000-0026BB765291';
|
|
1506
1534
|
constructor() {
|
|
1507
1535
|
super('List Pairings', ListPairings.UUID, {
|
|
1508
|
-
format:
|
|
1509
|
-
perms: [
|
|
1536
|
+
format: Formats.TLV8,
|
|
1537
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1510
1538
|
});
|
|
1511
1539
|
this.value = this.getDefaultValue();
|
|
1512
1540
|
}
|
|
@@ -1519,8 +1547,8 @@ export class LockControlPoint extends Characteristic {
|
|
|
1519
1547
|
static UUID = '00000019-0000-1000-8000-0026BB765291';
|
|
1520
1548
|
constructor() {
|
|
1521
1549
|
super('Lock Control Point', LockControlPoint.UUID, {
|
|
1522
|
-
format:
|
|
1523
|
-
perms: [
|
|
1550
|
+
format: Formats.TLV8,
|
|
1551
|
+
perms: [Perms.PAIRED_WRITE],
|
|
1524
1552
|
});
|
|
1525
1553
|
this.value = this.getDefaultValue();
|
|
1526
1554
|
}
|
|
@@ -1537,8 +1565,8 @@ export class LockCurrentState extends Characteristic {
|
|
|
1537
1565
|
static UNKNOWN = 3;
|
|
1538
1566
|
constructor() {
|
|
1539
1567
|
super('Lock Current State', LockCurrentState.UUID, {
|
|
1540
|
-
format:
|
|
1541
|
-
perms: [
|
|
1568
|
+
format: Formats.UINT8,
|
|
1569
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1542
1570
|
minValue: 0,
|
|
1543
1571
|
maxValue: 3,
|
|
1544
1572
|
minStep: 1,
|
|
@@ -1566,8 +1594,8 @@ export class LockLastKnownAction extends Characteristic {
|
|
|
1566
1594
|
static UNSECURED_PHYSICALLY = 10;
|
|
1567
1595
|
constructor() {
|
|
1568
1596
|
super('Lock Last Known Action', LockLastKnownAction.UUID, {
|
|
1569
|
-
format:
|
|
1570
|
-
perms: [
|
|
1597
|
+
format: Formats.UINT8,
|
|
1598
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1571
1599
|
minValue: 0,
|
|
1572
1600
|
maxValue: 10,
|
|
1573
1601
|
minStep: 1,
|
|
@@ -1584,9 +1612,9 @@ export class LockManagementAutoSecurityTimeout extends Characteristic {
|
|
|
1584
1612
|
static UUID = '0000001A-0000-1000-8000-0026BB765291';
|
|
1585
1613
|
constructor() {
|
|
1586
1614
|
super('Lock Management Auto Security Timeout', LockManagementAutoSecurityTimeout.UUID, {
|
|
1587
|
-
format:
|
|
1588
|
-
perms: [
|
|
1589
|
-
unit:
|
|
1615
|
+
format: Formats.UINT32,
|
|
1616
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1617
|
+
unit: Units.SECONDS,
|
|
1590
1618
|
});
|
|
1591
1619
|
this.value = this.getDefaultValue();
|
|
1592
1620
|
}
|
|
@@ -1601,8 +1629,8 @@ export class LockPhysicalControls extends Characteristic {
|
|
|
1601
1629
|
static CONTROL_LOCK_ENABLED = 1;
|
|
1602
1630
|
constructor() {
|
|
1603
1631
|
super('Lock Physical Controls', LockPhysicalControls.UUID, {
|
|
1604
|
-
format:
|
|
1605
|
-
perms: [
|
|
1632
|
+
format: Formats.UINT8,
|
|
1633
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1606
1634
|
minValue: 0,
|
|
1607
1635
|
maxValue: 1,
|
|
1608
1636
|
minStep: 1,
|
|
@@ -1621,8 +1649,8 @@ export class LockTargetState extends Characteristic {
|
|
|
1621
1649
|
static SECURED = 1;
|
|
1622
1650
|
constructor() {
|
|
1623
1651
|
super('Lock Target State', LockTargetState.UUID, {
|
|
1624
|
-
format:
|
|
1625
|
-
perms: [
|
|
1652
|
+
format: Formats.UINT8,
|
|
1653
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1626
1654
|
minValue: 0,
|
|
1627
1655
|
maxValue: 1,
|
|
1628
1656
|
minStep: 1,
|
|
@@ -1639,8 +1667,8 @@ export class Logs extends Characteristic {
|
|
|
1639
1667
|
static UUID = '0000001F-0000-1000-8000-0026BB765291';
|
|
1640
1668
|
constructor() {
|
|
1641
1669
|
super('Logs', Logs.UUID, {
|
|
1642
|
-
format:
|
|
1643
|
-
perms: [
|
|
1670
|
+
format: Formats.TLV8,
|
|
1671
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1644
1672
|
});
|
|
1645
1673
|
this.value = this.getDefaultValue();
|
|
1646
1674
|
}
|
|
@@ -1654,8 +1682,8 @@ export class MACRetransmissionMaximum extends Characteristic {
|
|
|
1654
1682
|
static UUID = '00000247-0000-1000-8000-0026BB765291';
|
|
1655
1683
|
constructor() {
|
|
1656
1684
|
super('MAC Retransmission Maximum', MACRetransmissionMaximum.UUID, {
|
|
1657
|
-
format:
|
|
1658
|
-
perms: [
|
|
1685
|
+
format: Formats.UINT8,
|
|
1686
|
+
perms: [Perms.PAIRED_READ],
|
|
1659
1687
|
});
|
|
1660
1688
|
this.value = this.getDefaultValue();
|
|
1661
1689
|
}
|
|
@@ -1668,8 +1696,8 @@ export class MACTransmissionCounters extends Characteristic {
|
|
|
1668
1696
|
static UUID = '00000248-0000-1000-8000-0026BB765291';
|
|
1669
1697
|
constructor() {
|
|
1670
1698
|
super('MAC Transmission Counters', MACTransmissionCounters.UUID, {
|
|
1671
|
-
format:
|
|
1672
|
-
perms: [
|
|
1699
|
+
format: Formats.DATA,
|
|
1700
|
+
perms: [Perms.PAIRED_READ],
|
|
1673
1701
|
});
|
|
1674
1702
|
this.value = this.getDefaultValue();
|
|
1675
1703
|
}
|
|
@@ -1684,12 +1712,12 @@ export class ManagedNetworkEnable extends Characteristic {
|
|
|
1684
1712
|
static ENABLED = 1;
|
|
1685
1713
|
constructor() {
|
|
1686
1714
|
super('Managed Network Enable', ManagedNetworkEnable.UUID, {
|
|
1687
|
-
format:
|
|
1715
|
+
format: Formats.UINT8,
|
|
1688
1716
|
perms: [
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1717
|
+
Perms.NOTIFY,
|
|
1718
|
+
Perms.PAIRED_READ,
|
|
1719
|
+
Perms.PAIRED_WRITE,
|
|
1720
|
+
Perms.TIMED_WRITE,
|
|
1693
1721
|
],
|
|
1694
1722
|
minValue: 0,
|
|
1695
1723
|
maxValue: 1,
|
|
@@ -1708,8 +1736,13 @@ export class ManuallyDisabled extends Characteristic {
|
|
|
1708
1736
|
static DISABLED = 1;
|
|
1709
1737
|
constructor() {
|
|
1710
1738
|
super('Manually Disabled', ManuallyDisabled.UUID, {
|
|
1711
|
-
format:
|
|
1712
|
-
perms: [
|
|
1739
|
+
format: Formats.UINT8,
|
|
1740
|
+
perms: [
|
|
1741
|
+
Perms.NOTIFY,
|
|
1742
|
+
Perms.PAIRED_READ,
|
|
1743
|
+
Perms.PAIRED_WRITE,
|
|
1744
|
+
Perms.TIMED_WRITE,
|
|
1745
|
+
],
|
|
1713
1746
|
minValue: 0,
|
|
1714
1747
|
maxValue: 1,
|
|
1715
1748
|
minStep: 1,
|
|
@@ -1726,8 +1759,8 @@ export class Manufacturer extends Characteristic {
|
|
|
1726
1759
|
static UUID = '00000020-0000-1000-8000-0026BB765291';
|
|
1727
1760
|
constructor() {
|
|
1728
1761
|
super('Manufacturer', Manufacturer.UUID, {
|
|
1729
|
-
format:
|
|
1730
|
-
perms: [
|
|
1762
|
+
format: Formats.STRING,
|
|
1763
|
+
perms: [Perms.PAIRED_READ],
|
|
1731
1764
|
maxLen: 64,
|
|
1732
1765
|
});
|
|
1733
1766
|
this.value = this.getDefaultValue();
|
|
@@ -1741,8 +1774,8 @@ export class MatterFirmwareRevisionNumber extends Characteristic {
|
|
|
1741
1774
|
static UUID = '0000026D-0000-1000-8000-0026BB765291';
|
|
1742
1775
|
constructor() {
|
|
1743
1776
|
super('Matter Firmware Revision Number', MatterFirmwareRevisionNumber.UUID, {
|
|
1744
|
-
format:
|
|
1745
|
-
perms: [
|
|
1777
|
+
format: Formats.UINT32,
|
|
1778
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1746
1779
|
});
|
|
1747
1780
|
this.value = this.getDefaultValue();
|
|
1748
1781
|
}
|
|
@@ -1755,8 +1788,8 @@ export class MatterFirmwareUpdateStatus extends Characteristic {
|
|
|
1755
1788
|
static UUID = '0000026E-0000-1000-8000-0026BB765291';
|
|
1756
1789
|
constructor() {
|
|
1757
1790
|
super('Matter Firmware Update Status', MatterFirmwareUpdateStatus.UUID, {
|
|
1758
|
-
format:
|
|
1759
|
-
perms: [
|
|
1791
|
+
format: Formats.TLV8,
|
|
1792
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1760
1793
|
});
|
|
1761
1794
|
this.value = this.getDefaultValue();
|
|
1762
1795
|
}
|
|
@@ -1770,8 +1803,8 @@ export class MaximumTransmitPower extends Characteristic {
|
|
|
1770
1803
|
static UUID = '00000243-0000-1000-8000-0026BB765291';
|
|
1771
1804
|
constructor() {
|
|
1772
1805
|
super('Maximum Transmit Power', MaximumTransmitPower.UUID, {
|
|
1773
|
-
format:
|
|
1774
|
-
perms: [
|
|
1806
|
+
format: Formats.INT,
|
|
1807
|
+
perms: [Perms.PAIRED_READ],
|
|
1775
1808
|
});
|
|
1776
1809
|
this.value = this.getDefaultValue();
|
|
1777
1810
|
}
|
|
@@ -1784,8 +1817,8 @@ export class MediaAccessControlLevel extends Characteristic {
|
|
|
1784
1817
|
static UUID = '000000EE-0000-1000-8000-0026BB765291';
|
|
1785
1818
|
constructor() {
|
|
1786
1819
|
super('Media Access Control Level', MediaAccessControlLevel.UUID, {
|
|
1787
|
-
format:
|
|
1788
|
-
perms: [
|
|
1820
|
+
format: Formats.UINT8,
|
|
1821
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1789
1822
|
minValue: 0,
|
|
1790
1823
|
maxValue: 2,
|
|
1791
1824
|
minStep: 1,
|
|
@@ -1801,8 +1834,8 @@ export class MetricsBufferFullState extends Characteristic {
|
|
|
1801
1834
|
static UUID = '00000272-0000-1000-8000-0026BB765291';
|
|
1802
1835
|
constructor() {
|
|
1803
1836
|
super('Metrics Buffer Full State', MetricsBufferFullState.UUID, {
|
|
1804
|
-
format:
|
|
1805
|
-
perms: [
|
|
1837
|
+
format: Formats.BOOL,
|
|
1838
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1806
1839
|
});
|
|
1807
1840
|
this.value = this.getDefaultValue();
|
|
1808
1841
|
}
|
|
@@ -1815,8 +1848,8 @@ export class Model extends Characteristic {
|
|
|
1815
1848
|
static UUID = '00000021-0000-1000-8000-0026BB765291';
|
|
1816
1849
|
constructor() {
|
|
1817
1850
|
super('Model', Model.UUID, {
|
|
1818
|
-
format:
|
|
1819
|
-
perms: [
|
|
1851
|
+
format: Formats.STRING,
|
|
1852
|
+
perms: [Perms.PAIRED_READ],
|
|
1820
1853
|
maxLen: 64,
|
|
1821
1854
|
});
|
|
1822
1855
|
this.value = this.getDefaultValue();
|
|
@@ -1830,8 +1863,8 @@ export class MotionDetected extends Characteristic {
|
|
|
1830
1863
|
static UUID = '00000022-0000-1000-8000-0026BB765291';
|
|
1831
1864
|
constructor() {
|
|
1832
1865
|
super('Motion Detected', MotionDetected.UUID, {
|
|
1833
|
-
format:
|
|
1834
|
-
perms: [
|
|
1866
|
+
format: Formats.BOOL,
|
|
1867
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1835
1868
|
});
|
|
1836
1869
|
this.value = this.getDefaultValue();
|
|
1837
1870
|
}
|
|
@@ -1844,8 +1877,8 @@ export class MultifunctionButton extends Characteristic {
|
|
|
1844
1877
|
static UUID = '0000026B-0000-1000-8000-0026BB765291';
|
|
1845
1878
|
constructor() {
|
|
1846
1879
|
super('Multifunction Button', MultifunctionButton.UUID, {
|
|
1847
|
-
format:
|
|
1848
|
-
perms: [
|
|
1880
|
+
format: Formats.UINT8,
|
|
1881
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1849
1882
|
minValue: 0,
|
|
1850
1883
|
maxValue: 1,
|
|
1851
1884
|
});
|
|
@@ -1860,8 +1893,8 @@ export class Mute extends Characteristic {
|
|
|
1860
1893
|
static UUID = '0000011A-0000-1000-8000-0026BB765291';
|
|
1861
1894
|
constructor() {
|
|
1862
1895
|
super('Mute', Mute.UUID, {
|
|
1863
|
-
format:
|
|
1864
|
-
perms: [
|
|
1896
|
+
format: Formats.BOOL,
|
|
1897
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
1865
1898
|
});
|
|
1866
1899
|
this.value = this.getDefaultValue();
|
|
1867
1900
|
}
|
|
@@ -1874,8 +1907,8 @@ export class Name extends Characteristic {
|
|
|
1874
1907
|
static UUID = '00000023-0000-1000-8000-0026BB765291';
|
|
1875
1908
|
constructor() {
|
|
1876
1909
|
super('Name', Name.UUID, {
|
|
1877
|
-
format:
|
|
1878
|
-
perms: [
|
|
1910
|
+
format: Formats.STRING,
|
|
1911
|
+
perms: [Perms.PAIRED_READ],
|
|
1879
1912
|
maxLen: 64,
|
|
1880
1913
|
});
|
|
1881
1914
|
this.value = this.getDefaultValue();
|
|
@@ -1889,13 +1922,13 @@ export class NetworkAccessViolationControl extends Characteristic {
|
|
|
1889
1922
|
static UUID = '0000021F-0000-1000-8000-0026BB765291';
|
|
1890
1923
|
constructor() {
|
|
1891
1924
|
super('Network Access Violation Control', NetworkAccessViolationControl.UUID, {
|
|
1892
|
-
format:
|
|
1925
|
+
format: Formats.TLV8,
|
|
1893
1926
|
perms: [
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1927
|
+
Perms.NOTIFY,
|
|
1928
|
+
Perms.PAIRED_READ,
|
|
1929
|
+
Perms.PAIRED_WRITE,
|
|
1930
|
+
Perms.TIMED_WRITE,
|
|
1931
|
+
Perms.WRITE_RESPONSE,
|
|
1899
1932
|
],
|
|
1900
1933
|
});
|
|
1901
1934
|
this.value = this.getDefaultValue();
|
|
@@ -1909,13 +1942,13 @@ export class NetworkClientProfileControl extends Characteristic {
|
|
|
1909
1942
|
static UUID = '0000020C-0000-1000-8000-0026BB765291';
|
|
1910
1943
|
constructor() {
|
|
1911
1944
|
super('Network Client Profile Control', NetworkClientProfileControl.UUID, {
|
|
1912
|
-
format:
|
|
1945
|
+
format: Formats.TLV8,
|
|
1913
1946
|
perms: [
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1947
|
+
Perms.NOTIFY,
|
|
1948
|
+
Perms.PAIRED_READ,
|
|
1949
|
+
Perms.PAIRED_WRITE,
|
|
1950
|
+
Perms.TIMED_WRITE,
|
|
1951
|
+
Perms.WRITE_RESPONSE,
|
|
1919
1952
|
],
|
|
1920
1953
|
});
|
|
1921
1954
|
this.value = this.getDefaultValue();
|
|
@@ -1929,8 +1962,8 @@ export class NetworkClientStatusControl extends Characteristic {
|
|
|
1929
1962
|
static UUID = '0000020D-0000-1000-8000-0026BB765291';
|
|
1930
1963
|
constructor() {
|
|
1931
1964
|
super('Network Client Status Control', NetworkClientStatusControl.UUID, {
|
|
1932
|
-
format:
|
|
1933
|
-
perms: [
|
|
1965
|
+
format: Formats.TLV8,
|
|
1966
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
1934
1967
|
});
|
|
1935
1968
|
this.value = this.getDefaultValue();
|
|
1936
1969
|
}
|
|
@@ -1944,8 +1977,8 @@ export class NFCAccessControlPoint extends Characteristic {
|
|
|
1944
1977
|
static UUID = '00000264-0000-1000-8000-0026BB765291';
|
|
1945
1978
|
constructor() {
|
|
1946
1979
|
super('NFC Access Control Point', NFCAccessControlPoint.UUID, {
|
|
1947
|
-
format:
|
|
1948
|
-
perms: [
|
|
1980
|
+
format: Formats.TLV8,
|
|
1981
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
1949
1982
|
});
|
|
1950
1983
|
this.value = this.getDefaultValue();
|
|
1951
1984
|
}
|
|
@@ -1959,8 +1992,8 @@ export class NFCAccessSupportedConfiguration extends Characteristic {
|
|
|
1959
1992
|
static UUID = '00000265-0000-1000-8000-0026BB765291';
|
|
1960
1993
|
constructor() {
|
|
1961
1994
|
super('NFC Access Supported Configuration', NFCAccessSupportedConfiguration.UUID, {
|
|
1962
|
-
format:
|
|
1963
|
-
perms: [
|
|
1995
|
+
format: Formats.TLV8,
|
|
1996
|
+
perms: [Perms.PAIRED_READ],
|
|
1964
1997
|
});
|
|
1965
1998
|
this.value = this.getDefaultValue();
|
|
1966
1999
|
}
|
|
@@ -1973,12 +2006,12 @@ export class NightVision extends Characteristic {
|
|
|
1973
2006
|
static UUID = '0000011B-0000-1000-8000-0026BB765291';
|
|
1974
2007
|
constructor() {
|
|
1975
2008
|
super('Night Vision', NightVision.UUID, {
|
|
1976
|
-
format:
|
|
2009
|
+
format: Formats.BOOL,
|
|
1977
2010
|
perms: [
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
2011
|
+
Perms.NOTIFY,
|
|
2012
|
+
Perms.PAIRED_READ,
|
|
2013
|
+
Perms.PAIRED_WRITE,
|
|
2014
|
+
Perms.TIMED_WRITE,
|
|
1982
2015
|
],
|
|
1983
2016
|
});
|
|
1984
2017
|
this.value = this.getDefaultValue();
|
|
@@ -1992,8 +2025,8 @@ export class NitrogenDioxideDensity extends Characteristic {
|
|
|
1992
2025
|
static UUID = '000000C4-0000-1000-8000-0026BB765291';
|
|
1993
2026
|
constructor() {
|
|
1994
2027
|
super('Nitrogen Dioxide Density', NitrogenDioxideDensity.UUID, {
|
|
1995
|
-
format:
|
|
1996
|
-
perms: [
|
|
2028
|
+
format: Formats.FLOAT,
|
|
2029
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
1997
2030
|
minValue: 0,
|
|
1998
2031
|
maxValue: 1000,
|
|
1999
2032
|
minStep: 1,
|
|
@@ -2009,8 +2042,8 @@ export class ObstructionDetected extends Characteristic {
|
|
|
2009
2042
|
static UUID = '00000024-0000-1000-8000-0026BB765291';
|
|
2010
2043
|
constructor() {
|
|
2011
2044
|
super('Obstruction Detected', ObstructionDetected.UUID, {
|
|
2012
|
-
format:
|
|
2013
|
-
perms: [
|
|
2045
|
+
format: Formats.BOOL,
|
|
2046
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2014
2047
|
});
|
|
2015
2048
|
this.value = this.getDefaultValue();
|
|
2016
2049
|
}
|
|
@@ -2025,8 +2058,8 @@ export class OccupancyDetected extends Characteristic {
|
|
|
2025
2058
|
static OCCUPANCY_DETECTED = 1;
|
|
2026
2059
|
constructor() {
|
|
2027
2060
|
super('Occupancy Detected', OccupancyDetected.UUID, {
|
|
2028
|
-
format:
|
|
2029
|
-
perms: [
|
|
2061
|
+
format: Formats.UINT8,
|
|
2062
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2030
2063
|
minValue: 0,
|
|
2031
2064
|
maxValue: 1,
|
|
2032
2065
|
minStep: 1,
|
|
@@ -2043,8 +2076,8 @@ export class On extends Characteristic {
|
|
|
2043
2076
|
static UUID = '00000025-0000-1000-8000-0026BB765291';
|
|
2044
2077
|
constructor() {
|
|
2045
2078
|
super('On', On.UUID, {
|
|
2046
|
-
format:
|
|
2047
|
-
perms: [
|
|
2079
|
+
format: Formats.BOOL,
|
|
2080
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2048
2081
|
});
|
|
2049
2082
|
this.value = this.getDefaultValue();
|
|
2050
2083
|
}
|
|
@@ -2058,8 +2091,8 @@ export class OperatingStateResponse extends Characteristic {
|
|
|
2058
2091
|
static UUID = '00000232-0000-1000-8000-0026BB765291';
|
|
2059
2092
|
constructor() {
|
|
2060
2093
|
super('Operating State Response', OperatingStateResponse.UUID, {
|
|
2061
|
-
format:
|
|
2062
|
-
perms: [
|
|
2094
|
+
format: Formats.TLV8,
|
|
2095
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2063
2096
|
});
|
|
2064
2097
|
this.value = this.getDefaultValue();
|
|
2065
2098
|
}
|
|
@@ -2072,8 +2105,8 @@ export class OpticalZoom extends Characteristic {
|
|
|
2072
2105
|
static UUID = '0000011C-0000-1000-8000-0026BB765291';
|
|
2073
2106
|
constructor() {
|
|
2074
2107
|
super('Optical Zoom', OpticalZoom.UUID, {
|
|
2075
|
-
format:
|
|
2076
|
-
perms: [
|
|
2108
|
+
format: Formats.FLOAT,
|
|
2109
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2077
2110
|
minStep: 0.1,
|
|
2078
2111
|
});
|
|
2079
2112
|
this.value = this.getDefaultValue();
|
|
@@ -2087,8 +2120,8 @@ export class OutletInUse extends Characteristic {
|
|
|
2087
2120
|
static UUID = '00000026-0000-1000-8000-0026BB765291';
|
|
2088
2121
|
constructor() {
|
|
2089
2122
|
super('Outlet In Use', OutletInUse.UUID, {
|
|
2090
|
-
format:
|
|
2091
|
-
perms: [
|
|
2123
|
+
format: Formats.BOOL,
|
|
2124
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2092
2125
|
});
|
|
2093
2126
|
this.value = this.getDefaultValue();
|
|
2094
2127
|
}
|
|
@@ -2101,8 +2134,8 @@ export class OzoneDensity extends Characteristic {
|
|
|
2101
2134
|
static UUID = '000000C3-0000-1000-8000-0026BB765291';
|
|
2102
2135
|
constructor() {
|
|
2103
2136
|
super('Ozone Density', OzoneDensity.UUID, {
|
|
2104
|
-
format:
|
|
2105
|
-
perms: [
|
|
2137
|
+
format: Formats.FLOAT,
|
|
2138
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2106
2139
|
minValue: 0,
|
|
2107
2140
|
maxValue: 1000,
|
|
2108
2141
|
minStep: 1,
|
|
@@ -2118,8 +2151,8 @@ export class PairingFeatures extends Characteristic {
|
|
|
2118
2151
|
static UUID = '0000004F-0000-1000-8000-0026BB765291';
|
|
2119
2152
|
constructor() {
|
|
2120
2153
|
super('Pairing Features', PairingFeatures.UUID, {
|
|
2121
|
-
format:
|
|
2122
|
-
perms: [
|
|
2154
|
+
format: Formats.UINT8,
|
|
2155
|
+
perms: [Perms.PAIRED_READ],
|
|
2123
2156
|
});
|
|
2124
2157
|
this.value = this.getDefaultValue();
|
|
2125
2158
|
}
|
|
@@ -2132,8 +2165,8 @@ export class PairSetup extends Characteristic {
|
|
|
2132
2165
|
static UUID = '0000004C-0000-1000-8000-0026BB765291';
|
|
2133
2166
|
constructor() {
|
|
2134
2167
|
super('Pair Setup', PairSetup.UUID, {
|
|
2135
|
-
format:
|
|
2136
|
-
perms: [
|
|
2168
|
+
format: Formats.TLV8,
|
|
2169
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2137
2170
|
});
|
|
2138
2171
|
this.value = this.getDefaultValue();
|
|
2139
2172
|
}
|
|
@@ -2146,8 +2179,8 @@ export class PairVerify extends Characteristic {
|
|
|
2146
2179
|
static UUID = '0000004E-0000-1000-8000-0026BB765291';
|
|
2147
2180
|
constructor() {
|
|
2148
2181
|
super('Pair Verify', PairVerify.UUID, {
|
|
2149
|
-
format:
|
|
2150
|
-
perms: [
|
|
2182
|
+
format: Formats.TLV8,
|
|
2183
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2151
2184
|
});
|
|
2152
2185
|
this.value = this.getDefaultValue();
|
|
2153
2186
|
}
|
|
@@ -2160,8 +2193,8 @@ export class PasswordSetting extends Characteristic {
|
|
|
2160
2193
|
static UUID = '000000E4-0000-1000-8000-0026BB765291';
|
|
2161
2194
|
constructor() {
|
|
2162
2195
|
super('Password Setting', PasswordSetting.UUID, {
|
|
2163
|
-
format:
|
|
2164
|
-
perms: [
|
|
2196
|
+
format: Formats.TLV8,
|
|
2197
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2165
2198
|
});
|
|
2166
2199
|
this.value = this.getDefaultValue();
|
|
2167
2200
|
}
|
|
@@ -2176,8 +2209,8 @@ export class PeriodicSnapshotsActive extends Characteristic {
|
|
|
2176
2209
|
static ENABLE = 1;
|
|
2177
2210
|
constructor() {
|
|
2178
2211
|
super('Periodic Snapshots Active', PeriodicSnapshotsActive.UUID, {
|
|
2179
|
-
format:
|
|
2180
|
-
perms: [
|
|
2212
|
+
format: Formats.UINT8,
|
|
2213
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2181
2214
|
validValues: [0, 1],
|
|
2182
2215
|
});
|
|
2183
2216
|
this.value = this.getDefaultValue();
|
|
@@ -2199,8 +2232,8 @@ export class PictureMode extends Characteristic {
|
|
|
2199
2232
|
static CUSTOM = 7;
|
|
2200
2233
|
constructor() {
|
|
2201
2234
|
super('Picture Mode', PictureMode.UUID, {
|
|
2202
|
-
format:
|
|
2203
|
-
perms: [
|
|
2235
|
+
format: Formats.UINT8,
|
|
2236
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2204
2237
|
minValue: 0,
|
|
2205
2238
|
maxValue: 13,
|
|
2206
2239
|
minStep: 1,
|
|
@@ -2233,8 +2266,8 @@ export class Ping extends Characteristic {
|
|
|
2233
2266
|
static UUID = '0000023C-0000-1000-8000-0026BB765291';
|
|
2234
2267
|
constructor() {
|
|
2235
2268
|
super('Ping', Ping.UUID, {
|
|
2236
|
-
format:
|
|
2237
|
-
perms: [
|
|
2269
|
+
format: Formats.DATA,
|
|
2270
|
+
perms: [Perms.PAIRED_READ],
|
|
2238
2271
|
});
|
|
2239
2272
|
this.value = this.getDefaultValue();
|
|
2240
2273
|
}
|
|
@@ -2247,8 +2280,8 @@ export class PM10Density extends Characteristic {
|
|
|
2247
2280
|
static UUID = '000000C7-0000-1000-8000-0026BB765291';
|
|
2248
2281
|
constructor() {
|
|
2249
2282
|
super('PM10 Density', PM10Density.UUID, {
|
|
2250
|
-
format:
|
|
2251
|
-
perms: [
|
|
2283
|
+
format: Formats.FLOAT,
|
|
2284
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2252
2285
|
minValue: 0,
|
|
2253
2286
|
maxValue: 1000,
|
|
2254
2287
|
minStep: 1,
|
|
@@ -2264,8 +2297,8 @@ export class PM2_5Density extends Characteristic {
|
|
|
2264
2297
|
static UUID = '000000C6-0000-1000-8000-0026BB765291';
|
|
2265
2298
|
constructor() {
|
|
2266
2299
|
super('PM2.5 Density', PM2_5Density.UUID, {
|
|
2267
|
-
format:
|
|
2268
|
-
perms: [
|
|
2300
|
+
format: Formats.FLOAT,
|
|
2301
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2269
2302
|
minValue: 0,
|
|
2270
2303
|
maxValue: 1000,
|
|
2271
2304
|
minStep: 1,
|
|
@@ -2284,8 +2317,8 @@ export class PositionState extends Characteristic {
|
|
|
2284
2317
|
static STOPPED = 2;
|
|
2285
2318
|
constructor() {
|
|
2286
2319
|
super('Position State', PositionState.UUID, {
|
|
2287
|
-
format:
|
|
2288
|
-
perms: [
|
|
2320
|
+
format: Formats.UINT8,
|
|
2321
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2289
2322
|
minValue: 0,
|
|
2290
2323
|
maxValue: 2,
|
|
2291
2324
|
minStep: 1,
|
|
@@ -2304,8 +2337,8 @@ export class PowerModeSelection extends Characteristic {
|
|
|
2304
2337
|
static HIDE = 1;
|
|
2305
2338
|
constructor() {
|
|
2306
2339
|
super('Power Mode Selection', PowerModeSelection.UUID, {
|
|
2307
|
-
format:
|
|
2308
|
-
perms: [
|
|
2340
|
+
format: Formats.UINT8,
|
|
2341
|
+
perms: [Perms.PAIRED_WRITE],
|
|
2309
2342
|
minValue: 0,
|
|
2310
2343
|
maxValue: 1,
|
|
2311
2344
|
minStep: 1,
|
|
@@ -2322,8 +2355,8 @@ export class PreferredWiFiList extends Characteristic {
|
|
|
2322
2355
|
static UUID = '0000022E-0000-1000-8000-0026BB765291';
|
|
2323
2356
|
constructor() {
|
|
2324
2357
|
super('Preferred Wi-Fi List', PreferredWiFiList.UUID, {
|
|
2325
|
-
format:
|
|
2326
|
-
perms: [
|
|
2358
|
+
format: Formats.TLV8,
|
|
2359
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2327
2360
|
});
|
|
2328
2361
|
this.value = this.getDefaultValue();
|
|
2329
2362
|
}
|
|
@@ -2336,8 +2369,8 @@ export class ProductData extends Characteristic {
|
|
|
2336
2369
|
static UUID = '00000220-0000-1000-8000-0026BB765291';
|
|
2337
2370
|
constructor() {
|
|
2338
2371
|
super('Product Data', ProductData.UUID, {
|
|
2339
|
-
format:
|
|
2340
|
-
perms: [
|
|
2372
|
+
format: Formats.DATA,
|
|
2373
|
+
perms: [Perms.PAIRED_READ],
|
|
2341
2374
|
});
|
|
2342
2375
|
this.value = this.getDefaultValue();
|
|
2343
2376
|
}
|
|
@@ -2353,8 +2386,8 @@ export class ProgrammableSwitchEvent extends Characteristic {
|
|
|
2353
2386
|
static LONG_PRESS = 2;
|
|
2354
2387
|
constructor() {
|
|
2355
2388
|
super('Programmable Switch Event', ProgrammableSwitchEvent.UUID, {
|
|
2356
|
-
format:
|
|
2357
|
-
perms: [
|
|
2389
|
+
format: Formats.UINT8,
|
|
2390
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2358
2391
|
minValue: 0,
|
|
2359
2392
|
maxValue: 2,
|
|
2360
2393
|
minStep: 1,
|
|
@@ -2371,8 +2404,8 @@ export class ProgrammableSwitchOutputState extends Characteristic {
|
|
|
2371
2404
|
static UUID = '00000074-0000-1000-8000-0026BB765291';
|
|
2372
2405
|
constructor() {
|
|
2373
2406
|
super('Programmable Switch Output State', ProgrammableSwitchOutputState.UUID, {
|
|
2374
|
-
format:
|
|
2375
|
-
perms: [
|
|
2407
|
+
format: Formats.UINT8,
|
|
2408
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2376
2409
|
minValue: 0,
|
|
2377
2410
|
maxValue: 1,
|
|
2378
2411
|
minStep: 1,
|
|
@@ -2391,8 +2424,8 @@ export class ProgramMode extends Characteristic {
|
|
|
2391
2424
|
static PROGRAM_SCHEDULED_MANUAL_MODE = 2;
|
|
2392
2425
|
constructor() {
|
|
2393
2426
|
super('Program Mode', ProgramMode.UUID, {
|
|
2394
|
-
format:
|
|
2395
|
-
perms: [
|
|
2427
|
+
format: Formats.UINT8,
|
|
2428
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2396
2429
|
minValue: 0,
|
|
2397
2430
|
maxValue: 2,
|
|
2398
2431
|
minStep: 1,
|
|
@@ -2409,8 +2442,8 @@ export class ProximityControlEnabled extends Characteristic {
|
|
|
2409
2442
|
static UUID = '00000316-0000-1000-8000-0026BB765291';
|
|
2410
2443
|
constructor() {
|
|
2411
2444
|
super('Proximity Control Enabled', ProximityControlEnabled.UUID, {
|
|
2412
|
-
format:
|
|
2413
|
-
perms: [
|
|
2445
|
+
format: Formats.BOOL,
|
|
2446
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2414
2447
|
});
|
|
2415
2448
|
this.value = this.getDefaultValue();
|
|
2416
2449
|
}
|
|
@@ -2424,8 +2457,8 @@ export class ReceivedSignalStrengthIndication extends Characteristic {
|
|
|
2424
2457
|
static UUID = '0000023F-0000-1000-8000-0026BB765291';
|
|
2425
2458
|
constructor() {
|
|
2426
2459
|
super('Received Signal Strength Indication', ReceivedSignalStrengthIndication.UUID, {
|
|
2427
|
-
format:
|
|
2428
|
-
perms: [
|
|
2460
|
+
format: Formats.INT,
|
|
2461
|
+
perms: [Perms.PAIRED_READ],
|
|
2429
2462
|
});
|
|
2430
2463
|
this.value = this.getDefaultValue();
|
|
2431
2464
|
}
|
|
@@ -2439,8 +2472,8 @@ export class ReceiverSensitivity extends Characteristic {
|
|
|
2439
2472
|
static UUID = '00000244-0000-1000-8000-0026BB765291';
|
|
2440
2473
|
constructor() {
|
|
2441
2474
|
super('Receiver Sensitivity', ReceiverSensitivity.UUID, {
|
|
2442
|
-
format:
|
|
2443
|
-
perms: [
|
|
2475
|
+
format: Formats.INT,
|
|
2476
|
+
perms: [Perms.PAIRED_READ],
|
|
2444
2477
|
});
|
|
2445
2478
|
this.value = this.getDefaultValue();
|
|
2446
2479
|
}
|
|
@@ -2455,12 +2488,12 @@ export class RecordingAudioActive extends Characteristic {
|
|
|
2455
2488
|
static ENABLE = 1;
|
|
2456
2489
|
constructor() {
|
|
2457
2490
|
super('Recording Audio Active', RecordingAudioActive.UUID, {
|
|
2458
|
-
format:
|
|
2491
|
+
format: Formats.UINT8,
|
|
2459
2492
|
perms: [
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2493
|
+
Perms.NOTIFY,
|
|
2494
|
+
Perms.PAIRED_READ,
|
|
2495
|
+
Perms.PAIRED_WRITE,
|
|
2496
|
+
Perms.TIMED_WRITE,
|
|
2464
2497
|
],
|
|
2465
2498
|
validValues: [0, 1],
|
|
2466
2499
|
});
|
|
@@ -2475,9 +2508,9 @@ export class RelativeHumidityDehumidifierThreshold extends Characteristic {
|
|
|
2475
2508
|
static UUID = '000000C9-0000-1000-8000-0026BB765291';
|
|
2476
2509
|
constructor() {
|
|
2477
2510
|
super('Relative Humidity Dehumidifier Threshold', RelativeHumidityDehumidifierThreshold.UUID, {
|
|
2478
|
-
format:
|
|
2479
|
-
perms: [
|
|
2480
|
-
unit:
|
|
2511
|
+
format: Formats.FLOAT,
|
|
2512
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2513
|
+
unit: Units.PERCENTAGE,
|
|
2481
2514
|
minValue: 0,
|
|
2482
2515
|
maxValue: 100,
|
|
2483
2516
|
minStep: 1,
|
|
@@ -2493,9 +2526,9 @@ export class RelativeHumidityHumidifierThreshold extends Characteristic {
|
|
|
2493
2526
|
static UUID = '000000CA-0000-1000-8000-0026BB765291';
|
|
2494
2527
|
constructor() {
|
|
2495
2528
|
super('Relative Humidity Humidifier Threshold', RelativeHumidityHumidifierThreshold.UUID, {
|
|
2496
|
-
format:
|
|
2497
|
-
perms: [
|
|
2498
|
-
unit:
|
|
2529
|
+
format: Formats.FLOAT,
|
|
2530
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2531
|
+
unit: Units.PERCENTAGE,
|
|
2499
2532
|
minValue: 0,
|
|
2500
2533
|
maxValue: 100,
|
|
2501
2534
|
minStep: 1,
|
|
@@ -2512,8 +2545,8 @@ export class RelayControlPoint extends Characteristic {
|
|
|
2512
2545
|
static UUID = '0000005E-0000-1000-8000-0026BB765291';
|
|
2513
2546
|
constructor() {
|
|
2514
2547
|
super('Relay Control Point', RelayControlPoint.UUID, {
|
|
2515
|
-
format:
|
|
2516
|
-
perms: [
|
|
2548
|
+
format: Formats.TLV8,
|
|
2549
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2517
2550
|
});
|
|
2518
2551
|
this.value = this.getDefaultValue();
|
|
2519
2552
|
}
|
|
@@ -2528,8 +2561,8 @@ export class RelayEnabled extends Characteristic {
|
|
|
2528
2561
|
static UUID = '0000005B-0000-1000-8000-0026BB765291';
|
|
2529
2562
|
constructor() {
|
|
2530
2563
|
super('Relay Enabled', RelayEnabled.UUID, {
|
|
2531
|
-
format:
|
|
2532
|
-
perms: [
|
|
2564
|
+
format: Formats.BOOL,
|
|
2565
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2533
2566
|
});
|
|
2534
2567
|
this.value = this.getDefaultValue();
|
|
2535
2568
|
}
|
|
@@ -2544,8 +2577,8 @@ export class RelayState extends Characteristic {
|
|
|
2544
2577
|
static UUID = '0000005C-0000-1000-8000-0026BB765291';
|
|
2545
2578
|
constructor() {
|
|
2546
2579
|
super('Relay State', RelayState.UUID, {
|
|
2547
|
-
format:
|
|
2548
|
-
perms: [
|
|
2580
|
+
format: Formats.UINT8,
|
|
2581
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2549
2582
|
minValue: 0,
|
|
2550
2583
|
maxValue: 5,
|
|
2551
2584
|
minStep: 1,
|
|
@@ -2562,9 +2595,9 @@ export class RemainingDuration extends Characteristic {
|
|
|
2562
2595
|
static UUID = '000000D4-0000-1000-8000-0026BB765291';
|
|
2563
2596
|
constructor() {
|
|
2564
2597
|
super('Remaining Duration', RemainingDuration.UUID, {
|
|
2565
|
-
format:
|
|
2566
|
-
perms: [
|
|
2567
|
-
unit:
|
|
2598
|
+
format: Formats.UINT32,
|
|
2599
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2600
|
+
unit: Units.SECONDS,
|
|
2568
2601
|
minValue: 0,
|
|
2569
2602
|
maxValue: 3600,
|
|
2570
2603
|
minStep: 1,
|
|
@@ -2593,8 +2626,8 @@ export class RemoteKey extends Characteristic {
|
|
|
2593
2626
|
static INFORMATION = 15;
|
|
2594
2627
|
constructor() {
|
|
2595
2628
|
super('Remote Key', RemoteKey.UUID, {
|
|
2596
|
-
format:
|
|
2597
|
-
perms: [
|
|
2629
|
+
format: Formats.UINT8,
|
|
2630
|
+
perms: [Perms.PAIRED_WRITE],
|
|
2598
2631
|
minValue: 0,
|
|
2599
2632
|
maxValue: 16,
|
|
2600
2633
|
minStep: 1,
|
|
@@ -2629,8 +2662,8 @@ export class ResetFilterIndication extends Characteristic {
|
|
|
2629
2662
|
static UUID = '000000AD-0000-1000-8000-0026BB765291';
|
|
2630
2663
|
constructor() {
|
|
2631
2664
|
super('Reset Filter Indication', ResetFilterIndication.UUID, {
|
|
2632
|
-
format:
|
|
2633
|
-
perms: [
|
|
2665
|
+
format: Formats.UINT8,
|
|
2666
|
+
perms: [Perms.PAIRED_WRITE],
|
|
2634
2667
|
minValue: 1,
|
|
2635
2668
|
maxValue: 1,
|
|
2636
2669
|
minStep: 1,
|
|
@@ -2648,8 +2681,8 @@ export class RotationDirection extends Characteristic {
|
|
|
2648
2681
|
static COUNTER_CLOCKWISE = 1;
|
|
2649
2682
|
constructor() {
|
|
2650
2683
|
super('Rotation Direction', RotationDirection.UUID, {
|
|
2651
|
-
format:
|
|
2652
|
-
perms: [
|
|
2684
|
+
format: Formats.INT,
|
|
2685
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2653
2686
|
minValue: 0,
|
|
2654
2687
|
maxValue: 1,
|
|
2655
2688
|
minStep: 1,
|
|
@@ -2666,9 +2699,9 @@ export class RotationSpeed extends Characteristic {
|
|
|
2666
2699
|
static UUID = '00000029-0000-1000-8000-0026BB765291';
|
|
2667
2700
|
constructor() {
|
|
2668
2701
|
super('Rotation Speed', RotationSpeed.UUID, {
|
|
2669
|
-
format:
|
|
2670
|
-
perms: [
|
|
2671
|
-
unit:
|
|
2702
|
+
format: Formats.FLOAT,
|
|
2703
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2704
|
+
unit: Units.PERCENTAGE,
|
|
2672
2705
|
minValue: 0,
|
|
2673
2706
|
maxValue: 100,
|
|
2674
2707
|
minStep: 1,
|
|
@@ -2686,8 +2719,8 @@ export class RouterStatus extends Characteristic {
|
|
|
2686
2719
|
static NOT_READY = 1;
|
|
2687
2720
|
constructor() {
|
|
2688
2721
|
super('Router Status', RouterStatus.UUID, {
|
|
2689
|
-
format:
|
|
2690
|
-
perms: [
|
|
2722
|
+
format: Formats.UINT8,
|
|
2723
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2691
2724
|
minValue: 0,
|
|
2692
2725
|
maxValue: 1,
|
|
2693
2726
|
validValues: [0, 1],
|
|
@@ -2703,9 +2736,9 @@ export class Saturation extends Characteristic {
|
|
|
2703
2736
|
static UUID = '0000002F-0000-1000-8000-0026BB765291';
|
|
2704
2737
|
constructor() {
|
|
2705
2738
|
super('Saturation', Saturation.UUID, {
|
|
2706
|
-
format:
|
|
2707
|
-
perms: [
|
|
2708
|
-
unit:
|
|
2739
|
+
format: Formats.FLOAT,
|
|
2740
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2741
|
+
unit: Units.PERCENTAGE,
|
|
2709
2742
|
minValue: 0,
|
|
2710
2743
|
maxValue: 100,
|
|
2711
2744
|
minStep: 1,
|
|
@@ -2723,8 +2756,8 @@ export class SecuritySystemAlarmType extends Characteristic {
|
|
|
2723
2756
|
static UNKNOWN = 1;
|
|
2724
2757
|
constructor() {
|
|
2725
2758
|
super('Security System Alarm Type', SecuritySystemAlarmType.UUID, {
|
|
2726
|
-
format:
|
|
2727
|
-
perms: [
|
|
2759
|
+
format: Formats.UINT8,
|
|
2760
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2728
2761
|
minValue: 0,
|
|
2729
2762
|
maxValue: 1,
|
|
2730
2763
|
minStep: 1,
|
|
@@ -2746,8 +2779,8 @@ export class SecuritySystemCurrentState extends Characteristic {
|
|
|
2746
2779
|
static ALARM_TRIGGERED = 4;
|
|
2747
2780
|
constructor() {
|
|
2748
2781
|
super('Security System Current State', SecuritySystemCurrentState.UUID, {
|
|
2749
|
-
format:
|
|
2750
|
-
perms: [
|
|
2782
|
+
format: Formats.UINT8,
|
|
2783
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
2751
2784
|
minValue: 0,
|
|
2752
2785
|
maxValue: 4,
|
|
2753
2786
|
minStep: 1,
|
|
@@ -2768,8 +2801,8 @@ export class SecuritySystemTargetState extends Characteristic {
|
|
|
2768
2801
|
static DISARM = 3;
|
|
2769
2802
|
constructor() {
|
|
2770
2803
|
super('Security System Target State', SecuritySystemTargetState.UUID, {
|
|
2771
|
-
format:
|
|
2772
|
-
perms: [
|
|
2804
|
+
format: Formats.UINT8,
|
|
2805
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2773
2806
|
minValue: 0,
|
|
2774
2807
|
maxValue: 3,
|
|
2775
2808
|
minStep: 1,
|
|
@@ -2786,8 +2819,8 @@ export class SelectedAudioStreamConfiguration extends Characteristic {
|
|
|
2786
2819
|
static UUID = '00000128-0000-1000-8000-0026BB765291';
|
|
2787
2820
|
constructor() {
|
|
2788
2821
|
super('Selected Audio Stream Configuration', SelectedAudioStreamConfiguration.UUID, {
|
|
2789
|
-
format:
|
|
2790
|
-
perms: [
|
|
2822
|
+
format: Formats.TLV8,
|
|
2823
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2791
2824
|
});
|
|
2792
2825
|
this.value = this.getDefaultValue();
|
|
2793
2826
|
}
|
|
@@ -2800,8 +2833,8 @@ export class SelectedCameraRecordingConfiguration extends Characteristic {
|
|
|
2800
2833
|
static UUID = '00000209-0000-1000-8000-0026BB765291';
|
|
2801
2834
|
constructor() {
|
|
2802
2835
|
super('Selected Camera Recording Configuration', SelectedCameraRecordingConfiguration.UUID, {
|
|
2803
|
-
format:
|
|
2804
|
-
perms: [
|
|
2836
|
+
format: Formats.TLV8,
|
|
2837
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2805
2838
|
});
|
|
2806
2839
|
this.value = this.getDefaultValue();
|
|
2807
2840
|
}
|
|
@@ -2814,8 +2847,8 @@ export class SelectedDiagnosticsModes extends Characteristic {
|
|
|
2814
2847
|
static UUID = '0000024D-0000-1000-8000-0026BB765291';
|
|
2815
2848
|
constructor() {
|
|
2816
2849
|
super('Selected Diagnostics Modes', SelectedDiagnosticsModes.UUID, {
|
|
2817
|
-
format:
|
|
2818
|
-
perms: [
|
|
2850
|
+
format: Formats.UINT32,
|
|
2851
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2819
2852
|
});
|
|
2820
2853
|
this.value = this.getDefaultValue();
|
|
2821
2854
|
}
|
|
@@ -2828,8 +2861,8 @@ export class SelectedRTPStreamConfiguration extends Characteristic {
|
|
|
2828
2861
|
static UUID = '00000117-0000-1000-8000-0026BB765291';
|
|
2829
2862
|
constructor() {
|
|
2830
2863
|
super('Selected RTP Stream Configuration', SelectedRTPStreamConfiguration.UUID, {
|
|
2831
|
-
format:
|
|
2832
|
-
perms: [
|
|
2864
|
+
format: Formats.TLV8,
|
|
2865
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2833
2866
|
});
|
|
2834
2867
|
this.value = this.getDefaultValue();
|
|
2835
2868
|
}
|
|
@@ -2842,8 +2875,8 @@ export class SelectedSessionKeepaliveConfigurationList extends Characteristic {
|
|
|
2842
2875
|
static UUID = '00000275-0000-1000-8000-0026BB765291';
|
|
2843
2876
|
constructor() {
|
|
2844
2877
|
super('Selected Session Keep-alive Configuration List', SelectedSessionKeepaliveConfigurationList.UUID, {
|
|
2845
|
-
format:
|
|
2846
|
-
perms: [
|
|
2878
|
+
format: Formats.TLV8,
|
|
2879
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2847
2880
|
});
|
|
2848
2881
|
this.value = this.getDefaultValue();
|
|
2849
2882
|
}
|
|
@@ -2856,12 +2889,12 @@ export class SelectedSleepConfiguration extends Characteristic {
|
|
|
2856
2889
|
static UUID = '00000252-0000-1000-8000-0026BB765291';
|
|
2857
2890
|
constructor() {
|
|
2858
2891
|
super('Selected Sleep Configuration', SelectedSleepConfiguration.UUID, {
|
|
2859
|
-
format:
|
|
2892
|
+
format: Formats.TLV8,
|
|
2860
2893
|
perms: [
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2894
|
+
Perms.NOTIFY,
|
|
2895
|
+
Perms.PAIRED_READ,
|
|
2896
|
+
Perms.PAIRED_WRITE,
|
|
2897
|
+
Perms.WRITE_RESPONSE,
|
|
2865
2898
|
],
|
|
2866
2899
|
});
|
|
2867
2900
|
this.value = this.getDefaultValue();
|
|
@@ -2875,8 +2908,8 @@ export class SerialNumber extends Characteristic {
|
|
|
2875
2908
|
static UUID = '00000030-0000-1000-8000-0026BB765291';
|
|
2876
2909
|
constructor() {
|
|
2877
2910
|
super('Serial Number', SerialNumber.UUID, {
|
|
2878
|
-
format:
|
|
2879
|
-
perms: [
|
|
2911
|
+
format: Formats.STRING,
|
|
2912
|
+
perms: [Perms.PAIRED_READ],
|
|
2880
2913
|
maxLen: 64,
|
|
2881
2914
|
});
|
|
2882
2915
|
this.value = this.getDefaultValue();
|
|
@@ -2890,8 +2923,8 @@ export class ServiceLabelIndex extends Characteristic {
|
|
|
2890
2923
|
static UUID = '000000CB-0000-1000-8000-0026BB765291';
|
|
2891
2924
|
constructor() {
|
|
2892
2925
|
super('Service Label Index', ServiceLabelIndex.UUID, {
|
|
2893
|
-
format:
|
|
2894
|
-
perms: [
|
|
2926
|
+
format: Formats.UINT8,
|
|
2927
|
+
perms: [Perms.PAIRED_READ],
|
|
2895
2928
|
minValue: 1,
|
|
2896
2929
|
maxValue: 255,
|
|
2897
2930
|
minStep: 1,
|
|
@@ -2909,8 +2942,8 @@ export class ServiceLabelNamespace extends Characteristic {
|
|
|
2909
2942
|
static ARABIC_NUMERALS = 1;
|
|
2910
2943
|
constructor() {
|
|
2911
2944
|
super('Service Label Namespace', ServiceLabelNamespace.UUID, {
|
|
2912
|
-
format:
|
|
2913
|
-
perms: [
|
|
2945
|
+
format: Formats.UINT8,
|
|
2946
|
+
perms: [Perms.PAIRED_READ],
|
|
2914
2947
|
minValue: 0,
|
|
2915
2948
|
maxValue: 1,
|
|
2916
2949
|
minStep: 1,
|
|
@@ -2920,6 +2953,20 @@ export class ServiceLabelNamespace extends Characteristic {
|
|
|
2920
2953
|
}
|
|
2921
2954
|
}
|
|
2922
2955
|
Characteristic.ServiceLabelNamespace = ServiceLabelNamespace;
|
|
2956
|
+
/**
|
|
2957
|
+
* Characteristic "Session Transport Endpoint List"
|
|
2958
|
+
*/
|
|
2959
|
+
export class SessionTransportEndpointList extends Characteristic {
|
|
2960
|
+
static UUID = '00000279-0000-1000-8000-0026BB765291';
|
|
2961
|
+
constructor() {
|
|
2962
|
+
super('Session Transport Endpoint List', SessionTransportEndpointList.UUID, {
|
|
2963
|
+
format: Formats.TLV8,
|
|
2964
|
+
perms: [Perms.PAIRED_WRITE],
|
|
2965
|
+
});
|
|
2966
|
+
this.value = this.getDefaultValue();
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
Characteristic.SessionTransportEndpointList = SessionTransportEndpointList;
|
|
2923
2970
|
/**
|
|
2924
2971
|
* Characteristic "Set Duration"
|
|
2925
2972
|
*/
|
|
@@ -2927,9 +2974,9 @@ export class SetDuration extends Characteristic {
|
|
|
2927
2974
|
static UUID = '000000D3-0000-1000-8000-0026BB765291';
|
|
2928
2975
|
constructor() {
|
|
2929
2976
|
super('Set Duration', SetDuration.UUID, {
|
|
2930
|
-
format:
|
|
2931
|
-
perms: [
|
|
2932
|
-
unit:
|
|
2977
|
+
format: Formats.UINT32,
|
|
2978
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2979
|
+
unit: Units.SECONDS,
|
|
2933
2980
|
minValue: 0,
|
|
2934
2981
|
maxValue: 3600,
|
|
2935
2982
|
minStep: 1,
|
|
@@ -2945,8 +2992,8 @@ export class SetupDataStreamTransport extends Characteristic {
|
|
|
2945
2992
|
static UUID = '00000131-0000-1000-8000-0026BB765291';
|
|
2946
2993
|
constructor() {
|
|
2947
2994
|
super('Setup Data Stream Transport', SetupDataStreamTransport.UUID, {
|
|
2948
|
-
format:
|
|
2949
|
-
perms: [
|
|
2995
|
+
format: Formats.TLV8,
|
|
2996
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
2950
2997
|
});
|
|
2951
2998
|
this.value = this.getDefaultValue();
|
|
2952
2999
|
}
|
|
@@ -2959,8 +3006,8 @@ export class SetupEndpoints extends Characteristic {
|
|
|
2959
3006
|
static UUID = '00000118-0000-1000-8000-0026BB765291';
|
|
2960
3007
|
constructor() {
|
|
2961
3008
|
super('Setup Endpoints', SetupEndpoints.UUID, {
|
|
2962
|
-
format:
|
|
2963
|
-
perms: [
|
|
3009
|
+
format: Formats.TLV8,
|
|
3010
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
2964
3011
|
});
|
|
2965
3012
|
this.value = this.getDefaultValue();
|
|
2966
3013
|
}
|
|
@@ -2974,8 +3021,8 @@ export class SetupTransferTransport extends Characteristic {
|
|
|
2974
3021
|
static UUID = '00000201-0000-1000-8000-0026BB765291';
|
|
2975
3022
|
constructor() {
|
|
2976
3023
|
super('Setup Transfer Transport', SetupTransferTransport.UUID, {
|
|
2977
|
-
format:
|
|
2978
|
-
perms: [
|
|
3024
|
+
format: Formats.TLV8,
|
|
3025
|
+
perms: [Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
2979
3026
|
});
|
|
2980
3027
|
this.value = this.getDefaultValue();
|
|
2981
3028
|
}
|
|
@@ -2989,8 +3036,8 @@ export class SignalToNoiseRatio extends Characteristic {
|
|
|
2989
3036
|
static UUID = '00000241-0000-1000-8000-0026BB765291';
|
|
2990
3037
|
constructor() {
|
|
2991
3038
|
super('Signal To Noise Ratio', SignalToNoiseRatio.UUID, {
|
|
2992
|
-
format:
|
|
2993
|
-
perms: [
|
|
3039
|
+
format: Formats.INT,
|
|
3040
|
+
perms: [Perms.PAIRED_READ],
|
|
2994
3041
|
});
|
|
2995
3042
|
this.value = this.getDefaultValue();
|
|
2996
3043
|
}
|
|
@@ -3003,8 +3050,8 @@ export class SiriEnable extends Characteristic {
|
|
|
3003
3050
|
static UUID = '00000255-0000-1000-8000-0026BB765291';
|
|
3004
3051
|
constructor() {
|
|
3005
3052
|
super('Siri Enable', SiriEnable.UUID, {
|
|
3006
|
-
format:
|
|
3007
|
-
perms: [
|
|
3053
|
+
format: Formats.UINT8,
|
|
3054
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3008
3055
|
minValue: 0,
|
|
3009
3056
|
maxValue: 1,
|
|
3010
3057
|
});
|
|
@@ -3019,8 +3066,8 @@ export class SiriEndpointSessionStatus extends Characteristic {
|
|
|
3019
3066
|
static UUID = '00000254-0000-1000-8000-0026BB765291';
|
|
3020
3067
|
constructor() {
|
|
3021
3068
|
super('Siri Endpoint Session Status', SiriEndpointSessionStatus.UUID, {
|
|
3022
|
-
format:
|
|
3023
|
-
perms: [
|
|
3069
|
+
format: Formats.TLV8,
|
|
3070
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3024
3071
|
});
|
|
3025
3072
|
this.value = this.getDefaultValue();
|
|
3026
3073
|
}
|
|
@@ -3033,8 +3080,8 @@ export class SiriEngineVersion extends Characteristic {
|
|
|
3033
3080
|
static UUID = '0000025A-0000-1000-8000-0026BB765291';
|
|
3034
3081
|
constructor() {
|
|
3035
3082
|
super('Siri Engine Version', SiriEngineVersion.UUID, {
|
|
3036
|
-
format:
|
|
3037
|
-
perms: [
|
|
3083
|
+
format: Formats.STRING,
|
|
3084
|
+
perms: [Perms.PAIRED_READ],
|
|
3038
3085
|
});
|
|
3039
3086
|
this.value = this.getDefaultValue();
|
|
3040
3087
|
}
|
|
@@ -3048,8 +3095,8 @@ export class SiriInputType extends Characteristic {
|
|
|
3048
3095
|
static PUSH_BUTTON_TRIGGERED_APPLE_TV = 0;
|
|
3049
3096
|
constructor() {
|
|
3050
3097
|
super('Siri Input Type', SiriInputType.UUID, {
|
|
3051
|
-
format:
|
|
3052
|
-
perms: [
|
|
3098
|
+
format: Formats.UINT8,
|
|
3099
|
+
perms: [Perms.PAIRED_READ],
|
|
3053
3100
|
minValue: 0,
|
|
3054
3101
|
maxValue: 0,
|
|
3055
3102
|
validValues: [0],
|
|
@@ -3065,8 +3112,8 @@ export class SiriLightOnUse extends Characteristic {
|
|
|
3065
3112
|
static UUID = '00000258-0000-1000-8000-0026BB765291';
|
|
3066
3113
|
constructor() {
|
|
3067
3114
|
super('Siri Light On Use', SiriLightOnUse.UUID, {
|
|
3068
|
-
format:
|
|
3069
|
-
perms: [
|
|
3115
|
+
format: Formats.UINT8,
|
|
3116
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3070
3117
|
minValue: 0,
|
|
3071
3118
|
maxValue: 1,
|
|
3072
3119
|
});
|
|
@@ -3081,8 +3128,8 @@ export class SiriListening extends Characteristic {
|
|
|
3081
3128
|
static UUID = '00000256-0000-1000-8000-0026BB765291';
|
|
3082
3129
|
constructor() {
|
|
3083
3130
|
super('Siri Listening', SiriListening.UUID, {
|
|
3084
|
-
format:
|
|
3085
|
-
perms: [
|
|
3131
|
+
format: Formats.UINT8,
|
|
3132
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3086
3133
|
minValue: 0,
|
|
3087
3134
|
maxValue: 1,
|
|
3088
3135
|
});
|
|
@@ -3097,8 +3144,8 @@ export class SiriTouchToUse extends Characteristic {
|
|
|
3097
3144
|
static UUID = '00000257-0000-1000-8000-0026BB765291';
|
|
3098
3145
|
constructor() {
|
|
3099
3146
|
super('Siri Touch To Use', SiriTouchToUse.UUID, {
|
|
3100
|
-
format:
|
|
3101
|
-
perms: [
|
|
3147
|
+
format: Formats.UINT8,
|
|
3148
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3102
3149
|
minValue: 0,
|
|
3103
3150
|
maxValue: 1,
|
|
3104
3151
|
});
|
|
@@ -3115,8 +3162,8 @@ export class SlatType extends Characteristic {
|
|
|
3115
3162
|
static VERTICAL = 1;
|
|
3116
3163
|
constructor() {
|
|
3117
3164
|
super('Slat Type', SlatType.UUID, {
|
|
3118
|
-
format:
|
|
3119
|
-
perms: [
|
|
3165
|
+
format: Formats.UINT8,
|
|
3166
|
+
perms: [Perms.PAIRED_READ],
|
|
3120
3167
|
minValue: 0,
|
|
3121
3168
|
maxValue: 1,
|
|
3122
3169
|
minStep: 1,
|
|
@@ -3135,8 +3182,8 @@ export class SleepDiscoveryMode extends Characteristic {
|
|
|
3135
3182
|
static ALWAYS_DISCOVERABLE = 1;
|
|
3136
3183
|
constructor() {
|
|
3137
3184
|
super('Sleep Discovery Mode', SleepDiscoveryMode.UUID, {
|
|
3138
|
-
format:
|
|
3139
|
-
perms: [
|
|
3185
|
+
format: Formats.UINT8,
|
|
3186
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3140
3187
|
minValue: 0,
|
|
3141
3188
|
maxValue: 1,
|
|
3142
3189
|
minStep: 1,
|
|
@@ -3154,8 +3201,8 @@ export class SleepInterval extends Characteristic {
|
|
|
3154
3201
|
static UUID = '0000023A-0000-1000-8000-0026BB765291';
|
|
3155
3202
|
constructor() {
|
|
3156
3203
|
super('Sleep Interval', SleepInterval.UUID, {
|
|
3157
|
-
format:
|
|
3158
|
-
perms: [
|
|
3204
|
+
format: Formats.UINT32,
|
|
3205
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3159
3206
|
minValue: 0,
|
|
3160
3207
|
minStep: 1,
|
|
3161
3208
|
});
|
|
@@ -3172,8 +3219,8 @@ export class SmokeDetected extends Characteristic {
|
|
|
3172
3219
|
static SMOKE_DETECTED = 1;
|
|
3173
3220
|
constructor() {
|
|
3174
3221
|
super('Smoke Detected', SmokeDetected.UUID, {
|
|
3175
|
-
format:
|
|
3176
|
-
perms: [
|
|
3222
|
+
format: Formats.UINT8,
|
|
3223
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3177
3224
|
minValue: 0,
|
|
3178
3225
|
maxValue: 1,
|
|
3179
3226
|
minStep: 1,
|
|
@@ -3190,8 +3237,8 @@ export class SoftwareRevision extends Characteristic {
|
|
|
3190
3237
|
static UUID = '00000054-0000-1000-8000-0026BB765291';
|
|
3191
3238
|
constructor() {
|
|
3192
3239
|
super('Software Revision', SoftwareRevision.UUID, {
|
|
3193
|
-
format:
|
|
3194
|
-
perms: [
|
|
3240
|
+
format: Formats.STRING,
|
|
3241
|
+
perms: [Perms.PAIRED_READ],
|
|
3195
3242
|
});
|
|
3196
3243
|
this.value = this.getDefaultValue();
|
|
3197
3244
|
}
|
|
@@ -3204,8 +3251,8 @@ export class StagedFirmwareVersion extends Characteristic {
|
|
|
3204
3251
|
static UUID = '00000249-0000-1000-8000-0026BB765291';
|
|
3205
3252
|
constructor() {
|
|
3206
3253
|
super('Staged Firmware Version', StagedFirmwareVersion.UUID, {
|
|
3207
|
-
format:
|
|
3208
|
-
perms: [
|
|
3254
|
+
format: Formats.STRING,
|
|
3255
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3209
3256
|
});
|
|
3210
3257
|
this.value = this.getDefaultValue();
|
|
3211
3258
|
}
|
|
@@ -3218,8 +3265,8 @@ export class StatusActive extends Characteristic {
|
|
|
3218
3265
|
static UUID = '00000075-0000-1000-8000-0026BB765291';
|
|
3219
3266
|
constructor() {
|
|
3220
3267
|
super('Status Active', StatusActive.UUID, {
|
|
3221
|
-
format:
|
|
3222
|
-
perms: [
|
|
3268
|
+
format: Formats.BOOL,
|
|
3269
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3223
3270
|
});
|
|
3224
3271
|
this.value = this.getDefaultValue();
|
|
3225
3272
|
}
|
|
@@ -3234,8 +3281,8 @@ export class StatusFault extends Characteristic {
|
|
|
3234
3281
|
static GENERAL_FAULT = 1;
|
|
3235
3282
|
constructor() {
|
|
3236
3283
|
super('Status Fault', StatusFault.UUID, {
|
|
3237
|
-
format:
|
|
3238
|
-
perms: [
|
|
3284
|
+
format: Formats.UINT8,
|
|
3285
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3239
3286
|
minValue: 0,
|
|
3240
3287
|
maxValue: 1,
|
|
3241
3288
|
minStep: 1,
|
|
@@ -3254,8 +3301,8 @@ export class StatusJammed extends Characteristic {
|
|
|
3254
3301
|
static JAMMED = 1;
|
|
3255
3302
|
constructor() {
|
|
3256
3303
|
super('Status Jammed', StatusJammed.UUID, {
|
|
3257
|
-
format:
|
|
3258
|
-
perms: [
|
|
3304
|
+
format: Formats.UINT8,
|
|
3305
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3259
3306
|
minValue: 0,
|
|
3260
3307
|
maxValue: 1,
|
|
3261
3308
|
minStep: 1,
|
|
@@ -3274,8 +3321,8 @@ export class StatusLowBattery extends Characteristic {
|
|
|
3274
3321
|
static BATTERY_LEVEL_LOW = 1;
|
|
3275
3322
|
constructor() {
|
|
3276
3323
|
super('Status Low Battery', StatusLowBattery.UUID, {
|
|
3277
|
-
format:
|
|
3278
|
-
perms: [
|
|
3324
|
+
format: Formats.UINT8,
|
|
3325
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3279
3326
|
minValue: 0,
|
|
3280
3327
|
maxValue: 1,
|
|
3281
3328
|
minStep: 1,
|
|
@@ -3294,8 +3341,8 @@ export class StatusTampered extends Characteristic {
|
|
|
3294
3341
|
static TAMPERED = 1;
|
|
3295
3342
|
constructor() {
|
|
3296
3343
|
super('Status Tampered', StatusTampered.UUID, {
|
|
3297
|
-
format:
|
|
3298
|
-
perms: [
|
|
3344
|
+
format: Formats.UINT8,
|
|
3345
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3299
3346
|
minValue: 0,
|
|
3300
3347
|
maxValue: 1,
|
|
3301
3348
|
minStep: 1,
|
|
@@ -3312,8 +3359,8 @@ export class StreamingStatus extends Characteristic {
|
|
|
3312
3359
|
static UUID = '00000120-0000-1000-8000-0026BB765291';
|
|
3313
3360
|
constructor() {
|
|
3314
3361
|
super('Streaming Status', StreamingStatus.UUID, {
|
|
3315
|
-
format:
|
|
3316
|
-
perms: [
|
|
3362
|
+
format: Formats.TLV8,
|
|
3363
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3317
3364
|
});
|
|
3318
3365
|
this.value = this.getDefaultValue();
|
|
3319
3366
|
}
|
|
@@ -3326,8 +3373,8 @@ export class SulphurDioxideDensity extends Characteristic {
|
|
|
3326
3373
|
static UUID = '000000C5-0000-1000-8000-0026BB765291';
|
|
3327
3374
|
constructor() {
|
|
3328
3375
|
super('Sulphur Dioxide Density', SulphurDioxideDensity.UUID, {
|
|
3329
|
-
format:
|
|
3330
|
-
perms: [
|
|
3376
|
+
format: Formats.FLOAT,
|
|
3377
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3331
3378
|
minValue: 0,
|
|
3332
3379
|
maxValue: 1000,
|
|
3333
3380
|
minStep: 1,
|
|
@@ -3343,8 +3390,8 @@ export class SupportedAssetTypes extends Characteristic {
|
|
|
3343
3390
|
static UUID = '00000268-0000-1000-8000-0026BB765291';
|
|
3344
3391
|
constructor() {
|
|
3345
3392
|
super('Supported Asset Types', SupportedAssetTypes.UUID, {
|
|
3346
|
-
format:
|
|
3347
|
-
perms: [
|
|
3393
|
+
format: Formats.UINT32,
|
|
3394
|
+
perms: [Perms.PAIRED_READ],
|
|
3348
3395
|
});
|
|
3349
3396
|
this.value = this.getDefaultValue();
|
|
3350
3397
|
}
|
|
@@ -3357,8 +3404,8 @@ export class SupportedAudioRecordingConfiguration extends Characteristic {
|
|
|
3357
3404
|
static UUID = '00000207-0000-1000-8000-0026BB765291';
|
|
3358
3405
|
constructor() {
|
|
3359
3406
|
super('Supported Audio Recording Configuration', SupportedAudioRecordingConfiguration.UUID, {
|
|
3360
|
-
format:
|
|
3361
|
-
perms: [
|
|
3407
|
+
format: Formats.TLV8,
|
|
3408
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3362
3409
|
});
|
|
3363
3410
|
this.value = this.getDefaultValue();
|
|
3364
3411
|
}
|
|
@@ -3371,8 +3418,8 @@ export class SupportedAudioStreamConfiguration extends Characteristic {
|
|
|
3371
3418
|
static UUID = '00000115-0000-1000-8000-0026BB765291';
|
|
3372
3419
|
constructor() {
|
|
3373
3420
|
super('Supported Audio Stream Configuration', SupportedAudioStreamConfiguration.UUID, {
|
|
3374
|
-
format:
|
|
3375
|
-
perms: [
|
|
3421
|
+
format: Formats.TLV8,
|
|
3422
|
+
perms: [Perms.PAIRED_READ],
|
|
3376
3423
|
});
|
|
3377
3424
|
this.value = this.getDefaultValue();
|
|
3378
3425
|
}
|
|
@@ -3385,8 +3432,8 @@ export class SupportedCameraRecordingConfiguration extends Characteristic {
|
|
|
3385
3432
|
static UUID = '00000205-0000-1000-8000-0026BB765291';
|
|
3386
3433
|
constructor() {
|
|
3387
3434
|
super('Supported Camera Recording Configuration', SupportedCameraRecordingConfiguration.UUID, {
|
|
3388
|
-
format:
|
|
3389
|
-
perms: [
|
|
3435
|
+
format: Formats.TLV8,
|
|
3436
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3390
3437
|
});
|
|
3391
3438
|
this.value = this.getDefaultValue();
|
|
3392
3439
|
}
|
|
@@ -3400,8 +3447,8 @@ export class SupportedCharacteristicValueTransitionConfiguration extends Charact
|
|
|
3400
3447
|
static UUID = '00000144-0000-1000-8000-0026BB765291';
|
|
3401
3448
|
constructor() {
|
|
3402
3449
|
super('Supported Characteristic Value Transition Configuration', SupportedCharacteristicValueTransitionConfiguration.UUID, {
|
|
3403
|
-
format:
|
|
3404
|
-
perms: [
|
|
3450
|
+
format: Formats.TLV8,
|
|
3451
|
+
perms: [Perms.PAIRED_READ],
|
|
3405
3452
|
});
|
|
3406
3453
|
this.value = this.getDefaultValue();
|
|
3407
3454
|
}
|
|
@@ -3414,8 +3461,8 @@ export class SupportedDataStreamTransportConfiguration extends Characteristic {
|
|
|
3414
3461
|
static UUID = '00000130-0000-1000-8000-0026BB765291';
|
|
3415
3462
|
constructor() {
|
|
3416
3463
|
super('Supported Data Stream Transport Configuration', SupportedDataStreamTransportConfiguration.UUID, {
|
|
3417
|
-
format:
|
|
3418
|
-
perms: [
|
|
3464
|
+
format: Formats.TLV8,
|
|
3465
|
+
perms: [Perms.PAIRED_READ],
|
|
3419
3466
|
});
|
|
3420
3467
|
this.value = this.getDefaultValue();
|
|
3421
3468
|
}
|
|
@@ -3428,8 +3475,8 @@ export class SupportedDiagnosticsModes extends Characteristic {
|
|
|
3428
3475
|
static UUID = '0000024C-0000-1000-8000-0026BB765291';
|
|
3429
3476
|
constructor() {
|
|
3430
3477
|
super('Supported Diagnostics Modes', SupportedDiagnosticsModes.UUID, {
|
|
3431
|
-
format:
|
|
3432
|
-
perms: [
|
|
3478
|
+
format: Formats.UINT32,
|
|
3479
|
+
perms: [Perms.PAIRED_READ],
|
|
3433
3480
|
});
|
|
3434
3481
|
this.value = this.getDefaultValue();
|
|
3435
3482
|
}
|
|
@@ -3443,8 +3490,8 @@ export class SupportedDiagnosticsSnapshot extends Characteristic {
|
|
|
3443
3490
|
static UUID = '00000238-0000-1000-8000-0026BB765291';
|
|
3444
3491
|
constructor() {
|
|
3445
3492
|
super('Supported Diagnostics Snapshot', SupportedDiagnosticsSnapshot.UUID, {
|
|
3446
|
-
format:
|
|
3447
|
-
perms: [
|
|
3493
|
+
format: Formats.TLV8,
|
|
3494
|
+
perms: [Perms.PAIRED_READ],
|
|
3448
3495
|
});
|
|
3449
3496
|
this.value = this.getDefaultValue();
|
|
3450
3497
|
}
|
|
@@ -3457,8 +3504,8 @@ export class SupportedFirmwareUpdateConfiguration extends Characteristic {
|
|
|
3457
3504
|
static UUID = '00000233-0000-1000-8000-0026BB765291';
|
|
3458
3505
|
constructor() {
|
|
3459
3506
|
super('Supported Firmware Update Configuration', SupportedFirmwareUpdateConfiguration.UUID, {
|
|
3460
|
-
format:
|
|
3461
|
-
perms: [
|
|
3507
|
+
format: Formats.TLV8,
|
|
3508
|
+
perms: [Perms.PAIRED_READ],
|
|
3462
3509
|
});
|
|
3463
3510
|
this.value = this.getDefaultValue();
|
|
3464
3511
|
}
|
|
@@ -3471,8 +3518,8 @@ export class SupportedMetrics extends Characteristic {
|
|
|
3471
3518
|
static UUID = '00000271-0000-1000-8000-0026BB765291';
|
|
3472
3519
|
constructor() {
|
|
3473
3520
|
super('Supported Metrics', SupportedMetrics.UUID, {
|
|
3474
|
-
format:
|
|
3475
|
-
perms: [
|
|
3521
|
+
format: Formats.TLV8,
|
|
3522
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3476
3523
|
});
|
|
3477
3524
|
this.value = this.getDefaultValue();
|
|
3478
3525
|
}
|
|
@@ -3485,8 +3532,8 @@ export class SupportedRouterConfiguration extends Characteristic {
|
|
|
3485
3532
|
static UUID = '00000210-0000-1000-8000-0026BB765291';
|
|
3486
3533
|
constructor() {
|
|
3487
3534
|
super('Supported Router Configuration', SupportedRouterConfiguration.UUID, {
|
|
3488
|
-
format:
|
|
3489
|
-
perms: [
|
|
3535
|
+
format: Formats.TLV8,
|
|
3536
|
+
perms: [Perms.PAIRED_READ],
|
|
3490
3537
|
});
|
|
3491
3538
|
this.value = this.getDefaultValue();
|
|
3492
3539
|
}
|
|
@@ -3499,8 +3546,8 @@ export class SupportedRTPConfiguration extends Characteristic {
|
|
|
3499
3546
|
static UUID = '00000116-0000-1000-8000-0026BB765291';
|
|
3500
3547
|
constructor() {
|
|
3501
3548
|
super('Supported RTP Configuration', SupportedRTPConfiguration.UUID, {
|
|
3502
|
-
format:
|
|
3503
|
-
perms: [
|
|
3549
|
+
format: Formats.TLV8,
|
|
3550
|
+
perms: [Perms.PAIRED_READ],
|
|
3504
3551
|
});
|
|
3505
3552
|
this.value = this.getDefaultValue();
|
|
3506
3553
|
}
|
|
@@ -3513,8 +3560,8 @@ export class SupportedSessionKeepaliveConfigurationList extends Characteristic {
|
|
|
3513
3560
|
static UUID = '00000274-0000-1000-8000-0026BB765291';
|
|
3514
3561
|
constructor() {
|
|
3515
3562
|
super('Supported Session Keep-alive Configuration List', SupportedSessionKeepaliveConfigurationList.UUID, {
|
|
3516
|
-
format:
|
|
3517
|
-
perms: [
|
|
3563
|
+
format: Formats.TLV8,
|
|
3564
|
+
perms: [Perms.PAIRED_READ],
|
|
3518
3565
|
});
|
|
3519
3566
|
this.value = this.getDefaultValue();
|
|
3520
3567
|
}
|
|
@@ -3527,8 +3574,8 @@ export class SupportedSleepConfiguration extends Characteristic {
|
|
|
3527
3574
|
static UUID = '00000251-0000-1000-8000-0026BB765291';
|
|
3528
3575
|
constructor() {
|
|
3529
3576
|
super('Supported Sleep Configuration', SupportedSleepConfiguration.UUID, {
|
|
3530
|
-
format:
|
|
3531
|
-
perms: [
|
|
3577
|
+
format: Formats.TLV8,
|
|
3578
|
+
perms: [Perms.PAIRED_READ],
|
|
3532
3579
|
});
|
|
3533
3580
|
this.value = this.getDefaultValue();
|
|
3534
3581
|
}
|
|
@@ -3542,8 +3589,8 @@ export class SupportedTransferTransportConfiguration extends Characteristic {
|
|
|
3542
3589
|
static UUID = '00000202-0000-1000-8000-0026BB765291';
|
|
3543
3590
|
constructor() {
|
|
3544
3591
|
super('Supported Transfer Transport Configuration', SupportedTransferTransportConfiguration.UUID, {
|
|
3545
|
-
format:
|
|
3546
|
-
perms: [
|
|
3592
|
+
format: Formats.TLV8,
|
|
3593
|
+
perms: [Perms.PAIRED_READ],
|
|
3547
3594
|
});
|
|
3548
3595
|
this.value = this.getDefaultValue();
|
|
3549
3596
|
}
|
|
@@ -3556,8 +3603,8 @@ export class SupportedVideoRecordingConfiguration extends Characteristic {
|
|
|
3556
3603
|
static UUID = '00000206-0000-1000-8000-0026BB765291';
|
|
3557
3604
|
constructor() {
|
|
3558
3605
|
super('Supported Video Recording Configuration', SupportedVideoRecordingConfiguration.UUID, {
|
|
3559
|
-
format:
|
|
3560
|
-
perms: [
|
|
3606
|
+
format: Formats.TLV8,
|
|
3607
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3561
3608
|
});
|
|
3562
3609
|
this.value = this.getDefaultValue();
|
|
3563
3610
|
}
|
|
@@ -3570,8 +3617,8 @@ export class SupportedVideoStreamConfiguration extends Characteristic {
|
|
|
3570
3617
|
static UUID = '00000114-0000-1000-8000-0026BB765291';
|
|
3571
3618
|
constructor() {
|
|
3572
3619
|
super('Supported Video Stream Configuration', SupportedVideoStreamConfiguration.UUID, {
|
|
3573
|
-
format:
|
|
3574
|
-
perms: [
|
|
3620
|
+
format: Formats.TLV8,
|
|
3621
|
+
perms: [Perms.PAIRED_READ],
|
|
3575
3622
|
});
|
|
3576
3623
|
this.value = this.getDefaultValue();
|
|
3577
3624
|
}
|
|
@@ -3586,8 +3633,8 @@ export class SwingMode extends Characteristic {
|
|
|
3586
3633
|
static SWING_ENABLED = 1;
|
|
3587
3634
|
constructor() {
|
|
3588
3635
|
super('Swing Mode', SwingMode.UUID, {
|
|
3589
|
-
format:
|
|
3590
|
-
perms: [
|
|
3636
|
+
format: Formats.UINT8,
|
|
3637
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3591
3638
|
minValue: 0,
|
|
3592
3639
|
maxValue: 1,
|
|
3593
3640
|
minStep: 1,
|
|
@@ -3605,8 +3652,8 @@ export class TapType extends Characteristic {
|
|
|
3605
3652
|
static UUID = '0000022F-0000-1000-8000-0026BB765291';
|
|
3606
3653
|
constructor() {
|
|
3607
3654
|
super('Tap Type', TapType.UUID, {
|
|
3608
|
-
format:
|
|
3609
|
-
perms: [
|
|
3655
|
+
format: Formats.UINT16,
|
|
3656
|
+
perms: [Perms.PAIRED_READ],
|
|
3610
3657
|
});
|
|
3611
3658
|
this.value = this.getDefaultValue();
|
|
3612
3659
|
}
|
|
@@ -3622,8 +3669,8 @@ export class TargetAirPurifierState extends Characteristic {
|
|
|
3622
3669
|
static AUTO = 1;
|
|
3623
3670
|
constructor() {
|
|
3624
3671
|
super('Target Air Purifier State', TargetAirPurifierState.UUID, {
|
|
3625
|
-
format:
|
|
3626
|
-
perms: [
|
|
3672
|
+
format: Formats.UINT8,
|
|
3673
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3627
3674
|
minValue: 0,
|
|
3628
3675
|
maxValue: 1,
|
|
3629
3676
|
minStep: 1,
|
|
@@ -3640,9 +3687,9 @@ export class TargetControlList extends Characteristic {
|
|
|
3640
3687
|
static UUID = '00000124-0000-1000-8000-0026BB765291';
|
|
3641
3688
|
constructor() {
|
|
3642
3689
|
super('Target Control List', TargetControlList.UUID, {
|
|
3643
|
-
format:
|
|
3644
|
-
perms: [
|
|
3645
|
-
adminOnlyAccess: [
|
|
3690
|
+
format: Formats.TLV8,
|
|
3691
|
+
perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
|
|
3692
|
+
adminOnlyAccess: [Access.READ, Access.WRITE],
|
|
3646
3693
|
});
|
|
3647
3694
|
this.value = this.getDefaultValue();
|
|
3648
3695
|
}
|
|
@@ -3655,8 +3702,8 @@ export class TargetControlSupportedConfiguration extends Characteristic {
|
|
|
3655
3702
|
static UUID = '00000123-0000-1000-8000-0026BB765291';
|
|
3656
3703
|
constructor() {
|
|
3657
3704
|
super('Target Control Supported Configuration', TargetControlSupportedConfiguration.UUID, {
|
|
3658
|
-
format:
|
|
3659
|
-
perms: [
|
|
3705
|
+
format: Formats.TLV8,
|
|
3706
|
+
perms: [Perms.PAIRED_READ],
|
|
3660
3707
|
});
|
|
3661
3708
|
this.value = this.getDefaultValue();
|
|
3662
3709
|
}
|
|
@@ -3671,8 +3718,8 @@ export class TargetDoorState extends Characteristic {
|
|
|
3671
3718
|
static CLOSED = 1;
|
|
3672
3719
|
constructor() {
|
|
3673
3720
|
super('Target Door State', TargetDoorState.UUID, {
|
|
3674
|
-
format:
|
|
3675
|
-
perms: [
|
|
3721
|
+
format: Formats.UINT8,
|
|
3722
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3676
3723
|
minValue: 0,
|
|
3677
3724
|
maxValue: 1,
|
|
3678
3725
|
minStep: 1,
|
|
@@ -3691,8 +3738,8 @@ export class TargetFanState extends Characteristic {
|
|
|
3691
3738
|
static AUTO = 1;
|
|
3692
3739
|
constructor() {
|
|
3693
3740
|
super('Target Fan State', TargetFanState.UUID, {
|
|
3694
|
-
format:
|
|
3695
|
-
perms: [
|
|
3741
|
+
format: Formats.UINT8,
|
|
3742
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3696
3743
|
minValue: 0,
|
|
3697
3744
|
maxValue: 1,
|
|
3698
3745
|
minStep: 1,
|
|
@@ -3712,8 +3759,8 @@ export class TargetHeaterCoolerState extends Characteristic {
|
|
|
3712
3759
|
static COOL = 2;
|
|
3713
3760
|
constructor() {
|
|
3714
3761
|
super('Target Heater-Cooler State', TargetHeaterCoolerState.UUID, {
|
|
3715
|
-
format:
|
|
3716
|
-
perms: [
|
|
3762
|
+
format: Formats.UINT8,
|
|
3763
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3717
3764
|
minValue: 0,
|
|
3718
3765
|
maxValue: 2,
|
|
3719
3766
|
minStep: 1,
|
|
@@ -3734,8 +3781,8 @@ export class TargetHeatingCoolingState extends Characteristic {
|
|
|
3734
3781
|
static AUTO = 3;
|
|
3735
3782
|
constructor() {
|
|
3736
3783
|
super('Target Heating Cooling State', TargetHeatingCoolingState.UUID, {
|
|
3737
|
-
format:
|
|
3738
|
-
perms: [
|
|
3784
|
+
format: Formats.UINT8,
|
|
3785
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3739
3786
|
minValue: 0,
|
|
3740
3787
|
maxValue: 3,
|
|
3741
3788
|
minStep: 1,
|
|
@@ -3752,9 +3799,9 @@ export class TargetHorizontalTiltAngle extends Characteristic {
|
|
|
3752
3799
|
static UUID = '0000007B-0000-1000-8000-0026BB765291';
|
|
3753
3800
|
constructor() {
|
|
3754
3801
|
super('Target Horizontal Tilt Angle', TargetHorizontalTiltAngle.UUID, {
|
|
3755
|
-
format:
|
|
3756
|
-
perms: [
|
|
3757
|
-
unit:
|
|
3802
|
+
format: Formats.INT,
|
|
3803
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3804
|
+
unit: Units.ARC_DEGREE,
|
|
3758
3805
|
minValue: -90,
|
|
3759
3806
|
maxValue: 90,
|
|
3760
3807
|
minStep: 1,
|
|
@@ -3773,8 +3820,8 @@ export class TargetHumidifierDehumidifierState extends Characteristic {
|
|
|
3773
3820
|
static DEHUMIDIFIER = 2;
|
|
3774
3821
|
constructor() {
|
|
3775
3822
|
super('Target Humidifier-Dehumidifier State', TargetHumidifierDehumidifierState.UUID, {
|
|
3776
|
-
format:
|
|
3777
|
-
perms: [
|
|
3823
|
+
format: Formats.UINT8,
|
|
3824
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3778
3825
|
minValue: 0,
|
|
3779
3826
|
maxValue: 2,
|
|
3780
3827
|
minStep: 1,
|
|
@@ -3794,8 +3841,8 @@ export class TargetMediaState extends Characteristic {
|
|
|
3794
3841
|
static STOP = 2;
|
|
3795
3842
|
constructor() {
|
|
3796
3843
|
super('Target Media State', TargetMediaState.UUID, {
|
|
3797
|
-
format:
|
|
3798
|
-
perms: [
|
|
3844
|
+
format: Formats.UINT8,
|
|
3845
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3799
3846
|
minValue: 0,
|
|
3800
3847
|
maxValue: 2,
|
|
3801
3848
|
minStep: 1,
|
|
@@ -3812,9 +3859,9 @@ export class TargetPosition extends Characteristic {
|
|
|
3812
3859
|
static UUID = '0000007C-0000-1000-8000-0026BB765291';
|
|
3813
3860
|
constructor() {
|
|
3814
3861
|
super('Target Position', TargetPosition.UUID, {
|
|
3815
|
-
format:
|
|
3816
|
-
perms: [
|
|
3817
|
-
unit:
|
|
3862
|
+
format: Formats.UINT8,
|
|
3863
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3864
|
+
unit: Units.PERCENTAGE,
|
|
3818
3865
|
minValue: 0,
|
|
3819
3866
|
maxValue: 100,
|
|
3820
3867
|
minStep: 1,
|
|
@@ -3830,9 +3877,9 @@ export class TargetRelativeHumidity extends Characteristic {
|
|
|
3830
3877
|
static UUID = '00000034-0000-1000-8000-0026BB765291';
|
|
3831
3878
|
constructor() {
|
|
3832
3879
|
super('Target Relative Humidity', TargetRelativeHumidity.UUID, {
|
|
3833
|
-
format:
|
|
3834
|
-
perms: [
|
|
3835
|
-
unit:
|
|
3880
|
+
format: Formats.FLOAT,
|
|
3881
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3882
|
+
unit: Units.PERCENTAGE,
|
|
3836
3883
|
minValue: 0,
|
|
3837
3884
|
maxValue: 100,
|
|
3838
3885
|
minStep: 1,
|
|
@@ -3848,9 +3895,9 @@ export class TargetTemperature extends Characteristic {
|
|
|
3848
3895
|
static UUID = '00000035-0000-1000-8000-0026BB765291';
|
|
3849
3896
|
constructor() {
|
|
3850
3897
|
super('Target Temperature', TargetTemperature.UUID, {
|
|
3851
|
-
format:
|
|
3852
|
-
perms: [
|
|
3853
|
-
unit:
|
|
3898
|
+
format: Formats.FLOAT,
|
|
3899
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3900
|
+
unit: Units.CELSIUS,
|
|
3854
3901
|
minValue: 10,
|
|
3855
3902
|
maxValue: 38,
|
|
3856
3903
|
minStep: 0.1,
|
|
@@ -3866,9 +3913,9 @@ export class TargetTiltAngle extends Characteristic {
|
|
|
3866
3913
|
static UUID = '000000C2-0000-1000-8000-0026BB765291';
|
|
3867
3914
|
constructor() {
|
|
3868
3915
|
super('Target Tilt Angle', TargetTiltAngle.UUID, {
|
|
3869
|
-
format:
|
|
3870
|
-
perms: [
|
|
3871
|
-
unit:
|
|
3916
|
+
format: Formats.INT,
|
|
3917
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3918
|
+
unit: Units.ARC_DEGREE,
|
|
3872
3919
|
minValue: -90,
|
|
3873
3920
|
maxValue: 90,
|
|
3874
3921
|
minStep: 1,
|
|
@@ -3884,9 +3931,9 @@ export class TargetVerticalTiltAngle extends Characteristic {
|
|
|
3884
3931
|
static UUID = '0000007D-0000-1000-8000-0026BB765291';
|
|
3885
3932
|
constructor() {
|
|
3886
3933
|
super('Target Vertical Tilt Angle', TargetVerticalTiltAngle.UUID, {
|
|
3887
|
-
format:
|
|
3888
|
-
perms: [
|
|
3889
|
-
unit:
|
|
3934
|
+
format: Formats.INT,
|
|
3935
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3936
|
+
unit: Units.ARC_DEGREE,
|
|
3890
3937
|
minValue: -90,
|
|
3891
3938
|
maxValue: 90,
|
|
3892
3939
|
minStep: 1,
|
|
@@ -3904,8 +3951,8 @@ export class TargetVisibilityState extends Characteristic {
|
|
|
3904
3951
|
static HIDDEN = 1;
|
|
3905
3952
|
constructor() {
|
|
3906
3953
|
super('Target Visibility State', TargetVisibilityState.UUID, {
|
|
3907
|
-
format:
|
|
3908
|
-
perms: [
|
|
3954
|
+
format: Formats.UINT8,
|
|
3955
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3909
3956
|
minValue: 0,
|
|
3910
3957
|
maxValue: 1,
|
|
3911
3958
|
minStep: 1,
|
|
@@ -3924,8 +3971,8 @@ export class TemperatureDisplayUnits extends Characteristic {
|
|
|
3924
3971
|
static FAHRENHEIT = 1;
|
|
3925
3972
|
constructor() {
|
|
3926
3973
|
super('Temperature Display Units', TemperatureDisplayUnits.UUID, {
|
|
3927
|
-
format:
|
|
3928
|
-
perms: [
|
|
3974
|
+
format: Formats.UINT8,
|
|
3975
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
3929
3976
|
minValue: 0,
|
|
3930
3977
|
maxValue: 1,
|
|
3931
3978
|
minStep: 1,
|
|
@@ -3944,8 +3991,8 @@ export class ThirdPartyCameraActive extends Characteristic {
|
|
|
3944
3991
|
static ON = 1;
|
|
3945
3992
|
constructor() {
|
|
3946
3993
|
super('Third Party Camera Active', ThirdPartyCameraActive.UUID, {
|
|
3947
|
-
format:
|
|
3948
|
-
perms: [
|
|
3994
|
+
format: Formats.UINT8,
|
|
3995
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
3949
3996
|
minValue: 0,
|
|
3950
3997
|
maxValue: 1,
|
|
3951
3998
|
minStep: 1,
|
|
@@ -3955,6 +4002,40 @@ export class ThirdPartyCameraActive extends Characteristic {
|
|
|
3955
4002
|
}
|
|
3956
4003
|
}
|
|
3957
4004
|
Characteristic.ThirdPartyCameraActive = ThirdPartyCameraActive;
|
|
4005
|
+
/**
|
|
4006
|
+
* Characteristic "Third Party Camera In Use"
|
|
4007
|
+
*/
|
|
4008
|
+
export class ThirdPartyCameraInUse extends Characteristic {
|
|
4009
|
+
static UUID = '00000277-0000-1000-8000-0026BB765291';
|
|
4010
|
+
constructor() {
|
|
4011
|
+
super('Third Party Camera In Use', ThirdPartyCameraInUse.UUID, {
|
|
4012
|
+
format: Formats.UINT8,
|
|
4013
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4014
|
+
minValue: 0,
|
|
4015
|
+
maxValue: 1,
|
|
4016
|
+
minStep: 1,
|
|
4017
|
+
});
|
|
4018
|
+
this.value = this.getDefaultValue();
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
Characteristic.ThirdPartyCameraInUse = ThirdPartyCameraInUse;
|
|
4022
|
+
/**
|
|
4023
|
+
* Characteristic "Third Party Ecosystem Enabled"
|
|
4024
|
+
*/
|
|
4025
|
+
export class ThirdPartyEcosystemEnabled extends Characteristic {
|
|
4026
|
+
static UUID = '00000276-0000-1000-8000-0026BB765291';
|
|
4027
|
+
constructor() {
|
|
4028
|
+
super('Third Party Ecosystem Enabled', ThirdPartyEcosystemEnabled.UUID, {
|
|
4029
|
+
format: Formats.UINT8,
|
|
4030
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4031
|
+
minValue: 0,
|
|
4032
|
+
maxValue: 1,
|
|
4033
|
+
minStep: 1,
|
|
4034
|
+
});
|
|
4035
|
+
this.value = this.getDefaultValue();
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
Characteristic.ThirdPartyEcosystemEnabled = ThirdPartyEcosystemEnabled;
|
|
3958
4039
|
/**
|
|
3959
4040
|
* Characteristic "Thread Control Point"
|
|
3960
4041
|
*/
|
|
@@ -3962,8 +4043,8 @@ export class ThreadControlPoint extends Characteristic {
|
|
|
3962
4043
|
static UUID = '00000704-0000-1000-8000-0026BB765291';
|
|
3963
4044
|
constructor() {
|
|
3964
4045
|
super('Thread Control Point', ThreadControlPoint.UUID, {
|
|
3965
|
-
format:
|
|
3966
|
-
perms: [
|
|
4046
|
+
format: Formats.TLV8,
|
|
4047
|
+
perms: [Perms.PAIRED_WRITE],
|
|
3967
4048
|
});
|
|
3968
4049
|
this.value = this.getDefaultValue();
|
|
3969
4050
|
}
|
|
@@ -3976,8 +4057,8 @@ export class ThreadNodeCapabilities extends Characteristic {
|
|
|
3976
4057
|
static UUID = '00000702-0000-1000-8000-0026BB765291';
|
|
3977
4058
|
constructor() {
|
|
3978
4059
|
super('Thread Node Capabilities', ThreadNodeCapabilities.UUID, {
|
|
3979
|
-
format:
|
|
3980
|
-
perms: [
|
|
4060
|
+
format: Formats.UINT16,
|
|
4061
|
+
perms: [Perms.PAIRED_READ],
|
|
3981
4062
|
minValue: 0,
|
|
3982
4063
|
maxValue: 31,
|
|
3983
4064
|
minStep: 1,
|
|
@@ -3993,8 +4074,8 @@ export class ThreadOpenThreadVersion extends Characteristic {
|
|
|
3993
4074
|
static UUID = '00000706-0000-1000-8000-0026BB765291';
|
|
3994
4075
|
constructor() {
|
|
3995
4076
|
super('Thread OpenThread Version', ThreadOpenThreadVersion.UUID, {
|
|
3996
|
-
format:
|
|
3997
|
-
perms: [
|
|
4077
|
+
format: Formats.STRING,
|
|
4078
|
+
perms: [Perms.PAIRED_READ],
|
|
3998
4079
|
});
|
|
3999
4080
|
this.value = this.getDefaultValue();
|
|
4000
4081
|
}
|
|
@@ -4007,8 +4088,8 @@ export class ThreadStatus extends Characteristic {
|
|
|
4007
4088
|
static UUID = '00000703-0000-1000-8000-0026BB765291';
|
|
4008
4089
|
constructor() {
|
|
4009
4090
|
super('Thread Status', ThreadStatus.UUID, {
|
|
4010
|
-
format:
|
|
4011
|
-
perms: [
|
|
4091
|
+
format: Formats.UINT16,
|
|
4092
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4012
4093
|
minValue: 0,
|
|
4013
4094
|
maxValue: 6,
|
|
4014
4095
|
minStep: 1,
|
|
@@ -4025,8 +4106,8 @@ export class Token extends Characteristic {
|
|
|
4025
4106
|
static UUID = '00000231-0000-1000-8000-0026BB765291';
|
|
4026
4107
|
constructor() {
|
|
4027
4108
|
super('Token', Token.UUID, {
|
|
4028
|
-
format:
|
|
4029
|
-
perms: [
|
|
4109
|
+
format: Formats.DATA,
|
|
4110
|
+
perms: [Perms.PAIRED_WRITE],
|
|
4030
4111
|
});
|
|
4031
4112
|
this.value = this.getDefaultValue();
|
|
4032
4113
|
}
|
|
@@ -4041,8 +4122,8 @@ export class TransmitPower extends Characteristic {
|
|
|
4041
4122
|
static UUID = '00000242-0000-1000-8000-0026BB765291';
|
|
4042
4123
|
constructor() {
|
|
4043
4124
|
super('Transmit Power', TransmitPower.UUID, {
|
|
4044
|
-
format:
|
|
4045
|
-
perms: [
|
|
4125
|
+
format: Formats.INT,
|
|
4126
|
+
perms: [Perms.PAIRED_READ],
|
|
4046
4127
|
});
|
|
4047
4128
|
this.value = this.getDefaultValue();
|
|
4048
4129
|
}
|
|
@@ -4056,8 +4137,8 @@ export class TunnelConnectionTimeout extends Characteristic {
|
|
|
4056
4137
|
static UUID = '00000061-0000-1000-8000-0026BB765291';
|
|
4057
4138
|
constructor() {
|
|
4058
4139
|
super('Tunnel Connection Timeout', TunnelConnectionTimeout.UUID, {
|
|
4059
|
-
format:
|
|
4060
|
-
perms: [
|
|
4140
|
+
format: Formats.INT,
|
|
4141
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
4061
4142
|
});
|
|
4062
4143
|
this.value = this.getDefaultValue();
|
|
4063
4144
|
}
|
|
@@ -4072,8 +4153,8 @@ export class TunneledAccessoryAdvertising extends Characteristic {
|
|
|
4072
4153
|
static UUID = '00000060-0000-1000-8000-0026BB765291';
|
|
4073
4154
|
constructor() {
|
|
4074
4155
|
super('Tunneled Accessory Advertising', TunneledAccessoryAdvertising.UUID, {
|
|
4075
|
-
format:
|
|
4076
|
-
perms: [
|
|
4156
|
+
format: Formats.BOOL,
|
|
4157
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
4077
4158
|
});
|
|
4078
4159
|
this.value = this.getDefaultValue();
|
|
4079
4160
|
}
|
|
@@ -4088,8 +4169,8 @@ export class TunneledAccessoryConnected extends Characteristic {
|
|
|
4088
4169
|
static UUID = '00000059-0000-1000-8000-0026BB765291';
|
|
4089
4170
|
constructor() {
|
|
4090
4171
|
super('Tunneled Accessory Connected', TunneledAccessoryConnected.UUID, {
|
|
4091
|
-
format:
|
|
4092
|
-
perms: [
|
|
4172
|
+
format: Formats.BOOL,
|
|
4173
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
4093
4174
|
});
|
|
4094
4175
|
this.value = this.getDefaultValue();
|
|
4095
4176
|
}
|
|
@@ -4104,8 +4185,8 @@ export class TunneledAccessoryStateNumber extends Characteristic {
|
|
|
4104
4185
|
static UUID = '00000058-0000-1000-8000-0026BB765291';
|
|
4105
4186
|
constructor() {
|
|
4106
4187
|
super('Tunneled Accessory State Number', TunneledAccessoryStateNumber.UUID, {
|
|
4107
|
-
format:
|
|
4108
|
-
perms: [
|
|
4188
|
+
format: Formats.INT,
|
|
4189
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4109
4190
|
});
|
|
4110
4191
|
this.value = this.getDefaultValue();
|
|
4111
4192
|
}
|
|
@@ -4123,8 +4204,8 @@ export class ValveType extends Characteristic {
|
|
|
4123
4204
|
static WATER_FAUCET = 3;
|
|
4124
4205
|
constructor() {
|
|
4125
4206
|
super('Valve Type', ValveType.UUID, {
|
|
4126
|
-
format:
|
|
4127
|
-
perms: [
|
|
4207
|
+
format: Formats.UINT8,
|
|
4208
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4128
4209
|
minValue: 0,
|
|
4129
4210
|
maxValue: 3,
|
|
4130
4211
|
minStep: 1,
|
|
@@ -4141,8 +4222,8 @@ export class Version extends Characteristic {
|
|
|
4141
4222
|
static UUID = '00000037-0000-1000-8000-0026BB765291';
|
|
4142
4223
|
constructor() {
|
|
4143
4224
|
super('Version', Version.UUID, {
|
|
4144
|
-
format:
|
|
4145
|
-
perms: [
|
|
4225
|
+
format: Formats.STRING,
|
|
4226
|
+
perms: [Perms.PAIRED_READ],
|
|
4146
4227
|
maxLen: 64,
|
|
4147
4228
|
});
|
|
4148
4229
|
this.value = this.getDefaultValue();
|
|
@@ -4157,8 +4238,8 @@ export class VideoAnalysisActive extends Characteristic {
|
|
|
4157
4238
|
static UUID = '00000229-0000-1000-8000-0026BB765291';
|
|
4158
4239
|
constructor() {
|
|
4159
4240
|
super('Video Analysis Active', VideoAnalysisActive.UUID, {
|
|
4160
|
-
format:
|
|
4161
|
-
perms: [
|
|
4241
|
+
format: Formats.UINT8,
|
|
4242
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
4162
4243
|
});
|
|
4163
4244
|
this.value = this.getDefaultValue();
|
|
4164
4245
|
}
|
|
@@ -4171,8 +4252,8 @@ export class VOCDensity extends Characteristic {
|
|
|
4171
4252
|
static UUID = '000000C8-0000-1000-8000-0026BB765291';
|
|
4172
4253
|
constructor() {
|
|
4173
4254
|
super('VOC Density', VOCDensity.UUID, {
|
|
4174
|
-
format:
|
|
4175
|
-
perms: [
|
|
4255
|
+
format: Formats.FLOAT,
|
|
4256
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4176
4257
|
minValue: 0,
|
|
4177
4258
|
maxValue: 1000,
|
|
4178
4259
|
minStep: 1,
|
|
@@ -4188,9 +4269,9 @@ export class Volume extends Characteristic {
|
|
|
4188
4269
|
static UUID = '00000119-0000-1000-8000-0026BB765291';
|
|
4189
4270
|
constructor() {
|
|
4190
4271
|
super('Volume', Volume.UUID, {
|
|
4191
|
-
format:
|
|
4192
|
-
perms: [
|
|
4193
|
-
unit:
|
|
4272
|
+
format: Formats.UINT8,
|
|
4273
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
|
|
4274
|
+
unit: Units.PERCENTAGE,
|
|
4194
4275
|
minValue: 0,
|
|
4195
4276
|
maxValue: 100,
|
|
4196
4277
|
minStep: 1,
|
|
@@ -4210,8 +4291,8 @@ export class VolumeControlType extends Characteristic {
|
|
|
4210
4291
|
static ABSOLUTE = 3;
|
|
4211
4292
|
constructor() {
|
|
4212
4293
|
super('Volume Control Type', VolumeControlType.UUID, {
|
|
4213
|
-
format:
|
|
4214
|
-
perms: [
|
|
4294
|
+
format: Formats.UINT8,
|
|
4295
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4215
4296
|
minValue: 0,
|
|
4216
4297
|
maxValue: 3,
|
|
4217
4298
|
minStep: 1,
|
|
@@ -4230,8 +4311,8 @@ export class VolumeSelector extends Characteristic {
|
|
|
4230
4311
|
static DECREMENT = 1;
|
|
4231
4312
|
constructor() {
|
|
4232
4313
|
super('Volume Selector', VolumeSelector.UUID, {
|
|
4233
|
-
format:
|
|
4234
|
-
perms: [
|
|
4314
|
+
format: Formats.UINT8,
|
|
4315
|
+
perms: [Perms.PAIRED_WRITE],
|
|
4235
4316
|
minValue: 0,
|
|
4236
4317
|
maxValue: 1,
|
|
4237
4318
|
minStep: 1,
|
|
@@ -4249,8 +4330,8 @@ export class WakeConfiguration extends Characteristic {
|
|
|
4249
4330
|
static UUID = '00000222-0000-1000-8000-0026BB765291';
|
|
4250
4331
|
constructor() {
|
|
4251
4332
|
super('Wake Configuration', WakeConfiguration.UUID, {
|
|
4252
|
-
format:
|
|
4253
|
-
perms: [
|
|
4333
|
+
format: Formats.TLV8,
|
|
4334
|
+
perms: [Perms.PAIRED_READ],
|
|
4254
4335
|
});
|
|
4255
4336
|
this.value = this.getDefaultValue();
|
|
4256
4337
|
}
|
|
@@ -4263,8 +4344,8 @@ export class WANConfigurationList extends Characteristic {
|
|
|
4263
4344
|
static UUID = '00000211-0000-1000-8000-0026BB765291';
|
|
4264
4345
|
constructor() {
|
|
4265
4346
|
super('WAN Configuration List', WANConfigurationList.UUID, {
|
|
4266
|
-
format:
|
|
4267
|
-
perms: [
|
|
4347
|
+
format: Formats.TLV8,
|
|
4348
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4268
4349
|
});
|
|
4269
4350
|
this.value = this.getDefaultValue();
|
|
4270
4351
|
}
|
|
@@ -4277,8 +4358,8 @@ export class WANStatusList extends Characteristic {
|
|
|
4277
4358
|
static UUID = '00000212-0000-1000-8000-0026BB765291';
|
|
4278
4359
|
constructor() {
|
|
4279
4360
|
super('WAN Status List', WANStatusList.UUID, {
|
|
4280
|
-
format:
|
|
4281
|
-
perms: [
|
|
4361
|
+
format: Formats.TLV8,
|
|
4362
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4282
4363
|
});
|
|
4283
4364
|
this.value = this.getDefaultValue();
|
|
4284
4365
|
}
|
|
@@ -4291,9 +4372,9 @@ export class WaterLevel extends Characteristic {
|
|
|
4291
4372
|
static UUID = '000000B5-0000-1000-8000-0026BB765291';
|
|
4292
4373
|
constructor() {
|
|
4293
4374
|
super('Water Level', WaterLevel.UUID, {
|
|
4294
|
-
format:
|
|
4295
|
-
perms: [
|
|
4296
|
-
unit:
|
|
4375
|
+
format: Formats.FLOAT,
|
|
4376
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4377
|
+
unit: Units.PERCENTAGE,
|
|
4297
4378
|
minValue: 0,
|
|
4298
4379
|
maxValue: 100,
|
|
4299
4380
|
minStep: 1,
|
|
@@ -4310,8 +4391,8 @@ export class WiFiCapabilities extends Characteristic {
|
|
|
4310
4391
|
static UUID = '0000022C-0000-1000-8000-0026BB765291';
|
|
4311
4392
|
constructor() {
|
|
4312
4393
|
super('Wi-Fi Capabilities', WiFiCapabilities.UUID, {
|
|
4313
|
-
format:
|
|
4314
|
-
perms: [
|
|
4394
|
+
format: Formats.UINT32,
|
|
4395
|
+
perms: [Perms.PAIRED_READ],
|
|
4315
4396
|
});
|
|
4316
4397
|
this.value = this.getDefaultValue();
|
|
4317
4398
|
}
|
|
@@ -4325,13 +4406,13 @@ export class WiFiConfigurationControl extends Characteristic {
|
|
|
4325
4406
|
static UUID = '0000022D-0000-1000-8000-0026BB765291';
|
|
4326
4407
|
constructor() {
|
|
4327
4408
|
super('Wi-Fi Configuration Control', WiFiConfigurationControl.UUID, {
|
|
4328
|
-
format:
|
|
4409
|
+
format: Formats.TLV8,
|
|
4329
4410
|
perms: [
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4411
|
+
Perms.NOTIFY,
|
|
4412
|
+
Perms.PAIRED_READ,
|
|
4413
|
+
Perms.PAIRED_WRITE,
|
|
4414
|
+
Perms.TIMED_WRITE,
|
|
4415
|
+
Perms.WRITE_RESPONSE,
|
|
4335
4416
|
],
|
|
4336
4417
|
});
|
|
4337
4418
|
this.value = this.getDefaultValue();
|
|
@@ -4348,8 +4429,8 @@ export class WiFiSatelliteStatus extends Characteristic {
|
|
|
4348
4429
|
static NOT_CONNECTED = 2;
|
|
4349
4430
|
constructor() {
|
|
4350
4431
|
super('Wi-Fi Satellite Status', WiFiSatelliteStatus.UUID, {
|
|
4351
|
-
format:
|
|
4352
|
-
perms: [
|
|
4432
|
+
format: Formats.UINT8,
|
|
4433
|
+
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
|
|
4353
4434
|
minValue: 0,
|
|
4354
4435
|
maxValue: 2,
|
|
4355
4436
|
validValues: [0, 1, 2],
|