@homebridge/hap-nodejs 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/bonjour-hap.d.ts +66 -0
- package/@types/simple-plist.d.ts +4 -0
- package/LICENSE +176 -0
- package/README.md +86 -0
- package/dist/accessories/AirConditioner_accessory.d.ts +2 -0
- package/dist/accessories/AirConditioner_accessory.d.ts.map +1 -0
- package/dist/accessories/AirConditioner_accessory.js +128 -0
- package/dist/accessories/AirConditioner_accessory.js.map +1 -0
- package/dist/accessories/AppleTVRemote_accessory.d.ts +2 -0
- package/dist/accessories/AppleTVRemote_accessory.d.ts.map +1 -0
- package/dist/accessories/AppleTVRemote_accessory.js +159 -0
- package/dist/accessories/AppleTVRemote_accessory.js.map +1 -0
- package/dist/accessories/Camera_accessory.d.ts +2 -0
- package/dist/accessories/Camera_accessory.d.ts.map +1 -0
- package/dist/accessories/Camera_accessory.js +545 -0
- package/dist/accessories/Camera_accessory.js.map +1 -0
- package/dist/accessories/Fan_accessory.d.ts +2 -0
- package/dist/accessories/Fan_accessory.d.ts.map +1 -0
- package/dist/accessories/Fan_accessory.js +74 -0
- package/dist/accessories/Fan_accessory.js.map +1 -0
- package/dist/accessories/GarageDoorOpener_accessory.d.ts +2 -0
- package/dist/accessories/GarageDoorOpener_accessory.d.ts.map +1 -0
- package/dist/accessories/GarageDoorOpener_accessory.js +78 -0
- package/dist/accessories/GarageDoorOpener_accessory.js.map +1 -0
- package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts +2 -0
- package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts.map +1 -0
- package/dist/accessories/Light-AdaptiveLighting_accessory.js +106 -0
- package/dist/accessories/Light-AdaptiveLighting_accessory.js.map +1 -0
- package/dist/accessories/Light_accessory.d.ts +2 -0
- package/dist/accessories/Light_accessory.d.ts.map +1 -0
- package/dist/accessories/Light_accessory.js +145 -0
- package/dist/accessories/Light_accessory.js.map +1 -0
- package/dist/accessories/Lock_accessory.d.ts +2 -0
- package/dist/accessories/Lock_accessory.d.ts.map +1 -0
- package/dist/accessories/Lock_accessory.js +76 -0
- package/dist/accessories/Lock_accessory.js.map +1 -0
- package/dist/accessories/MotionSensor_accessory.d.ts +2 -0
- package/dist/accessories/MotionSensor_accessory.d.ts.map +1 -0
- package/dist/accessories/MotionSensor_accessory.js +45 -0
- package/dist/accessories/MotionSensor_accessory.js.map +1 -0
- package/dist/accessories/Outlet_accessory.d.ts +2 -0
- package/dist/accessories/Outlet_accessory.d.ts.map +1 -0
- package/dist/accessories/Outlet_accessory.js +79 -0
- package/dist/accessories/Outlet_accessory.js.map +1 -0
- package/dist/accessories/SmartSpeaker_accessory.d.ts +2 -0
- package/dist/accessories/SmartSpeaker_accessory.d.ts.map +1 -0
- package/dist/accessories/SmartSpeaker_accessory.js +44 -0
- package/dist/accessories/SmartSpeaker_accessory.js.map +1 -0
- package/dist/accessories/Sprinkler_accessory.d.ts +2 -0
- package/dist/accessories/Sprinkler_accessory.d.ts.map +1 -0
- package/dist/accessories/Sprinkler_accessory.js +128 -0
- package/dist/accessories/Sprinkler_accessory.js.map +1 -0
- package/dist/accessories/TV_accessory.d.ts +2 -0
- package/dist/accessories/TV_accessory.d.ts.map +1 -0
- package/dist/accessories/TV_accessory.js +101 -0
- package/dist/accessories/TV_accessory.js.map +1 -0
- package/dist/accessories/TemperatureSensor_accessory.d.ts +2 -0
- package/dist/accessories/TemperatureSensor_accessory.d.ts.map +1 -0
- package/dist/accessories/TemperatureSensor_accessory.js +44 -0
- package/dist/accessories/TemperatureSensor_accessory.js.map +1 -0
- package/dist/accessories/Wi-FiRouter_accessory.d.ts +3 -0
- package/dist/accessories/Wi-FiRouter_accessory.d.ts.map +1 -0
- package/dist/accessories/Wi-FiRouter_accessory.js +17 -0
- package/dist/accessories/Wi-FiRouter_accessory.js.map +1 -0
- package/dist/accessories/Wi-FiSatellite_accessory.d.ts +3 -0
- package/dist/accessories/Wi-FiSatellite_accessory.d.ts.map +1 -0
- package/dist/accessories/Wi-FiSatellite_accessory.js +19 -0
- package/dist/accessories/Wi-FiSatellite_accessory.js.map +1 -0
- package/dist/accessories/gstreamer-audioProducer.d.ts +25 -0
- package/dist/accessories/gstreamer-audioProducer.d.ts.map +1 -0
- package/dist/accessories/gstreamer-audioProducer.js +145 -0
- package/dist/accessories/gstreamer-audioProducer.js.map +1 -0
- package/dist/accessories/types.d.ts +78 -0
- package/dist/accessories/types.d.ts.map +1 -0
- package/dist/accessories/types.js +88 -0
- package/dist/accessories/types.js.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +53 -0
- package/dist/index.js.map +1 -0
- package/dist/internal-types.d.ts +76 -0
- package/dist/internal-types.d.ts.map +1 -0
- package/dist/internal-types.js +80 -0
- package/dist/internal-types.js.map +1 -0
- package/dist/lib/Accessory.d.ts +492 -0
- package/dist/lib/Accessory.d.ts.map +1 -0
- package/dist/lib/Accessory.js +1642 -0
- package/dist/lib/Accessory.js.map +1 -0
- package/dist/lib/Advertiser.d.ts +190 -0
- package/dist/lib/Advertiser.d.ts.map +1 -0
- package/dist/lib/Advertiser.js +594 -0
- package/dist/lib/Advertiser.js.map +1 -0
- package/dist/lib/Bridge.d.ts +12 -0
- package/dist/lib/Bridge.d.ts.map +1 -0
- package/dist/lib/Bridge.js +19 -0
- package/dist/lib/Bridge.js.map +1 -0
- package/dist/lib/Characteristic.d.ts +1604 -0
- package/dist/lib/Characteristic.d.ts.map +1 -0
- package/dist/lib/Characteristic.js +2318 -0
- package/dist/lib/Characteristic.js.map +1 -0
- package/dist/lib/HAPServer.d.ts +302 -0
- package/dist/lib/HAPServer.d.ts.map +1 -0
- package/dist/lib/HAPServer.js +849 -0
- package/dist/lib/HAPServer.js.map +1 -0
- package/dist/lib/Service.d.ts +568 -0
- package/dist/lib/Service.d.ts.map +1 -0
- package/dist/lib/Service.js +764 -0
- package/dist/lib/Service.js.map +1 -0
- package/dist/lib/camera/RTPProxy.d.ts +59 -0
- package/dist/lib/camera/RTPProxy.d.ts.map +1 -0
- package/dist/lib/camera/RTPProxy.js +267 -0
- package/dist/lib/camera/RTPProxy.js.map +1 -0
- package/dist/lib/camera/RTPStreamManagement.d.ts +378 -0
- package/dist/lib/camera/RTPStreamManagement.d.ts.map +1 -0
- package/dist/lib/camera/RTPStreamManagement.js +1007 -0
- package/dist/lib/camera/RTPStreamManagement.js.map +1 -0
- package/dist/lib/camera/RecordingManagement.d.ts +325 -0
- package/dist/lib/camera/RecordingManagement.d.ts.map +1 -0
- package/dist/lib/camera/RecordingManagement.js +766 -0
- package/dist/lib/camera/RecordingManagement.js.map +1 -0
- package/dist/lib/camera/index.d.ts +4 -0
- package/dist/lib/camera/index.d.ts.map +1 -0
- package/dist/lib/camera/index.js +7 -0
- package/dist/lib/camera/index.js.map +1 -0
- package/dist/lib/controller/AdaptiveLightingController.d.ts +455 -0
- package/dist/lib/controller/AdaptiveLightingController.d.ts.map +1 -0
- package/dist/lib/controller/AdaptiveLightingController.js +868 -0
- package/dist/lib/controller/AdaptiveLightingController.js.map +1 -0
- package/dist/lib/controller/CameraController.d.ts +411 -0
- package/dist/lib/controller/CameraController.d.ts.map +1 -0
- package/dist/lib/controller/CameraController.js +658 -0
- package/dist/lib/controller/CameraController.js.map +1 -0
- package/dist/lib/controller/Controller.d.ts +175 -0
- package/dist/lib/controller/Controller.d.ts.map +1 -0
- package/dist/lib/controller/Controller.js +24 -0
- package/dist/lib/controller/Controller.js.map +1 -0
- package/dist/lib/controller/DoorbellController.d.ts +59 -0
- package/dist/lib/controller/DoorbellController.d.ts.map +1 -0
- package/dist/lib/controller/DoorbellController.js +102 -0
- package/dist/lib/controller/DoorbellController.js.map +1 -0
- package/dist/lib/controller/RemoteController.d.ts +440 -0
- package/dist/lib/controller/RemoteController.d.ts.map +1 -0
- package/dist/lib/controller/RemoteController.js +1178 -0
- package/dist/lib/controller/RemoteController.js.map +1 -0
- package/dist/lib/controller/index.d.ts +6 -0
- package/dist/lib/controller/index.d.ts.map +1 -0
- package/dist/lib/controller/index.js +9 -0
- package/dist/lib/controller/index.js.map +1 -0
- package/dist/lib/datastream/DataStreamManagement.d.ts +73 -0
- package/dist/lib/datastream/DataStreamManagement.d.ts.map +1 -0
- package/dist/lib/datastream/DataStreamManagement.js +205 -0
- package/dist/lib/datastream/DataStreamManagement.js.map +1 -0
- package/dist/lib/datastream/DataStreamParser.d.ts +186 -0
- package/dist/lib/datastream/DataStreamParser.d.ts.map +1 -0
- package/dist/lib/datastream/DataStreamParser.js +879 -0
- package/dist/lib/datastream/DataStreamParser.js.map +1 -0
- package/dist/lib/datastream/DataStreamServer.d.ts +357 -0
- package/dist/lib/datastream/DataStreamServer.d.ts.map +1 -0
- package/dist/lib/datastream/DataStreamServer.js +878 -0
- package/dist/lib/datastream/DataStreamServer.js.map +1 -0
- package/dist/lib/datastream/index.d.ts +4 -0
- package/dist/lib/datastream/index.d.ts.map +1 -0
- package/dist/lib/datastream/index.js +7 -0
- package/dist/lib/datastream/index.js.map +1 -0
- package/dist/lib/definitions/CharacteristicDefinitions.d.ts +1984 -0
- package/dist/lib/definitions/CharacteristicDefinitions.d.ts.map +1 -0
- package/dist/lib/definitions/CharacteristicDefinitions.js +4422 -0
- package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -0
- package/dist/lib/definitions/ServiceDefinitions.d.ts +519 -0
- package/dist/lib/definitions/ServiceDefinitions.d.ts.map +1 -0
- package/dist/lib/definitions/ServiceDefinitions.js +1361 -0
- package/dist/lib/definitions/ServiceDefinitions.js.map +1 -0
- package/dist/lib/definitions/generate-definitions.d.ts +34 -0
- package/dist/lib/definitions/generate-definitions.d.ts.map +1 -0
- package/dist/lib/definitions/generate-definitions.js +624 -0
- package/dist/lib/definitions/generate-definitions.js.map +1 -0
- package/dist/lib/definitions/generator-configuration.d.ts +22 -0
- package/dist/lib/definitions/generator-configuration.d.ts.map +1 -0
- package/dist/lib/definitions/generator-configuration.js +371 -0
- package/dist/lib/definitions/generator-configuration.js.map +1 -0
- package/dist/lib/definitions/index.d.ts +3 -0
- package/dist/lib/definitions/index.d.ts.map +1 -0
- package/dist/lib/definitions/index.js +6 -0
- package/dist/lib/definitions/index.js.map +1 -0
- package/dist/lib/gen/HomeKit.d.ts +7 -0
- package/dist/lib/gen/HomeKit.d.ts.map +1 -0
- package/dist/lib/gen/HomeKit.js +8 -0
- package/dist/lib/gen/HomeKit.js.map +1 -0
- package/dist/lib/model/AccessoryInfo.d.ts +82 -0
- package/dist/lib/model/AccessoryInfo.d.ts.map +1 -0
- package/dist/lib/model/AccessoryInfo.js +277 -0
- package/dist/lib/model/AccessoryInfo.js.map +1 -0
- package/dist/lib/model/ControllerStorage.d.ts +45 -0
- package/dist/lib/model/ControllerStorage.d.ts.map +1 -0
- package/dist/lib/model/ControllerStorage.js +245 -0
- package/dist/lib/model/ControllerStorage.js.map +1 -0
- package/dist/lib/model/HAPStorage.d.ts +15 -0
- package/dist/lib/model/HAPStorage.d.ts.map +1 -0
- package/dist/lib/model/HAPStorage.js +43 -0
- package/dist/lib/model/HAPStorage.js.map +1 -0
- package/dist/lib/model/IdentifierCache.d.ts +33 -0
- package/dist/lib/model/IdentifierCache.d.ts.map +1 -0
- package/dist/lib/model/IdentifierCache.js +114 -0
- package/dist/lib/model/IdentifierCache.js.map +1 -0
- package/dist/lib/tv/AccessControlManagement.d.ts +86 -0
- package/dist/lib/tv/AccessControlManagement.d.ts.map +1 -0
- package/dist/lib/tv/AccessControlManagement.js +127 -0
- package/dist/lib/tv/AccessControlManagement.js.map +1 -0
- package/dist/lib/util/checkName.d.ts +8 -0
- package/dist/lib/util/checkName.d.ts.map +1 -0
- package/dist/lib/util/checkName.js +17 -0
- package/dist/lib/util/checkName.js.map +1 -0
- package/dist/lib/util/clone.d.ts +7 -0
- package/dist/lib/util/clone.d.ts.map +1 -0
- package/dist/lib/util/clone.js +22 -0
- package/dist/lib/util/clone.js.map +1 -0
- package/dist/lib/util/color-utils.d.ts +18 -0
- package/dist/lib/util/color-utils.d.ts.map +1 -0
- package/dist/lib/util/color-utils.js +442 -0
- package/dist/lib/util/color-utils.js.map +1 -0
- package/dist/lib/util/eventedhttp.d.ts +251 -0
- package/dist/lib/util/eventedhttp.d.ts.map +1 -0
- package/dist/lib/util/eventedhttp.js +706 -0
- package/dist/lib/util/eventedhttp.js.map +1 -0
- package/dist/lib/util/hapCrypto.d.ts +42 -0
- package/dist/lib/util/hapCrypto.d.ts.map +1 -0
- package/dist/lib/util/hapCrypto.js +144 -0
- package/dist/lib/util/hapCrypto.js.map +1 -0
- package/dist/lib/util/hapStatusError.d.ts +16 -0
- package/dist/lib/util/hapStatusError.d.ts.map +1 -0
- package/dist/lib/util/hapStatusError.js +29 -0
- package/dist/lib/util/hapStatusError.js.map +1 -0
- package/dist/lib/util/net-utils.d.ts +21 -0
- package/dist/lib/util/net-utils.d.ts.map +1 -0
- package/dist/lib/util/net-utils.js +79 -0
- package/dist/lib/util/net-utils.js.map +1 -0
- package/dist/lib/util/once.d.ts +7 -0
- package/dist/lib/util/once.d.ts.map +1 -0
- package/dist/lib/util/once.js +22 -0
- package/dist/lib/util/once.js.map +1 -0
- package/dist/lib/util/promise-utils.d.ts +14 -0
- package/dist/lib/util/promise-utils.d.ts.map +1 -0
- package/dist/lib/util/promise-utils.js +29 -0
- package/dist/lib/util/promise-utils.js.map +1 -0
- package/dist/lib/util/request-util.d.ts +36 -0
- package/dist/lib/util/request-util.d.ts.map +1 -0
- package/dist/lib/util/request-util.js +108 -0
- package/dist/lib/util/request-util.js.map +1 -0
- package/dist/lib/util/time.d.ts +9 -0
- package/dist/lib/util/time.d.ts.map +1 -0
- package/dist/lib/util/time.js +23 -0
- package/dist/lib/util/time.js.map +1 -0
- package/dist/lib/util/tlv.d.ts +90 -0
- package/dist/lib/util/tlv.d.ts.map +1 -0
- package/dist/lib/util/tlv.js +312 -0
- package/dist/lib/util/tlv.js.map +1 -0
- package/dist/lib/util/uuid.d.ts +23 -0
- package/dist/lib/util/uuid.d.ts.map +1 -0
- package/dist/lib/util/uuid.js +78 -0
- package/dist/lib/util/uuid.js.map +1 -0
- package/dist/types.d.ts +276 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +11 -0
- package/dist/types.js.map +1 -0
- package/package.json +91 -0
|
@@ -0,0 +1,4422 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
|
|
3
|
+
// V=886
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CurrentSlatState = exports.CurrentRelativeHumidity = exports.CurrentPosition = exports.CurrentMediaState = exports.CurrentHumidifierDehumidifierState = exports.CurrentHorizontalTiltAngle = exports.CurrentHeatingCoolingState = exports.CurrentHeaterCoolerState = exports.CurrentFanState = exports.CurrentDoorState = exports.CurrentAmbientLightLevel = exports.CurrentAirPurifierState = exports.CryptoHash = exports.CoolingThresholdTemperature = exports.ContactSensorState = exports.ConfiguredName = exports.ConfigurationState = exports.ColorTemperature = exports.ClosedCaptions = exports.ChargingState = exports.CharacteristicValueTransitionControl = exports.CharacteristicValueActiveTransitionCount = exports.CCASignalDetectThreshold = exports.CCAEnergyDetectThreshold = exports.CarbonMonoxidePeakLevel = exports.CarbonMonoxideLevel = exports.CarbonMonoxideDetected = exports.CarbonDioxidePeakLevel = exports.CarbonDioxideLevel = exports.CarbonDioxideDetected = exports.CameraOperatingModeIndicator = exports.ButtonEvent = exports.Brightness = exports.BatteryLevel = exports.AudioFeedback = exports.AssetUpdateReadiness = exports.AppMatchingIdentifier = exports.AirQuality = exports.AirPlayEnable = exports.AirParticulateSize = exports.AirParticulateDensity = exports.AdministratorOnlyAccess = exports.ActivityInterval = exports.ActiveIdentifier = exports.Active = exports.AccessoryIdentifier = exports.AccessoryFlags = exports.AccessControlLevel = exports.AccessCodeSupportedConfiguration = exports.AccessCodeControlPoint = void 0;
|
|
6
|
+
exports.MaximumTransmitPower = exports.MatterFirmwareUpdateStatus = exports.MatterFirmwareRevisionNumber = exports.Manufacturer = exports.ManuallyDisabled = exports.ManagedNetworkEnable = exports.MACTransmissionCounters = exports.MACRetransmissionMaximum = exports.Logs = exports.LockTargetState = exports.LockPhysicalControls = exports.LockManagementAutoSecurityTimeout = exports.LockLastKnownAction = exports.LockCurrentState = exports.LockControlPoint = exports.ListPairings = exports.LeakDetected = exports.IsConfigured = exports.InUse = exports.InputSourceType = exports.InputDeviceType = exports.ImageRotation = exports.ImageMirroring = exports.Identify = exports.Identifier = exports.Hue = exports.HomeKitCameraActive = exports.HoldPosition = exports.HeatingThresholdTemperature = exports.HeartBeat = exports.HardwareRevision = exports.HardwareFinish = exports.FirmwareUpdateStatus = exports.FirmwareUpdateReadiness = exports.FirmwareRevision = exports.FilterLifeLevel = exports.FilterChangeIndication = exports.EventTransmissionCounters = exports.EventSnapshotsActive = exports.EventRetransmissionMaximum = exports.DisplayOrder = exports.DigitalZoom = exports.DiagonalFieldOfView = exports.DataStreamHAPTransportInterrupt = exports.DataStreamHAPTransport = exports.CurrentVisibilityState = exports.CurrentVerticalTiltAngle = exports.CurrentTransport = exports.CurrentTiltAngle = exports.CurrentTemperature = void 0;
|
|
7
|
+
exports.Saturation = exports.RouterStatus = exports.RotationSpeed = exports.RotationDirection = exports.ResetFilterIndication = exports.RemoteKey = exports.RemainingDuration = exports.RelayState = exports.RelayEnabled = exports.RelayControlPoint = exports.RelativeHumidityHumidifierThreshold = exports.RelativeHumidityDehumidifierThreshold = exports.RecordingAudioActive = exports.ReceiverSensitivity = exports.ReceivedSignalStrengthIndication = exports.ProgramMode = exports.ProgrammableSwitchOutputState = exports.ProgrammableSwitchEvent = exports.ProductData = exports.PowerModeSelection = exports.PositionState = exports.PM2_5Density = exports.PM10Density = exports.Ping = exports.PictureMode = exports.PeriodicSnapshotsActive = exports.PasswordSetting = exports.PairVerify = exports.PairSetup = exports.PairingFeatures = exports.OzoneDensity = exports.OutletInUse = exports.OpticalZoom = exports.OperatingStateResponse = exports.On = exports.OccupancyDetected = exports.ObstructionDetected = exports.NitrogenDioxideDensity = exports.NightVision = exports.NFCAccessSupportedConfiguration = exports.NFCAccessControlPoint = exports.NetworkClientStatusControl = exports.NetworkClientProfileControl = exports.NetworkAccessViolationControl = exports.Name = exports.Mute = exports.MultifunctionButton = exports.MotionDetected = exports.Model = exports.MetricsBufferFullState = void 0;
|
|
8
|
+
exports.SupportedTransferTransportConfiguration = exports.SupportedSleepConfiguration = exports.SupportedRTPConfiguration = exports.SupportedRouterConfiguration = exports.SupportedMetrics = exports.SupportedFirmwareUpdateConfiguration = exports.SupportedDiagnosticsSnapshot = exports.SupportedDiagnosticsModes = exports.SupportedDataStreamTransportConfiguration = exports.SupportedCharacteristicValueTransitionConfiguration = exports.SupportedCameraRecordingConfiguration = exports.SupportedAudioStreamConfiguration = exports.SupportedAudioRecordingConfiguration = exports.SupportedAssetTypes = exports.SulphurDioxideDensity = exports.StreamingStatus = exports.StatusTampered = exports.StatusLowBattery = exports.StatusJammed = exports.StatusFault = exports.StatusActive = exports.StagedFirmwareVersion = exports.SoftwareRevision = exports.SmokeDetected = exports.SleepInterval = exports.SleepDiscoveryMode = exports.SlatType = exports.SiriTouchToUse = exports.SiriListening = exports.SiriLightOnUse = exports.SiriInputType = exports.SiriEngineVersion = exports.SiriEndpointSessionStatus = exports.SiriEnable = exports.SignalToNoiseRatio = exports.SetupTransferTransport = exports.SetupEndpoints = exports.SetupDataStreamTransport = exports.SetDuration = exports.ServiceLabelNamespace = exports.ServiceLabelIndex = exports.SerialNumber = exports.SelectedSleepConfiguration = exports.SelectedRTPStreamConfiguration = exports.SelectedDiagnosticsModes = exports.SelectedCameraRecordingConfiguration = exports.SelectedAudioStreamConfiguration = exports.SecuritySystemTargetState = exports.SecuritySystemCurrentState = exports.SecuritySystemAlarmType = void 0;
|
|
9
|
+
exports.WiFiSatelliteStatus = exports.WiFiConfigurationControl = exports.WiFiCapabilities = exports.WaterLevel = exports.WANStatusList = exports.WANConfigurationList = exports.WakeConfiguration = exports.VolumeSelector = exports.VolumeControlType = exports.Volume = exports.VOCDensity = exports.VideoAnalysisActive = exports.Version = exports.ValveType = exports.TunneledAccessoryStateNumber = exports.TunneledAccessoryConnected = exports.TunneledAccessoryAdvertising = exports.TunnelConnectionTimeout = exports.TransmitPower = exports.Token = exports.ThreadStatus = exports.ThreadOpenThreadVersion = exports.ThreadNodeCapabilities = exports.ThreadControlPoint = exports.ThirdPartyCameraActive = exports.TemperatureDisplayUnits = exports.TargetVisibilityState = exports.TargetVerticalTiltAngle = exports.TargetTiltAngle = exports.TargetTemperature = exports.TargetRelativeHumidity = exports.TargetPosition = exports.TargetMediaState = exports.TargetHumidifierDehumidifierState = exports.TargetHorizontalTiltAngle = exports.TargetHeatingCoolingState = exports.TargetHeaterCoolerState = exports.TargetFanState = exports.TargetDoorState = exports.TargetControlSupportedConfiguration = exports.TargetControlList = exports.TargetAirPurifierState = exports.TapType = exports.SwingMode = exports.SupportedVideoStreamConfiguration = exports.SupportedVideoRecordingConfiguration = void 0;
|
|
10
|
+
const Characteristic_1 = require("../Characteristic");
|
|
11
|
+
/**
|
|
12
|
+
* Characteristic "Access Code Control Point"
|
|
13
|
+
* @since iOS 15
|
|
14
|
+
*/
|
|
15
|
+
class AccessCodeControlPoint extends Characteristic_1.Characteristic {
|
|
16
|
+
static UUID = "00000262-0000-1000-8000-0026BB765291";
|
|
17
|
+
constructor() {
|
|
18
|
+
super("Access Code Control Point", AccessCodeControlPoint.UUID, {
|
|
19
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
20
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
21
|
+
});
|
|
22
|
+
this.value = this.getDefaultValue();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.AccessCodeControlPoint = AccessCodeControlPoint;
|
|
26
|
+
Characteristic_1.Characteristic.AccessCodeControlPoint = AccessCodeControlPoint;
|
|
27
|
+
/**
|
|
28
|
+
* Characteristic "Access Code Supported Configuration"
|
|
29
|
+
* @since iOS 15
|
|
30
|
+
*/
|
|
31
|
+
class AccessCodeSupportedConfiguration extends Characteristic_1.Characteristic {
|
|
32
|
+
static UUID = "00000261-0000-1000-8000-0026BB765291";
|
|
33
|
+
constructor() {
|
|
34
|
+
super("Access Code Supported Configuration", AccessCodeSupportedConfiguration.UUID, {
|
|
35
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
36
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
37
|
+
});
|
|
38
|
+
this.value = this.getDefaultValue();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.AccessCodeSupportedConfiguration = AccessCodeSupportedConfiguration;
|
|
42
|
+
Characteristic_1.Characteristic.AccessCodeSupportedConfiguration = AccessCodeSupportedConfiguration;
|
|
43
|
+
/**
|
|
44
|
+
* Characteristic "Access Control Level"
|
|
45
|
+
*/
|
|
46
|
+
class AccessControlLevel extends Characteristic_1.Characteristic {
|
|
47
|
+
static UUID = "000000E5-0000-1000-8000-0026BB765291";
|
|
48
|
+
constructor() {
|
|
49
|
+
super("Access Control Level", AccessControlLevel.UUID, {
|
|
50
|
+
format: "uint16" /* Formats.UINT16 */,
|
|
51
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
52
|
+
minValue: 0,
|
|
53
|
+
maxValue: 2,
|
|
54
|
+
minStep: 1,
|
|
55
|
+
});
|
|
56
|
+
this.value = this.getDefaultValue();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.AccessControlLevel = AccessControlLevel;
|
|
60
|
+
Characteristic_1.Characteristic.AccessControlLevel = AccessControlLevel;
|
|
61
|
+
/**
|
|
62
|
+
* Characteristic "Accessory Flags"
|
|
63
|
+
*/
|
|
64
|
+
class AccessoryFlags extends Characteristic_1.Characteristic {
|
|
65
|
+
static UUID = "000000A6-0000-1000-8000-0026BB765291";
|
|
66
|
+
static REQUIRES_ADDITIONAL_SETUP_BIT_MASK = 1;
|
|
67
|
+
constructor() {
|
|
68
|
+
super("Accessory Flags", AccessoryFlags.UUID, {
|
|
69
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
70
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
71
|
+
});
|
|
72
|
+
this.value = this.getDefaultValue();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.AccessoryFlags = AccessoryFlags;
|
|
76
|
+
Characteristic_1.Characteristic.AccessoryFlags = AccessoryFlags;
|
|
77
|
+
/**
|
|
78
|
+
* Characteristic "Accessory Identifier"
|
|
79
|
+
*/
|
|
80
|
+
class AccessoryIdentifier extends Characteristic_1.Characteristic {
|
|
81
|
+
static UUID = "00000057-0000-1000-8000-0026BB765291";
|
|
82
|
+
constructor() {
|
|
83
|
+
super("Accessory Identifier", AccessoryIdentifier.UUID, {
|
|
84
|
+
format: "string" /* Formats.STRING */,
|
|
85
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
86
|
+
});
|
|
87
|
+
this.value = this.getDefaultValue();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.AccessoryIdentifier = AccessoryIdentifier;
|
|
91
|
+
Characteristic_1.Characteristic.AccessoryIdentifier = AccessoryIdentifier;
|
|
92
|
+
/**
|
|
93
|
+
* Characteristic "Active"
|
|
94
|
+
*/
|
|
95
|
+
class Active extends Characteristic_1.Characteristic {
|
|
96
|
+
static UUID = "000000B0-0000-1000-8000-0026BB765291";
|
|
97
|
+
static INACTIVE = 0;
|
|
98
|
+
static ACTIVE = 1;
|
|
99
|
+
constructor() {
|
|
100
|
+
super("Active", Active.UUID, {
|
|
101
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
102
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
103
|
+
minValue: 0,
|
|
104
|
+
maxValue: 1,
|
|
105
|
+
minStep: 1,
|
|
106
|
+
validValues: [0, 1],
|
|
107
|
+
});
|
|
108
|
+
this.value = this.getDefaultValue();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.Active = Active;
|
|
112
|
+
Characteristic_1.Characteristic.Active = Active;
|
|
113
|
+
/**
|
|
114
|
+
* Characteristic "Active Identifier"
|
|
115
|
+
*/
|
|
116
|
+
class ActiveIdentifier extends Characteristic_1.Characteristic {
|
|
117
|
+
static UUID = "000000E7-0000-1000-8000-0026BB765291";
|
|
118
|
+
constructor() {
|
|
119
|
+
super("Active Identifier", ActiveIdentifier.UUID, {
|
|
120
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
121
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
122
|
+
});
|
|
123
|
+
this.value = this.getDefaultValue();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.ActiveIdentifier = ActiveIdentifier;
|
|
127
|
+
Characteristic_1.Characteristic.ActiveIdentifier = ActiveIdentifier;
|
|
128
|
+
/**
|
|
129
|
+
* Characteristic "Activity Interval"
|
|
130
|
+
* @since iOS 14
|
|
131
|
+
*/
|
|
132
|
+
class ActivityInterval extends Characteristic_1.Characteristic {
|
|
133
|
+
static UUID = "0000023B-0000-1000-8000-0026BB765291";
|
|
134
|
+
constructor() {
|
|
135
|
+
super("Activity Interval", ActivityInterval.UUID, {
|
|
136
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
137
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
138
|
+
minValue: 0,
|
|
139
|
+
minStep: 1,
|
|
140
|
+
});
|
|
141
|
+
this.value = this.getDefaultValue();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.ActivityInterval = ActivityInterval;
|
|
145
|
+
Characteristic_1.Characteristic.ActivityInterval = ActivityInterval;
|
|
146
|
+
/**
|
|
147
|
+
* Characteristic "Administrator Only Access"
|
|
148
|
+
*/
|
|
149
|
+
class AdministratorOnlyAccess extends Characteristic_1.Characteristic {
|
|
150
|
+
static UUID = "00000001-0000-1000-8000-0026BB765291";
|
|
151
|
+
constructor() {
|
|
152
|
+
super("Administrator Only Access", AdministratorOnlyAccess.UUID, {
|
|
153
|
+
format: "bool" /* Formats.BOOL */,
|
|
154
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
155
|
+
});
|
|
156
|
+
this.value = this.getDefaultValue();
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.AdministratorOnlyAccess = AdministratorOnlyAccess;
|
|
160
|
+
Characteristic_1.Characteristic.AdministratorOnlyAccess = AdministratorOnlyAccess;
|
|
161
|
+
/**
|
|
162
|
+
* Characteristic "Air Particulate Density"
|
|
163
|
+
*/
|
|
164
|
+
class AirParticulateDensity extends Characteristic_1.Characteristic {
|
|
165
|
+
static UUID = "00000064-0000-1000-8000-0026BB765291";
|
|
166
|
+
constructor() {
|
|
167
|
+
super("Air Particulate Density", AirParticulateDensity.UUID, {
|
|
168
|
+
format: "float" /* Formats.FLOAT */,
|
|
169
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
170
|
+
minValue: 0,
|
|
171
|
+
maxValue: 1000,
|
|
172
|
+
});
|
|
173
|
+
this.value = this.getDefaultValue();
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.AirParticulateDensity = AirParticulateDensity;
|
|
177
|
+
Characteristic_1.Characteristic.AirParticulateDensity = AirParticulateDensity;
|
|
178
|
+
/**
|
|
179
|
+
* Characteristic "Air Particulate Size"
|
|
180
|
+
*/
|
|
181
|
+
class AirParticulateSize extends Characteristic_1.Characteristic {
|
|
182
|
+
static UUID = "00000065-0000-1000-8000-0026BB765291";
|
|
183
|
+
static _2_5_M = 0;
|
|
184
|
+
static _10_M = 1;
|
|
185
|
+
constructor() {
|
|
186
|
+
super("Air Particulate Size", AirParticulateSize.UUID, {
|
|
187
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
188
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
189
|
+
minValue: 0,
|
|
190
|
+
maxValue: 1,
|
|
191
|
+
minStep: 1,
|
|
192
|
+
validValues: [0, 1],
|
|
193
|
+
});
|
|
194
|
+
this.value = this.getDefaultValue();
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.AirParticulateSize = AirParticulateSize;
|
|
198
|
+
Characteristic_1.Characteristic.AirParticulateSize = AirParticulateSize;
|
|
199
|
+
/**
|
|
200
|
+
* Characteristic "AirPlay Enable"
|
|
201
|
+
*/
|
|
202
|
+
class AirPlayEnable extends Characteristic_1.Characteristic {
|
|
203
|
+
static UUID = "0000025B-0000-1000-8000-0026BB765291";
|
|
204
|
+
constructor() {
|
|
205
|
+
super("AirPlay Enable", AirPlayEnable.UUID, {
|
|
206
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
207
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
208
|
+
minValue: 0,
|
|
209
|
+
maxValue: 1,
|
|
210
|
+
});
|
|
211
|
+
this.value = this.getDefaultValue();
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.AirPlayEnable = AirPlayEnable;
|
|
215
|
+
Characteristic_1.Characteristic.AirPlayEnable = AirPlayEnable;
|
|
216
|
+
/**
|
|
217
|
+
* Characteristic "Air Quality"
|
|
218
|
+
*/
|
|
219
|
+
class AirQuality extends Characteristic_1.Characteristic {
|
|
220
|
+
static UUID = "00000095-0000-1000-8000-0026BB765291";
|
|
221
|
+
static UNKNOWN = 0;
|
|
222
|
+
static EXCELLENT = 1;
|
|
223
|
+
static GOOD = 2;
|
|
224
|
+
static FAIR = 3;
|
|
225
|
+
static INFERIOR = 4;
|
|
226
|
+
static POOR = 5;
|
|
227
|
+
constructor() {
|
|
228
|
+
super("Air Quality", AirQuality.UUID, {
|
|
229
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
230
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
231
|
+
minValue: 0,
|
|
232
|
+
maxValue: 5,
|
|
233
|
+
minStep: 1,
|
|
234
|
+
validValues: [0, 1, 2, 3, 4, 5],
|
|
235
|
+
});
|
|
236
|
+
this.value = this.getDefaultValue();
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
exports.AirQuality = AirQuality;
|
|
240
|
+
Characteristic_1.Characteristic.AirQuality = AirQuality;
|
|
241
|
+
/**
|
|
242
|
+
* Characteristic "App Matching Identifier"
|
|
243
|
+
*/
|
|
244
|
+
class AppMatchingIdentifier extends Characteristic_1.Characteristic {
|
|
245
|
+
static UUID = "000000A4-0000-1000-8000-0026BB765291";
|
|
246
|
+
constructor() {
|
|
247
|
+
super("App Matching Identifier", AppMatchingIdentifier.UUID, {
|
|
248
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
249
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
250
|
+
});
|
|
251
|
+
this.value = this.getDefaultValue();
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
exports.AppMatchingIdentifier = AppMatchingIdentifier;
|
|
255
|
+
Characteristic_1.Characteristic.AppMatchingIdentifier = AppMatchingIdentifier;
|
|
256
|
+
/**
|
|
257
|
+
* Characteristic "Asset Update Readiness"
|
|
258
|
+
*/
|
|
259
|
+
class AssetUpdateReadiness extends Characteristic_1.Characteristic {
|
|
260
|
+
static UUID = "00000269-0000-1000-8000-0026BB765291";
|
|
261
|
+
constructor() {
|
|
262
|
+
super("Asset Update Readiness", AssetUpdateReadiness.UUID, {
|
|
263
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
264
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
265
|
+
});
|
|
266
|
+
this.value = this.getDefaultValue();
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
exports.AssetUpdateReadiness = AssetUpdateReadiness;
|
|
270
|
+
Characteristic_1.Characteristic.AssetUpdateReadiness = AssetUpdateReadiness;
|
|
271
|
+
/**
|
|
272
|
+
* Characteristic "Audio Feedback"
|
|
273
|
+
*/
|
|
274
|
+
class AudioFeedback extends Characteristic_1.Characteristic {
|
|
275
|
+
static UUID = "00000005-0000-1000-8000-0026BB765291";
|
|
276
|
+
constructor() {
|
|
277
|
+
super("Audio Feedback", AudioFeedback.UUID, {
|
|
278
|
+
format: "bool" /* Formats.BOOL */,
|
|
279
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
280
|
+
});
|
|
281
|
+
this.value = this.getDefaultValue();
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
exports.AudioFeedback = AudioFeedback;
|
|
285
|
+
Characteristic_1.Characteristic.AudioFeedback = AudioFeedback;
|
|
286
|
+
/**
|
|
287
|
+
* Characteristic "Battery Level"
|
|
288
|
+
*/
|
|
289
|
+
class BatteryLevel extends Characteristic_1.Characteristic {
|
|
290
|
+
static UUID = "00000068-0000-1000-8000-0026BB765291";
|
|
291
|
+
constructor() {
|
|
292
|
+
super("Battery Level", BatteryLevel.UUID, {
|
|
293
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
294
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
295
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
296
|
+
minValue: 0,
|
|
297
|
+
maxValue: 100,
|
|
298
|
+
minStep: 1,
|
|
299
|
+
});
|
|
300
|
+
this.value = this.getDefaultValue();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
exports.BatteryLevel = BatteryLevel;
|
|
304
|
+
Characteristic_1.Characteristic.BatteryLevel = BatteryLevel;
|
|
305
|
+
/**
|
|
306
|
+
* Characteristic "Brightness"
|
|
307
|
+
*/
|
|
308
|
+
class Brightness extends Characteristic_1.Characteristic {
|
|
309
|
+
static UUID = "00000008-0000-1000-8000-0026BB765291";
|
|
310
|
+
constructor() {
|
|
311
|
+
super("Brightness", Brightness.UUID, {
|
|
312
|
+
format: "int" /* Formats.INT */,
|
|
313
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
314
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
315
|
+
minValue: 0,
|
|
316
|
+
maxValue: 100,
|
|
317
|
+
minStep: 1,
|
|
318
|
+
});
|
|
319
|
+
this.value = this.getDefaultValue();
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
exports.Brightness = Brightness;
|
|
323
|
+
Characteristic_1.Characteristic.Brightness = Brightness;
|
|
324
|
+
/**
|
|
325
|
+
* Characteristic "Button Event"
|
|
326
|
+
*/
|
|
327
|
+
class ButtonEvent extends Characteristic_1.Characteristic {
|
|
328
|
+
static UUID = "00000126-0000-1000-8000-0026BB765291";
|
|
329
|
+
constructor() {
|
|
330
|
+
super("Button Event", ButtonEvent.UUID, {
|
|
331
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
332
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
333
|
+
adminOnlyAccess: [2 /* Access.NOTIFY */],
|
|
334
|
+
});
|
|
335
|
+
this.value = this.getDefaultValue();
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
exports.ButtonEvent = ButtonEvent;
|
|
339
|
+
Characteristic_1.Characteristic.ButtonEvent = ButtonEvent;
|
|
340
|
+
/**
|
|
341
|
+
* Characteristic "Camera Operating Mode Indicator"
|
|
342
|
+
*/
|
|
343
|
+
class CameraOperatingModeIndicator extends Characteristic_1.Characteristic {
|
|
344
|
+
static UUID = "0000021D-0000-1000-8000-0026BB765291";
|
|
345
|
+
static DISABLE = 0;
|
|
346
|
+
static ENABLE = 1;
|
|
347
|
+
constructor() {
|
|
348
|
+
super("Camera Operating Mode Indicator", CameraOperatingModeIndicator.UUID, {
|
|
349
|
+
format: "bool" /* Formats.BOOL */,
|
|
350
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
|
|
351
|
+
validValues: [0, 1],
|
|
352
|
+
});
|
|
353
|
+
this.value = this.getDefaultValue();
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.CameraOperatingModeIndicator = CameraOperatingModeIndicator;
|
|
357
|
+
Characteristic_1.Characteristic.CameraOperatingModeIndicator = CameraOperatingModeIndicator;
|
|
358
|
+
/**
|
|
359
|
+
* Characteristic "Carbon Dioxide Detected"
|
|
360
|
+
*/
|
|
361
|
+
class CarbonDioxideDetected extends Characteristic_1.Characteristic {
|
|
362
|
+
static UUID = "00000092-0000-1000-8000-0026BB765291";
|
|
363
|
+
static CO2_LEVELS_NORMAL = 0;
|
|
364
|
+
static CO2_LEVELS_ABNORMAL = 1;
|
|
365
|
+
constructor() {
|
|
366
|
+
super("Carbon Dioxide Detected", CarbonDioxideDetected.UUID, {
|
|
367
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
368
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
369
|
+
minValue: 0,
|
|
370
|
+
maxValue: 1,
|
|
371
|
+
minStep: 1,
|
|
372
|
+
validValues: [0, 1],
|
|
373
|
+
});
|
|
374
|
+
this.value = this.getDefaultValue();
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
exports.CarbonDioxideDetected = CarbonDioxideDetected;
|
|
378
|
+
Characteristic_1.Characteristic.CarbonDioxideDetected = CarbonDioxideDetected;
|
|
379
|
+
/**
|
|
380
|
+
* Characteristic "Carbon Dioxide Level"
|
|
381
|
+
*/
|
|
382
|
+
class CarbonDioxideLevel extends Characteristic_1.Characteristic {
|
|
383
|
+
static UUID = "00000093-0000-1000-8000-0026BB765291";
|
|
384
|
+
constructor() {
|
|
385
|
+
super("Carbon Dioxide Level", CarbonDioxideLevel.UUID, {
|
|
386
|
+
format: "float" /* Formats.FLOAT */,
|
|
387
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
388
|
+
minValue: 0,
|
|
389
|
+
maxValue: 100000,
|
|
390
|
+
minStep: 1,
|
|
391
|
+
});
|
|
392
|
+
this.value = this.getDefaultValue();
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
exports.CarbonDioxideLevel = CarbonDioxideLevel;
|
|
396
|
+
Characteristic_1.Characteristic.CarbonDioxideLevel = CarbonDioxideLevel;
|
|
397
|
+
/**
|
|
398
|
+
* Characteristic "Carbon Dioxide Peak Level"
|
|
399
|
+
*/
|
|
400
|
+
class CarbonDioxidePeakLevel extends Characteristic_1.Characteristic {
|
|
401
|
+
static UUID = "00000094-0000-1000-8000-0026BB765291";
|
|
402
|
+
constructor() {
|
|
403
|
+
super("Carbon Dioxide Peak Level", CarbonDioxidePeakLevel.UUID, {
|
|
404
|
+
format: "float" /* Formats.FLOAT */,
|
|
405
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
406
|
+
minValue: 0,
|
|
407
|
+
maxValue: 100000,
|
|
408
|
+
minStep: 1,
|
|
409
|
+
});
|
|
410
|
+
this.value = this.getDefaultValue();
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
exports.CarbonDioxidePeakLevel = CarbonDioxidePeakLevel;
|
|
414
|
+
Characteristic_1.Characteristic.CarbonDioxidePeakLevel = CarbonDioxidePeakLevel;
|
|
415
|
+
/**
|
|
416
|
+
* Characteristic "Carbon Monoxide Detected"
|
|
417
|
+
*/
|
|
418
|
+
class CarbonMonoxideDetected extends Characteristic_1.Characteristic {
|
|
419
|
+
static UUID = "00000069-0000-1000-8000-0026BB765291";
|
|
420
|
+
static CO_LEVELS_NORMAL = 0;
|
|
421
|
+
static CO_LEVELS_ABNORMAL = 1;
|
|
422
|
+
constructor() {
|
|
423
|
+
super("Carbon Monoxide Detected", CarbonMonoxideDetected.UUID, {
|
|
424
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
425
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
426
|
+
minValue: 0,
|
|
427
|
+
maxValue: 1,
|
|
428
|
+
minStep: 1,
|
|
429
|
+
validValues: [0, 1],
|
|
430
|
+
});
|
|
431
|
+
this.value = this.getDefaultValue();
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
exports.CarbonMonoxideDetected = CarbonMonoxideDetected;
|
|
435
|
+
Characteristic_1.Characteristic.CarbonMonoxideDetected = CarbonMonoxideDetected;
|
|
436
|
+
/**
|
|
437
|
+
* Characteristic "Carbon Monoxide Level"
|
|
438
|
+
*/
|
|
439
|
+
class CarbonMonoxideLevel extends Characteristic_1.Characteristic {
|
|
440
|
+
static UUID = "00000090-0000-1000-8000-0026BB765291";
|
|
441
|
+
constructor() {
|
|
442
|
+
super("Carbon Monoxide Level", CarbonMonoxideLevel.UUID, {
|
|
443
|
+
format: "float" /* Formats.FLOAT */,
|
|
444
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
445
|
+
minValue: 0,
|
|
446
|
+
maxValue: 100,
|
|
447
|
+
minStep: 1,
|
|
448
|
+
});
|
|
449
|
+
this.value = this.getDefaultValue();
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
exports.CarbonMonoxideLevel = CarbonMonoxideLevel;
|
|
453
|
+
Characteristic_1.Characteristic.CarbonMonoxideLevel = CarbonMonoxideLevel;
|
|
454
|
+
/**
|
|
455
|
+
* Characteristic "Carbon Monoxide Peak Level"
|
|
456
|
+
*/
|
|
457
|
+
class CarbonMonoxidePeakLevel extends Characteristic_1.Characteristic {
|
|
458
|
+
static UUID = "00000091-0000-1000-8000-0026BB765291";
|
|
459
|
+
constructor() {
|
|
460
|
+
super("Carbon Monoxide Peak Level", CarbonMonoxidePeakLevel.UUID, {
|
|
461
|
+
format: "float" /* Formats.FLOAT */,
|
|
462
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
463
|
+
minValue: 0,
|
|
464
|
+
maxValue: 100,
|
|
465
|
+
minStep: 1,
|
|
466
|
+
});
|
|
467
|
+
this.value = this.getDefaultValue();
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
exports.CarbonMonoxidePeakLevel = CarbonMonoxidePeakLevel;
|
|
471
|
+
Characteristic_1.Characteristic.CarbonMonoxidePeakLevel = CarbonMonoxidePeakLevel;
|
|
472
|
+
/**
|
|
473
|
+
* Characteristic "CCA Energy Detect Threshold"
|
|
474
|
+
* @since iOS 14
|
|
475
|
+
*/
|
|
476
|
+
class CCAEnergyDetectThreshold extends Characteristic_1.Characteristic {
|
|
477
|
+
static UUID = "00000246-0000-1000-8000-0026BB765291";
|
|
478
|
+
constructor() {
|
|
479
|
+
super("CCA Energy Detect Threshold", CCAEnergyDetectThreshold.UUID, {
|
|
480
|
+
format: "int" /* Formats.INT */,
|
|
481
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
482
|
+
});
|
|
483
|
+
this.value = this.getDefaultValue();
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
exports.CCAEnergyDetectThreshold = CCAEnergyDetectThreshold;
|
|
487
|
+
Characteristic_1.Characteristic.CCAEnergyDetectThreshold = CCAEnergyDetectThreshold;
|
|
488
|
+
/**
|
|
489
|
+
* Characteristic "CCA Signal Detect Threshold"
|
|
490
|
+
* @since iOS 14
|
|
491
|
+
*/
|
|
492
|
+
class CCASignalDetectThreshold extends Characteristic_1.Characteristic {
|
|
493
|
+
static UUID = "00000245-0000-1000-8000-0026BB765291";
|
|
494
|
+
constructor() {
|
|
495
|
+
super("CCA Signal Detect Threshold", CCASignalDetectThreshold.UUID, {
|
|
496
|
+
format: "int" /* Formats.INT */,
|
|
497
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
498
|
+
});
|
|
499
|
+
this.value = this.getDefaultValue();
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
exports.CCASignalDetectThreshold = CCASignalDetectThreshold;
|
|
503
|
+
Characteristic_1.Characteristic.CCASignalDetectThreshold = CCASignalDetectThreshold;
|
|
504
|
+
/**
|
|
505
|
+
* Characteristic "Characteristic Value Active Transition Count"
|
|
506
|
+
* @since iOS 14
|
|
507
|
+
*/
|
|
508
|
+
class CharacteristicValueActiveTransitionCount extends Characteristic_1.Characteristic {
|
|
509
|
+
static UUID = "0000024B-0000-1000-8000-0026BB765291";
|
|
510
|
+
constructor() {
|
|
511
|
+
super("Characteristic Value Active Transition Count", CharacteristicValueActiveTransitionCount.UUID, {
|
|
512
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
513
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
514
|
+
});
|
|
515
|
+
this.value = this.getDefaultValue();
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
exports.CharacteristicValueActiveTransitionCount = CharacteristicValueActiveTransitionCount;
|
|
519
|
+
Characteristic_1.Characteristic.CharacteristicValueActiveTransitionCount = CharacteristicValueActiveTransitionCount;
|
|
520
|
+
/**
|
|
521
|
+
* Characteristic "Characteristic Value Transition Control"
|
|
522
|
+
* @since iOS 14
|
|
523
|
+
*/
|
|
524
|
+
class CharacteristicValueTransitionControl extends Characteristic_1.Characteristic {
|
|
525
|
+
static UUID = "00000143-0000-1000-8000-0026BB765291";
|
|
526
|
+
constructor() {
|
|
527
|
+
super("Characteristic Value Transition Control", CharacteristicValueTransitionControl.UUID, {
|
|
528
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
529
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
530
|
+
});
|
|
531
|
+
this.value = this.getDefaultValue();
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
exports.CharacteristicValueTransitionControl = CharacteristicValueTransitionControl;
|
|
535
|
+
Characteristic_1.Characteristic.CharacteristicValueTransitionControl = CharacteristicValueTransitionControl;
|
|
536
|
+
/**
|
|
537
|
+
* Characteristic "Charging State"
|
|
538
|
+
*/
|
|
539
|
+
class ChargingState extends Characteristic_1.Characteristic {
|
|
540
|
+
static UUID = "0000008F-0000-1000-8000-0026BB765291";
|
|
541
|
+
static NOT_CHARGING = 0;
|
|
542
|
+
static CHARGING = 1;
|
|
543
|
+
static NOT_CHARGEABLE = 2;
|
|
544
|
+
constructor() {
|
|
545
|
+
super("Charging State", ChargingState.UUID, {
|
|
546
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
547
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
548
|
+
minValue: 0,
|
|
549
|
+
maxValue: 2,
|
|
550
|
+
minStep: 1,
|
|
551
|
+
validValues: [0, 1, 2],
|
|
552
|
+
});
|
|
553
|
+
this.value = this.getDefaultValue();
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
exports.ChargingState = ChargingState;
|
|
557
|
+
Characteristic_1.Characteristic.ChargingState = ChargingState;
|
|
558
|
+
/**
|
|
559
|
+
* Characteristic "Closed Captions"
|
|
560
|
+
*/
|
|
561
|
+
class ClosedCaptions extends Characteristic_1.Characteristic {
|
|
562
|
+
static UUID = "000000DD-0000-1000-8000-0026BB765291";
|
|
563
|
+
static DISABLED = 0;
|
|
564
|
+
static ENABLED = 1;
|
|
565
|
+
constructor() {
|
|
566
|
+
super("Closed Captions", ClosedCaptions.UUID, {
|
|
567
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
568
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
569
|
+
minValue: 0,
|
|
570
|
+
maxValue: 1,
|
|
571
|
+
minStep: 1,
|
|
572
|
+
validValues: [0, 1],
|
|
573
|
+
});
|
|
574
|
+
this.value = this.getDefaultValue();
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
exports.ClosedCaptions = ClosedCaptions;
|
|
578
|
+
Characteristic_1.Characteristic.ClosedCaptions = ClosedCaptions;
|
|
579
|
+
/**
|
|
580
|
+
* Characteristic "Color Temperature"
|
|
581
|
+
*/
|
|
582
|
+
class ColorTemperature extends Characteristic_1.Characteristic {
|
|
583
|
+
static UUID = "000000CE-0000-1000-8000-0026BB765291";
|
|
584
|
+
constructor() {
|
|
585
|
+
super("Color Temperature", ColorTemperature.UUID, {
|
|
586
|
+
format: "int" /* Formats.INT */,
|
|
587
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
588
|
+
minValue: 140,
|
|
589
|
+
maxValue: 500,
|
|
590
|
+
minStep: 1,
|
|
591
|
+
});
|
|
592
|
+
this.value = this.getDefaultValue();
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
exports.ColorTemperature = ColorTemperature;
|
|
596
|
+
Characteristic_1.Characteristic.ColorTemperature = ColorTemperature;
|
|
597
|
+
/**
|
|
598
|
+
* Characteristic "Configuration State"
|
|
599
|
+
* @since iOS 15
|
|
600
|
+
*/
|
|
601
|
+
class ConfigurationState extends Characteristic_1.Characteristic {
|
|
602
|
+
static UUID = "00000263-0000-1000-8000-0026BB765291";
|
|
603
|
+
constructor() {
|
|
604
|
+
super("Configuration State", ConfigurationState.UUID, {
|
|
605
|
+
format: "uint16" /* Formats.UINT16 */,
|
|
606
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
607
|
+
});
|
|
608
|
+
this.value = this.getDefaultValue();
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
exports.ConfigurationState = ConfigurationState;
|
|
612
|
+
Characteristic_1.Characteristic.ConfigurationState = ConfigurationState;
|
|
613
|
+
/**
|
|
614
|
+
* Characteristic "Configured Name"
|
|
615
|
+
*/
|
|
616
|
+
class ConfiguredName extends Characteristic_1.Characteristic {
|
|
617
|
+
static UUID = "000000E3-0000-1000-8000-0026BB765291";
|
|
618
|
+
constructor() {
|
|
619
|
+
super("Configured Name", ConfiguredName.UUID, {
|
|
620
|
+
format: "string" /* Formats.STRING */,
|
|
621
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
622
|
+
});
|
|
623
|
+
this.value = this.getDefaultValue();
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
exports.ConfiguredName = ConfiguredName;
|
|
627
|
+
Characteristic_1.Characteristic.ConfiguredName = ConfiguredName;
|
|
628
|
+
/**
|
|
629
|
+
* Characteristic "Contact Sensor State"
|
|
630
|
+
*/
|
|
631
|
+
class ContactSensorState extends Characteristic_1.Characteristic {
|
|
632
|
+
static UUID = "0000006A-0000-1000-8000-0026BB765291";
|
|
633
|
+
static CONTACT_DETECTED = 0;
|
|
634
|
+
static CONTACT_NOT_DETECTED = 1;
|
|
635
|
+
constructor() {
|
|
636
|
+
super("Contact Sensor State", ContactSensorState.UUID, {
|
|
637
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
638
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
639
|
+
minValue: 0,
|
|
640
|
+
maxValue: 1,
|
|
641
|
+
minStep: 1,
|
|
642
|
+
validValues: [0, 1],
|
|
643
|
+
});
|
|
644
|
+
this.value = this.getDefaultValue();
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
exports.ContactSensorState = ContactSensorState;
|
|
648
|
+
Characteristic_1.Characteristic.ContactSensorState = ContactSensorState;
|
|
649
|
+
/**
|
|
650
|
+
* Characteristic "Cooling Threshold Temperature"
|
|
651
|
+
*/
|
|
652
|
+
class CoolingThresholdTemperature extends Characteristic_1.Characteristic {
|
|
653
|
+
static UUID = "0000000D-0000-1000-8000-0026BB765291";
|
|
654
|
+
constructor() {
|
|
655
|
+
super("Cooling Threshold Temperature", CoolingThresholdTemperature.UUID, {
|
|
656
|
+
format: "float" /* Formats.FLOAT */,
|
|
657
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
658
|
+
unit: "celsius" /* Units.CELSIUS */,
|
|
659
|
+
minValue: 10,
|
|
660
|
+
maxValue: 35,
|
|
661
|
+
minStep: 0.1,
|
|
662
|
+
});
|
|
663
|
+
this.value = this.getDefaultValue();
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
exports.CoolingThresholdTemperature = CoolingThresholdTemperature;
|
|
667
|
+
Characteristic_1.Characteristic.CoolingThresholdTemperature = CoolingThresholdTemperature;
|
|
668
|
+
/**
|
|
669
|
+
* Characteristic "Crypto Hash"
|
|
670
|
+
*/
|
|
671
|
+
class CryptoHash extends Characteristic_1.Characteristic {
|
|
672
|
+
static UUID = "00000250-0000-1000-8000-0026BB765291";
|
|
673
|
+
constructor() {
|
|
674
|
+
super("Crypto Hash", CryptoHash.UUID, {
|
|
675
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
676
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
677
|
+
});
|
|
678
|
+
this.value = this.getDefaultValue();
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
exports.CryptoHash = CryptoHash;
|
|
682
|
+
Characteristic_1.Characteristic.CryptoHash = CryptoHash;
|
|
683
|
+
/**
|
|
684
|
+
* Characteristic "Current Air Purifier State"
|
|
685
|
+
*/
|
|
686
|
+
class CurrentAirPurifierState extends Characteristic_1.Characteristic {
|
|
687
|
+
static UUID = "000000A9-0000-1000-8000-0026BB765291";
|
|
688
|
+
static INACTIVE = 0;
|
|
689
|
+
static IDLE = 1;
|
|
690
|
+
static PURIFYING_AIR = 2;
|
|
691
|
+
constructor() {
|
|
692
|
+
super("Current Air Purifier State", CurrentAirPurifierState.UUID, {
|
|
693
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
694
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
695
|
+
minValue: 0,
|
|
696
|
+
maxValue: 2,
|
|
697
|
+
minStep: 1,
|
|
698
|
+
validValues: [0, 1, 2],
|
|
699
|
+
});
|
|
700
|
+
this.value = this.getDefaultValue();
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
exports.CurrentAirPurifierState = CurrentAirPurifierState;
|
|
704
|
+
Characteristic_1.Characteristic.CurrentAirPurifierState = CurrentAirPurifierState;
|
|
705
|
+
/**
|
|
706
|
+
* Characteristic "Current Ambient Light Level"
|
|
707
|
+
*/
|
|
708
|
+
class CurrentAmbientLightLevel extends Characteristic_1.Characteristic {
|
|
709
|
+
static UUID = "0000006B-0000-1000-8000-0026BB765291";
|
|
710
|
+
constructor() {
|
|
711
|
+
super("Current Ambient Light Level", CurrentAmbientLightLevel.UUID, {
|
|
712
|
+
format: "float" /* Formats.FLOAT */,
|
|
713
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
714
|
+
unit: "lux" /* Units.LUX */,
|
|
715
|
+
minValue: 0.0001,
|
|
716
|
+
maxValue: 100000,
|
|
717
|
+
});
|
|
718
|
+
this.value = this.getDefaultValue();
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
exports.CurrentAmbientLightLevel = CurrentAmbientLightLevel;
|
|
722
|
+
Characteristic_1.Characteristic.CurrentAmbientLightLevel = CurrentAmbientLightLevel;
|
|
723
|
+
/**
|
|
724
|
+
* Characteristic "Current Door State"
|
|
725
|
+
*/
|
|
726
|
+
class CurrentDoorState extends Characteristic_1.Characteristic {
|
|
727
|
+
static UUID = "0000000E-0000-1000-8000-0026BB765291";
|
|
728
|
+
static OPEN = 0;
|
|
729
|
+
static CLOSED = 1;
|
|
730
|
+
static OPENING = 2;
|
|
731
|
+
static CLOSING = 3;
|
|
732
|
+
static STOPPED = 4;
|
|
733
|
+
constructor() {
|
|
734
|
+
super("Current Door State", CurrentDoorState.UUID, {
|
|
735
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
736
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
737
|
+
minValue: 0,
|
|
738
|
+
maxValue: 4,
|
|
739
|
+
minStep: 1,
|
|
740
|
+
validValues: [0, 1, 2, 3, 4],
|
|
741
|
+
});
|
|
742
|
+
this.value = this.getDefaultValue();
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
exports.CurrentDoorState = CurrentDoorState;
|
|
746
|
+
Characteristic_1.Characteristic.CurrentDoorState = CurrentDoorState;
|
|
747
|
+
/**
|
|
748
|
+
* Characteristic "Current Fan State"
|
|
749
|
+
*/
|
|
750
|
+
class CurrentFanState extends Characteristic_1.Characteristic {
|
|
751
|
+
static UUID = "000000AF-0000-1000-8000-0026BB765291";
|
|
752
|
+
static INACTIVE = 0;
|
|
753
|
+
static IDLE = 1;
|
|
754
|
+
static BLOWING_AIR = 2;
|
|
755
|
+
constructor() {
|
|
756
|
+
super("Current Fan State", CurrentFanState.UUID, {
|
|
757
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
758
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
759
|
+
minValue: 0,
|
|
760
|
+
maxValue: 2,
|
|
761
|
+
minStep: 1,
|
|
762
|
+
validValues: [0, 1, 2],
|
|
763
|
+
});
|
|
764
|
+
this.value = this.getDefaultValue();
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
exports.CurrentFanState = CurrentFanState;
|
|
768
|
+
Characteristic_1.Characteristic.CurrentFanState = CurrentFanState;
|
|
769
|
+
/**
|
|
770
|
+
* Characteristic "Current Heater-Cooler State"
|
|
771
|
+
*/
|
|
772
|
+
class CurrentHeaterCoolerState extends Characteristic_1.Characteristic {
|
|
773
|
+
static UUID = "000000B1-0000-1000-8000-0026BB765291";
|
|
774
|
+
static INACTIVE = 0;
|
|
775
|
+
static IDLE = 1;
|
|
776
|
+
static HEATING = 2;
|
|
777
|
+
static COOLING = 3;
|
|
778
|
+
constructor() {
|
|
779
|
+
super("Current Heater-Cooler State", CurrentHeaterCoolerState.UUID, {
|
|
780
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
781
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
782
|
+
minValue: 0,
|
|
783
|
+
maxValue: 3,
|
|
784
|
+
minStep: 1,
|
|
785
|
+
validValues: [0, 1, 2, 3],
|
|
786
|
+
});
|
|
787
|
+
this.value = this.getDefaultValue();
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
exports.CurrentHeaterCoolerState = CurrentHeaterCoolerState;
|
|
791
|
+
Characteristic_1.Characteristic.CurrentHeaterCoolerState = CurrentHeaterCoolerState;
|
|
792
|
+
/**
|
|
793
|
+
* Characteristic "Current Heating Cooling State"
|
|
794
|
+
*/
|
|
795
|
+
class CurrentHeatingCoolingState extends Characteristic_1.Characteristic {
|
|
796
|
+
static UUID = "0000000F-0000-1000-8000-0026BB765291";
|
|
797
|
+
static OFF = 0;
|
|
798
|
+
static HEAT = 1;
|
|
799
|
+
static COOL = 2;
|
|
800
|
+
constructor() {
|
|
801
|
+
super("Current Heating Cooling State", CurrentHeatingCoolingState.UUID, {
|
|
802
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
803
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
804
|
+
minValue: 0,
|
|
805
|
+
maxValue: 2,
|
|
806
|
+
minStep: 1,
|
|
807
|
+
validValues: [0, 1, 2],
|
|
808
|
+
});
|
|
809
|
+
this.value = this.getDefaultValue();
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
exports.CurrentHeatingCoolingState = CurrentHeatingCoolingState;
|
|
813
|
+
Characteristic_1.Characteristic.CurrentHeatingCoolingState = CurrentHeatingCoolingState;
|
|
814
|
+
/**
|
|
815
|
+
* Characteristic "Current Horizontal Tilt Angle"
|
|
816
|
+
*/
|
|
817
|
+
class CurrentHorizontalTiltAngle extends Characteristic_1.Characteristic {
|
|
818
|
+
static UUID = "0000006C-0000-1000-8000-0026BB765291";
|
|
819
|
+
constructor() {
|
|
820
|
+
super("Current Horizontal Tilt Angle", CurrentHorizontalTiltAngle.UUID, {
|
|
821
|
+
format: "int" /* Formats.INT */,
|
|
822
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
823
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
824
|
+
minValue: -90,
|
|
825
|
+
maxValue: 90,
|
|
826
|
+
minStep: 1,
|
|
827
|
+
});
|
|
828
|
+
this.value = this.getDefaultValue();
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
exports.CurrentHorizontalTiltAngle = CurrentHorizontalTiltAngle;
|
|
832
|
+
Characteristic_1.Characteristic.CurrentHorizontalTiltAngle = CurrentHorizontalTiltAngle;
|
|
833
|
+
/**
|
|
834
|
+
* Characteristic "Current Humidifier-Dehumidifier State"
|
|
835
|
+
*/
|
|
836
|
+
class CurrentHumidifierDehumidifierState extends Characteristic_1.Characteristic {
|
|
837
|
+
static UUID = "000000B3-0000-1000-8000-0026BB765291";
|
|
838
|
+
static INACTIVE = 0;
|
|
839
|
+
static IDLE = 1;
|
|
840
|
+
static HUMIDIFYING = 2;
|
|
841
|
+
static DEHUMIDIFYING = 3;
|
|
842
|
+
constructor() {
|
|
843
|
+
super("Current Humidifier-Dehumidifier State", CurrentHumidifierDehumidifierState.UUID, {
|
|
844
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
845
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
846
|
+
minValue: 0,
|
|
847
|
+
maxValue: 3,
|
|
848
|
+
minStep: 1,
|
|
849
|
+
validValues: [0, 1, 2, 3],
|
|
850
|
+
});
|
|
851
|
+
this.value = this.getDefaultValue();
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
exports.CurrentHumidifierDehumidifierState = CurrentHumidifierDehumidifierState;
|
|
855
|
+
Characteristic_1.Characteristic.CurrentHumidifierDehumidifierState = CurrentHumidifierDehumidifierState;
|
|
856
|
+
/**
|
|
857
|
+
* Characteristic "Current Media State"
|
|
858
|
+
*/
|
|
859
|
+
class CurrentMediaState extends Characteristic_1.Characteristic {
|
|
860
|
+
static UUID = "000000E0-0000-1000-8000-0026BB765291";
|
|
861
|
+
static PLAY = 0;
|
|
862
|
+
static PAUSE = 1;
|
|
863
|
+
static STOP = 2;
|
|
864
|
+
static LOADING = 4;
|
|
865
|
+
static INTERRUPTED = 5;
|
|
866
|
+
constructor() {
|
|
867
|
+
super("Current Media State", CurrentMediaState.UUID, {
|
|
868
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
869
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
870
|
+
minValue: 0,
|
|
871
|
+
maxValue: 5,
|
|
872
|
+
minStep: 1,
|
|
873
|
+
validValues: [0, 1, 2, 4, 5],
|
|
874
|
+
});
|
|
875
|
+
this.value = this.getDefaultValue();
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
exports.CurrentMediaState = CurrentMediaState;
|
|
879
|
+
Characteristic_1.Characteristic.CurrentMediaState = CurrentMediaState;
|
|
880
|
+
/**
|
|
881
|
+
* Characteristic "Current Position"
|
|
882
|
+
*/
|
|
883
|
+
class CurrentPosition extends Characteristic_1.Characteristic {
|
|
884
|
+
static UUID = "0000006D-0000-1000-8000-0026BB765291";
|
|
885
|
+
constructor() {
|
|
886
|
+
super("Current Position", CurrentPosition.UUID, {
|
|
887
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
888
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
889
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
890
|
+
minValue: 0,
|
|
891
|
+
maxValue: 100,
|
|
892
|
+
minStep: 1,
|
|
893
|
+
});
|
|
894
|
+
this.value = this.getDefaultValue();
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
exports.CurrentPosition = CurrentPosition;
|
|
898
|
+
Characteristic_1.Characteristic.CurrentPosition = CurrentPosition;
|
|
899
|
+
/**
|
|
900
|
+
* Characteristic "Current Relative Humidity"
|
|
901
|
+
*/
|
|
902
|
+
class CurrentRelativeHumidity extends Characteristic_1.Characteristic {
|
|
903
|
+
static UUID = "00000010-0000-1000-8000-0026BB765291";
|
|
904
|
+
constructor() {
|
|
905
|
+
super("Current Relative Humidity", CurrentRelativeHumidity.UUID, {
|
|
906
|
+
format: "float" /* Formats.FLOAT */,
|
|
907
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
908
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
909
|
+
minValue: 0,
|
|
910
|
+
maxValue: 100,
|
|
911
|
+
minStep: 1,
|
|
912
|
+
});
|
|
913
|
+
this.value = this.getDefaultValue();
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
exports.CurrentRelativeHumidity = CurrentRelativeHumidity;
|
|
917
|
+
Characteristic_1.Characteristic.CurrentRelativeHumidity = CurrentRelativeHumidity;
|
|
918
|
+
/**
|
|
919
|
+
* Characteristic "Current Slat State"
|
|
920
|
+
*/
|
|
921
|
+
class CurrentSlatState extends Characteristic_1.Characteristic {
|
|
922
|
+
static UUID = "000000AA-0000-1000-8000-0026BB765291";
|
|
923
|
+
static FIXED = 0;
|
|
924
|
+
static JAMMED = 1;
|
|
925
|
+
static SWINGING = 2;
|
|
926
|
+
constructor() {
|
|
927
|
+
super("Current Slat State", CurrentSlatState.UUID, {
|
|
928
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
929
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
930
|
+
minValue: 0,
|
|
931
|
+
maxValue: 2,
|
|
932
|
+
minStep: 1,
|
|
933
|
+
validValues: [0, 1, 2],
|
|
934
|
+
});
|
|
935
|
+
this.value = this.getDefaultValue();
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
exports.CurrentSlatState = CurrentSlatState;
|
|
939
|
+
Characteristic_1.Characteristic.CurrentSlatState = CurrentSlatState;
|
|
940
|
+
/**
|
|
941
|
+
* Characteristic "Current Temperature"
|
|
942
|
+
*/
|
|
943
|
+
class CurrentTemperature extends Characteristic_1.Characteristic {
|
|
944
|
+
static UUID = "00000011-0000-1000-8000-0026BB765291";
|
|
945
|
+
constructor() {
|
|
946
|
+
super("Current Temperature", CurrentTemperature.UUID, {
|
|
947
|
+
format: "float" /* Formats.FLOAT */,
|
|
948
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
949
|
+
unit: "celsius" /* Units.CELSIUS */,
|
|
950
|
+
minValue: -270,
|
|
951
|
+
maxValue: 100,
|
|
952
|
+
minStep: 0.1,
|
|
953
|
+
});
|
|
954
|
+
this.value = this.getDefaultValue();
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
exports.CurrentTemperature = CurrentTemperature;
|
|
958
|
+
Characteristic_1.Characteristic.CurrentTemperature = CurrentTemperature;
|
|
959
|
+
/**
|
|
960
|
+
* Characteristic "Current Tilt Angle"
|
|
961
|
+
*/
|
|
962
|
+
class CurrentTiltAngle extends Characteristic_1.Characteristic {
|
|
963
|
+
static UUID = "000000C1-0000-1000-8000-0026BB765291";
|
|
964
|
+
constructor() {
|
|
965
|
+
super("Current Tilt Angle", CurrentTiltAngle.UUID, {
|
|
966
|
+
format: "int" /* Formats.INT */,
|
|
967
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
968
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
969
|
+
minValue: -90,
|
|
970
|
+
maxValue: 90,
|
|
971
|
+
minStep: 1,
|
|
972
|
+
});
|
|
973
|
+
this.value = this.getDefaultValue();
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
exports.CurrentTiltAngle = CurrentTiltAngle;
|
|
977
|
+
Characteristic_1.Characteristic.CurrentTiltAngle = CurrentTiltAngle;
|
|
978
|
+
/**
|
|
979
|
+
* Characteristic "Current Transport"
|
|
980
|
+
* @since iOS 14
|
|
981
|
+
*/
|
|
982
|
+
class CurrentTransport extends Characteristic_1.Characteristic {
|
|
983
|
+
static UUID = "0000022B-0000-1000-8000-0026BB765291";
|
|
984
|
+
constructor() {
|
|
985
|
+
super("Current Transport", CurrentTransport.UUID, {
|
|
986
|
+
format: "bool" /* Formats.BOOL */,
|
|
987
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
988
|
+
});
|
|
989
|
+
this.value = this.getDefaultValue();
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
exports.CurrentTransport = CurrentTransport;
|
|
993
|
+
Characteristic_1.Characteristic.CurrentTransport = CurrentTransport;
|
|
994
|
+
/**
|
|
995
|
+
* Characteristic "Current Vertical Tilt Angle"
|
|
996
|
+
*/
|
|
997
|
+
class CurrentVerticalTiltAngle extends Characteristic_1.Characteristic {
|
|
998
|
+
static UUID = "0000006E-0000-1000-8000-0026BB765291";
|
|
999
|
+
constructor() {
|
|
1000
|
+
super("Current Vertical Tilt Angle", CurrentVerticalTiltAngle.UUID, {
|
|
1001
|
+
format: "int" /* Formats.INT */,
|
|
1002
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1003
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
1004
|
+
minValue: -90,
|
|
1005
|
+
maxValue: 90,
|
|
1006
|
+
minStep: 1,
|
|
1007
|
+
});
|
|
1008
|
+
this.value = this.getDefaultValue();
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
exports.CurrentVerticalTiltAngle = CurrentVerticalTiltAngle;
|
|
1012
|
+
Characteristic_1.Characteristic.CurrentVerticalTiltAngle = CurrentVerticalTiltAngle;
|
|
1013
|
+
/**
|
|
1014
|
+
* Characteristic "Current Visibility State"
|
|
1015
|
+
*/
|
|
1016
|
+
class CurrentVisibilityState extends Characteristic_1.Characteristic {
|
|
1017
|
+
static UUID = "00000135-0000-1000-8000-0026BB765291";
|
|
1018
|
+
static SHOWN = 0;
|
|
1019
|
+
static HIDDEN = 1;
|
|
1020
|
+
constructor() {
|
|
1021
|
+
super("Current Visibility State", CurrentVisibilityState.UUID, {
|
|
1022
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1023
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1024
|
+
minValue: 0,
|
|
1025
|
+
maxValue: 1,
|
|
1026
|
+
minStep: 1,
|
|
1027
|
+
validValues: [0, 1],
|
|
1028
|
+
});
|
|
1029
|
+
this.value = this.getDefaultValue();
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
exports.CurrentVisibilityState = CurrentVisibilityState;
|
|
1033
|
+
Characteristic_1.Characteristic.CurrentVisibilityState = CurrentVisibilityState;
|
|
1034
|
+
/**
|
|
1035
|
+
* Characteristic "Data Stream HAP Transport"
|
|
1036
|
+
* @since iOS 14
|
|
1037
|
+
*/
|
|
1038
|
+
class DataStreamHAPTransport extends Characteristic_1.Characteristic {
|
|
1039
|
+
static UUID = "00000138-0000-1000-8000-0026BB765291";
|
|
1040
|
+
constructor() {
|
|
1041
|
+
super("Data Stream HAP Transport", DataStreamHAPTransport.UUID, {
|
|
1042
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1043
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
1044
|
+
});
|
|
1045
|
+
this.value = this.getDefaultValue();
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
exports.DataStreamHAPTransport = DataStreamHAPTransport;
|
|
1049
|
+
Characteristic_1.Characteristic.DataStreamHAPTransport = DataStreamHAPTransport;
|
|
1050
|
+
/**
|
|
1051
|
+
* Characteristic "Data Stream HAP Transport Interrupt"
|
|
1052
|
+
* @since iOS 14
|
|
1053
|
+
*/
|
|
1054
|
+
class DataStreamHAPTransportInterrupt extends Characteristic_1.Characteristic {
|
|
1055
|
+
static UUID = "00000139-0000-1000-8000-0026BB765291";
|
|
1056
|
+
constructor() {
|
|
1057
|
+
super("Data Stream HAP Transport Interrupt", DataStreamHAPTransportInterrupt.UUID, {
|
|
1058
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1059
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1060
|
+
});
|
|
1061
|
+
this.value = this.getDefaultValue();
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
exports.DataStreamHAPTransportInterrupt = DataStreamHAPTransportInterrupt;
|
|
1065
|
+
Characteristic_1.Characteristic.DataStreamHAPTransportInterrupt = DataStreamHAPTransportInterrupt;
|
|
1066
|
+
/**
|
|
1067
|
+
* Characteristic "Diagonal Field Of View"
|
|
1068
|
+
* @since iOS 13.2
|
|
1069
|
+
*/
|
|
1070
|
+
class DiagonalFieldOfView extends Characteristic_1.Characteristic {
|
|
1071
|
+
static UUID = "00000224-0000-1000-8000-0026BB765291";
|
|
1072
|
+
constructor() {
|
|
1073
|
+
super("Diagonal Field Of View", DiagonalFieldOfView.UUID, {
|
|
1074
|
+
format: "float" /* Formats.FLOAT */,
|
|
1075
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1076
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
1077
|
+
minValue: 0,
|
|
1078
|
+
maxValue: 360,
|
|
1079
|
+
});
|
|
1080
|
+
this.value = this.getDefaultValue();
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
exports.DiagonalFieldOfView = DiagonalFieldOfView;
|
|
1084
|
+
Characteristic_1.Characteristic.DiagonalFieldOfView = DiagonalFieldOfView;
|
|
1085
|
+
/**
|
|
1086
|
+
* Characteristic "Digital Zoom"
|
|
1087
|
+
*/
|
|
1088
|
+
class DigitalZoom extends Characteristic_1.Characteristic {
|
|
1089
|
+
static UUID = "0000011D-0000-1000-8000-0026BB765291";
|
|
1090
|
+
constructor() {
|
|
1091
|
+
super("Digital Zoom", DigitalZoom.UUID, {
|
|
1092
|
+
format: "float" /* Formats.FLOAT */,
|
|
1093
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1094
|
+
minStep: 0.1,
|
|
1095
|
+
});
|
|
1096
|
+
this.value = this.getDefaultValue();
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
exports.DigitalZoom = DigitalZoom;
|
|
1100
|
+
Characteristic_1.Characteristic.DigitalZoom = DigitalZoom;
|
|
1101
|
+
/**
|
|
1102
|
+
* Characteristic "Display Order"
|
|
1103
|
+
*/
|
|
1104
|
+
class DisplayOrder extends Characteristic_1.Characteristic {
|
|
1105
|
+
static UUID = "00000136-0000-1000-8000-0026BB765291";
|
|
1106
|
+
constructor() {
|
|
1107
|
+
super("Display Order", DisplayOrder.UUID, {
|
|
1108
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1109
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1110
|
+
});
|
|
1111
|
+
this.value = this.getDefaultValue();
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
exports.DisplayOrder = DisplayOrder;
|
|
1115
|
+
Characteristic_1.Characteristic.DisplayOrder = DisplayOrder;
|
|
1116
|
+
/**
|
|
1117
|
+
* Characteristic "Event Retransmission Maximum"
|
|
1118
|
+
* @since iOS 14
|
|
1119
|
+
*/
|
|
1120
|
+
class EventRetransmissionMaximum extends Characteristic_1.Characteristic {
|
|
1121
|
+
static UUID = "0000023D-0000-1000-8000-0026BB765291";
|
|
1122
|
+
constructor() {
|
|
1123
|
+
super("Event Retransmission Maximum", EventRetransmissionMaximum.UUID, {
|
|
1124
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1125
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1126
|
+
});
|
|
1127
|
+
this.value = this.getDefaultValue();
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
exports.EventRetransmissionMaximum = EventRetransmissionMaximum;
|
|
1131
|
+
Characteristic_1.Characteristic.EventRetransmissionMaximum = EventRetransmissionMaximum;
|
|
1132
|
+
/**
|
|
1133
|
+
* Characteristic "Event Snapshots Active"
|
|
1134
|
+
*/
|
|
1135
|
+
class EventSnapshotsActive extends Characteristic_1.Characteristic {
|
|
1136
|
+
static UUID = "00000223-0000-1000-8000-0026BB765291";
|
|
1137
|
+
static DISABLE = 0;
|
|
1138
|
+
static ENABLE = 1;
|
|
1139
|
+
constructor() {
|
|
1140
|
+
super("Event Snapshots Active", EventSnapshotsActive.UUID, {
|
|
1141
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1142
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1143
|
+
minValue: 0,
|
|
1144
|
+
maxValue: 1,
|
|
1145
|
+
validValues: [0, 1],
|
|
1146
|
+
});
|
|
1147
|
+
this.value = this.getDefaultValue();
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
exports.EventSnapshotsActive = EventSnapshotsActive;
|
|
1151
|
+
Characteristic_1.Characteristic.EventSnapshotsActive = EventSnapshotsActive;
|
|
1152
|
+
/**
|
|
1153
|
+
* Characteristic "Event Transmission Counters"
|
|
1154
|
+
* @since iOS 14
|
|
1155
|
+
*/
|
|
1156
|
+
class EventTransmissionCounters extends Characteristic_1.Characteristic {
|
|
1157
|
+
static UUID = "0000023E-0000-1000-8000-0026BB765291";
|
|
1158
|
+
constructor() {
|
|
1159
|
+
super("Event Transmission Counters", EventTransmissionCounters.UUID, {
|
|
1160
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
1161
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1162
|
+
});
|
|
1163
|
+
this.value = this.getDefaultValue();
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
exports.EventTransmissionCounters = EventTransmissionCounters;
|
|
1167
|
+
Characteristic_1.Characteristic.EventTransmissionCounters = EventTransmissionCounters;
|
|
1168
|
+
/**
|
|
1169
|
+
* Characteristic "Filter Change Indication"
|
|
1170
|
+
*/
|
|
1171
|
+
class FilterChangeIndication extends Characteristic_1.Characteristic {
|
|
1172
|
+
static UUID = "000000AC-0000-1000-8000-0026BB765291";
|
|
1173
|
+
static FILTER_OK = 0;
|
|
1174
|
+
static CHANGE_FILTER = 1;
|
|
1175
|
+
constructor() {
|
|
1176
|
+
super("Filter Change Indication", FilterChangeIndication.UUID, {
|
|
1177
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1178
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1179
|
+
minValue: 0,
|
|
1180
|
+
maxValue: 1,
|
|
1181
|
+
minStep: 1,
|
|
1182
|
+
validValues: [0, 1],
|
|
1183
|
+
});
|
|
1184
|
+
this.value = this.getDefaultValue();
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
exports.FilterChangeIndication = FilterChangeIndication;
|
|
1188
|
+
Characteristic_1.Characteristic.FilterChangeIndication = FilterChangeIndication;
|
|
1189
|
+
/**
|
|
1190
|
+
* Characteristic "Filter Life Level"
|
|
1191
|
+
*/
|
|
1192
|
+
class FilterLifeLevel extends Characteristic_1.Characteristic {
|
|
1193
|
+
static UUID = "000000AB-0000-1000-8000-0026BB765291";
|
|
1194
|
+
constructor() {
|
|
1195
|
+
super("Filter Life Level", FilterLifeLevel.UUID, {
|
|
1196
|
+
format: "float" /* Formats.FLOAT */,
|
|
1197
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1198
|
+
minValue: 0,
|
|
1199
|
+
maxValue: 100,
|
|
1200
|
+
minStep: 1,
|
|
1201
|
+
});
|
|
1202
|
+
this.value = this.getDefaultValue();
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
exports.FilterLifeLevel = FilterLifeLevel;
|
|
1206
|
+
Characteristic_1.Characteristic.FilterLifeLevel = FilterLifeLevel;
|
|
1207
|
+
/**
|
|
1208
|
+
* Characteristic "Firmware Revision"
|
|
1209
|
+
*/
|
|
1210
|
+
class FirmwareRevision extends Characteristic_1.Characteristic {
|
|
1211
|
+
static UUID = "00000052-0000-1000-8000-0026BB765291";
|
|
1212
|
+
constructor() {
|
|
1213
|
+
super("Firmware Revision", FirmwareRevision.UUID, {
|
|
1214
|
+
format: "string" /* Formats.STRING */,
|
|
1215
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1216
|
+
});
|
|
1217
|
+
this.value = this.getDefaultValue();
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
exports.FirmwareRevision = FirmwareRevision;
|
|
1221
|
+
Characteristic_1.Characteristic.FirmwareRevision = FirmwareRevision;
|
|
1222
|
+
/**
|
|
1223
|
+
* Characteristic "Firmware Update Readiness"
|
|
1224
|
+
*/
|
|
1225
|
+
class FirmwareUpdateReadiness extends Characteristic_1.Characteristic {
|
|
1226
|
+
static UUID = "00000234-0000-1000-8000-0026BB765291";
|
|
1227
|
+
constructor() {
|
|
1228
|
+
super("Firmware Update Readiness", FirmwareUpdateReadiness.UUID, {
|
|
1229
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1230
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1231
|
+
});
|
|
1232
|
+
this.value = this.getDefaultValue();
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
exports.FirmwareUpdateReadiness = FirmwareUpdateReadiness;
|
|
1236
|
+
Characteristic_1.Characteristic.FirmwareUpdateReadiness = FirmwareUpdateReadiness;
|
|
1237
|
+
/**
|
|
1238
|
+
* Characteristic "Firmware Update Status"
|
|
1239
|
+
*/
|
|
1240
|
+
class FirmwareUpdateStatus extends Characteristic_1.Characteristic {
|
|
1241
|
+
static UUID = "00000235-0000-1000-8000-0026BB765291";
|
|
1242
|
+
constructor() {
|
|
1243
|
+
super("Firmware Update Status", FirmwareUpdateStatus.UUID, {
|
|
1244
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1245
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1246
|
+
});
|
|
1247
|
+
this.value = this.getDefaultValue();
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
exports.FirmwareUpdateStatus = FirmwareUpdateStatus;
|
|
1251
|
+
Characteristic_1.Characteristic.FirmwareUpdateStatus = FirmwareUpdateStatus;
|
|
1252
|
+
/**
|
|
1253
|
+
* Characteristic "Hardware Finish"
|
|
1254
|
+
* @since iOS 15
|
|
1255
|
+
*/
|
|
1256
|
+
class HardwareFinish extends Characteristic_1.Characteristic {
|
|
1257
|
+
static UUID = "0000026C-0000-1000-8000-0026BB765291";
|
|
1258
|
+
constructor() {
|
|
1259
|
+
super("Hardware Finish", HardwareFinish.UUID, {
|
|
1260
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1261
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1262
|
+
});
|
|
1263
|
+
this.value = this.getDefaultValue();
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
exports.HardwareFinish = HardwareFinish;
|
|
1267
|
+
Characteristic_1.Characteristic.HardwareFinish = HardwareFinish;
|
|
1268
|
+
/**
|
|
1269
|
+
* Characteristic "Hardware Revision"
|
|
1270
|
+
*/
|
|
1271
|
+
class HardwareRevision extends Characteristic_1.Characteristic {
|
|
1272
|
+
static UUID = "00000053-0000-1000-8000-0026BB765291";
|
|
1273
|
+
constructor() {
|
|
1274
|
+
super("Hardware Revision", HardwareRevision.UUID, {
|
|
1275
|
+
format: "string" /* Formats.STRING */,
|
|
1276
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1277
|
+
});
|
|
1278
|
+
this.value = this.getDefaultValue();
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
exports.HardwareRevision = HardwareRevision;
|
|
1282
|
+
Characteristic_1.Characteristic.HardwareRevision = HardwareRevision;
|
|
1283
|
+
/**
|
|
1284
|
+
* Characteristic "Heart Beat"
|
|
1285
|
+
* @since iOS 14
|
|
1286
|
+
*/
|
|
1287
|
+
class HeartBeat extends Characteristic_1.Characteristic {
|
|
1288
|
+
static UUID = "0000024A-0000-1000-8000-0026BB765291";
|
|
1289
|
+
constructor() {
|
|
1290
|
+
super("Heart Beat", HeartBeat.UUID, {
|
|
1291
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
1292
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1293
|
+
});
|
|
1294
|
+
this.value = this.getDefaultValue();
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
exports.HeartBeat = HeartBeat;
|
|
1298
|
+
Characteristic_1.Characteristic.HeartBeat = HeartBeat;
|
|
1299
|
+
/**
|
|
1300
|
+
* Characteristic "Heating Threshold Temperature"
|
|
1301
|
+
*/
|
|
1302
|
+
class HeatingThresholdTemperature extends Characteristic_1.Characteristic {
|
|
1303
|
+
static UUID = "00000012-0000-1000-8000-0026BB765291";
|
|
1304
|
+
constructor() {
|
|
1305
|
+
super("Heating Threshold Temperature", HeatingThresholdTemperature.UUID, {
|
|
1306
|
+
format: "float" /* Formats.FLOAT */,
|
|
1307
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1308
|
+
unit: "celsius" /* Units.CELSIUS */,
|
|
1309
|
+
minValue: 0,
|
|
1310
|
+
maxValue: 25,
|
|
1311
|
+
minStep: 0.1,
|
|
1312
|
+
});
|
|
1313
|
+
this.value = this.getDefaultValue();
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
exports.HeatingThresholdTemperature = HeatingThresholdTemperature;
|
|
1317
|
+
Characteristic_1.Characteristic.HeatingThresholdTemperature = HeatingThresholdTemperature;
|
|
1318
|
+
/**
|
|
1319
|
+
* Characteristic "Hold Position"
|
|
1320
|
+
*/
|
|
1321
|
+
class HoldPosition extends Characteristic_1.Characteristic {
|
|
1322
|
+
static UUID = "0000006F-0000-1000-8000-0026BB765291";
|
|
1323
|
+
constructor() {
|
|
1324
|
+
super("Hold Position", HoldPosition.UUID, {
|
|
1325
|
+
format: "bool" /* Formats.BOOL */,
|
|
1326
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
1327
|
+
});
|
|
1328
|
+
this.value = this.getDefaultValue();
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
exports.HoldPosition = HoldPosition;
|
|
1332
|
+
Characteristic_1.Characteristic.HoldPosition = HoldPosition;
|
|
1333
|
+
/**
|
|
1334
|
+
* Characteristic "HomeKit Camera Active"
|
|
1335
|
+
*/
|
|
1336
|
+
class HomeKitCameraActive extends Characteristic_1.Characteristic {
|
|
1337
|
+
static UUID = "0000021B-0000-1000-8000-0026BB765291";
|
|
1338
|
+
static OFF = 0;
|
|
1339
|
+
static ON = 1;
|
|
1340
|
+
constructor() {
|
|
1341
|
+
super("HomeKit Camera Active", HomeKitCameraActive.UUID, {
|
|
1342
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1343
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1344
|
+
minValue: 0,
|
|
1345
|
+
maxValue: 1,
|
|
1346
|
+
validValues: [0, 1],
|
|
1347
|
+
});
|
|
1348
|
+
this.value = this.getDefaultValue();
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
exports.HomeKitCameraActive = HomeKitCameraActive;
|
|
1352
|
+
Characteristic_1.Characteristic.HomeKitCameraActive = HomeKitCameraActive;
|
|
1353
|
+
/**
|
|
1354
|
+
* Characteristic "Hue"
|
|
1355
|
+
*/
|
|
1356
|
+
class Hue extends Characteristic_1.Characteristic {
|
|
1357
|
+
static UUID = "00000013-0000-1000-8000-0026BB765291";
|
|
1358
|
+
constructor() {
|
|
1359
|
+
super("Hue", Hue.UUID, {
|
|
1360
|
+
format: "float" /* Formats.FLOAT */,
|
|
1361
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1362
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
1363
|
+
minValue: 0,
|
|
1364
|
+
maxValue: 360,
|
|
1365
|
+
minStep: 1,
|
|
1366
|
+
});
|
|
1367
|
+
this.value = this.getDefaultValue();
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
exports.Hue = Hue;
|
|
1371
|
+
Characteristic_1.Characteristic.Hue = Hue;
|
|
1372
|
+
/**
|
|
1373
|
+
* Characteristic "Identifier"
|
|
1374
|
+
*/
|
|
1375
|
+
class Identifier extends Characteristic_1.Characteristic {
|
|
1376
|
+
static UUID = "000000E6-0000-1000-8000-0026BB765291";
|
|
1377
|
+
constructor() {
|
|
1378
|
+
super("Identifier", Identifier.UUID, {
|
|
1379
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
1380
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1381
|
+
});
|
|
1382
|
+
this.value = this.getDefaultValue();
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
exports.Identifier = Identifier;
|
|
1386
|
+
Characteristic_1.Characteristic.Identifier = Identifier;
|
|
1387
|
+
/**
|
|
1388
|
+
* Characteristic "Identify"
|
|
1389
|
+
*/
|
|
1390
|
+
class Identify extends Characteristic_1.Characteristic {
|
|
1391
|
+
static UUID = "00000014-0000-1000-8000-0026BB765291";
|
|
1392
|
+
constructor() {
|
|
1393
|
+
super("Identify", Identify.UUID, {
|
|
1394
|
+
format: "bool" /* Formats.BOOL */,
|
|
1395
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
1396
|
+
});
|
|
1397
|
+
this.value = this.getDefaultValue();
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
exports.Identify = Identify;
|
|
1401
|
+
Characteristic_1.Characteristic.Identify = Identify;
|
|
1402
|
+
/**
|
|
1403
|
+
* Characteristic "Image Mirroring"
|
|
1404
|
+
*/
|
|
1405
|
+
class ImageMirroring extends Characteristic_1.Characteristic {
|
|
1406
|
+
static UUID = "0000011F-0000-1000-8000-0026BB765291";
|
|
1407
|
+
constructor() {
|
|
1408
|
+
super("Image Mirroring", ImageMirroring.UUID, {
|
|
1409
|
+
format: "bool" /* Formats.BOOL */,
|
|
1410
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1411
|
+
});
|
|
1412
|
+
this.value = this.getDefaultValue();
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
exports.ImageMirroring = ImageMirroring;
|
|
1416
|
+
Characteristic_1.Characteristic.ImageMirroring = ImageMirroring;
|
|
1417
|
+
/**
|
|
1418
|
+
* Characteristic "Image Rotation"
|
|
1419
|
+
*/
|
|
1420
|
+
class ImageRotation extends Characteristic_1.Characteristic {
|
|
1421
|
+
static UUID = "0000011E-0000-1000-8000-0026BB765291";
|
|
1422
|
+
constructor() {
|
|
1423
|
+
super("Image Rotation", ImageRotation.UUID, {
|
|
1424
|
+
format: "int" /* Formats.INT */,
|
|
1425
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1426
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
1427
|
+
minValue: 0,
|
|
1428
|
+
maxValue: 360,
|
|
1429
|
+
minStep: 1,
|
|
1430
|
+
});
|
|
1431
|
+
this.value = this.getDefaultValue();
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
exports.ImageRotation = ImageRotation;
|
|
1435
|
+
Characteristic_1.Characteristic.ImageRotation = ImageRotation;
|
|
1436
|
+
/**
|
|
1437
|
+
* Characteristic "Input Device Type"
|
|
1438
|
+
*/
|
|
1439
|
+
class InputDeviceType extends Characteristic_1.Characteristic {
|
|
1440
|
+
static UUID = "000000DC-0000-1000-8000-0026BB765291";
|
|
1441
|
+
static OTHER = 0;
|
|
1442
|
+
static TV = 1;
|
|
1443
|
+
static RECORDING = 2;
|
|
1444
|
+
static TUNER = 3;
|
|
1445
|
+
static PLAYBACK = 4;
|
|
1446
|
+
static AUDIO_SYSTEM = 5;
|
|
1447
|
+
constructor() {
|
|
1448
|
+
super("Input Device Type", InputDeviceType.UUID, {
|
|
1449
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1450
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1451
|
+
minValue: 0,
|
|
1452
|
+
maxValue: 6,
|
|
1453
|
+
minStep: 1,
|
|
1454
|
+
validValues: [0, 1, 2, 3, 4, 5, 6],
|
|
1455
|
+
});
|
|
1456
|
+
this.value = this.getDefaultValue();
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
exports.InputDeviceType = InputDeviceType;
|
|
1460
|
+
Characteristic_1.Characteristic.InputDeviceType = InputDeviceType;
|
|
1461
|
+
/**
|
|
1462
|
+
* Characteristic "Input Source Type"
|
|
1463
|
+
*/
|
|
1464
|
+
class InputSourceType extends Characteristic_1.Characteristic {
|
|
1465
|
+
static UUID = "000000DB-0000-1000-8000-0026BB765291";
|
|
1466
|
+
static OTHER = 0;
|
|
1467
|
+
static HOME_SCREEN = 1;
|
|
1468
|
+
static TUNER = 2;
|
|
1469
|
+
static HDMI = 3;
|
|
1470
|
+
static COMPOSITE_VIDEO = 4;
|
|
1471
|
+
static S_VIDEO = 5;
|
|
1472
|
+
static COMPONENT_VIDEO = 6;
|
|
1473
|
+
static DVI = 7;
|
|
1474
|
+
static AIRPLAY = 8;
|
|
1475
|
+
static USB = 9;
|
|
1476
|
+
static APPLICATION = 10;
|
|
1477
|
+
constructor() {
|
|
1478
|
+
super("Input Source Type", InputSourceType.UUID, {
|
|
1479
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1480
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1481
|
+
minValue: 0,
|
|
1482
|
+
maxValue: 10,
|
|
1483
|
+
minStep: 1,
|
|
1484
|
+
validValues: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
1485
|
+
});
|
|
1486
|
+
this.value = this.getDefaultValue();
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
exports.InputSourceType = InputSourceType;
|
|
1490
|
+
Characteristic_1.Characteristic.InputSourceType = InputSourceType;
|
|
1491
|
+
/**
|
|
1492
|
+
* Characteristic "In Use"
|
|
1493
|
+
*/
|
|
1494
|
+
class InUse extends Characteristic_1.Characteristic {
|
|
1495
|
+
static UUID = "000000D2-0000-1000-8000-0026BB765291";
|
|
1496
|
+
static NOT_IN_USE = 0;
|
|
1497
|
+
static IN_USE = 1;
|
|
1498
|
+
constructor() {
|
|
1499
|
+
super("In Use", InUse.UUID, {
|
|
1500
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1501
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1502
|
+
minValue: 0,
|
|
1503
|
+
maxValue: 1,
|
|
1504
|
+
minStep: 1,
|
|
1505
|
+
validValues: [0, 1],
|
|
1506
|
+
});
|
|
1507
|
+
this.value = this.getDefaultValue();
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
exports.InUse = InUse;
|
|
1511
|
+
Characteristic_1.Characteristic.InUse = InUse;
|
|
1512
|
+
/**
|
|
1513
|
+
* Characteristic "Is Configured"
|
|
1514
|
+
*/
|
|
1515
|
+
class IsConfigured extends Characteristic_1.Characteristic {
|
|
1516
|
+
static UUID = "000000D6-0000-1000-8000-0026BB765291";
|
|
1517
|
+
static NOT_CONFIGURED = 0;
|
|
1518
|
+
static CONFIGURED = 1;
|
|
1519
|
+
constructor() {
|
|
1520
|
+
super("Is Configured", IsConfigured.UUID, {
|
|
1521
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1522
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1523
|
+
minValue: 0,
|
|
1524
|
+
maxValue: 1,
|
|
1525
|
+
minStep: 1,
|
|
1526
|
+
validValues: [0, 1],
|
|
1527
|
+
});
|
|
1528
|
+
this.value = this.getDefaultValue();
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
exports.IsConfigured = IsConfigured;
|
|
1532
|
+
Characteristic_1.Characteristic.IsConfigured = IsConfigured;
|
|
1533
|
+
/**
|
|
1534
|
+
* Characteristic "Leak Detected"
|
|
1535
|
+
*/
|
|
1536
|
+
class LeakDetected extends Characteristic_1.Characteristic {
|
|
1537
|
+
static UUID = "00000070-0000-1000-8000-0026BB765291";
|
|
1538
|
+
static LEAK_NOT_DETECTED = 0;
|
|
1539
|
+
static LEAK_DETECTED = 1;
|
|
1540
|
+
constructor() {
|
|
1541
|
+
super("Leak Detected", LeakDetected.UUID, {
|
|
1542
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1543
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1544
|
+
minValue: 0,
|
|
1545
|
+
maxValue: 1,
|
|
1546
|
+
minStep: 1,
|
|
1547
|
+
validValues: [0, 1],
|
|
1548
|
+
});
|
|
1549
|
+
this.value = this.getDefaultValue();
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
exports.LeakDetected = LeakDetected;
|
|
1553
|
+
Characteristic_1.Characteristic.LeakDetected = LeakDetected;
|
|
1554
|
+
/**
|
|
1555
|
+
* Characteristic "List Pairings"
|
|
1556
|
+
*/
|
|
1557
|
+
class ListPairings extends Characteristic_1.Characteristic {
|
|
1558
|
+
static UUID = "00000050-0000-1000-8000-0026BB765291";
|
|
1559
|
+
constructor() {
|
|
1560
|
+
super("List Pairings", ListPairings.UUID, {
|
|
1561
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1562
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1563
|
+
});
|
|
1564
|
+
this.value = this.getDefaultValue();
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
exports.ListPairings = ListPairings;
|
|
1568
|
+
Characteristic_1.Characteristic.ListPairings = ListPairings;
|
|
1569
|
+
/**
|
|
1570
|
+
* Characteristic "Lock Control Point"
|
|
1571
|
+
*/
|
|
1572
|
+
class LockControlPoint extends Characteristic_1.Characteristic {
|
|
1573
|
+
static UUID = "00000019-0000-1000-8000-0026BB765291";
|
|
1574
|
+
constructor() {
|
|
1575
|
+
super("Lock Control Point", LockControlPoint.UUID, {
|
|
1576
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1577
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
1578
|
+
});
|
|
1579
|
+
this.value = this.getDefaultValue();
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
exports.LockControlPoint = LockControlPoint;
|
|
1583
|
+
Characteristic_1.Characteristic.LockControlPoint = LockControlPoint;
|
|
1584
|
+
/**
|
|
1585
|
+
* Characteristic "Lock Current State"
|
|
1586
|
+
*/
|
|
1587
|
+
class LockCurrentState extends Characteristic_1.Characteristic {
|
|
1588
|
+
static UUID = "0000001D-0000-1000-8000-0026BB765291";
|
|
1589
|
+
static UNSECURED = 0;
|
|
1590
|
+
static SECURED = 1;
|
|
1591
|
+
static JAMMED = 2;
|
|
1592
|
+
static UNKNOWN = 3;
|
|
1593
|
+
constructor() {
|
|
1594
|
+
super("Lock Current State", LockCurrentState.UUID, {
|
|
1595
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1596
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1597
|
+
minValue: 0,
|
|
1598
|
+
maxValue: 3,
|
|
1599
|
+
minStep: 1,
|
|
1600
|
+
validValues: [0, 1, 2, 3],
|
|
1601
|
+
});
|
|
1602
|
+
this.value = this.getDefaultValue();
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
exports.LockCurrentState = LockCurrentState;
|
|
1606
|
+
Characteristic_1.Characteristic.LockCurrentState = LockCurrentState;
|
|
1607
|
+
/**
|
|
1608
|
+
* Characteristic "Lock Last Known Action"
|
|
1609
|
+
*/
|
|
1610
|
+
class LockLastKnownAction extends Characteristic_1.Characteristic {
|
|
1611
|
+
static UUID = "0000001C-0000-1000-8000-0026BB765291";
|
|
1612
|
+
static SECURED_PHYSICALLY_INTERIOR = 0;
|
|
1613
|
+
static UNSECURED_PHYSICALLY_INTERIOR = 1;
|
|
1614
|
+
static SECURED_PHYSICALLY_EXTERIOR = 2;
|
|
1615
|
+
static UNSECURED_PHYSICALLY_EXTERIOR = 3;
|
|
1616
|
+
static SECURED_BY_KEYPAD = 4;
|
|
1617
|
+
static UNSECURED_BY_KEYPAD = 5;
|
|
1618
|
+
static SECURED_REMOTELY = 6;
|
|
1619
|
+
static UNSECURED_REMOTELY = 7;
|
|
1620
|
+
static SECURED_BY_AUTO_SECURE_TIMEOUT = 8;
|
|
1621
|
+
static SECURED_PHYSICALLY = 9;
|
|
1622
|
+
static UNSECURED_PHYSICALLY = 10;
|
|
1623
|
+
constructor() {
|
|
1624
|
+
super("Lock Last Known Action", LockLastKnownAction.UUID, {
|
|
1625
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1626
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1627
|
+
minValue: 0,
|
|
1628
|
+
maxValue: 10,
|
|
1629
|
+
minStep: 1,
|
|
1630
|
+
validValues: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
1631
|
+
});
|
|
1632
|
+
this.value = this.getDefaultValue();
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
exports.LockLastKnownAction = LockLastKnownAction;
|
|
1636
|
+
Characteristic_1.Characteristic.LockLastKnownAction = LockLastKnownAction;
|
|
1637
|
+
/**
|
|
1638
|
+
* Characteristic "Lock Management Auto Security Timeout"
|
|
1639
|
+
*/
|
|
1640
|
+
class LockManagementAutoSecurityTimeout extends Characteristic_1.Characteristic {
|
|
1641
|
+
static UUID = "0000001A-0000-1000-8000-0026BB765291";
|
|
1642
|
+
constructor() {
|
|
1643
|
+
super("Lock Management Auto Security Timeout", LockManagementAutoSecurityTimeout.UUID, {
|
|
1644
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
1645
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1646
|
+
unit: "seconds" /* Units.SECONDS */,
|
|
1647
|
+
});
|
|
1648
|
+
this.value = this.getDefaultValue();
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
exports.LockManagementAutoSecurityTimeout = LockManagementAutoSecurityTimeout;
|
|
1652
|
+
Characteristic_1.Characteristic.LockManagementAutoSecurityTimeout = LockManagementAutoSecurityTimeout;
|
|
1653
|
+
/**
|
|
1654
|
+
* Characteristic "Lock Physical Controls"
|
|
1655
|
+
*/
|
|
1656
|
+
class LockPhysicalControls extends Characteristic_1.Characteristic {
|
|
1657
|
+
static UUID = "000000A7-0000-1000-8000-0026BB765291";
|
|
1658
|
+
static CONTROL_LOCK_DISABLED = 0;
|
|
1659
|
+
static CONTROL_LOCK_ENABLED = 1;
|
|
1660
|
+
constructor() {
|
|
1661
|
+
super("Lock Physical Controls", LockPhysicalControls.UUID, {
|
|
1662
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1663
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1664
|
+
minValue: 0,
|
|
1665
|
+
maxValue: 1,
|
|
1666
|
+
minStep: 1,
|
|
1667
|
+
validValues: [0, 1],
|
|
1668
|
+
});
|
|
1669
|
+
this.value = this.getDefaultValue();
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
exports.LockPhysicalControls = LockPhysicalControls;
|
|
1673
|
+
Characteristic_1.Characteristic.LockPhysicalControls = LockPhysicalControls;
|
|
1674
|
+
/**
|
|
1675
|
+
* Characteristic "Lock Target State"
|
|
1676
|
+
*/
|
|
1677
|
+
class LockTargetState extends Characteristic_1.Characteristic {
|
|
1678
|
+
static UUID = "0000001E-0000-1000-8000-0026BB765291";
|
|
1679
|
+
static UNSECURED = 0;
|
|
1680
|
+
static SECURED = 1;
|
|
1681
|
+
constructor() {
|
|
1682
|
+
super("Lock Target State", LockTargetState.UUID, {
|
|
1683
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1684
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1685
|
+
minValue: 0,
|
|
1686
|
+
maxValue: 1,
|
|
1687
|
+
minStep: 1,
|
|
1688
|
+
validValues: [0, 1],
|
|
1689
|
+
});
|
|
1690
|
+
this.value = this.getDefaultValue();
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
exports.LockTargetState = LockTargetState;
|
|
1694
|
+
Characteristic_1.Characteristic.LockTargetState = LockTargetState;
|
|
1695
|
+
/**
|
|
1696
|
+
* Characteristic "Logs"
|
|
1697
|
+
*/
|
|
1698
|
+
class Logs extends Characteristic_1.Characteristic {
|
|
1699
|
+
static UUID = "0000001F-0000-1000-8000-0026BB765291";
|
|
1700
|
+
constructor() {
|
|
1701
|
+
super("Logs", Logs.UUID, {
|
|
1702
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1703
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1704
|
+
});
|
|
1705
|
+
this.value = this.getDefaultValue();
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
exports.Logs = Logs;
|
|
1709
|
+
Characteristic_1.Characteristic.Logs = Logs;
|
|
1710
|
+
/**
|
|
1711
|
+
* Characteristic "MAC Retransmission Maximum"
|
|
1712
|
+
* @since iOS 14
|
|
1713
|
+
*/
|
|
1714
|
+
class MACRetransmissionMaximum extends Characteristic_1.Characteristic {
|
|
1715
|
+
static UUID = "00000247-0000-1000-8000-0026BB765291";
|
|
1716
|
+
constructor() {
|
|
1717
|
+
super("MAC Retransmission Maximum", MACRetransmissionMaximum.UUID, {
|
|
1718
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1719
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1720
|
+
});
|
|
1721
|
+
this.value = this.getDefaultValue();
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
exports.MACRetransmissionMaximum = MACRetransmissionMaximum;
|
|
1725
|
+
Characteristic_1.Characteristic.MACRetransmissionMaximum = MACRetransmissionMaximum;
|
|
1726
|
+
/**
|
|
1727
|
+
* Characteristic "MAC Transmission Counters"
|
|
1728
|
+
*/
|
|
1729
|
+
class MACTransmissionCounters extends Characteristic_1.Characteristic {
|
|
1730
|
+
static UUID = "00000248-0000-1000-8000-0026BB765291";
|
|
1731
|
+
constructor() {
|
|
1732
|
+
super("MAC Transmission Counters", MACTransmissionCounters.UUID, {
|
|
1733
|
+
format: "data" /* Formats.DATA */,
|
|
1734
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1735
|
+
});
|
|
1736
|
+
this.value = this.getDefaultValue();
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
exports.MACTransmissionCounters = MACTransmissionCounters;
|
|
1740
|
+
Characteristic_1.Characteristic.MACTransmissionCounters = MACTransmissionCounters;
|
|
1741
|
+
/**
|
|
1742
|
+
* Characteristic "Managed Network Enable"
|
|
1743
|
+
*/
|
|
1744
|
+
class ManagedNetworkEnable extends Characteristic_1.Characteristic {
|
|
1745
|
+
static UUID = "00000215-0000-1000-8000-0026BB765291";
|
|
1746
|
+
static DISABLED = 0;
|
|
1747
|
+
static ENABLED = 1;
|
|
1748
|
+
constructor() {
|
|
1749
|
+
super("Managed Network Enable", ManagedNetworkEnable.UUID, {
|
|
1750
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1751
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
|
|
1752
|
+
minValue: 0,
|
|
1753
|
+
maxValue: 1,
|
|
1754
|
+
validValues: [0, 1],
|
|
1755
|
+
});
|
|
1756
|
+
this.value = this.getDefaultValue();
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
exports.ManagedNetworkEnable = ManagedNetworkEnable;
|
|
1760
|
+
Characteristic_1.Characteristic.ManagedNetworkEnable = ManagedNetworkEnable;
|
|
1761
|
+
/**
|
|
1762
|
+
* Characteristic "Manually Disabled"
|
|
1763
|
+
*/
|
|
1764
|
+
class ManuallyDisabled extends Characteristic_1.Characteristic {
|
|
1765
|
+
static UUID = "00000227-0000-1000-8000-0026BB765291";
|
|
1766
|
+
static ENABLED = 0;
|
|
1767
|
+
static DISABLED = 1;
|
|
1768
|
+
constructor() {
|
|
1769
|
+
super("Manually Disabled", ManuallyDisabled.UUID, {
|
|
1770
|
+
format: "bool" /* Formats.BOOL */,
|
|
1771
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1772
|
+
validValues: [0, 1],
|
|
1773
|
+
});
|
|
1774
|
+
this.value = this.getDefaultValue();
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
exports.ManuallyDisabled = ManuallyDisabled;
|
|
1778
|
+
Characteristic_1.Characteristic.ManuallyDisabled = ManuallyDisabled;
|
|
1779
|
+
/**
|
|
1780
|
+
* Characteristic "Manufacturer"
|
|
1781
|
+
*/
|
|
1782
|
+
class Manufacturer extends Characteristic_1.Characteristic {
|
|
1783
|
+
static UUID = "00000020-0000-1000-8000-0026BB765291";
|
|
1784
|
+
constructor() {
|
|
1785
|
+
super("Manufacturer", Manufacturer.UUID, {
|
|
1786
|
+
format: "string" /* Formats.STRING */,
|
|
1787
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1788
|
+
maxLen: 64,
|
|
1789
|
+
});
|
|
1790
|
+
this.value = this.getDefaultValue();
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
exports.Manufacturer = Manufacturer;
|
|
1794
|
+
Characteristic_1.Characteristic.Manufacturer = Manufacturer;
|
|
1795
|
+
/**
|
|
1796
|
+
* Characteristic "Matter Firmware Revision Number"
|
|
1797
|
+
*/
|
|
1798
|
+
class MatterFirmwareRevisionNumber extends Characteristic_1.Characteristic {
|
|
1799
|
+
static UUID = "0000026D-0000-1000-8000-0026BB765291";
|
|
1800
|
+
constructor() {
|
|
1801
|
+
super("Matter Firmware Revision Number", MatterFirmwareRevisionNumber.UUID, {
|
|
1802
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
1803
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1804
|
+
});
|
|
1805
|
+
this.value = this.getDefaultValue();
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
exports.MatterFirmwareRevisionNumber = MatterFirmwareRevisionNumber;
|
|
1809
|
+
Characteristic_1.Characteristic.MatterFirmwareRevisionNumber = MatterFirmwareRevisionNumber;
|
|
1810
|
+
/**
|
|
1811
|
+
* Characteristic "Matter Firmware Update Status"
|
|
1812
|
+
*/
|
|
1813
|
+
class MatterFirmwareUpdateStatus extends Characteristic_1.Characteristic {
|
|
1814
|
+
static UUID = "0000026E-0000-1000-8000-0026BB765291";
|
|
1815
|
+
constructor() {
|
|
1816
|
+
super("Matter Firmware Update Status", MatterFirmwareUpdateStatus.UUID, {
|
|
1817
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1818
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1819
|
+
});
|
|
1820
|
+
this.value = this.getDefaultValue();
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
exports.MatterFirmwareUpdateStatus = MatterFirmwareUpdateStatus;
|
|
1824
|
+
Characteristic_1.Characteristic.MatterFirmwareUpdateStatus = MatterFirmwareUpdateStatus;
|
|
1825
|
+
/**
|
|
1826
|
+
* Characteristic "Maximum Transmit Power"
|
|
1827
|
+
* @since iOS 14
|
|
1828
|
+
*/
|
|
1829
|
+
class MaximumTransmitPower extends Characteristic_1.Characteristic {
|
|
1830
|
+
static UUID = "00000243-0000-1000-8000-0026BB765291";
|
|
1831
|
+
constructor() {
|
|
1832
|
+
super("Maximum Transmit Power", MaximumTransmitPower.UUID, {
|
|
1833
|
+
format: "int" /* Formats.INT */,
|
|
1834
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1835
|
+
});
|
|
1836
|
+
this.value = this.getDefaultValue();
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
exports.MaximumTransmitPower = MaximumTransmitPower;
|
|
1840
|
+
Characteristic_1.Characteristic.MaximumTransmitPower = MaximumTransmitPower;
|
|
1841
|
+
/**
|
|
1842
|
+
* Characteristic "Metrics Buffer Full State"
|
|
1843
|
+
*/
|
|
1844
|
+
class MetricsBufferFullState extends Characteristic_1.Characteristic {
|
|
1845
|
+
static UUID = "00000272-0000-1000-8000-0026BB765291";
|
|
1846
|
+
constructor() {
|
|
1847
|
+
super("Metrics Buffer Full State", MetricsBufferFullState.UUID, {
|
|
1848
|
+
format: "bool" /* Formats.BOOL */,
|
|
1849
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1850
|
+
});
|
|
1851
|
+
this.value = this.getDefaultValue();
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
exports.MetricsBufferFullState = MetricsBufferFullState;
|
|
1855
|
+
Characteristic_1.Characteristic.MetricsBufferFullState = MetricsBufferFullState;
|
|
1856
|
+
/**
|
|
1857
|
+
* Characteristic "Model"
|
|
1858
|
+
*/
|
|
1859
|
+
class Model extends Characteristic_1.Characteristic {
|
|
1860
|
+
static UUID = "00000021-0000-1000-8000-0026BB765291";
|
|
1861
|
+
constructor() {
|
|
1862
|
+
super("Model", Model.UUID, {
|
|
1863
|
+
format: "string" /* Formats.STRING */,
|
|
1864
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1865
|
+
maxLen: 64,
|
|
1866
|
+
});
|
|
1867
|
+
this.value = this.getDefaultValue();
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
exports.Model = Model;
|
|
1871
|
+
Characteristic_1.Characteristic.Model = Model;
|
|
1872
|
+
/**
|
|
1873
|
+
* Characteristic "Motion Detected"
|
|
1874
|
+
*/
|
|
1875
|
+
class MotionDetected extends Characteristic_1.Characteristic {
|
|
1876
|
+
static UUID = "00000022-0000-1000-8000-0026BB765291";
|
|
1877
|
+
constructor() {
|
|
1878
|
+
super("Motion Detected", MotionDetected.UUID, {
|
|
1879
|
+
format: "bool" /* Formats.BOOL */,
|
|
1880
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1881
|
+
});
|
|
1882
|
+
this.value = this.getDefaultValue();
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
exports.MotionDetected = MotionDetected;
|
|
1886
|
+
Characteristic_1.Characteristic.MotionDetected = MotionDetected;
|
|
1887
|
+
/**
|
|
1888
|
+
* Characteristic "Multifunction Button"
|
|
1889
|
+
*/
|
|
1890
|
+
class MultifunctionButton extends Characteristic_1.Characteristic {
|
|
1891
|
+
static UUID = "0000026B-0000-1000-8000-0026BB765291";
|
|
1892
|
+
constructor() {
|
|
1893
|
+
super("Multifunction Button", MultifunctionButton.UUID, {
|
|
1894
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
1895
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
1896
|
+
minValue: 0,
|
|
1897
|
+
maxValue: 1,
|
|
1898
|
+
});
|
|
1899
|
+
this.value = this.getDefaultValue();
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
exports.MultifunctionButton = MultifunctionButton;
|
|
1903
|
+
Characteristic_1.Characteristic.MultifunctionButton = MultifunctionButton;
|
|
1904
|
+
/**
|
|
1905
|
+
* Characteristic "Mute"
|
|
1906
|
+
*/
|
|
1907
|
+
class Mute extends Characteristic_1.Characteristic {
|
|
1908
|
+
static UUID = "0000011A-0000-1000-8000-0026BB765291";
|
|
1909
|
+
constructor() {
|
|
1910
|
+
super("Mute", Mute.UUID, {
|
|
1911
|
+
format: "bool" /* Formats.BOOL */,
|
|
1912
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
1913
|
+
});
|
|
1914
|
+
this.value = this.getDefaultValue();
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
exports.Mute = Mute;
|
|
1918
|
+
Characteristic_1.Characteristic.Mute = Mute;
|
|
1919
|
+
/**
|
|
1920
|
+
* Characteristic "Name"
|
|
1921
|
+
*/
|
|
1922
|
+
class Name extends Characteristic_1.Characteristic {
|
|
1923
|
+
static UUID = "00000023-0000-1000-8000-0026BB765291";
|
|
1924
|
+
constructor() {
|
|
1925
|
+
super("Name", Name.UUID, {
|
|
1926
|
+
format: "string" /* Formats.STRING */,
|
|
1927
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
1928
|
+
maxLen: 64,
|
|
1929
|
+
});
|
|
1930
|
+
this.value = this.getDefaultValue();
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.Name = Name;
|
|
1934
|
+
Characteristic_1.Characteristic.Name = Name;
|
|
1935
|
+
/**
|
|
1936
|
+
* Characteristic "Network Access Violation Control"
|
|
1937
|
+
*/
|
|
1938
|
+
class NetworkAccessViolationControl extends Characteristic_1.Characteristic {
|
|
1939
|
+
static UUID = "0000021F-0000-1000-8000-0026BB765291";
|
|
1940
|
+
constructor() {
|
|
1941
|
+
super("Network Access Violation Control", NetworkAccessViolationControl.UUID, {
|
|
1942
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1943
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
1944
|
+
});
|
|
1945
|
+
this.value = this.getDefaultValue();
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
exports.NetworkAccessViolationControl = NetworkAccessViolationControl;
|
|
1949
|
+
Characteristic_1.Characteristic.NetworkAccessViolationControl = NetworkAccessViolationControl;
|
|
1950
|
+
/**
|
|
1951
|
+
* Characteristic "Network Client Profile Control"
|
|
1952
|
+
*/
|
|
1953
|
+
class NetworkClientProfileControl extends Characteristic_1.Characteristic {
|
|
1954
|
+
static UUID = "0000020C-0000-1000-8000-0026BB765291";
|
|
1955
|
+
constructor() {
|
|
1956
|
+
super("Network Client Profile Control", NetworkClientProfileControl.UUID, {
|
|
1957
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1958
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
1959
|
+
});
|
|
1960
|
+
this.value = this.getDefaultValue();
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
exports.NetworkClientProfileControl = NetworkClientProfileControl;
|
|
1964
|
+
Characteristic_1.Characteristic.NetworkClientProfileControl = NetworkClientProfileControl;
|
|
1965
|
+
/**
|
|
1966
|
+
* Characteristic "Network Client Status Control"
|
|
1967
|
+
*/
|
|
1968
|
+
class NetworkClientStatusControl extends Characteristic_1.Characteristic {
|
|
1969
|
+
static UUID = "0000020D-0000-1000-8000-0026BB765291";
|
|
1970
|
+
constructor() {
|
|
1971
|
+
super("Network Client Status Control", NetworkClientStatusControl.UUID, {
|
|
1972
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1973
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
1974
|
+
});
|
|
1975
|
+
this.value = this.getDefaultValue();
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
exports.NetworkClientStatusControl = NetworkClientStatusControl;
|
|
1979
|
+
Characteristic_1.Characteristic.NetworkClientStatusControl = NetworkClientStatusControl;
|
|
1980
|
+
/**
|
|
1981
|
+
* Characteristic "NFC Access Control Point"
|
|
1982
|
+
* @since iOS 15
|
|
1983
|
+
*/
|
|
1984
|
+
class NFCAccessControlPoint extends Characteristic_1.Characteristic {
|
|
1985
|
+
static UUID = "00000264-0000-1000-8000-0026BB765291";
|
|
1986
|
+
constructor() {
|
|
1987
|
+
super("NFC Access Control Point", NFCAccessControlPoint.UUID, {
|
|
1988
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
1989
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
1990
|
+
});
|
|
1991
|
+
this.value = this.getDefaultValue();
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
exports.NFCAccessControlPoint = NFCAccessControlPoint;
|
|
1995
|
+
Characteristic_1.Characteristic.NFCAccessControlPoint = NFCAccessControlPoint;
|
|
1996
|
+
/**
|
|
1997
|
+
* Characteristic "NFC Access Supported Configuration"
|
|
1998
|
+
* @since iOS 15
|
|
1999
|
+
*/
|
|
2000
|
+
class NFCAccessSupportedConfiguration extends Characteristic_1.Characteristic {
|
|
2001
|
+
static UUID = "00000265-0000-1000-8000-0026BB765291";
|
|
2002
|
+
constructor() {
|
|
2003
|
+
super("NFC Access Supported Configuration", NFCAccessSupportedConfiguration.UUID, {
|
|
2004
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2005
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2006
|
+
});
|
|
2007
|
+
this.value = this.getDefaultValue();
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
exports.NFCAccessSupportedConfiguration = NFCAccessSupportedConfiguration;
|
|
2011
|
+
Characteristic_1.Characteristic.NFCAccessSupportedConfiguration = NFCAccessSupportedConfiguration;
|
|
2012
|
+
/**
|
|
2013
|
+
* Characteristic "Night Vision"
|
|
2014
|
+
*/
|
|
2015
|
+
class NightVision extends Characteristic_1.Characteristic {
|
|
2016
|
+
static UUID = "0000011B-0000-1000-8000-0026BB765291";
|
|
2017
|
+
constructor() {
|
|
2018
|
+
super("Night Vision", NightVision.UUID, {
|
|
2019
|
+
format: "bool" /* Formats.BOOL */,
|
|
2020
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
|
|
2021
|
+
});
|
|
2022
|
+
this.value = this.getDefaultValue();
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
exports.NightVision = NightVision;
|
|
2026
|
+
Characteristic_1.Characteristic.NightVision = NightVision;
|
|
2027
|
+
/**
|
|
2028
|
+
* Characteristic "Nitrogen Dioxide Density"
|
|
2029
|
+
*/
|
|
2030
|
+
class NitrogenDioxideDensity extends Characteristic_1.Characteristic {
|
|
2031
|
+
static UUID = "000000C4-0000-1000-8000-0026BB765291";
|
|
2032
|
+
constructor() {
|
|
2033
|
+
super("Nitrogen Dioxide Density", NitrogenDioxideDensity.UUID, {
|
|
2034
|
+
format: "float" /* Formats.FLOAT */,
|
|
2035
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2036
|
+
minValue: 0,
|
|
2037
|
+
maxValue: 1000,
|
|
2038
|
+
minStep: 1,
|
|
2039
|
+
});
|
|
2040
|
+
this.value = this.getDefaultValue();
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
exports.NitrogenDioxideDensity = NitrogenDioxideDensity;
|
|
2044
|
+
Characteristic_1.Characteristic.NitrogenDioxideDensity = NitrogenDioxideDensity;
|
|
2045
|
+
/**
|
|
2046
|
+
* Characteristic "Obstruction Detected"
|
|
2047
|
+
*/
|
|
2048
|
+
class ObstructionDetected extends Characteristic_1.Characteristic {
|
|
2049
|
+
static UUID = "00000024-0000-1000-8000-0026BB765291";
|
|
2050
|
+
constructor() {
|
|
2051
|
+
super("Obstruction Detected", ObstructionDetected.UUID, {
|
|
2052
|
+
format: "bool" /* Formats.BOOL */,
|
|
2053
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2054
|
+
});
|
|
2055
|
+
this.value = this.getDefaultValue();
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
exports.ObstructionDetected = ObstructionDetected;
|
|
2059
|
+
Characteristic_1.Characteristic.ObstructionDetected = ObstructionDetected;
|
|
2060
|
+
/**
|
|
2061
|
+
* Characteristic "Occupancy Detected"
|
|
2062
|
+
*/
|
|
2063
|
+
class OccupancyDetected extends Characteristic_1.Characteristic {
|
|
2064
|
+
static UUID = "00000071-0000-1000-8000-0026BB765291";
|
|
2065
|
+
static OCCUPANCY_NOT_DETECTED = 0;
|
|
2066
|
+
static OCCUPANCY_DETECTED = 1;
|
|
2067
|
+
constructor() {
|
|
2068
|
+
super("Occupancy Detected", OccupancyDetected.UUID, {
|
|
2069
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2070
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2071
|
+
minValue: 0,
|
|
2072
|
+
maxValue: 1,
|
|
2073
|
+
minStep: 1,
|
|
2074
|
+
validValues: [0, 1],
|
|
2075
|
+
});
|
|
2076
|
+
this.value = this.getDefaultValue();
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
exports.OccupancyDetected = OccupancyDetected;
|
|
2080
|
+
Characteristic_1.Characteristic.OccupancyDetected = OccupancyDetected;
|
|
2081
|
+
/**
|
|
2082
|
+
* Characteristic "On"
|
|
2083
|
+
*/
|
|
2084
|
+
class On extends Characteristic_1.Characteristic {
|
|
2085
|
+
static UUID = "00000025-0000-1000-8000-0026BB765291";
|
|
2086
|
+
constructor() {
|
|
2087
|
+
super("On", On.UUID, {
|
|
2088
|
+
format: "bool" /* Formats.BOOL */,
|
|
2089
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2090
|
+
});
|
|
2091
|
+
this.value = this.getDefaultValue();
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
exports.On = On;
|
|
2095
|
+
Characteristic_1.Characteristic.On = On;
|
|
2096
|
+
/**
|
|
2097
|
+
* Characteristic "Operating State Response"
|
|
2098
|
+
* @since iOS 14
|
|
2099
|
+
*/
|
|
2100
|
+
class OperatingStateResponse extends Characteristic_1.Characteristic {
|
|
2101
|
+
static UUID = "00000232-0000-1000-8000-0026BB765291";
|
|
2102
|
+
constructor() {
|
|
2103
|
+
super("Operating State Response", OperatingStateResponse.UUID, {
|
|
2104
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2105
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2106
|
+
});
|
|
2107
|
+
this.value = this.getDefaultValue();
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
exports.OperatingStateResponse = OperatingStateResponse;
|
|
2111
|
+
Characteristic_1.Characteristic.OperatingStateResponse = OperatingStateResponse;
|
|
2112
|
+
/**
|
|
2113
|
+
* Characteristic "Optical Zoom"
|
|
2114
|
+
*/
|
|
2115
|
+
class OpticalZoom extends Characteristic_1.Characteristic {
|
|
2116
|
+
static UUID = "0000011C-0000-1000-8000-0026BB765291";
|
|
2117
|
+
constructor() {
|
|
2118
|
+
super("Optical Zoom", OpticalZoom.UUID, {
|
|
2119
|
+
format: "float" /* Formats.FLOAT */,
|
|
2120
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2121
|
+
minStep: 0.1,
|
|
2122
|
+
});
|
|
2123
|
+
this.value = this.getDefaultValue();
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
exports.OpticalZoom = OpticalZoom;
|
|
2127
|
+
Characteristic_1.Characteristic.OpticalZoom = OpticalZoom;
|
|
2128
|
+
/**
|
|
2129
|
+
* Characteristic "Outlet In Use"
|
|
2130
|
+
*/
|
|
2131
|
+
class OutletInUse extends Characteristic_1.Characteristic {
|
|
2132
|
+
static UUID = "00000026-0000-1000-8000-0026BB765291";
|
|
2133
|
+
constructor() {
|
|
2134
|
+
super("Outlet In Use", OutletInUse.UUID, {
|
|
2135
|
+
format: "bool" /* Formats.BOOL */,
|
|
2136
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2137
|
+
});
|
|
2138
|
+
this.value = this.getDefaultValue();
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
exports.OutletInUse = OutletInUse;
|
|
2142
|
+
Characteristic_1.Characteristic.OutletInUse = OutletInUse;
|
|
2143
|
+
/**
|
|
2144
|
+
* Characteristic "Ozone Density"
|
|
2145
|
+
*/
|
|
2146
|
+
class OzoneDensity extends Characteristic_1.Characteristic {
|
|
2147
|
+
static UUID = "000000C3-0000-1000-8000-0026BB765291";
|
|
2148
|
+
constructor() {
|
|
2149
|
+
super("Ozone Density", OzoneDensity.UUID, {
|
|
2150
|
+
format: "float" /* Formats.FLOAT */,
|
|
2151
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2152
|
+
minValue: 0,
|
|
2153
|
+
maxValue: 1000,
|
|
2154
|
+
minStep: 1,
|
|
2155
|
+
});
|
|
2156
|
+
this.value = this.getDefaultValue();
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
exports.OzoneDensity = OzoneDensity;
|
|
2160
|
+
Characteristic_1.Characteristic.OzoneDensity = OzoneDensity;
|
|
2161
|
+
/**
|
|
2162
|
+
* Characteristic "Pairing Features"
|
|
2163
|
+
*/
|
|
2164
|
+
class PairingFeatures extends Characteristic_1.Characteristic {
|
|
2165
|
+
static UUID = "0000004F-0000-1000-8000-0026BB765291";
|
|
2166
|
+
constructor() {
|
|
2167
|
+
super("Pairing Features", PairingFeatures.UUID, {
|
|
2168
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2169
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2170
|
+
});
|
|
2171
|
+
this.value = this.getDefaultValue();
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
exports.PairingFeatures = PairingFeatures;
|
|
2175
|
+
Characteristic_1.Characteristic.PairingFeatures = PairingFeatures;
|
|
2176
|
+
/**
|
|
2177
|
+
* Characteristic "Pair Setup"
|
|
2178
|
+
*/
|
|
2179
|
+
class PairSetup extends Characteristic_1.Characteristic {
|
|
2180
|
+
static UUID = "0000004C-0000-1000-8000-0026BB765291";
|
|
2181
|
+
constructor() {
|
|
2182
|
+
super("Pair Setup", PairSetup.UUID, {
|
|
2183
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2184
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2185
|
+
});
|
|
2186
|
+
this.value = this.getDefaultValue();
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
exports.PairSetup = PairSetup;
|
|
2190
|
+
Characteristic_1.Characteristic.PairSetup = PairSetup;
|
|
2191
|
+
/**
|
|
2192
|
+
* Characteristic "Pair Verify"
|
|
2193
|
+
*/
|
|
2194
|
+
class PairVerify extends Characteristic_1.Characteristic {
|
|
2195
|
+
static UUID = "0000004E-0000-1000-8000-0026BB765291";
|
|
2196
|
+
constructor() {
|
|
2197
|
+
super("Pair Verify", PairVerify.UUID, {
|
|
2198
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2199
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2200
|
+
});
|
|
2201
|
+
this.value = this.getDefaultValue();
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
exports.PairVerify = PairVerify;
|
|
2205
|
+
Characteristic_1.Characteristic.PairVerify = PairVerify;
|
|
2206
|
+
/**
|
|
2207
|
+
* Characteristic "Password Setting"
|
|
2208
|
+
*/
|
|
2209
|
+
class PasswordSetting extends Characteristic_1.Characteristic {
|
|
2210
|
+
static UUID = "000000E4-0000-1000-8000-0026BB765291";
|
|
2211
|
+
constructor() {
|
|
2212
|
+
super("Password Setting", PasswordSetting.UUID, {
|
|
2213
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2214
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2215
|
+
});
|
|
2216
|
+
this.value = this.getDefaultValue();
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
exports.PasswordSetting = PasswordSetting;
|
|
2220
|
+
Characteristic_1.Characteristic.PasswordSetting = PasswordSetting;
|
|
2221
|
+
/**
|
|
2222
|
+
* Characteristic "Periodic Snapshots Active"
|
|
2223
|
+
*/
|
|
2224
|
+
class PeriodicSnapshotsActive extends Characteristic_1.Characteristic {
|
|
2225
|
+
static UUID = "00000225-0000-1000-8000-0026BB765291";
|
|
2226
|
+
static DISABLE = 0;
|
|
2227
|
+
static ENABLE = 1;
|
|
2228
|
+
constructor() {
|
|
2229
|
+
super("Periodic Snapshots Active", PeriodicSnapshotsActive.UUID, {
|
|
2230
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2231
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2232
|
+
validValues: [0, 1],
|
|
2233
|
+
});
|
|
2234
|
+
this.value = this.getDefaultValue();
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
exports.PeriodicSnapshotsActive = PeriodicSnapshotsActive;
|
|
2238
|
+
Characteristic_1.Characteristic.PeriodicSnapshotsActive = PeriodicSnapshotsActive;
|
|
2239
|
+
/**
|
|
2240
|
+
* Characteristic "Picture Mode"
|
|
2241
|
+
*/
|
|
2242
|
+
class PictureMode extends Characteristic_1.Characteristic {
|
|
2243
|
+
static UUID = "000000E2-0000-1000-8000-0026BB765291";
|
|
2244
|
+
static OTHER = 0;
|
|
2245
|
+
static STANDARD = 1;
|
|
2246
|
+
static CALIBRATED = 2;
|
|
2247
|
+
static CALIBRATED_DARK = 3;
|
|
2248
|
+
static VIVID = 4;
|
|
2249
|
+
static GAME = 5;
|
|
2250
|
+
static COMPUTER = 6;
|
|
2251
|
+
static CUSTOM = 7;
|
|
2252
|
+
constructor() {
|
|
2253
|
+
super("Picture Mode", PictureMode.UUID, {
|
|
2254
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2255
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2256
|
+
minValue: 0,
|
|
2257
|
+
maxValue: 13,
|
|
2258
|
+
minStep: 1,
|
|
2259
|
+
validValues: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13],
|
|
2260
|
+
});
|
|
2261
|
+
this.value = this.getDefaultValue();
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
exports.PictureMode = PictureMode;
|
|
2265
|
+
Characteristic_1.Characteristic.PictureMode = PictureMode;
|
|
2266
|
+
/**
|
|
2267
|
+
* Characteristic "Ping"
|
|
2268
|
+
* @since iOS 14
|
|
2269
|
+
*/
|
|
2270
|
+
class Ping extends Characteristic_1.Characteristic {
|
|
2271
|
+
static UUID = "0000023C-0000-1000-8000-0026BB765291";
|
|
2272
|
+
constructor() {
|
|
2273
|
+
super("Ping", Ping.UUID, {
|
|
2274
|
+
format: "data" /* Formats.DATA */,
|
|
2275
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2276
|
+
});
|
|
2277
|
+
this.value = this.getDefaultValue();
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
exports.Ping = Ping;
|
|
2281
|
+
Characteristic_1.Characteristic.Ping = Ping;
|
|
2282
|
+
/**
|
|
2283
|
+
* Characteristic "PM10 Density"
|
|
2284
|
+
*/
|
|
2285
|
+
class PM10Density extends Characteristic_1.Characteristic {
|
|
2286
|
+
static UUID = "000000C7-0000-1000-8000-0026BB765291";
|
|
2287
|
+
constructor() {
|
|
2288
|
+
super("PM10 Density", PM10Density.UUID, {
|
|
2289
|
+
format: "float" /* Formats.FLOAT */,
|
|
2290
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2291
|
+
minValue: 0,
|
|
2292
|
+
maxValue: 1000,
|
|
2293
|
+
minStep: 1,
|
|
2294
|
+
});
|
|
2295
|
+
this.value = this.getDefaultValue();
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
exports.PM10Density = PM10Density;
|
|
2299
|
+
Characteristic_1.Characteristic.PM10Density = PM10Density;
|
|
2300
|
+
/**
|
|
2301
|
+
* Characteristic "PM2.5 Density"
|
|
2302
|
+
*/
|
|
2303
|
+
class PM2_5Density extends Characteristic_1.Characteristic {
|
|
2304
|
+
static UUID = "000000C6-0000-1000-8000-0026BB765291";
|
|
2305
|
+
constructor() {
|
|
2306
|
+
super("PM2.5 Density", PM2_5Density.UUID, {
|
|
2307
|
+
format: "float" /* Formats.FLOAT */,
|
|
2308
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2309
|
+
minValue: 0,
|
|
2310
|
+
maxValue: 1000,
|
|
2311
|
+
minStep: 1,
|
|
2312
|
+
});
|
|
2313
|
+
this.value = this.getDefaultValue();
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
exports.PM2_5Density = PM2_5Density;
|
|
2317
|
+
Characteristic_1.Characteristic.PM2_5Density = PM2_5Density;
|
|
2318
|
+
/**
|
|
2319
|
+
* Characteristic "Position State"
|
|
2320
|
+
*/
|
|
2321
|
+
class PositionState extends Characteristic_1.Characteristic {
|
|
2322
|
+
static UUID = "00000072-0000-1000-8000-0026BB765291";
|
|
2323
|
+
static DECREASING = 0;
|
|
2324
|
+
static INCREASING = 1;
|
|
2325
|
+
static STOPPED = 2;
|
|
2326
|
+
constructor() {
|
|
2327
|
+
super("Position State", PositionState.UUID, {
|
|
2328
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2329
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2330
|
+
minValue: 0,
|
|
2331
|
+
maxValue: 2,
|
|
2332
|
+
minStep: 1,
|
|
2333
|
+
validValues: [0, 1, 2],
|
|
2334
|
+
});
|
|
2335
|
+
this.value = this.getDefaultValue();
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
exports.PositionState = PositionState;
|
|
2339
|
+
Characteristic_1.Characteristic.PositionState = PositionState;
|
|
2340
|
+
/**
|
|
2341
|
+
* Characteristic "Power Mode Selection"
|
|
2342
|
+
*/
|
|
2343
|
+
class PowerModeSelection extends Characteristic_1.Characteristic {
|
|
2344
|
+
static UUID = "000000DF-0000-1000-8000-0026BB765291";
|
|
2345
|
+
static SHOW = 0;
|
|
2346
|
+
static HIDE = 1;
|
|
2347
|
+
constructor() {
|
|
2348
|
+
super("Power Mode Selection", PowerModeSelection.UUID, {
|
|
2349
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2350
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
2351
|
+
minValue: 0,
|
|
2352
|
+
maxValue: 1,
|
|
2353
|
+
minStep: 1,
|
|
2354
|
+
validValues: [0, 1],
|
|
2355
|
+
});
|
|
2356
|
+
this.value = this.getDefaultValue();
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2359
|
+
exports.PowerModeSelection = PowerModeSelection;
|
|
2360
|
+
Characteristic_1.Characteristic.PowerModeSelection = PowerModeSelection;
|
|
2361
|
+
/**
|
|
2362
|
+
* Characteristic "Product Data"
|
|
2363
|
+
*/
|
|
2364
|
+
class ProductData extends Characteristic_1.Characteristic {
|
|
2365
|
+
static UUID = "00000220-0000-1000-8000-0026BB765291";
|
|
2366
|
+
constructor() {
|
|
2367
|
+
super("Product Data", ProductData.UUID, {
|
|
2368
|
+
format: "data" /* Formats.DATA */,
|
|
2369
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2370
|
+
});
|
|
2371
|
+
this.value = this.getDefaultValue();
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
exports.ProductData = ProductData;
|
|
2375
|
+
Characteristic_1.Characteristic.ProductData = ProductData;
|
|
2376
|
+
/**
|
|
2377
|
+
* Characteristic "Programmable Switch Event"
|
|
2378
|
+
*/
|
|
2379
|
+
class ProgrammableSwitchEvent extends Characteristic_1.Characteristic {
|
|
2380
|
+
static UUID = "00000073-0000-1000-8000-0026BB765291";
|
|
2381
|
+
static SINGLE_PRESS = 0;
|
|
2382
|
+
static DOUBLE_PRESS = 1;
|
|
2383
|
+
static LONG_PRESS = 2;
|
|
2384
|
+
constructor() {
|
|
2385
|
+
super("Programmable Switch Event", ProgrammableSwitchEvent.UUID, {
|
|
2386
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2387
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2388
|
+
minValue: 0,
|
|
2389
|
+
maxValue: 2,
|
|
2390
|
+
minStep: 1,
|
|
2391
|
+
validValues: [0, 1, 2],
|
|
2392
|
+
});
|
|
2393
|
+
this.value = this.getDefaultValue();
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
exports.ProgrammableSwitchEvent = ProgrammableSwitchEvent;
|
|
2397
|
+
Characteristic_1.Characteristic.ProgrammableSwitchEvent = ProgrammableSwitchEvent;
|
|
2398
|
+
/**
|
|
2399
|
+
* Characteristic "Programmable Switch Output State"
|
|
2400
|
+
*/
|
|
2401
|
+
class ProgrammableSwitchOutputState extends Characteristic_1.Characteristic {
|
|
2402
|
+
static UUID = "00000074-0000-1000-8000-0026BB765291";
|
|
2403
|
+
constructor() {
|
|
2404
|
+
super("Programmable Switch Output State", ProgrammableSwitchOutputState.UUID, {
|
|
2405
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2406
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2407
|
+
minValue: 0,
|
|
2408
|
+
maxValue: 1,
|
|
2409
|
+
minStep: 1,
|
|
2410
|
+
});
|
|
2411
|
+
this.value = this.getDefaultValue();
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
exports.ProgrammableSwitchOutputState = ProgrammableSwitchOutputState;
|
|
2415
|
+
Characteristic_1.Characteristic.ProgrammableSwitchOutputState = ProgrammableSwitchOutputState;
|
|
2416
|
+
/**
|
|
2417
|
+
* Characteristic "Program Mode"
|
|
2418
|
+
*/
|
|
2419
|
+
class ProgramMode extends Characteristic_1.Characteristic {
|
|
2420
|
+
static UUID = "000000D1-0000-1000-8000-0026BB765291";
|
|
2421
|
+
static NO_PROGRAM_SCHEDULED = 0;
|
|
2422
|
+
static PROGRAM_SCHEDULED = 1;
|
|
2423
|
+
static PROGRAM_SCHEDULED_MANUAL_MODE = 2;
|
|
2424
|
+
constructor() {
|
|
2425
|
+
super("Program Mode", ProgramMode.UUID, {
|
|
2426
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2427
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2428
|
+
minValue: 0,
|
|
2429
|
+
maxValue: 2,
|
|
2430
|
+
minStep: 1,
|
|
2431
|
+
validValues: [0, 1, 2],
|
|
2432
|
+
});
|
|
2433
|
+
this.value = this.getDefaultValue();
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
exports.ProgramMode = ProgramMode;
|
|
2437
|
+
Characteristic_1.Characteristic.ProgramMode = ProgramMode;
|
|
2438
|
+
/**
|
|
2439
|
+
* Characteristic "Received Signal Strength Indication"
|
|
2440
|
+
* @since iOS 14
|
|
2441
|
+
*/
|
|
2442
|
+
class ReceivedSignalStrengthIndication extends Characteristic_1.Characteristic {
|
|
2443
|
+
static UUID = "0000023F-0000-1000-8000-0026BB765291";
|
|
2444
|
+
constructor() {
|
|
2445
|
+
super("Received Signal Strength Indication", ReceivedSignalStrengthIndication.UUID, {
|
|
2446
|
+
format: "int" /* Formats.INT */,
|
|
2447
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2448
|
+
});
|
|
2449
|
+
this.value = this.getDefaultValue();
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
exports.ReceivedSignalStrengthIndication = ReceivedSignalStrengthIndication;
|
|
2453
|
+
Characteristic_1.Characteristic.ReceivedSignalStrengthIndication = ReceivedSignalStrengthIndication;
|
|
2454
|
+
/**
|
|
2455
|
+
* Characteristic "Receiver Sensitivity"
|
|
2456
|
+
* @since iOS 14
|
|
2457
|
+
*/
|
|
2458
|
+
class ReceiverSensitivity extends Characteristic_1.Characteristic {
|
|
2459
|
+
static UUID = "00000244-0000-1000-8000-0026BB765291";
|
|
2460
|
+
constructor() {
|
|
2461
|
+
super("Receiver Sensitivity", ReceiverSensitivity.UUID, {
|
|
2462
|
+
format: "int" /* Formats.INT */,
|
|
2463
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2464
|
+
});
|
|
2465
|
+
this.value = this.getDefaultValue();
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
exports.ReceiverSensitivity = ReceiverSensitivity;
|
|
2469
|
+
Characteristic_1.Characteristic.ReceiverSensitivity = ReceiverSensitivity;
|
|
2470
|
+
/**
|
|
2471
|
+
* Characteristic "Recording Audio Active"
|
|
2472
|
+
*/
|
|
2473
|
+
class RecordingAudioActive extends Characteristic_1.Characteristic {
|
|
2474
|
+
static UUID = "00000226-0000-1000-8000-0026BB765291";
|
|
2475
|
+
static DISABLE = 0;
|
|
2476
|
+
static ENABLE = 1;
|
|
2477
|
+
constructor() {
|
|
2478
|
+
super("Recording Audio Active", RecordingAudioActive.UUID, {
|
|
2479
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2480
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
|
|
2481
|
+
validValues: [0, 1],
|
|
2482
|
+
});
|
|
2483
|
+
this.value = this.getDefaultValue();
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
exports.RecordingAudioActive = RecordingAudioActive;
|
|
2487
|
+
Characteristic_1.Characteristic.RecordingAudioActive = RecordingAudioActive;
|
|
2488
|
+
/**
|
|
2489
|
+
* Characteristic "Relative Humidity Dehumidifier Threshold"
|
|
2490
|
+
*/
|
|
2491
|
+
class RelativeHumidityDehumidifierThreshold extends Characteristic_1.Characteristic {
|
|
2492
|
+
static UUID = "000000C9-0000-1000-8000-0026BB765291";
|
|
2493
|
+
constructor() {
|
|
2494
|
+
super("Relative Humidity Dehumidifier Threshold", RelativeHumidityDehumidifierThreshold.UUID, {
|
|
2495
|
+
format: "float" /* Formats.FLOAT */,
|
|
2496
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2497
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
2498
|
+
minValue: 0,
|
|
2499
|
+
maxValue: 100,
|
|
2500
|
+
minStep: 1,
|
|
2501
|
+
});
|
|
2502
|
+
this.value = this.getDefaultValue();
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
exports.RelativeHumidityDehumidifierThreshold = RelativeHumidityDehumidifierThreshold;
|
|
2506
|
+
Characteristic_1.Characteristic.RelativeHumidityDehumidifierThreshold = RelativeHumidityDehumidifierThreshold;
|
|
2507
|
+
/**
|
|
2508
|
+
* Characteristic "Relative Humidity Humidifier Threshold"
|
|
2509
|
+
*/
|
|
2510
|
+
class RelativeHumidityHumidifierThreshold extends Characteristic_1.Characteristic {
|
|
2511
|
+
static UUID = "000000CA-0000-1000-8000-0026BB765291";
|
|
2512
|
+
constructor() {
|
|
2513
|
+
super("Relative Humidity Humidifier Threshold", RelativeHumidityHumidifierThreshold.UUID, {
|
|
2514
|
+
format: "float" /* Formats.FLOAT */,
|
|
2515
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2516
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
2517
|
+
minValue: 0,
|
|
2518
|
+
maxValue: 100,
|
|
2519
|
+
minStep: 1,
|
|
2520
|
+
});
|
|
2521
|
+
this.value = this.getDefaultValue();
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
exports.RelativeHumidityHumidifierThreshold = RelativeHumidityHumidifierThreshold;
|
|
2525
|
+
Characteristic_1.Characteristic.RelativeHumidityHumidifierThreshold = RelativeHumidityHumidifierThreshold;
|
|
2526
|
+
/**
|
|
2527
|
+
* Characteristic "Relay Control Point"
|
|
2528
|
+
* @deprecated Removed
|
|
2529
|
+
*/
|
|
2530
|
+
class RelayControlPoint extends Characteristic_1.Characteristic {
|
|
2531
|
+
static UUID = "0000005E-0000-1000-8000-0026BB765291";
|
|
2532
|
+
constructor() {
|
|
2533
|
+
super("Relay Control Point", RelayControlPoint.UUID, {
|
|
2534
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2535
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2536
|
+
});
|
|
2537
|
+
this.value = this.getDefaultValue();
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
exports.RelayControlPoint = RelayControlPoint;
|
|
2541
|
+
// noinspection JSDeprecatedSymbols
|
|
2542
|
+
Characteristic_1.Characteristic.RelayControlPoint = RelayControlPoint;
|
|
2543
|
+
/**
|
|
2544
|
+
* Characteristic "Relay Enabled"
|
|
2545
|
+
* @deprecated Removed
|
|
2546
|
+
*/
|
|
2547
|
+
class RelayEnabled extends Characteristic_1.Characteristic {
|
|
2548
|
+
static UUID = "0000005B-0000-1000-8000-0026BB765291";
|
|
2549
|
+
constructor() {
|
|
2550
|
+
super("Relay Enabled", RelayEnabled.UUID, {
|
|
2551
|
+
format: "bool" /* Formats.BOOL */,
|
|
2552
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2553
|
+
});
|
|
2554
|
+
this.value = this.getDefaultValue();
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
exports.RelayEnabled = RelayEnabled;
|
|
2558
|
+
// noinspection JSDeprecatedSymbols
|
|
2559
|
+
Characteristic_1.Characteristic.RelayEnabled = RelayEnabled;
|
|
2560
|
+
/**
|
|
2561
|
+
* Characteristic "Relay State"
|
|
2562
|
+
* @deprecated Removed
|
|
2563
|
+
*/
|
|
2564
|
+
class RelayState extends Characteristic_1.Characteristic {
|
|
2565
|
+
static UUID = "0000005C-0000-1000-8000-0026BB765291";
|
|
2566
|
+
constructor() {
|
|
2567
|
+
super("Relay State", RelayState.UUID, {
|
|
2568
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2569
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2570
|
+
minValue: 0,
|
|
2571
|
+
maxValue: 5,
|
|
2572
|
+
minStep: 1,
|
|
2573
|
+
});
|
|
2574
|
+
this.value = this.getDefaultValue();
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
exports.RelayState = RelayState;
|
|
2578
|
+
// noinspection JSDeprecatedSymbols
|
|
2579
|
+
Characteristic_1.Characteristic.RelayState = RelayState;
|
|
2580
|
+
/**
|
|
2581
|
+
* Characteristic "Remaining Duration"
|
|
2582
|
+
*/
|
|
2583
|
+
class RemainingDuration extends Characteristic_1.Characteristic {
|
|
2584
|
+
static UUID = "000000D4-0000-1000-8000-0026BB765291";
|
|
2585
|
+
constructor() {
|
|
2586
|
+
super("Remaining Duration", RemainingDuration.UUID, {
|
|
2587
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
2588
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2589
|
+
unit: "seconds" /* Units.SECONDS */,
|
|
2590
|
+
minValue: 0,
|
|
2591
|
+
maxValue: 3600,
|
|
2592
|
+
minStep: 1,
|
|
2593
|
+
});
|
|
2594
|
+
this.value = this.getDefaultValue();
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
exports.RemainingDuration = RemainingDuration;
|
|
2598
|
+
Characteristic_1.Characteristic.RemainingDuration = RemainingDuration;
|
|
2599
|
+
/**
|
|
2600
|
+
* Characteristic "Remote Key"
|
|
2601
|
+
*/
|
|
2602
|
+
class RemoteKey extends Characteristic_1.Characteristic {
|
|
2603
|
+
static UUID = "000000E1-0000-1000-8000-0026BB765291";
|
|
2604
|
+
static REWIND = 0;
|
|
2605
|
+
static FAST_FORWARD = 1;
|
|
2606
|
+
static NEXT_TRACK = 2;
|
|
2607
|
+
static PREVIOUS_TRACK = 3;
|
|
2608
|
+
static ARROW_UP = 4;
|
|
2609
|
+
static ARROW_DOWN = 5;
|
|
2610
|
+
static ARROW_LEFT = 6;
|
|
2611
|
+
static ARROW_RIGHT = 7;
|
|
2612
|
+
static SELECT = 8;
|
|
2613
|
+
static BACK = 9;
|
|
2614
|
+
static EXIT = 10;
|
|
2615
|
+
static PLAY_PAUSE = 11;
|
|
2616
|
+
static INFORMATION = 15;
|
|
2617
|
+
constructor() {
|
|
2618
|
+
super("Remote Key", RemoteKey.UUID, {
|
|
2619
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2620
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
2621
|
+
minValue: 0,
|
|
2622
|
+
maxValue: 16,
|
|
2623
|
+
minStep: 1,
|
|
2624
|
+
validValues: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],
|
|
2625
|
+
});
|
|
2626
|
+
this.value = this.getDefaultValue();
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
exports.RemoteKey = RemoteKey;
|
|
2630
|
+
Characteristic_1.Characteristic.RemoteKey = RemoteKey;
|
|
2631
|
+
/**
|
|
2632
|
+
* Characteristic "Reset Filter Indication"
|
|
2633
|
+
*/
|
|
2634
|
+
class ResetFilterIndication extends Characteristic_1.Characteristic {
|
|
2635
|
+
static UUID = "000000AD-0000-1000-8000-0026BB765291";
|
|
2636
|
+
constructor() {
|
|
2637
|
+
super("Reset Filter Indication", ResetFilterIndication.UUID, {
|
|
2638
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2639
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
2640
|
+
minValue: 1,
|
|
2641
|
+
maxValue: 1,
|
|
2642
|
+
minStep: 1,
|
|
2643
|
+
});
|
|
2644
|
+
this.value = this.getDefaultValue();
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
exports.ResetFilterIndication = ResetFilterIndication;
|
|
2648
|
+
Characteristic_1.Characteristic.ResetFilterIndication = ResetFilterIndication;
|
|
2649
|
+
/**
|
|
2650
|
+
* Characteristic "Rotation Direction"
|
|
2651
|
+
*/
|
|
2652
|
+
class RotationDirection extends Characteristic_1.Characteristic {
|
|
2653
|
+
static UUID = "00000028-0000-1000-8000-0026BB765291";
|
|
2654
|
+
static CLOCKWISE = 0;
|
|
2655
|
+
static COUNTER_CLOCKWISE = 1;
|
|
2656
|
+
constructor() {
|
|
2657
|
+
super("Rotation Direction", RotationDirection.UUID, {
|
|
2658
|
+
format: "int" /* Formats.INT */,
|
|
2659
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2660
|
+
minValue: 0,
|
|
2661
|
+
maxValue: 1,
|
|
2662
|
+
minStep: 1,
|
|
2663
|
+
validValues: [0, 1],
|
|
2664
|
+
});
|
|
2665
|
+
this.value = this.getDefaultValue();
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
exports.RotationDirection = RotationDirection;
|
|
2669
|
+
Characteristic_1.Characteristic.RotationDirection = RotationDirection;
|
|
2670
|
+
/**
|
|
2671
|
+
* Characteristic "Rotation Speed"
|
|
2672
|
+
*/
|
|
2673
|
+
class RotationSpeed extends Characteristic_1.Characteristic {
|
|
2674
|
+
static UUID = "00000029-0000-1000-8000-0026BB765291";
|
|
2675
|
+
constructor() {
|
|
2676
|
+
super("Rotation Speed", RotationSpeed.UUID, {
|
|
2677
|
+
format: "float" /* Formats.FLOAT */,
|
|
2678
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2679
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
2680
|
+
minValue: 0,
|
|
2681
|
+
maxValue: 100,
|
|
2682
|
+
minStep: 1,
|
|
2683
|
+
});
|
|
2684
|
+
this.value = this.getDefaultValue();
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
exports.RotationSpeed = RotationSpeed;
|
|
2688
|
+
Characteristic_1.Characteristic.RotationSpeed = RotationSpeed;
|
|
2689
|
+
/**
|
|
2690
|
+
* Characteristic "Router Status"
|
|
2691
|
+
*/
|
|
2692
|
+
class RouterStatus extends Characteristic_1.Characteristic {
|
|
2693
|
+
static UUID = "0000020E-0000-1000-8000-0026BB765291";
|
|
2694
|
+
static READY = 0;
|
|
2695
|
+
static NOT_READY = 1;
|
|
2696
|
+
constructor() {
|
|
2697
|
+
super("Router Status", RouterStatus.UUID, {
|
|
2698
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2699
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2700
|
+
minValue: 0,
|
|
2701
|
+
maxValue: 1,
|
|
2702
|
+
validValues: [0, 1],
|
|
2703
|
+
});
|
|
2704
|
+
this.value = this.getDefaultValue();
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
exports.RouterStatus = RouterStatus;
|
|
2708
|
+
Characteristic_1.Characteristic.RouterStatus = RouterStatus;
|
|
2709
|
+
/**
|
|
2710
|
+
* Characteristic "Saturation"
|
|
2711
|
+
*/
|
|
2712
|
+
class Saturation extends Characteristic_1.Characteristic {
|
|
2713
|
+
static UUID = "0000002F-0000-1000-8000-0026BB765291";
|
|
2714
|
+
constructor() {
|
|
2715
|
+
super("Saturation", Saturation.UUID, {
|
|
2716
|
+
format: "float" /* Formats.FLOAT */,
|
|
2717
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2718
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
2719
|
+
minValue: 0,
|
|
2720
|
+
maxValue: 100,
|
|
2721
|
+
minStep: 1,
|
|
2722
|
+
});
|
|
2723
|
+
this.value = this.getDefaultValue();
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
exports.Saturation = Saturation;
|
|
2727
|
+
Characteristic_1.Characteristic.Saturation = Saturation;
|
|
2728
|
+
/**
|
|
2729
|
+
* Characteristic "Security System Alarm Type"
|
|
2730
|
+
*/
|
|
2731
|
+
class SecuritySystemAlarmType extends Characteristic_1.Characteristic {
|
|
2732
|
+
static UUID = "0000008E-0000-1000-8000-0026BB765291";
|
|
2733
|
+
static NO_ALARM = 0;
|
|
2734
|
+
static UNKNOWN = 1;
|
|
2735
|
+
constructor() {
|
|
2736
|
+
super("Security System Alarm Type", SecuritySystemAlarmType.UUID, {
|
|
2737
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2738
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2739
|
+
minValue: 0,
|
|
2740
|
+
maxValue: 1,
|
|
2741
|
+
minStep: 1,
|
|
2742
|
+
validValues: [0, 1],
|
|
2743
|
+
});
|
|
2744
|
+
this.value = this.getDefaultValue();
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
exports.SecuritySystemAlarmType = SecuritySystemAlarmType;
|
|
2748
|
+
Characteristic_1.Characteristic.SecuritySystemAlarmType = SecuritySystemAlarmType;
|
|
2749
|
+
/**
|
|
2750
|
+
* Characteristic "Security System Current State"
|
|
2751
|
+
*/
|
|
2752
|
+
class SecuritySystemCurrentState extends Characteristic_1.Characteristic {
|
|
2753
|
+
static UUID = "00000066-0000-1000-8000-0026BB765291";
|
|
2754
|
+
static STAY_ARM = 0;
|
|
2755
|
+
static AWAY_ARM = 1;
|
|
2756
|
+
static NIGHT_ARM = 2;
|
|
2757
|
+
static DISARMED = 3;
|
|
2758
|
+
static ALARM_TRIGGERED = 4;
|
|
2759
|
+
constructor() {
|
|
2760
|
+
super("Security System Current State", SecuritySystemCurrentState.UUID, {
|
|
2761
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2762
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
2763
|
+
minValue: 0,
|
|
2764
|
+
maxValue: 4,
|
|
2765
|
+
minStep: 1,
|
|
2766
|
+
validValues: [0, 1, 2, 3, 4],
|
|
2767
|
+
});
|
|
2768
|
+
this.value = this.getDefaultValue();
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
exports.SecuritySystemCurrentState = SecuritySystemCurrentState;
|
|
2772
|
+
Characteristic_1.Characteristic.SecuritySystemCurrentState = SecuritySystemCurrentState;
|
|
2773
|
+
/**
|
|
2774
|
+
* Characteristic "Security System Target State"
|
|
2775
|
+
*/
|
|
2776
|
+
class SecuritySystemTargetState extends Characteristic_1.Characteristic {
|
|
2777
|
+
static UUID = "00000067-0000-1000-8000-0026BB765291";
|
|
2778
|
+
static STAY_ARM = 0;
|
|
2779
|
+
static AWAY_ARM = 1;
|
|
2780
|
+
static NIGHT_ARM = 2;
|
|
2781
|
+
static DISARM = 3;
|
|
2782
|
+
constructor() {
|
|
2783
|
+
super("Security System Target State", SecuritySystemTargetState.UUID, {
|
|
2784
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2785
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2786
|
+
minValue: 0,
|
|
2787
|
+
maxValue: 3,
|
|
2788
|
+
minStep: 1,
|
|
2789
|
+
validValues: [0, 1, 2, 3],
|
|
2790
|
+
});
|
|
2791
|
+
this.value = this.getDefaultValue();
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
exports.SecuritySystemTargetState = SecuritySystemTargetState;
|
|
2795
|
+
Characteristic_1.Characteristic.SecuritySystemTargetState = SecuritySystemTargetState;
|
|
2796
|
+
/**
|
|
2797
|
+
* Characteristic "Selected Audio Stream Configuration"
|
|
2798
|
+
*/
|
|
2799
|
+
class SelectedAudioStreamConfiguration extends Characteristic_1.Characteristic {
|
|
2800
|
+
static UUID = "00000128-0000-1000-8000-0026BB765291";
|
|
2801
|
+
constructor() {
|
|
2802
|
+
super("Selected Audio Stream Configuration", SelectedAudioStreamConfiguration.UUID, {
|
|
2803
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2804
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2805
|
+
});
|
|
2806
|
+
this.value = this.getDefaultValue();
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
exports.SelectedAudioStreamConfiguration = SelectedAudioStreamConfiguration;
|
|
2810
|
+
Characteristic_1.Characteristic.SelectedAudioStreamConfiguration = SelectedAudioStreamConfiguration;
|
|
2811
|
+
/**
|
|
2812
|
+
* Characteristic "Selected Camera Recording Configuration"
|
|
2813
|
+
*/
|
|
2814
|
+
class SelectedCameraRecordingConfiguration extends Characteristic_1.Characteristic {
|
|
2815
|
+
static UUID = "00000209-0000-1000-8000-0026BB765291";
|
|
2816
|
+
constructor() {
|
|
2817
|
+
super("Selected Camera Recording Configuration", SelectedCameraRecordingConfiguration.UUID, {
|
|
2818
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2819
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2820
|
+
});
|
|
2821
|
+
this.value = this.getDefaultValue();
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
exports.SelectedCameraRecordingConfiguration = SelectedCameraRecordingConfiguration;
|
|
2825
|
+
Characteristic_1.Characteristic.SelectedCameraRecordingConfiguration = SelectedCameraRecordingConfiguration;
|
|
2826
|
+
/**
|
|
2827
|
+
* Characteristic "Selected Diagnostics Modes"
|
|
2828
|
+
*/
|
|
2829
|
+
class SelectedDiagnosticsModes extends Characteristic_1.Characteristic {
|
|
2830
|
+
static UUID = "0000024D-0000-1000-8000-0026BB765291";
|
|
2831
|
+
constructor() {
|
|
2832
|
+
super("Selected Diagnostics Modes", SelectedDiagnosticsModes.UUID, {
|
|
2833
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
2834
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2835
|
+
});
|
|
2836
|
+
this.value = this.getDefaultValue();
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
exports.SelectedDiagnosticsModes = SelectedDiagnosticsModes;
|
|
2840
|
+
Characteristic_1.Characteristic.SelectedDiagnosticsModes = SelectedDiagnosticsModes;
|
|
2841
|
+
/**
|
|
2842
|
+
* Characteristic "Selected RTP Stream Configuration"
|
|
2843
|
+
*/
|
|
2844
|
+
class SelectedRTPStreamConfiguration extends Characteristic_1.Characteristic {
|
|
2845
|
+
static UUID = "00000117-0000-1000-8000-0026BB765291";
|
|
2846
|
+
constructor() {
|
|
2847
|
+
super("Selected RTP Stream Configuration", SelectedRTPStreamConfiguration.UUID, {
|
|
2848
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2849
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2850
|
+
});
|
|
2851
|
+
this.value = this.getDefaultValue();
|
|
2852
|
+
}
|
|
2853
|
+
}
|
|
2854
|
+
exports.SelectedRTPStreamConfiguration = SelectedRTPStreamConfiguration;
|
|
2855
|
+
Characteristic_1.Characteristic.SelectedRTPStreamConfiguration = SelectedRTPStreamConfiguration;
|
|
2856
|
+
/**
|
|
2857
|
+
* Characteristic "Selected Sleep Configuration"
|
|
2858
|
+
*/
|
|
2859
|
+
class SelectedSleepConfiguration extends Characteristic_1.Characteristic {
|
|
2860
|
+
static UUID = "00000252-0000-1000-8000-0026BB765291";
|
|
2861
|
+
constructor() {
|
|
2862
|
+
super("Selected Sleep Configuration", SelectedSleepConfiguration.UUID, {
|
|
2863
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2864
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
2865
|
+
});
|
|
2866
|
+
this.value = this.getDefaultValue();
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
exports.SelectedSleepConfiguration = SelectedSleepConfiguration;
|
|
2870
|
+
Characteristic_1.Characteristic.SelectedSleepConfiguration = SelectedSleepConfiguration;
|
|
2871
|
+
/**
|
|
2872
|
+
* Characteristic "Serial Number"
|
|
2873
|
+
*/
|
|
2874
|
+
class SerialNumber extends Characteristic_1.Characteristic {
|
|
2875
|
+
static UUID = "00000030-0000-1000-8000-0026BB765291";
|
|
2876
|
+
constructor() {
|
|
2877
|
+
super("Serial Number", SerialNumber.UUID, {
|
|
2878
|
+
format: "string" /* Formats.STRING */,
|
|
2879
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2880
|
+
maxLen: 64,
|
|
2881
|
+
});
|
|
2882
|
+
this.value = this.getDefaultValue();
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
exports.SerialNumber = SerialNumber;
|
|
2886
|
+
Characteristic_1.Characteristic.SerialNumber = SerialNumber;
|
|
2887
|
+
/**
|
|
2888
|
+
* Characteristic "Service Label Index"
|
|
2889
|
+
*/
|
|
2890
|
+
class ServiceLabelIndex extends Characteristic_1.Characteristic {
|
|
2891
|
+
static UUID = "000000CB-0000-1000-8000-0026BB765291";
|
|
2892
|
+
constructor() {
|
|
2893
|
+
super("Service Label Index", ServiceLabelIndex.UUID, {
|
|
2894
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2895
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2896
|
+
minValue: 1,
|
|
2897
|
+
maxValue: 255,
|
|
2898
|
+
minStep: 1,
|
|
2899
|
+
});
|
|
2900
|
+
this.value = this.getDefaultValue();
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
exports.ServiceLabelIndex = ServiceLabelIndex;
|
|
2904
|
+
Characteristic_1.Characteristic.ServiceLabelIndex = ServiceLabelIndex;
|
|
2905
|
+
/**
|
|
2906
|
+
* Characteristic "Service Label Namespace"
|
|
2907
|
+
*/
|
|
2908
|
+
class ServiceLabelNamespace extends Characteristic_1.Characteristic {
|
|
2909
|
+
static UUID = "000000CD-0000-1000-8000-0026BB765291";
|
|
2910
|
+
static DOTS = 0;
|
|
2911
|
+
static ARABIC_NUMERALS = 1;
|
|
2912
|
+
constructor() {
|
|
2913
|
+
super("Service Label Namespace", ServiceLabelNamespace.UUID, {
|
|
2914
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
2915
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
2916
|
+
minValue: 0,
|
|
2917
|
+
maxValue: 1,
|
|
2918
|
+
minStep: 1,
|
|
2919
|
+
validValues: [0, 1],
|
|
2920
|
+
});
|
|
2921
|
+
this.value = this.getDefaultValue();
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
exports.ServiceLabelNamespace = ServiceLabelNamespace;
|
|
2925
|
+
Characteristic_1.Characteristic.ServiceLabelNamespace = ServiceLabelNamespace;
|
|
2926
|
+
/**
|
|
2927
|
+
* Characteristic "Set Duration"
|
|
2928
|
+
*/
|
|
2929
|
+
class SetDuration extends Characteristic_1.Characteristic {
|
|
2930
|
+
static UUID = "000000D3-0000-1000-8000-0026BB765291";
|
|
2931
|
+
constructor() {
|
|
2932
|
+
super("Set Duration", SetDuration.UUID, {
|
|
2933
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
2934
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2935
|
+
unit: "seconds" /* Units.SECONDS */,
|
|
2936
|
+
minValue: 0,
|
|
2937
|
+
maxValue: 3600,
|
|
2938
|
+
minStep: 1,
|
|
2939
|
+
});
|
|
2940
|
+
this.value = this.getDefaultValue();
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
exports.SetDuration = SetDuration;
|
|
2944
|
+
Characteristic_1.Characteristic.SetDuration = SetDuration;
|
|
2945
|
+
/**
|
|
2946
|
+
* Characteristic "Setup Data Stream Transport"
|
|
2947
|
+
*/
|
|
2948
|
+
class SetupDataStreamTransport extends Characteristic_1.Characteristic {
|
|
2949
|
+
static UUID = "00000131-0000-1000-8000-0026BB765291";
|
|
2950
|
+
constructor() {
|
|
2951
|
+
super("Setup Data Stream Transport", SetupDataStreamTransport.UUID, {
|
|
2952
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2953
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
2954
|
+
});
|
|
2955
|
+
this.value = this.getDefaultValue();
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
exports.SetupDataStreamTransport = SetupDataStreamTransport;
|
|
2959
|
+
Characteristic_1.Characteristic.SetupDataStreamTransport = SetupDataStreamTransport;
|
|
2960
|
+
/**
|
|
2961
|
+
* Characteristic "Setup Endpoints"
|
|
2962
|
+
*/
|
|
2963
|
+
class SetupEndpoints extends Characteristic_1.Characteristic {
|
|
2964
|
+
static UUID = "00000118-0000-1000-8000-0026BB765291";
|
|
2965
|
+
constructor() {
|
|
2966
|
+
super("Setup Endpoints", SetupEndpoints.UUID, {
|
|
2967
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2968
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
2969
|
+
});
|
|
2970
|
+
this.value = this.getDefaultValue();
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
exports.SetupEndpoints = SetupEndpoints;
|
|
2974
|
+
Characteristic_1.Characteristic.SetupEndpoints = SetupEndpoints;
|
|
2975
|
+
/**
|
|
2976
|
+
* Characteristic "Setup Transfer Transport"
|
|
2977
|
+
* @since iOS 13.4
|
|
2978
|
+
*/
|
|
2979
|
+
class SetupTransferTransport extends Characteristic_1.Characteristic {
|
|
2980
|
+
static UUID = "00000201-0000-1000-8000-0026BB765291";
|
|
2981
|
+
constructor() {
|
|
2982
|
+
super("Setup Transfer Transport", SetupTransferTransport.UUID, {
|
|
2983
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
2984
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
2985
|
+
});
|
|
2986
|
+
this.value = this.getDefaultValue();
|
|
2987
|
+
}
|
|
2988
|
+
}
|
|
2989
|
+
exports.SetupTransferTransport = SetupTransferTransport;
|
|
2990
|
+
Characteristic_1.Characteristic.SetupTransferTransport = SetupTransferTransport;
|
|
2991
|
+
/**
|
|
2992
|
+
* Characteristic "Signal To Noise Ratio"
|
|
2993
|
+
* @since iOS 14
|
|
2994
|
+
*/
|
|
2995
|
+
class SignalToNoiseRatio extends Characteristic_1.Characteristic {
|
|
2996
|
+
static UUID = "00000241-0000-1000-8000-0026BB765291";
|
|
2997
|
+
constructor() {
|
|
2998
|
+
super("Signal To Noise Ratio", SignalToNoiseRatio.UUID, {
|
|
2999
|
+
format: "int" /* Formats.INT */,
|
|
3000
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3001
|
+
});
|
|
3002
|
+
this.value = this.getDefaultValue();
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
exports.SignalToNoiseRatio = SignalToNoiseRatio;
|
|
3006
|
+
Characteristic_1.Characteristic.SignalToNoiseRatio = SignalToNoiseRatio;
|
|
3007
|
+
/**
|
|
3008
|
+
* Characteristic "Siri Enable"
|
|
3009
|
+
*/
|
|
3010
|
+
class SiriEnable extends Characteristic_1.Characteristic {
|
|
3011
|
+
static UUID = "00000255-0000-1000-8000-0026BB765291";
|
|
3012
|
+
constructor() {
|
|
3013
|
+
super("Siri Enable", SiriEnable.UUID, {
|
|
3014
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3015
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3016
|
+
minValue: 0,
|
|
3017
|
+
maxValue: 1,
|
|
3018
|
+
});
|
|
3019
|
+
this.value = this.getDefaultValue();
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
exports.SiriEnable = SiriEnable;
|
|
3023
|
+
Characteristic_1.Characteristic.SiriEnable = SiriEnable;
|
|
3024
|
+
/**
|
|
3025
|
+
* Characteristic "Siri Endpoint Session Status"
|
|
3026
|
+
*/
|
|
3027
|
+
class SiriEndpointSessionStatus extends Characteristic_1.Characteristic {
|
|
3028
|
+
static UUID = "00000254-0000-1000-8000-0026BB765291";
|
|
3029
|
+
constructor() {
|
|
3030
|
+
super("Siri Endpoint Session Status", SiriEndpointSessionStatus.UUID, {
|
|
3031
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3032
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3033
|
+
});
|
|
3034
|
+
this.value = this.getDefaultValue();
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
exports.SiriEndpointSessionStatus = SiriEndpointSessionStatus;
|
|
3038
|
+
Characteristic_1.Characteristic.SiriEndpointSessionStatus = SiriEndpointSessionStatus;
|
|
3039
|
+
/**
|
|
3040
|
+
* Characteristic "Siri Engine Version"
|
|
3041
|
+
*/
|
|
3042
|
+
class SiriEngineVersion extends Characteristic_1.Characteristic {
|
|
3043
|
+
static UUID = "0000025A-0000-1000-8000-0026BB765291";
|
|
3044
|
+
constructor() {
|
|
3045
|
+
super("Siri Engine Version", SiriEngineVersion.UUID, {
|
|
3046
|
+
format: "string" /* Formats.STRING */,
|
|
3047
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3048
|
+
});
|
|
3049
|
+
this.value = this.getDefaultValue();
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
exports.SiriEngineVersion = SiriEngineVersion;
|
|
3053
|
+
Characteristic_1.Characteristic.SiriEngineVersion = SiriEngineVersion;
|
|
3054
|
+
/**
|
|
3055
|
+
* Characteristic "Siri Input Type"
|
|
3056
|
+
*/
|
|
3057
|
+
class SiriInputType extends Characteristic_1.Characteristic {
|
|
3058
|
+
static UUID = "00000132-0000-1000-8000-0026BB765291";
|
|
3059
|
+
static PUSH_BUTTON_TRIGGERED_APPLE_TV = 0;
|
|
3060
|
+
constructor() {
|
|
3061
|
+
super("Siri Input Type", SiriInputType.UUID, {
|
|
3062
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3063
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3064
|
+
minValue: 0,
|
|
3065
|
+
maxValue: 0,
|
|
3066
|
+
validValues: [0],
|
|
3067
|
+
});
|
|
3068
|
+
this.value = this.getDefaultValue();
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
exports.SiriInputType = SiriInputType;
|
|
3072
|
+
Characteristic_1.Characteristic.SiriInputType = SiriInputType;
|
|
3073
|
+
/**
|
|
3074
|
+
* Characteristic "Siri Light On Use"
|
|
3075
|
+
*/
|
|
3076
|
+
class SiriLightOnUse extends Characteristic_1.Characteristic {
|
|
3077
|
+
static UUID = "00000258-0000-1000-8000-0026BB765291";
|
|
3078
|
+
constructor() {
|
|
3079
|
+
super("Siri Light On Use", SiriLightOnUse.UUID, {
|
|
3080
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3081
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3082
|
+
minValue: 0,
|
|
3083
|
+
maxValue: 1,
|
|
3084
|
+
});
|
|
3085
|
+
this.value = this.getDefaultValue();
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
exports.SiriLightOnUse = SiriLightOnUse;
|
|
3089
|
+
Characteristic_1.Characteristic.SiriLightOnUse = SiriLightOnUse;
|
|
3090
|
+
/**
|
|
3091
|
+
* Characteristic "Siri Listening"
|
|
3092
|
+
*/
|
|
3093
|
+
class SiriListening extends Characteristic_1.Characteristic {
|
|
3094
|
+
static UUID = "00000256-0000-1000-8000-0026BB765291";
|
|
3095
|
+
constructor() {
|
|
3096
|
+
super("Siri Listening", SiriListening.UUID, {
|
|
3097
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3098
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3099
|
+
minValue: 0,
|
|
3100
|
+
maxValue: 1,
|
|
3101
|
+
});
|
|
3102
|
+
this.value = this.getDefaultValue();
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
exports.SiriListening = SiriListening;
|
|
3106
|
+
Characteristic_1.Characteristic.SiriListening = SiriListening;
|
|
3107
|
+
/**
|
|
3108
|
+
* Characteristic "Siri Touch To Use"
|
|
3109
|
+
*/
|
|
3110
|
+
class SiriTouchToUse extends Characteristic_1.Characteristic {
|
|
3111
|
+
static UUID = "00000257-0000-1000-8000-0026BB765291";
|
|
3112
|
+
constructor() {
|
|
3113
|
+
super("Siri Touch To Use", SiriTouchToUse.UUID, {
|
|
3114
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3115
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3116
|
+
minValue: 0,
|
|
3117
|
+
maxValue: 1,
|
|
3118
|
+
});
|
|
3119
|
+
this.value = this.getDefaultValue();
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
exports.SiriTouchToUse = SiriTouchToUse;
|
|
3123
|
+
Characteristic_1.Characteristic.SiriTouchToUse = SiriTouchToUse;
|
|
3124
|
+
/**
|
|
3125
|
+
* Characteristic "Slat Type"
|
|
3126
|
+
*/
|
|
3127
|
+
class SlatType extends Characteristic_1.Characteristic {
|
|
3128
|
+
static UUID = "000000C0-0000-1000-8000-0026BB765291";
|
|
3129
|
+
static HORIZONTAL = 0;
|
|
3130
|
+
static VERTICAL = 1;
|
|
3131
|
+
constructor() {
|
|
3132
|
+
super("Slat Type", SlatType.UUID, {
|
|
3133
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3134
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3135
|
+
minValue: 0,
|
|
3136
|
+
maxValue: 1,
|
|
3137
|
+
minStep: 1,
|
|
3138
|
+
validValues: [0, 1],
|
|
3139
|
+
});
|
|
3140
|
+
this.value = this.getDefaultValue();
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
exports.SlatType = SlatType;
|
|
3144
|
+
Characteristic_1.Characteristic.SlatType = SlatType;
|
|
3145
|
+
/**
|
|
3146
|
+
* Characteristic "Sleep Discovery Mode"
|
|
3147
|
+
*/
|
|
3148
|
+
class SleepDiscoveryMode extends Characteristic_1.Characteristic {
|
|
3149
|
+
static UUID = "000000E8-0000-1000-8000-0026BB765291";
|
|
3150
|
+
static NOT_DISCOVERABLE = 0;
|
|
3151
|
+
static ALWAYS_DISCOVERABLE = 1;
|
|
3152
|
+
constructor() {
|
|
3153
|
+
super("Sleep Discovery Mode", SleepDiscoveryMode.UUID, {
|
|
3154
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3155
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3156
|
+
minValue: 0,
|
|
3157
|
+
maxValue: 1,
|
|
3158
|
+
minStep: 1,
|
|
3159
|
+
validValues: [0, 1],
|
|
3160
|
+
});
|
|
3161
|
+
this.value = this.getDefaultValue();
|
|
3162
|
+
}
|
|
3163
|
+
}
|
|
3164
|
+
exports.SleepDiscoveryMode = SleepDiscoveryMode;
|
|
3165
|
+
Characteristic_1.Characteristic.SleepDiscoveryMode = SleepDiscoveryMode;
|
|
3166
|
+
/**
|
|
3167
|
+
* Characteristic "Sleep Interval"
|
|
3168
|
+
* @since iOS 14
|
|
3169
|
+
*/
|
|
3170
|
+
class SleepInterval extends Characteristic_1.Characteristic {
|
|
3171
|
+
static UUID = "0000023A-0000-1000-8000-0026BB765291";
|
|
3172
|
+
constructor() {
|
|
3173
|
+
super("Sleep Interval", SleepInterval.UUID, {
|
|
3174
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
3175
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3176
|
+
minValue: 0,
|
|
3177
|
+
minStep: 1,
|
|
3178
|
+
});
|
|
3179
|
+
this.value = this.getDefaultValue();
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
exports.SleepInterval = SleepInterval;
|
|
3183
|
+
Characteristic_1.Characteristic.SleepInterval = SleepInterval;
|
|
3184
|
+
/**
|
|
3185
|
+
* Characteristic "Smoke Detected"
|
|
3186
|
+
*/
|
|
3187
|
+
class SmokeDetected extends Characteristic_1.Characteristic {
|
|
3188
|
+
static UUID = "00000076-0000-1000-8000-0026BB765291";
|
|
3189
|
+
static SMOKE_NOT_DETECTED = 0;
|
|
3190
|
+
static SMOKE_DETECTED = 1;
|
|
3191
|
+
constructor() {
|
|
3192
|
+
super("Smoke Detected", SmokeDetected.UUID, {
|
|
3193
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3194
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3195
|
+
minValue: 0,
|
|
3196
|
+
maxValue: 1,
|
|
3197
|
+
minStep: 1,
|
|
3198
|
+
validValues: [0, 1],
|
|
3199
|
+
});
|
|
3200
|
+
this.value = this.getDefaultValue();
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
exports.SmokeDetected = SmokeDetected;
|
|
3204
|
+
Characteristic_1.Characteristic.SmokeDetected = SmokeDetected;
|
|
3205
|
+
/**
|
|
3206
|
+
* Characteristic "Software Revision"
|
|
3207
|
+
*/
|
|
3208
|
+
class SoftwareRevision extends Characteristic_1.Characteristic {
|
|
3209
|
+
static UUID = "00000054-0000-1000-8000-0026BB765291";
|
|
3210
|
+
constructor() {
|
|
3211
|
+
super("Software Revision", SoftwareRevision.UUID, {
|
|
3212
|
+
format: "string" /* Formats.STRING */,
|
|
3213
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3214
|
+
});
|
|
3215
|
+
this.value = this.getDefaultValue();
|
|
3216
|
+
}
|
|
3217
|
+
}
|
|
3218
|
+
exports.SoftwareRevision = SoftwareRevision;
|
|
3219
|
+
Characteristic_1.Characteristic.SoftwareRevision = SoftwareRevision;
|
|
3220
|
+
/**
|
|
3221
|
+
* Characteristic "Staged Firmware Version"
|
|
3222
|
+
*/
|
|
3223
|
+
class StagedFirmwareVersion extends Characteristic_1.Characteristic {
|
|
3224
|
+
static UUID = "00000249-0000-1000-8000-0026BB765291";
|
|
3225
|
+
constructor() {
|
|
3226
|
+
super("Staged Firmware Version", StagedFirmwareVersion.UUID, {
|
|
3227
|
+
format: "string" /* Formats.STRING */,
|
|
3228
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3229
|
+
});
|
|
3230
|
+
this.value = this.getDefaultValue();
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
exports.StagedFirmwareVersion = StagedFirmwareVersion;
|
|
3234
|
+
Characteristic_1.Characteristic.StagedFirmwareVersion = StagedFirmwareVersion;
|
|
3235
|
+
/**
|
|
3236
|
+
* Characteristic "Status Active"
|
|
3237
|
+
*/
|
|
3238
|
+
class StatusActive extends Characteristic_1.Characteristic {
|
|
3239
|
+
static UUID = "00000075-0000-1000-8000-0026BB765291";
|
|
3240
|
+
constructor() {
|
|
3241
|
+
super("Status Active", StatusActive.UUID, {
|
|
3242
|
+
format: "bool" /* Formats.BOOL */,
|
|
3243
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3244
|
+
});
|
|
3245
|
+
this.value = this.getDefaultValue();
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
exports.StatusActive = StatusActive;
|
|
3249
|
+
Characteristic_1.Characteristic.StatusActive = StatusActive;
|
|
3250
|
+
/**
|
|
3251
|
+
* Characteristic "Status Fault"
|
|
3252
|
+
*/
|
|
3253
|
+
class StatusFault extends Characteristic_1.Characteristic {
|
|
3254
|
+
static UUID = "00000077-0000-1000-8000-0026BB765291";
|
|
3255
|
+
static NO_FAULT = 0;
|
|
3256
|
+
static GENERAL_FAULT = 1;
|
|
3257
|
+
constructor() {
|
|
3258
|
+
super("Status Fault", StatusFault.UUID, {
|
|
3259
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3260
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3261
|
+
minValue: 0,
|
|
3262
|
+
maxValue: 1,
|
|
3263
|
+
minStep: 1,
|
|
3264
|
+
validValues: [0, 1],
|
|
3265
|
+
});
|
|
3266
|
+
this.value = this.getDefaultValue();
|
|
3267
|
+
}
|
|
3268
|
+
}
|
|
3269
|
+
exports.StatusFault = StatusFault;
|
|
3270
|
+
Characteristic_1.Characteristic.StatusFault = StatusFault;
|
|
3271
|
+
/**
|
|
3272
|
+
* Characteristic "Status Jammed"
|
|
3273
|
+
*/
|
|
3274
|
+
class StatusJammed extends Characteristic_1.Characteristic {
|
|
3275
|
+
static UUID = "00000078-0000-1000-8000-0026BB765291";
|
|
3276
|
+
static NOT_JAMMED = 0;
|
|
3277
|
+
static JAMMED = 1;
|
|
3278
|
+
constructor() {
|
|
3279
|
+
super("Status Jammed", StatusJammed.UUID, {
|
|
3280
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3281
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3282
|
+
minValue: 0,
|
|
3283
|
+
maxValue: 1,
|
|
3284
|
+
minStep: 1,
|
|
3285
|
+
validValues: [0, 1],
|
|
3286
|
+
});
|
|
3287
|
+
this.value = this.getDefaultValue();
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
exports.StatusJammed = StatusJammed;
|
|
3291
|
+
Characteristic_1.Characteristic.StatusJammed = StatusJammed;
|
|
3292
|
+
/**
|
|
3293
|
+
* Characteristic "Status Low Battery"
|
|
3294
|
+
*/
|
|
3295
|
+
class StatusLowBattery extends Characteristic_1.Characteristic {
|
|
3296
|
+
static UUID = "00000079-0000-1000-8000-0026BB765291";
|
|
3297
|
+
static BATTERY_LEVEL_NORMAL = 0;
|
|
3298
|
+
static BATTERY_LEVEL_LOW = 1;
|
|
3299
|
+
constructor() {
|
|
3300
|
+
super("Status Low Battery", StatusLowBattery.UUID, {
|
|
3301
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3302
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3303
|
+
minValue: 0,
|
|
3304
|
+
maxValue: 1,
|
|
3305
|
+
minStep: 1,
|
|
3306
|
+
validValues: [0, 1],
|
|
3307
|
+
});
|
|
3308
|
+
this.value = this.getDefaultValue();
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
exports.StatusLowBattery = StatusLowBattery;
|
|
3312
|
+
Characteristic_1.Characteristic.StatusLowBattery = StatusLowBattery;
|
|
3313
|
+
/**
|
|
3314
|
+
* Characteristic "Status Tampered"
|
|
3315
|
+
*/
|
|
3316
|
+
class StatusTampered extends Characteristic_1.Characteristic {
|
|
3317
|
+
static UUID = "0000007A-0000-1000-8000-0026BB765291";
|
|
3318
|
+
static NOT_TAMPERED = 0;
|
|
3319
|
+
static TAMPERED = 1;
|
|
3320
|
+
constructor() {
|
|
3321
|
+
super("Status Tampered", StatusTampered.UUID, {
|
|
3322
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3323
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3324
|
+
minValue: 0,
|
|
3325
|
+
maxValue: 1,
|
|
3326
|
+
minStep: 1,
|
|
3327
|
+
validValues: [0, 1],
|
|
3328
|
+
});
|
|
3329
|
+
this.value = this.getDefaultValue();
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3332
|
+
exports.StatusTampered = StatusTampered;
|
|
3333
|
+
Characteristic_1.Characteristic.StatusTampered = StatusTampered;
|
|
3334
|
+
/**
|
|
3335
|
+
* Characteristic "Streaming Status"
|
|
3336
|
+
*/
|
|
3337
|
+
class StreamingStatus extends Characteristic_1.Characteristic {
|
|
3338
|
+
static UUID = "00000120-0000-1000-8000-0026BB765291";
|
|
3339
|
+
constructor() {
|
|
3340
|
+
super("Streaming Status", StreamingStatus.UUID, {
|
|
3341
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3342
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3343
|
+
});
|
|
3344
|
+
this.value = this.getDefaultValue();
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
exports.StreamingStatus = StreamingStatus;
|
|
3348
|
+
Characteristic_1.Characteristic.StreamingStatus = StreamingStatus;
|
|
3349
|
+
/**
|
|
3350
|
+
* Characteristic "Sulphur Dioxide Density"
|
|
3351
|
+
*/
|
|
3352
|
+
class SulphurDioxideDensity extends Characteristic_1.Characteristic {
|
|
3353
|
+
static UUID = "000000C5-0000-1000-8000-0026BB765291";
|
|
3354
|
+
constructor() {
|
|
3355
|
+
super("Sulphur Dioxide Density", SulphurDioxideDensity.UUID, {
|
|
3356
|
+
format: "float" /* Formats.FLOAT */,
|
|
3357
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3358
|
+
minValue: 0,
|
|
3359
|
+
maxValue: 1000,
|
|
3360
|
+
minStep: 1,
|
|
3361
|
+
});
|
|
3362
|
+
this.value = this.getDefaultValue();
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
exports.SulphurDioxideDensity = SulphurDioxideDensity;
|
|
3366
|
+
Characteristic_1.Characteristic.SulphurDioxideDensity = SulphurDioxideDensity;
|
|
3367
|
+
/**
|
|
3368
|
+
* Characteristic "Supported Asset Types"
|
|
3369
|
+
*/
|
|
3370
|
+
class SupportedAssetTypes extends Characteristic_1.Characteristic {
|
|
3371
|
+
static UUID = "00000268-0000-1000-8000-0026BB765291";
|
|
3372
|
+
constructor() {
|
|
3373
|
+
super("Supported Asset Types", SupportedAssetTypes.UUID, {
|
|
3374
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
3375
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3376
|
+
});
|
|
3377
|
+
this.value = this.getDefaultValue();
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
exports.SupportedAssetTypes = SupportedAssetTypes;
|
|
3381
|
+
Characteristic_1.Characteristic.SupportedAssetTypes = SupportedAssetTypes;
|
|
3382
|
+
/**
|
|
3383
|
+
* Characteristic "Supported Audio Recording Configuration"
|
|
3384
|
+
*/
|
|
3385
|
+
class SupportedAudioRecordingConfiguration extends Characteristic_1.Characteristic {
|
|
3386
|
+
static UUID = "00000207-0000-1000-8000-0026BB765291";
|
|
3387
|
+
constructor() {
|
|
3388
|
+
super("Supported Audio Recording Configuration", SupportedAudioRecordingConfiguration.UUID, {
|
|
3389
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3390
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3391
|
+
});
|
|
3392
|
+
this.value = this.getDefaultValue();
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
exports.SupportedAudioRecordingConfiguration = SupportedAudioRecordingConfiguration;
|
|
3396
|
+
Characteristic_1.Characteristic.SupportedAudioRecordingConfiguration = SupportedAudioRecordingConfiguration;
|
|
3397
|
+
/**
|
|
3398
|
+
* Characteristic "Supported Audio Stream Configuration"
|
|
3399
|
+
*/
|
|
3400
|
+
class SupportedAudioStreamConfiguration extends Characteristic_1.Characteristic {
|
|
3401
|
+
static UUID = "00000115-0000-1000-8000-0026BB765291";
|
|
3402
|
+
constructor() {
|
|
3403
|
+
super("Supported Audio Stream Configuration", SupportedAudioStreamConfiguration.UUID, {
|
|
3404
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3405
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3406
|
+
});
|
|
3407
|
+
this.value = this.getDefaultValue();
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
exports.SupportedAudioStreamConfiguration = SupportedAudioStreamConfiguration;
|
|
3411
|
+
Characteristic_1.Characteristic.SupportedAudioStreamConfiguration = SupportedAudioStreamConfiguration;
|
|
3412
|
+
/**
|
|
3413
|
+
* Characteristic "Supported Camera Recording Configuration"
|
|
3414
|
+
*/
|
|
3415
|
+
class SupportedCameraRecordingConfiguration extends Characteristic_1.Characteristic {
|
|
3416
|
+
static UUID = "00000205-0000-1000-8000-0026BB765291";
|
|
3417
|
+
constructor() {
|
|
3418
|
+
super("Supported Camera Recording Configuration", SupportedCameraRecordingConfiguration.UUID, {
|
|
3419
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3420
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3421
|
+
});
|
|
3422
|
+
this.value = this.getDefaultValue();
|
|
3423
|
+
}
|
|
3424
|
+
}
|
|
3425
|
+
exports.SupportedCameraRecordingConfiguration = SupportedCameraRecordingConfiguration;
|
|
3426
|
+
Characteristic_1.Characteristic.SupportedCameraRecordingConfiguration = SupportedCameraRecordingConfiguration;
|
|
3427
|
+
/**
|
|
3428
|
+
* Characteristic "Supported Characteristic Value Transition Configuration"
|
|
3429
|
+
* @since iOS 14
|
|
3430
|
+
*/
|
|
3431
|
+
class SupportedCharacteristicValueTransitionConfiguration extends Characteristic_1.Characteristic {
|
|
3432
|
+
static UUID = "00000144-0000-1000-8000-0026BB765291";
|
|
3433
|
+
constructor() {
|
|
3434
|
+
super("Supported Characteristic Value Transition Configuration", SupportedCharacteristicValueTransitionConfiguration.UUID, {
|
|
3435
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3436
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3437
|
+
});
|
|
3438
|
+
this.value = this.getDefaultValue();
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
exports.SupportedCharacteristicValueTransitionConfiguration = SupportedCharacteristicValueTransitionConfiguration;
|
|
3442
|
+
Characteristic_1.Characteristic.SupportedCharacteristicValueTransitionConfiguration = SupportedCharacteristicValueTransitionConfiguration;
|
|
3443
|
+
/**
|
|
3444
|
+
* Characteristic "Supported Data Stream Transport Configuration"
|
|
3445
|
+
*/
|
|
3446
|
+
class SupportedDataStreamTransportConfiguration extends Characteristic_1.Characteristic {
|
|
3447
|
+
static UUID = "00000130-0000-1000-8000-0026BB765291";
|
|
3448
|
+
constructor() {
|
|
3449
|
+
super("Supported Data Stream Transport Configuration", SupportedDataStreamTransportConfiguration.UUID, {
|
|
3450
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3451
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3452
|
+
});
|
|
3453
|
+
this.value = this.getDefaultValue();
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
exports.SupportedDataStreamTransportConfiguration = SupportedDataStreamTransportConfiguration;
|
|
3457
|
+
Characteristic_1.Characteristic.SupportedDataStreamTransportConfiguration = SupportedDataStreamTransportConfiguration;
|
|
3458
|
+
/**
|
|
3459
|
+
* Characteristic "Supported Diagnostics Modes"
|
|
3460
|
+
*/
|
|
3461
|
+
class SupportedDiagnosticsModes extends Characteristic_1.Characteristic {
|
|
3462
|
+
static UUID = "0000024C-0000-1000-8000-0026BB765291";
|
|
3463
|
+
constructor() {
|
|
3464
|
+
super("Supported Diagnostics Modes", SupportedDiagnosticsModes.UUID, {
|
|
3465
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
3466
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3467
|
+
});
|
|
3468
|
+
this.value = this.getDefaultValue();
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
exports.SupportedDiagnosticsModes = SupportedDiagnosticsModes;
|
|
3472
|
+
Characteristic_1.Characteristic.SupportedDiagnosticsModes = SupportedDiagnosticsModes;
|
|
3473
|
+
/**
|
|
3474
|
+
* Characteristic "Supported Diagnostics Snapshot"
|
|
3475
|
+
* @since iOS 14
|
|
3476
|
+
*/
|
|
3477
|
+
class SupportedDiagnosticsSnapshot extends Characteristic_1.Characteristic {
|
|
3478
|
+
static UUID = "00000238-0000-1000-8000-0026BB765291";
|
|
3479
|
+
constructor() {
|
|
3480
|
+
super("Supported Diagnostics Snapshot", SupportedDiagnosticsSnapshot.UUID, {
|
|
3481
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3482
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3483
|
+
});
|
|
3484
|
+
this.value = this.getDefaultValue();
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
exports.SupportedDiagnosticsSnapshot = SupportedDiagnosticsSnapshot;
|
|
3488
|
+
Characteristic_1.Characteristic.SupportedDiagnosticsSnapshot = SupportedDiagnosticsSnapshot;
|
|
3489
|
+
/**
|
|
3490
|
+
* Characteristic "Supported Firmware Update Configuration"
|
|
3491
|
+
*/
|
|
3492
|
+
class SupportedFirmwareUpdateConfiguration extends Characteristic_1.Characteristic {
|
|
3493
|
+
static UUID = "00000233-0000-1000-8000-0026BB765291";
|
|
3494
|
+
constructor() {
|
|
3495
|
+
super("Supported Firmware Update Configuration", SupportedFirmwareUpdateConfiguration.UUID, {
|
|
3496
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3497
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3498
|
+
});
|
|
3499
|
+
this.value = this.getDefaultValue();
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
exports.SupportedFirmwareUpdateConfiguration = SupportedFirmwareUpdateConfiguration;
|
|
3503
|
+
Characteristic_1.Characteristic.SupportedFirmwareUpdateConfiguration = SupportedFirmwareUpdateConfiguration;
|
|
3504
|
+
/**
|
|
3505
|
+
* Characteristic "Supported Metrics"
|
|
3506
|
+
*/
|
|
3507
|
+
class SupportedMetrics extends Characteristic_1.Characteristic {
|
|
3508
|
+
static UUID = "00000271-0000-1000-8000-0026BB765291";
|
|
3509
|
+
constructor() {
|
|
3510
|
+
super("Supported Metrics", SupportedMetrics.UUID, {
|
|
3511
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3512
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3513
|
+
});
|
|
3514
|
+
this.value = this.getDefaultValue();
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
exports.SupportedMetrics = SupportedMetrics;
|
|
3518
|
+
Characteristic_1.Characteristic.SupportedMetrics = SupportedMetrics;
|
|
3519
|
+
/**
|
|
3520
|
+
* Characteristic "Supported Router Configuration"
|
|
3521
|
+
*/
|
|
3522
|
+
class SupportedRouterConfiguration extends Characteristic_1.Characteristic {
|
|
3523
|
+
static UUID = "00000210-0000-1000-8000-0026BB765291";
|
|
3524
|
+
constructor() {
|
|
3525
|
+
super("Supported Router Configuration", SupportedRouterConfiguration.UUID, {
|
|
3526
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3527
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3528
|
+
});
|
|
3529
|
+
this.value = this.getDefaultValue();
|
|
3530
|
+
}
|
|
3531
|
+
}
|
|
3532
|
+
exports.SupportedRouterConfiguration = SupportedRouterConfiguration;
|
|
3533
|
+
Characteristic_1.Characteristic.SupportedRouterConfiguration = SupportedRouterConfiguration;
|
|
3534
|
+
/**
|
|
3535
|
+
* Characteristic "Supported RTP Configuration"
|
|
3536
|
+
*/
|
|
3537
|
+
class SupportedRTPConfiguration extends Characteristic_1.Characteristic {
|
|
3538
|
+
static UUID = "00000116-0000-1000-8000-0026BB765291";
|
|
3539
|
+
constructor() {
|
|
3540
|
+
super("Supported RTP Configuration", SupportedRTPConfiguration.UUID, {
|
|
3541
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3542
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3543
|
+
});
|
|
3544
|
+
this.value = this.getDefaultValue();
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
exports.SupportedRTPConfiguration = SupportedRTPConfiguration;
|
|
3548
|
+
Characteristic_1.Characteristic.SupportedRTPConfiguration = SupportedRTPConfiguration;
|
|
3549
|
+
/**
|
|
3550
|
+
* Characteristic "Supported Sleep Configuration"
|
|
3551
|
+
*/
|
|
3552
|
+
class SupportedSleepConfiguration extends Characteristic_1.Characteristic {
|
|
3553
|
+
static UUID = "00000251-0000-1000-8000-0026BB765291";
|
|
3554
|
+
constructor() {
|
|
3555
|
+
super("Supported Sleep Configuration", SupportedSleepConfiguration.UUID, {
|
|
3556
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3557
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3558
|
+
});
|
|
3559
|
+
this.value = this.getDefaultValue();
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
exports.SupportedSleepConfiguration = SupportedSleepConfiguration;
|
|
3563
|
+
Characteristic_1.Characteristic.SupportedSleepConfiguration = SupportedSleepConfiguration;
|
|
3564
|
+
/**
|
|
3565
|
+
* Characteristic "Supported Transfer Transport Configuration"
|
|
3566
|
+
* @since iOS 13.4
|
|
3567
|
+
*/
|
|
3568
|
+
class SupportedTransferTransportConfiguration extends Characteristic_1.Characteristic {
|
|
3569
|
+
static UUID = "00000202-0000-1000-8000-0026BB765291";
|
|
3570
|
+
constructor() {
|
|
3571
|
+
super("Supported Transfer Transport Configuration", SupportedTransferTransportConfiguration.UUID, {
|
|
3572
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3573
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3574
|
+
});
|
|
3575
|
+
this.value = this.getDefaultValue();
|
|
3576
|
+
}
|
|
3577
|
+
}
|
|
3578
|
+
exports.SupportedTransferTransportConfiguration = SupportedTransferTransportConfiguration;
|
|
3579
|
+
Characteristic_1.Characteristic.SupportedTransferTransportConfiguration = SupportedTransferTransportConfiguration;
|
|
3580
|
+
/**
|
|
3581
|
+
* Characteristic "Supported Video Recording Configuration"
|
|
3582
|
+
*/
|
|
3583
|
+
class SupportedVideoRecordingConfiguration extends Characteristic_1.Characteristic {
|
|
3584
|
+
static UUID = "00000206-0000-1000-8000-0026BB765291";
|
|
3585
|
+
constructor() {
|
|
3586
|
+
super("Supported Video Recording Configuration", SupportedVideoRecordingConfiguration.UUID, {
|
|
3587
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3588
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3589
|
+
});
|
|
3590
|
+
this.value = this.getDefaultValue();
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
exports.SupportedVideoRecordingConfiguration = SupportedVideoRecordingConfiguration;
|
|
3594
|
+
Characteristic_1.Characteristic.SupportedVideoRecordingConfiguration = SupportedVideoRecordingConfiguration;
|
|
3595
|
+
/**
|
|
3596
|
+
* Characteristic "Supported Video Stream Configuration"
|
|
3597
|
+
*/
|
|
3598
|
+
class SupportedVideoStreamConfiguration extends Characteristic_1.Characteristic {
|
|
3599
|
+
static UUID = "00000114-0000-1000-8000-0026BB765291";
|
|
3600
|
+
constructor() {
|
|
3601
|
+
super("Supported Video Stream Configuration", SupportedVideoStreamConfiguration.UUID, {
|
|
3602
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3603
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3604
|
+
});
|
|
3605
|
+
this.value = this.getDefaultValue();
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
exports.SupportedVideoStreamConfiguration = SupportedVideoStreamConfiguration;
|
|
3609
|
+
Characteristic_1.Characteristic.SupportedVideoStreamConfiguration = SupportedVideoStreamConfiguration;
|
|
3610
|
+
/**
|
|
3611
|
+
* Characteristic "Swing Mode"
|
|
3612
|
+
*/
|
|
3613
|
+
class SwingMode extends Characteristic_1.Characteristic {
|
|
3614
|
+
static UUID = "000000B6-0000-1000-8000-0026BB765291";
|
|
3615
|
+
static SWING_DISABLED = 0;
|
|
3616
|
+
static SWING_ENABLED = 1;
|
|
3617
|
+
constructor() {
|
|
3618
|
+
super("Swing Mode", SwingMode.UUID, {
|
|
3619
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3620
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3621
|
+
minValue: 0,
|
|
3622
|
+
maxValue: 1,
|
|
3623
|
+
minStep: 1,
|
|
3624
|
+
validValues: [0, 1],
|
|
3625
|
+
});
|
|
3626
|
+
this.value = this.getDefaultValue();
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
exports.SwingMode = SwingMode;
|
|
3630
|
+
Characteristic_1.Characteristic.SwingMode = SwingMode;
|
|
3631
|
+
/**
|
|
3632
|
+
* Characteristic "Tap Type"
|
|
3633
|
+
*/
|
|
3634
|
+
class TapType extends Characteristic_1.Characteristic {
|
|
3635
|
+
static UUID = "0000022F-0000-1000-8000-0026BB765291";
|
|
3636
|
+
constructor() {
|
|
3637
|
+
super("Tap Type", TapType.UUID, {
|
|
3638
|
+
format: "uint16" /* Formats.UINT16 */,
|
|
3639
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3640
|
+
});
|
|
3641
|
+
this.value = this.getDefaultValue();
|
|
3642
|
+
}
|
|
3643
|
+
}
|
|
3644
|
+
exports.TapType = TapType;
|
|
3645
|
+
Characteristic_1.Characteristic.TapType = TapType;
|
|
3646
|
+
/**
|
|
3647
|
+
* Characteristic "Target Air Purifier State"
|
|
3648
|
+
*/
|
|
3649
|
+
class TargetAirPurifierState extends Characteristic_1.Characteristic {
|
|
3650
|
+
static UUID = "000000A8-0000-1000-8000-0026BB765291";
|
|
3651
|
+
static MANUAL = 0;
|
|
3652
|
+
static AUTO = 1;
|
|
3653
|
+
constructor() {
|
|
3654
|
+
super("Target Air Purifier State", TargetAirPurifierState.UUID, {
|
|
3655
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3656
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3657
|
+
minValue: 0,
|
|
3658
|
+
maxValue: 1,
|
|
3659
|
+
minStep: 1,
|
|
3660
|
+
validValues: [0, 1],
|
|
3661
|
+
});
|
|
3662
|
+
this.value = this.getDefaultValue();
|
|
3663
|
+
}
|
|
3664
|
+
}
|
|
3665
|
+
exports.TargetAirPurifierState = TargetAirPurifierState;
|
|
3666
|
+
Characteristic_1.Characteristic.TargetAirPurifierState = TargetAirPurifierState;
|
|
3667
|
+
/**
|
|
3668
|
+
* Characteristic "Target Control List"
|
|
3669
|
+
*/
|
|
3670
|
+
class TargetControlList extends Characteristic_1.Characteristic {
|
|
3671
|
+
static UUID = "00000124-0000-1000-8000-0026BB765291";
|
|
3672
|
+
constructor() {
|
|
3673
|
+
super("Target Control List", TargetControlList.UUID, {
|
|
3674
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3675
|
+
perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
3676
|
+
adminOnlyAccess: [0 /* Access.READ */, 1 /* Access.WRITE */],
|
|
3677
|
+
});
|
|
3678
|
+
this.value = this.getDefaultValue();
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
exports.TargetControlList = TargetControlList;
|
|
3682
|
+
Characteristic_1.Characteristic.TargetControlList = TargetControlList;
|
|
3683
|
+
/**
|
|
3684
|
+
* Characteristic "Target Control Supported Configuration"
|
|
3685
|
+
*/
|
|
3686
|
+
class TargetControlSupportedConfiguration extends Characteristic_1.Characteristic {
|
|
3687
|
+
static UUID = "00000123-0000-1000-8000-0026BB765291";
|
|
3688
|
+
constructor() {
|
|
3689
|
+
super("Target Control Supported Configuration", TargetControlSupportedConfiguration.UUID, {
|
|
3690
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
3691
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
3692
|
+
});
|
|
3693
|
+
this.value = this.getDefaultValue();
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
exports.TargetControlSupportedConfiguration = TargetControlSupportedConfiguration;
|
|
3697
|
+
Characteristic_1.Characteristic.TargetControlSupportedConfiguration = TargetControlSupportedConfiguration;
|
|
3698
|
+
/**
|
|
3699
|
+
* Characteristic "Target Door State"
|
|
3700
|
+
*/
|
|
3701
|
+
class TargetDoorState extends Characteristic_1.Characteristic {
|
|
3702
|
+
static UUID = "00000032-0000-1000-8000-0026BB765291";
|
|
3703
|
+
static OPEN = 0;
|
|
3704
|
+
static CLOSED = 1;
|
|
3705
|
+
constructor() {
|
|
3706
|
+
super("Target Door State", TargetDoorState.UUID, {
|
|
3707
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3708
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3709
|
+
minValue: 0,
|
|
3710
|
+
maxValue: 1,
|
|
3711
|
+
minStep: 1,
|
|
3712
|
+
validValues: [0, 1],
|
|
3713
|
+
});
|
|
3714
|
+
this.value = this.getDefaultValue();
|
|
3715
|
+
}
|
|
3716
|
+
}
|
|
3717
|
+
exports.TargetDoorState = TargetDoorState;
|
|
3718
|
+
Characteristic_1.Characteristic.TargetDoorState = TargetDoorState;
|
|
3719
|
+
/**
|
|
3720
|
+
* Characteristic "Target Fan State"
|
|
3721
|
+
*/
|
|
3722
|
+
class TargetFanState extends Characteristic_1.Characteristic {
|
|
3723
|
+
static UUID = "000000BF-0000-1000-8000-0026BB765291";
|
|
3724
|
+
static MANUAL = 0;
|
|
3725
|
+
static AUTO = 1;
|
|
3726
|
+
constructor() {
|
|
3727
|
+
super("Target Fan State", TargetFanState.UUID, {
|
|
3728
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3729
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3730
|
+
minValue: 0,
|
|
3731
|
+
maxValue: 1,
|
|
3732
|
+
minStep: 1,
|
|
3733
|
+
validValues: [0, 1],
|
|
3734
|
+
});
|
|
3735
|
+
this.value = this.getDefaultValue();
|
|
3736
|
+
}
|
|
3737
|
+
}
|
|
3738
|
+
exports.TargetFanState = TargetFanState;
|
|
3739
|
+
Characteristic_1.Characteristic.TargetFanState = TargetFanState;
|
|
3740
|
+
/**
|
|
3741
|
+
* Characteristic "Target Heater-Cooler State"
|
|
3742
|
+
*/
|
|
3743
|
+
class TargetHeaterCoolerState extends Characteristic_1.Characteristic {
|
|
3744
|
+
static UUID = "000000B2-0000-1000-8000-0026BB765291";
|
|
3745
|
+
static AUTO = 0;
|
|
3746
|
+
static HEAT = 1;
|
|
3747
|
+
static COOL = 2;
|
|
3748
|
+
constructor() {
|
|
3749
|
+
super("Target Heater-Cooler State", TargetHeaterCoolerState.UUID, {
|
|
3750
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3751
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3752
|
+
minValue: 0,
|
|
3753
|
+
maxValue: 2,
|
|
3754
|
+
minStep: 1,
|
|
3755
|
+
validValues: [0, 1, 2],
|
|
3756
|
+
});
|
|
3757
|
+
this.value = this.getDefaultValue();
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
exports.TargetHeaterCoolerState = TargetHeaterCoolerState;
|
|
3761
|
+
Characteristic_1.Characteristic.TargetHeaterCoolerState = TargetHeaterCoolerState;
|
|
3762
|
+
/**
|
|
3763
|
+
* Characteristic "Target Heating Cooling State"
|
|
3764
|
+
*/
|
|
3765
|
+
class TargetHeatingCoolingState extends Characteristic_1.Characteristic {
|
|
3766
|
+
static UUID = "00000033-0000-1000-8000-0026BB765291";
|
|
3767
|
+
static OFF = 0;
|
|
3768
|
+
static HEAT = 1;
|
|
3769
|
+
static COOL = 2;
|
|
3770
|
+
static AUTO = 3;
|
|
3771
|
+
constructor() {
|
|
3772
|
+
super("Target Heating Cooling State", TargetHeatingCoolingState.UUID, {
|
|
3773
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3774
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3775
|
+
minValue: 0,
|
|
3776
|
+
maxValue: 3,
|
|
3777
|
+
minStep: 1,
|
|
3778
|
+
validValues: [0, 1, 2, 3],
|
|
3779
|
+
});
|
|
3780
|
+
this.value = this.getDefaultValue();
|
|
3781
|
+
}
|
|
3782
|
+
}
|
|
3783
|
+
exports.TargetHeatingCoolingState = TargetHeatingCoolingState;
|
|
3784
|
+
Characteristic_1.Characteristic.TargetHeatingCoolingState = TargetHeatingCoolingState;
|
|
3785
|
+
/**
|
|
3786
|
+
* Characteristic "Target Horizontal Tilt Angle"
|
|
3787
|
+
*/
|
|
3788
|
+
class TargetHorizontalTiltAngle extends Characteristic_1.Characteristic {
|
|
3789
|
+
static UUID = "0000007B-0000-1000-8000-0026BB765291";
|
|
3790
|
+
constructor() {
|
|
3791
|
+
super("Target Horizontal Tilt Angle", TargetHorizontalTiltAngle.UUID, {
|
|
3792
|
+
format: "int" /* Formats.INT */,
|
|
3793
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3794
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
3795
|
+
minValue: -90,
|
|
3796
|
+
maxValue: 90,
|
|
3797
|
+
minStep: 1,
|
|
3798
|
+
});
|
|
3799
|
+
this.value = this.getDefaultValue();
|
|
3800
|
+
}
|
|
3801
|
+
}
|
|
3802
|
+
exports.TargetHorizontalTiltAngle = TargetHorizontalTiltAngle;
|
|
3803
|
+
Characteristic_1.Characteristic.TargetHorizontalTiltAngle = TargetHorizontalTiltAngle;
|
|
3804
|
+
/**
|
|
3805
|
+
* Characteristic "Target Humidifier-Dehumidifier State"
|
|
3806
|
+
*/
|
|
3807
|
+
class TargetHumidifierDehumidifierState extends Characteristic_1.Characteristic {
|
|
3808
|
+
static UUID = "000000B4-0000-1000-8000-0026BB765291";
|
|
3809
|
+
static HUMIDIFIER_OR_DEHUMIDIFIER = 0;
|
|
3810
|
+
static HUMIDIFIER = 1;
|
|
3811
|
+
static DEHUMIDIFIER = 2;
|
|
3812
|
+
constructor() {
|
|
3813
|
+
super("Target Humidifier-Dehumidifier State", TargetHumidifierDehumidifierState.UUID, {
|
|
3814
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3815
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3816
|
+
minValue: 0,
|
|
3817
|
+
maxValue: 2,
|
|
3818
|
+
minStep: 1,
|
|
3819
|
+
validValues: [0, 1, 2],
|
|
3820
|
+
});
|
|
3821
|
+
this.value = this.getDefaultValue();
|
|
3822
|
+
}
|
|
3823
|
+
}
|
|
3824
|
+
exports.TargetHumidifierDehumidifierState = TargetHumidifierDehumidifierState;
|
|
3825
|
+
Characteristic_1.Characteristic.TargetHumidifierDehumidifierState = TargetHumidifierDehumidifierState;
|
|
3826
|
+
/**
|
|
3827
|
+
* Characteristic "Target Media State"
|
|
3828
|
+
*/
|
|
3829
|
+
class TargetMediaState extends Characteristic_1.Characteristic {
|
|
3830
|
+
static UUID = "00000137-0000-1000-8000-0026BB765291";
|
|
3831
|
+
static PLAY = 0;
|
|
3832
|
+
static PAUSE = 1;
|
|
3833
|
+
static STOP = 2;
|
|
3834
|
+
constructor() {
|
|
3835
|
+
super("Target Media State", TargetMediaState.UUID, {
|
|
3836
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3837
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3838
|
+
minValue: 0,
|
|
3839
|
+
maxValue: 2,
|
|
3840
|
+
minStep: 1,
|
|
3841
|
+
validValues: [0, 1, 2],
|
|
3842
|
+
});
|
|
3843
|
+
this.value = this.getDefaultValue();
|
|
3844
|
+
}
|
|
3845
|
+
}
|
|
3846
|
+
exports.TargetMediaState = TargetMediaState;
|
|
3847
|
+
Characteristic_1.Characteristic.TargetMediaState = TargetMediaState;
|
|
3848
|
+
/**
|
|
3849
|
+
* Characteristic "Target Position"
|
|
3850
|
+
*/
|
|
3851
|
+
class TargetPosition extends Characteristic_1.Characteristic {
|
|
3852
|
+
static UUID = "0000007C-0000-1000-8000-0026BB765291";
|
|
3853
|
+
constructor() {
|
|
3854
|
+
super("Target Position", TargetPosition.UUID, {
|
|
3855
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3856
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3857
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
3858
|
+
minValue: 0,
|
|
3859
|
+
maxValue: 100,
|
|
3860
|
+
minStep: 1,
|
|
3861
|
+
});
|
|
3862
|
+
this.value = this.getDefaultValue();
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
exports.TargetPosition = TargetPosition;
|
|
3866
|
+
Characteristic_1.Characteristic.TargetPosition = TargetPosition;
|
|
3867
|
+
/**
|
|
3868
|
+
* Characteristic "Target Relative Humidity"
|
|
3869
|
+
*/
|
|
3870
|
+
class TargetRelativeHumidity extends Characteristic_1.Characteristic {
|
|
3871
|
+
static UUID = "00000034-0000-1000-8000-0026BB765291";
|
|
3872
|
+
constructor() {
|
|
3873
|
+
super("Target Relative Humidity", TargetRelativeHumidity.UUID, {
|
|
3874
|
+
format: "float" /* Formats.FLOAT */,
|
|
3875
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3876
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
3877
|
+
minValue: 0,
|
|
3878
|
+
maxValue: 100,
|
|
3879
|
+
minStep: 1,
|
|
3880
|
+
});
|
|
3881
|
+
this.value = this.getDefaultValue();
|
|
3882
|
+
}
|
|
3883
|
+
}
|
|
3884
|
+
exports.TargetRelativeHumidity = TargetRelativeHumidity;
|
|
3885
|
+
Characteristic_1.Characteristic.TargetRelativeHumidity = TargetRelativeHumidity;
|
|
3886
|
+
/**
|
|
3887
|
+
* Characteristic "Target Temperature"
|
|
3888
|
+
*/
|
|
3889
|
+
class TargetTemperature extends Characteristic_1.Characteristic {
|
|
3890
|
+
static UUID = "00000035-0000-1000-8000-0026BB765291";
|
|
3891
|
+
constructor() {
|
|
3892
|
+
super("Target Temperature", TargetTemperature.UUID, {
|
|
3893
|
+
format: "float" /* Formats.FLOAT */,
|
|
3894
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3895
|
+
unit: "celsius" /* Units.CELSIUS */,
|
|
3896
|
+
minValue: 10,
|
|
3897
|
+
maxValue: 38,
|
|
3898
|
+
minStep: 0.1,
|
|
3899
|
+
});
|
|
3900
|
+
this.value = this.getDefaultValue();
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
exports.TargetTemperature = TargetTemperature;
|
|
3904
|
+
Characteristic_1.Characteristic.TargetTemperature = TargetTemperature;
|
|
3905
|
+
/**
|
|
3906
|
+
* Characteristic "Target Tilt Angle"
|
|
3907
|
+
*/
|
|
3908
|
+
class TargetTiltAngle extends Characteristic_1.Characteristic {
|
|
3909
|
+
static UUID = "000000C2-0000-1000-8000-0026BB765291";
|
|
3910
|
+
constructor() {
|
|
3911
|
+
super("Target Tilt Angle", TargetTiltAngle.UUID, {
|
|
3912
|
+
format: "int" /* Formats.INT */,
|
|
3913
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3914
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
3915
|
+
minValue: -90,
|
|
3916
|
+
maxValue: 90,
|
|
3917
|
+
minStep: 1,
|
|
3918
|
+
});
|
|
3919
|
+
this.value = this.getDefaultValue();
|
|
3920
|
+
}
|
|
3921
|
+
}
|
|
3922
|
+
exports.TargetTiltAngle = TargetTiltAngle;
|
|
3923
|
+
Characteristic_1.Characteristic.TargetTiltAngle = TargetTiltAngle;
|
|
3924
|
+
/**
|
|
3925
|
+
* Characteristic "Target Vertical Tilt Angle"
|
|
3926
|
+
*/
|
|
3927
|
+
class TargetVerticalTiltAngle extends Characteristic_1.Characteristic {
|
|
3928
|
+
static UUID = "0000007D-0000-1000-8000-0026BB765291";
|
|
3929
|
+
constructor() {
|
|
3930
|
+
super("Target Vertical Tilt Angle", TargetVerticalTiltAngle.UUID, {
|
|
3931
|
+
format: "int" /* Formats.INT */,
|
|
3932
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3933
|
+
unit: "arcdegrees" /* Units.ARC_DEGREE */,
|
|
3934
|
+
minValue: -90,
|
|
3935
|
+
maxValue: 90,
|
|
3936
|
+
minStep: 1,
|
|
3937
|
+
});
|
|
3938
|
+
this.value = this.getDefaultValue();
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
exports.TargetVerticalTiltAngle = TargetVerticalTiltAngle;
|
|
3942
|
+
Characteristic_1.Characteristic.TargetVerticalTiltAngle = TargetVerticalTiltAngle;
|
|
3943
|
+
/**
|
|
3944
|
+
* Characteristic "Target Visibility State"
|
|
3945
|
+
*/
|
|
3946
|
+
class TargetVisibilityState extends Characteristic_1.Characteristic {
|
|
3947
|
+
static UUID = "00000134-0000-1000-8000-0026BB765291";
|
|
3948
|
+
static SHOWN = 0;
|
|
3949
|
+
static HIDDEN = 1;
|
|
3950
|
+
constructor() {
|
|
3951
|
+
super("Target Visibility State", TargetVisibilityState.UUID, {
|
|
3952
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3953
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3954
|
+
minValue: 0,
|
|
3955
|
+
maxValue: 1,
|
|
3956
|
+
minStep: 1,
|
|
3957
|
+
validValues: [0, 1],
|
|
3958
|
+
});
|
|
3959
|
+
this.value = this.getDefaultValue();
|
|
3960
|
+
}
|
|
3961
|
+
}
|
|
3962
|
+
exports.TargetVisibilityState = TargetVisibilityState;
|
|
3963
|
+
Characteristic_1.Characteristic.TargetVisibilityState = TargetVisibilityState;
|
|
3964
|
+
/**
|
|
3965
|
+
* Characteristic "Temperature Display Units"
|
|
3966
|
+
*/
|
|
3967
|
+
class TemperatureDisplayUnits extends Characteristic_1.Characteristic {
|
|
3968
|
+
static UUID = "00000036-0000-1000-8000-0026BB765291";
|
|
3969
|
+
static CELSIUS = 0;
|
|
3970
|
+
static FAHRENHEIT = 1;
|
|
3971
|
+
constructor() {
|
|
3972
|
+
super("Temperature Display Units", TemperatureDisplayUnits.UUID, {
|
|
3973
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3974
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
3975
|
+
minValue: 0,
|
|
3976
|
+
maxValue: 1,
|
|
3977
|
+
minStep: 1,
|
|
3978
|
+
validValues: [0, 1],
|
|
3979
|
+
});
|
|
3980
|
+
this.value = this.getDefaultValue();
|
|
3981
|
+
}
|
|
3982
|
+
}
|
|
3983
|
+
exports.TemperatureDisplayUnits = TemperatureDisplayUnits;
|
|
3984
|
+
Characteristic_1.Characteristic.TemperatureDisplayUnits = TemperatureDisplayUnits;
|
|
3985
|
+
/**
|
|
3986
|
+
* Characteristic "Third Party Camera Active"
|
|
3987
|
+
*/
|
|
3988
|
+
class ThirdPartyCameraActive extends Characteristic_1.Characteristic {
|
|
3989
|
+
static UUID = "0000021C-0000-1000-8000-0026BB765291";
|
|
3990
|
+
static OFF = 0;
|
|
3991
|
+
static ON = 1;
|
|
3992
|
+
constructor() {
|
|
3993
|
+
super("Third Party Camera Active", ThirdPartyCameraActive.UUID, {
|
|
3994
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
3995
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
3996
|
+
validValues: [0, 1],
|
|
3997
|
+
});
|
|
3998
|
+
this.value = this.getDefaultValue();
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
exports.ThirdPartyCameraActive = ThirdPartyCameraActive;
|
|
4002
|
+
Characteristic_1.Characteristic.ThirdPartyCameraActive = ThirdPartyCameraActive;
|
|
4003
|
+
/**
|
|
4004
|
+
* Characteristic "Thread Control Point"
|
|
4005
|
+
*/
|
|
4006
|
+
class ThreadControlPoint extends Characteristic_1.Characteristic {
|
|
4007
|
+
static UUID = "00000704-0000-1000-8000-0026BB765291";
|
|
4008
|
+
constructor() {
|
|
4009
|
+
super("Thread Control Point", ThreadControlPoint.UUID, {
|
|
4010
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
4011
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
4012
|
+
});
|
|
4013
|
+
this.value = this.getDefaultValue();
|
|
4014
|
+
}
|
|
4015
|
+
}
|
|
4016
|
+
exports.ThreadControlPoint = ThreadControlPoint;
|
|
4017
|
+
Characteristic_1.Characteristic.ThreadControlPoint = ThreadControlPoint;
|
|
4018
|
+
/**
|
|
4019
|
+
* Characteristic "Thread Node Capabilities"
|
|
4020
|
+
*/
|
|
4021
|
+
class ThreadNodeCapabilities extends Characteristic_1.Characteristic {
|
|
4022
|
+
static UUID = "00000702-0000-1000-8000-0026BB765291";
|
|
4023
|
+
constructor() {
|
|
4024
|
+
super("Thread Node Capabilities", ThreadNodeCapabilities.UUID, {
|
|
4025
|
+
format: "uint16" /* Formats.UINT16 */,
|
|
4026
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
4027
|
+
minValue: 0,
|
|
4028
|
+
maxValue: 31,
|
|
4029
|
+
minStep: 1,
|
|
4030
|
+
});
|
|
4031
|
+
this.value = this.getDefaultValue();
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
4034
|
+
exports.ThreadNodeCapabilities = ThreadNodeCapabilities;
|
|
4035
|
+
Characteristic_1.Characteristic.ThreadNodeCapabilities = ThreadNodeCapabilities;
|
|
4036
|
+
/**
|
|
4037
|
+
* Characteristic "Thread OpenThread Version"
|
|
4038
|
+
*/
|
|
4039
|
+
class ThreadOpenThreadVersion extends Characteristic_1.Characteristic {
|
|
4040
|
+
static UUID = "00000706-0000-1000-8000-0026BB765291";
|
|
4041
|
+
constructor() {
|
|
4042
|
+
super("Thread OpenThread Version", ThreadOpenThreadVersion.UUID, {
|
|
4043
|
+
format: "string" /* Formats.STRING */,
|
|
4044
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
4045
|
+
});
|
|
4046
|
+
this.value = this.getDefaultValue();
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4049
|
+
exports.ThreadOpenThreadVersion = ThreadOpenThreadVersion;
|
|
4050
|
+
Characteristic_1.Characteristic.ThreadOpenThreadVersion = ThreadOpenThreadVersion;
|
|
4051
|
+
/**
|
|
4052
|
+
* Characteristic "Thread Status"
|
|
4053
|
+
*/
|
|
4054
|
+
class ThreadStatus extends Characteristic_1.Characteristic {
|
|
4055
|
+
static UUID = "00000703-0000-1000-8000-0026BB765291";
|
|
4056
|
+
constructor() {
|
|
4057
|
+
super("Thread Status", ThreadStatus.UUID, {
|
|
4058
|
+
format: "uint16" /* Formats.UINT16 */,
|
|
4059
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4060
|
+
minValue: 0,
|
|
4061
|
+
maxValue: 6,
|
|
4062
|
+
minStep: 1,
|
|
4063
|
+
});
|
|
4064
|
+
this.value = this.getDefaultValue();
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
4067
|
+
exports.ThreadStatus = ThreadStatus;
|
|
4068
|
+
Characteristic_1.Characteristic.ThreadStatus = ThreadStatus;
|
|
4069
|
+
/**
|
|
4070
|
+
* Characteristic "Token"
|
|
4071
|
+
*/
|
|
4072
|
+
class Token extends Characteristic_1.Characteristic {
|
|
4073
|
+
static UUID = "00000231-0000-1000-8000-0026BB765291";
|
|
4074
|
+
constructor() {
|
|
4075
|
+
super("Token", Token.UUID, {
|
|
4076
|
+
format: "data" /* Formats.DATA */,
|
|
4077
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
4078
|
+
});
|
|
4079
|
+
this.value = this.getDefaultValue();
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
exports.Token = Token;
|
|
4083
|
+
Characteristic_1.Characteristic.Token = Token;
|
|
4084
|
+
/**
|
|
4085
|
+
* Characteristic "Transmit Power"
|
|
4086
|
+
* @since iOS 14
|
|
4087
|
+
*/
|
|
4088
|
+
class TransmitPower extends Characteristic_1.Characteristic {
|
|
4089
|
+
static UUID = "00000242-0000-1000-8000-0026BB765291";
|
|
4090
|
+
constructor() {
|
|
4091
|
+
super("Transmit Power", TransmitPower.UUID, {
|
|
4092
|
+
format: "int" /* Formats.INT */,
|
|
4093
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
4094
|
+
});
|
|
4095
|
+
this.value = this.getDefaultValue();
|
|
4096
|
+
}
|
|
4097
|
+
}
|
|
4098
|
+
exports.TransmitPower = TransmitPower;
|
|
4099
|
+
Characteristic_1.Characteristic.TransmitPower = TransmitPower;
|
|
4100
|
+
/**
|
|
4101
|
+
* Characteristic "Tunnel Connection Timeout"
|
|
4102
|
+
* @deprecated Removed
|
|
4103
|
+
*/
|
|
4104
|
+
class TunnelConnectionTimeout extends Characteristic_1.Characteristic {
|
|
4105
|
+
static UUID = "00000061-0000-1000-8000-0026BB765291";
|
|
4106
|
+
constructor() {
|
|
4107
|
+
super("Tunnel Connection Timeout", TunnelConnectionTimeout.UUID, {
|
|
4108
|
+
format: "int" /* Formats.INT */,
|
|
4109
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
4110
|
+
});
|
|
4111
|
+
this.value = this.getDefaultValue();
|
|
4112
|
+
}
|
|
4113
|
+
}
|
|
4114
|
+
exports.TunnelConnectionTimeout = TunnelConnectionTimeout;
|
|
4115
|
+
// noinspection JSDeprecatedSymbols
|
|
4116
|
+
Characteristic_1.Characteristic.TunnelConnectionTimeout = TunnelConnectionTimeout;
|
|
4117
|
+
/**
|
|
4118
|
+
* Characteristic "Tunneled Accessory Advertising"
|
|
4119
|
+
* @deprecated Removed
|
|
4120
|
+
*/
|
|
4121
|
+
class TunneledAccessoryAdvertising extends Characteristic_1.Characteristic {
|
|
4122
|
+
static UUID = "00000060-0000-1000-8000-0026BB765291";
|
|
4123
|
+
constructor() {
|
|
4124
|
+
super("Tunneled Accessory Advertising", TunneledAccessoryAdvertising.UUID, {
|
|
4125
|
+
format: "bool" /* Formats.BOOL */,
|
|
4126
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
4127
|
+
});
|
|
4128
|
+
this.value = this.getDefaultValue();
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
4131
|
+
exports.TunneledAccessoryAdvertising = TunneledAccessoryAdvertising;
|
|
4132
|
+
// noinspection JSDeprecatedSymbols
|
|
4133
|
+
Characteristic_1.Characteristic.TunneledAccessoryAdvertising = TunneledAccessoryAdvertising;
|
|
4134
|
+
/**
|
|
4135
|
+
* Characteristic "Tunneled Accessory Connected"
|
|
4136
|
+
* @deprecated Removed
|
|
4137
|
+
*/
|
|
4138
|
+
class TunneledAccessoryConnected extends Characteristic_1.Characteristic {
|
|
4139
|
+
static UUID = "00000059-0000-1000-8000-0026BB765291";
|
|
4140
|
+
constructor() {
|
|
4141
|
+
super("Tunneled Accessory Connected", TunneledAccessoryConnected.UUID, {
|
|
4142
|
+
format: "bool" /* Formats.BOOL */,
|
|
4143
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
4144
|
+
});
|
|
4145
|
+
this.value = this.getDefaultValue();
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
exports.TunneledAccessoryConnected = TunneledAccessoryConnected;
|
|
4149
|
+
// noinspection JSDeprecatedSymbols
|
|
4150
|
+
Characteristic_1.Characteristic.TunneledAccessoryConnected = TunneledAccessoryConnected;
|
|
4151
|
+
/**
|
|
4152
|
+
* Characteristic "Tunneled Accessory State Number"
|
|
4153
|
+
* @deprecated Removed
|
|
4154
|
+
*/
|
|
4155
|
+
class TunneledAccessoryStateNumber extends Characteristic_1.Characteristic {
|
|
4156
|
+
static UUID = "00000058-0000-1000-8000-0026BB765291";
|
|
4157
|
+
constructor() {
|
|
4158
|
+
super("Tunneled Accessory State Number", TunneledAccessoryStateNumber.UUID, {
|
|
4159
|
+
format: "int" /* Formats.INT */,
|
|
4160
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4161
|
+
});
|
|
4162
|
+
this.value = this.getDefaultValue();
|
|
4163
|
+
}
|
|
4164
|
+
}
|
|
4165
|
+
exports.TunneledAccessoryStateNumber = TunneledAccessoryStateNumber;
|
|
4166
|
+
// noinspection JSDeprecatedSymbols
|
|
4167
|
+
Characteristic_1.Characteristic.TunneledAccessoryStateNumber = TunneledAccessoryStateNumber;
|
|
4168
|
+
/**
|
|
4169
|
+
* Characteristic "Valve Type"
|
|
4170
|
+
*/
|
|
4171
|
+
class ValveType extends Characteristic_1.Characteristic {
|
|
4172
|
+
static UUID = "000000D5-0000-1000-8000-0026BB765291";
|
|
4173
|
+
static GENERIC_VALVE = 0;
|
|
4174
|
+
static IRRIGATION = 1;
|
|
4175
|
+
static SHOWER_HEAD = 2;
|
|
4176
|
+
static WATER_FAUCET = 3;
|
|
4177
|
+
constructor() {
|
|
4178
|
+
super("Valve Type", ValveType.UUID, {
|
|
4179
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
4180
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4181
|
+
minValue: 0,
|
|
4182
|
+
maxValue: 3,
|
|
4183
|
+
minStep: 1,
|
|
4184
|
+
validValues: [0, 1, 2, 3],
|
|
4185
|
+
});
|
|
4186
|
+
this.value = this.getDefaultValue();
|
|
4187
|
+
}
|
|
4188
|
+
}
|
|
4189
|
+
exports.ValveType = ValveType;
|
|
4190
|
+
Characteristic_1.Characteristic.ValveType = ValveType;
|
|
4191
|
+
/**
|
|
4192
|
+
* Characteristic "Version"
|
|
4193
|
+
*/
|
|
4194
|
+
class Version extends Characteristic_1.Characteristic {
|
|
4195
|
+
static UUID = "00000037-0000-1000-8000-0026BB765291";
|
|
4196
|
+
constructor() {
|
|
4197
|
+
super("Version", Version.UUID, {
|
|
4198
|
+
format: "string" /* Formats.STRING */,
|
|
4199
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
4200
|
+
maxLen: 64,
|
|
4201
|
+
});
|
|
4202
|
+
this.value = this.getDefaultValue();
|
|
4203
|
+
}
|
|
4204
|
+
}
|
|
4205
|
+
exports.Version = Version;
|
|
4206
|
+
Characteristic_1.Characteristic.Version = Version;
|
|
4207
|
+
/**
|
|
4208
|
+
* Characteristic "Video Analysis Active"
|
|
4209
|
+
* @since iOS 14
|
|
4210
|
+
*/
|
|
4211
|
+
class VideoAnalysisActive extends Characteristic_1.Characteristic {
|
|
4212
|
+
static UUID = "00000229-0000-1000-8000-0026BB765291";
|
|
4213
|
+
constructor() {
|
|
4214
|
+
super("Video Analysis Active", VideoAnalysisActive.UUID, {
|
|
4215
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
4216
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
4217
|
+
});
|
|
4218
|
+
this.value = this.getDefaultValue();
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
exports.VideoAnalysisActive = VideoAnalysisActive;
|
|
4222
|
+
Characteristic_1.Characteristic.VideoAnalysisActive = VideoAnalysisActive;
|
|
4223
|
+
/**
|
|
4224
|
+
* Characteristic "VOC Density"
|
|
4225
|
+
*/
|
|
4226
|
+
class VOCDensity extends Characteristic_1.Characteristic {
|
|
4227
|
+
static UUID = "000000C8-0000-1000-8000-0026BB765291";
|
|
4228
|
+
constructor() {
|
|
4229
|
+
super("VOC Density", VOCDensity.UUID, {
|
|
4230
|
+
format: "float" /* Formats.FLOAT */,
|
|
4231
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4232
|
+
minValue: 0,
|
|
4233
|
+
maxValue: 1000,
|
|
4234
|
+
minStep: 1,
|
|
4235
|
+
});
|
|
4236
|
+
this.value = this.getDefaultValue();
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
exports.VOCDensity = VOCDensity;
|
|
4240
|
+
Characteristic_1.Characteristic.VOCDensity = VOCDensity;
|
|
4241
|
+
/**
|
|
4242
|
+
* Characteristic "Volume"
|
|
4243
|
+
*/
|
|
4244
|
+
class Volume extends Characteristic_1.Characteristic {
|
|
4245
|
+
static UUID = "00000119-0000-1000-8000-0026BB765291";
|
|
4246
|
+
constructor() {
|
|
4247
|
+
super("Volume", Volume.UUID, {
|
|
4248
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
4249
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
|
|
4250
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
4251
|
+
minValue: 0,
|
|
4252
|
+
maxValue: 100,
|
|
4253
|
+
minStep: 1,
|
|
4254
|
+
});
|
|
4255
|
+
this.value = this.getDefaultValue();
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4258
|
+
exports.Volume = Volume;
|
|
4259
|
+
Characteristic_1.Characteristic.Volume = Volume;
|
|
4260
|
+
/**
|
|
4261
|
+
* Characteristic "Volume Control Type"
|
|
4262
|
+
*/
|
|
4263
|
+
class VolumeControlType extends Characteristic_1.Characteristic {
|
|
4264
|
+
static UUID = "000000E9-0000-1000-8000-0026BB765291";
|
|
4265
|
+
static NONE = 0;
|
|
4266
|
+
static RELATIVE = 1;
|
|
4267
|
+
static RELATIVE_WITH_CURRENT = 2;
|
|
4268
|
+
static ABSOLUTE = 3;
|
|
4269
|
+
constructor() {
|
|
4270
|
+
super("Volume Control Type", VolumeControlType.UUID, {
|
|
4271
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
4272
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4273
|
+
minValue: 0,
|
|
4274
|
+
maxValue: 3,
|
|
4275
|
+
minStep: 1,
|
|
4276
|
+
validValues: [0, 1, 2, 3],
|
|
4277
|
+
});
|
|
4278
|
+
this.value = this.getDefaultValue();
|
|
4279
|
+
}
|
|
4280
|
+
}
|
|
4281
|
+
exports.VolumeControlType = VolumeControlType;
|
|
4282
|
+
Characteristic_1.Characteristic.VolumeControlType = VolumeControlType;
|
|
4283
|
+
/**
|
|
4284
|
+
* Characteristic "Volume Selector"
|
|
4285
|
+
*/
|
|
4286
|
+
class VolumeSelector extends Characteristic_1.Characteristic {
|
|
4287
|
+
static UUID = "000000EA-0000-1000-8000-0026BB765291";
|
|
4288
|
+
static INCREMENT = 0;
|
|
4289
|
+
static DECREMENT = 1;
|
|
4290
|
+
constructor() {
|
|
4291
|
+
super("Volume Selector", VolumeSelector.UUID, {
|
|
4292
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
4293
|
+
perms: ["pw" /* Perms.PAIRED_WRITE */],
|
|
4294
|
+
minValue: 0,
|
|
4295
|
+
maxValue: 1,
|
|
4296
|
+
minStep: 1,
|
|
4297
|
+
validValues: [0, 1],
|
|
4298
|
+
});
|
|
4299
|
+
this.value = this.getDefaultValue();
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
exports.VolumeSelector = VolumeSelector;
|
|
4303
|
+
Characteristic_1.Characteristic.VolumeSelector = VolumeSelector;
|
|
4304
|
+
/**
|
|
4305
|
+
* Characteristic "Wake Configuration"
|
|
4306
|
+
* @since iOS 13.4
|
|
4307
|
+
*/
|
|
4308
|
+
class WakeConfiguration extends Characteristic_1.Characteristic {
|
|
4309
|
+
static UUID = "00000222-0000-1000-8000-0026BB765291";
|
|
4310
|
+
constructor() {
|
|
4311
|
+
super("Wake Configuration", WakeConfiguration.UUID, {
|
|
4312
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
4313
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
4314
|
+
});
|
|
4315
|
+
this.value = this.getDefaultValue();
|
|
4316
|
+
}
|
|
4317
|
+
}
|
|
4318
|
+
exports.WakeConfiguration = WakeConfiguration;
|
|
4319
|
+
Characteristic_1.Characteristic.WakeConfiguration = WakeConfiguration;
|
|
4320
|
+
/**
|
|
4321
|
+
* Characteristic "WAN Configuration List"
|
|
4322
|
+
*/
|
|
4323
|
+
class WANConfigurationList extends Characteristic_1.Characteristic {
|
|
4324
|
+
static UUID = "00000211-0000-1000-8000-0026BB765291";
|
|
4325
|
+
constructor() {
|
|
4326
|
+
super("WAN Configuration List", WANConfigurationList.UUID, {
|
|
4327
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
4328
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4329
|
+
});
|
|
4330
|
+
this.value = this.getDefaultValue();
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
exports.WANConfigurationList = WANConfigurationList;
|
|
4334
|
+
Characteristic_1.Characteristic.WANConfigurationList = WANConfigurationList;
|
|
4335
|
+
/**
|
|
4336
|
+
* Characteristic "WAN Status List"
|
|
4337
|
+
*/
|
|
4338
|
+
class WANStatusList extends Characteristic_1.Characteristic {
|
|
4339
|
+
static UUID = "00000212-0000-1000-8000-0026BB765291";
|
|
4340
|
+
constructor() {
|
|
4341
|
+
super("WAN Status List", WANStatusList.UUID, {
|
|
4342
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
4343
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4344
|
+
});
|
|
4345
|
+
this.value = this.getDefaultValue();
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
exports.WANStatusList = WANStatusList;
|
|
4349
|
+
Characteristic_1.Characteristic.WANStatusList = WANStatusList;
|
|
4350
|
+
/**
|
|
4351
|
+
* Characteristic "Water Level"
|
|
4352
|
+
*/
|
|
4353
|
+
class WaterLevel extends Characteristic_1.Characteristic {
|
|
4354
|
+
static UUID = "000000B5-0000-1000-8000-0026BB765291";
|
|
4355
|
+
constructor() {
|
|
4356
|
+
super("Water Level", WaterLevel.UUID, {
|
|
4357
|
+
format: "float" /* Formats.FLOAT */,
|
|
4358
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4359
|
+
unit: "percentage" /* Units.PERCENTAGE */,
|
|
4360
|
+
minValue: 0,
|
|
4361
|
+
maxValue: 100,
|
|
4362
|
+
minStep: 1,
|
|
4363
|
+
});
|
|
4364
|
+
this.value = this.getDefaultValue();
|
|
4365
|
+
}
|
|
4366
|
+
}
|
|
4367
|
+
exports.WaterLevel = WaterLevel;
|
|
4368
|
+
Characteristic_1.Characteristic.WaterLevel = WaterLevel;
|
|
4369
|
+
/**
|
|
4370
|
+
* Characteristic "Wi-Fi Capabilities"
|
|
4371
|
+
* @since iOS 14
|
|
4372
|
+
*/
|
|
4373
|
+
class WiFiCapabilities extends Characteristic_1.Characteristic {
|
|
4374
|
+
static UUID = "0000022C-0000-1000-8000-0026BB765291";
|
|
4375
|
+
constructor() {
|
|
4376
|
+
super("Wi-Fi Capabilities", WiFiCapabilities.UUID, {
|
|
4377
|
+
format: "uint32" /* Formats.UINT32 */,
|
|
4378
|
+
perms: ["pr" /* Perms.PAIRED_READ */],
|
|
4379
|
+
});
|
|
4380
|
+
this.value = this.getDefaultValue();
|
|
4381
|
+
}
|
|
4382
|
+
}
|
|
4383
|
+
exports.WiFiCapabilities = WiFiCapabilities;
|
|
4384
|
+
Characteristic_1.Characteristic.WiFiCapabilities = WiFiCapabilities;
|
|
4385
|
+
/**
|
|
4386
|
+
* Characteristic "Wi-Fi Configuration Control"
|
|
4387
|
+
* @since iOS 14
|
|
4388
|
+
*/
|
|
4389
|
+
class WiFiConfigurationControl extends Characteristic_1.Characteristic {
|
|
4390
|
+
static UUID = "0000022D-0000-1000-8000-0026BB765291";
|
|
4391
|
+
constructor() {
|
|
4392
|
+
super("Wi-Fi Configuration Control", WiFiConfigurationControl.UUID, {
|
|
4393
|
+
format: "tlv8" /* Formats.TLV8 */,
|
|
4394
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
|
|
4395
|
+
});
|
|
4396
|
+
this.value = this.getDefaultValue();
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
exports.WiFiConfigurationControl = WiFiConfigurationControl;
|
|
4400
|
+
Characteristic_1.Characteristic.WiFiConfigurationControl = WiFiConfigurationControl;
|
|
4401
|
+
/**
|
|
4402
|
+
* Characteristic "Wi-Fi Satellite Status"
|
|
4403
|
+
*/
|
|
4404
|
+
class WiFiSatelliteStatus extends Characteristic_1.Characteristic {
|
|
4405
|
+
static UUID = "0000021E-0000-1000-8000-0026BB765291";
|
|
4406
|
+
static UNKNOWN = 0;
|
|
4407
|
+
static CONNECTED = 1;
|
|
4408
|
+
static NOT_CONNECTED = 2;
|
|
4409
|
+
constructor() {
|
|
4410
|
+
super("Wi-Fi Satellite Status", WiFiSatelliteStatus.UUID, {
|
|
4411
|
+
format: "uint8" /* Formats.UINT8 */,
|
|
4412
|
+
perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
|
|
4413
|
+
minValue: 0,
|
|
4414
|
+
maxValue: 2,
|
|
4415
|
+
validValues: [0, 1, 2],
|
|
4416
|
+
});
|
|
4417
|
+
this.value = this.getDefaultValue();
|
|
4418
|
+
}
|
|
4419
|
+
}
|
|
4420
|
+
exports.WiFiSatelliteStatus = WiFiSatelliteStatus;
|
|
4421
|
+
Characteristic_1.Characteristic.WiFiSatelliteStatus = WiFiSatelliteStatus;
|
|
4422
|
+
//# sourceMappingURL=CharacteristicDefinitions.js.map
|