From a2e8d1c4c2b48d60b6b8c9f6b066386ff9ea9baa Mon Sep 17 00:00:00 2001 From: christian bianchini Date: Mon, 23 Feb 2026 19:35:41 +0000 Subject: [PATCH] add extra types --- src/http/types.ts | 61 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/src/http/types.ts b/src/http/types.ts index 9747ce58..6b81e516 100644 --- a/src/http/types.ts +++ b/src/http/types.ts @@ -7792,7 +7792,9 @@ export const DeviceProperties: Properties = { }, [DeviceType.LOCK_8531]: { ...GenericDeviceProperties, - [PropertyName.DeviceBattery]: DeviceBatteryLockProperty, + [PropertyName.DeviceBattery]: DeviceBatteryProperty, + [PropertyName.DeviceBatteryTemp]: DeviceBatteryTempProperty, + [PropertyName.DeviceWifiRSSI]: DeviceWifiRSSIProperty, [PropertyName.DeviceLocked]: DeviceLockedProperty, [PropertyName.DeviceLockStatus]: DeviceAdvancedLockStatusProperty, [PropertyName.DeviceAutoLock]: DeviceAutoLockProperty, @@ -7812,6 +7814,51 @@ export const DeviceProperties: Properties = { [PropertyName.DeviceLowBatteryAlert]: DeviceLowBatteryAlertProperty, [PropertyName.DeviceLockEventOrigin]: DeviceLockEventOriginProperty, [PropertyName.DevicePersonName]: DevicePersonNameProperty, + [PropertyName.DeviceAntitheftDetection]: DeviceAntitheftDetectionProperty, + [PropertyName.DeviceRTSPStream]: DeviceRTSPStreamProperty, + [PropertyName.DeviceDetectionStatisticsWorkingDays]: DeviceDetectionStatisticsWorkingDaysProperty, + [PropertyName.DeviceDetectionStatisticsDetectedEvents]: DeviceDetectionStatisticsDetectedEventsProperty, + [PropertyName.DeviceDetectionStatisticsRecordedEvents]: DeviceDetectionStatisticsRecordedEventsProperty, + [PropertyName.DeviceImageMirrored]: DeviceImageMirroredProperty, + [PropertyName.DeviceSpeakerVolume]: DeviceSpeakerVolumeProperty, + [PropertyName.DeviceMicrophone]: DeviceMicrophoneProperty, + [PropertyName.DeviceSpeaker]: DeviceSpeakerProperty, + [PropertyName.DevicePowerWorkingMode]: DevicePowerWorkingModeProperty, + [PropertyName.DeviceRecordingClipLength]: DeviceRecordingClipLengthProperty, + [PropertyName.DeviceRecordingRetriggerInterval]: DeviceRecordingRetriggerIntervalProperty, + [PropertyName.DeviceRecordingEndClipMotionStops]: DeviceRecordingEndClipMotionStopsProperty, + [PropertyName.DeviceMotionDetectionType]: DeviceMotionDetectionTypeProperty, + [PropertyName.DeviceSnooze]: DeviceSnoozeProperty, + [PropertyName.DeviceNightvision]: DeviceNightvisionProperty, + [PropertyName.DeviceNotificationType]: DeviceNotificationTypeIndoorFloodlightProperty, + [PropertyName.DeviceVideoRecordingQuality]: DeviceVideoRecordingQualityProperty, + [PropertyName.DeviceAudioRecording]: DeviceAudioRecordingProperty, + [PropertyName.DevicePowerSource]: DevicePowerSourceProperty, + [PropertyName.DeviceLight]: DeviceFloodlightLightProperty, + [PropertyName.DeviceLightSettingsBrightnessManual]: DeviceFloodlightLightSettingsBrightnessManualProperty, + [PropertyName.DeviceLightSettingsEnable]: DeviceFloodlightLightSettingsEnableProperty, + [PropertyName.DeviceLightSettingsMotionTriggered]: DeviceFloodlightLightSettingsMotionTriggeredProperty, + [PropertyName.DeviceChimeHomebase]: DeviceChimeHomebaseBatteryDoorbellProperty, //OK + [PropertyName.DeviceChimeIndoor]: DeviceChimeIndoorBatteryDoorbellProperty, + [PropertyName.DeviceVideoWDR]: DeviceWDRProperty, + [PropertyName.DeviceVideoStreamingQuality]: DeviceVideoStreamingQualityBatteryDoorbellProperty, + [PropertyName.DeviceRingtoneVolume]: DeviceRingtoneVolumeBatteryDoorbellProperty, + [PropertyName.DeviceStatusLed]: DeviceStatusLedBatteryDoorbellProperty, + [PropertyName.DeviceChimeHomebaseRingtoneVolume]: DeviceChimeHomebaseRingtoneVolumeBatteryDoorbellProperty, + [PropertyName.DeviceChimeHomebaseRingtoneType]: DeviceChimeHomebaseRingtoneTypeBatteryDoorbellProperty, + [PropertyName.DeviceChargingStatus]: DeviceChargingStatusProperty, + [PropertyName.DeviceDualCamWatchViewMode]: DeviceDualCamWatchViewModeProperty, + [PropertyName.DeviceContinuousRecording]: DeviceContinuousRecordingProperty, + [PropertyName.DeviceContinuousRecordingType]: DeviceContinuousRecordingTypeProperty, + [PropertyName.DeviceMotionTracking]: DeviceMotionTrackingProperty, + [PropertyName.DeviceNotificationPerson]: DeviceNotificationPersonS350Property, + [PropertyName.DeviceMotionDetection]: DeviceMotionDetectionIndoorSoloFloodProperty, + [PropertyName.DeviceMotionDetectionSensitivity]: DeviceMotionDetectionSensitivityIndoorProperty, + [PropertyName.DeviceMotionZone]: DeviceMotionZoneProperty, + [PropertyName.DeviceVideoTypeStoreToNAS]: DeviceVideoTypeStoreToNASProperty, + [PropertyName.DeviceMotionDetectionRange]: DeviceMotionDetectionRangeT8425Property, + [PropertyName.DeviceEnabled]: DeviceEnabledIndoorMiniProperty, + [PropertyName.DeviceMotionOutOfViewDetection]: DeviceMotionOutOfViewDetectionProperty, }, [DeviceType.LOCK_85D0]: { ...GenericDeviceProperties, @@ -7835,6 +7882,7 @@ export const DeviceProperties: Properties = { [PropertyName.DeviceLowBatteryAlert]: DeviceLowBatteryAlertProperty, [PropertyName.DeviceLockEventOrigin]: DeviceLockEventOriginProperty, [PropertyName.DevicePersonName]: DevicePersonNameProperty, + [PropertyName.DeviceStatusLed]: DeviceStatusLedProperty, }, [DeviceType.LOCK_8502]: { ...GenericDeviceProperties, @@ -9564,6 +9612,17 @@ export const StationProperties: Properties = { }, [DeviceType.LOCK_8531]: { ...BaseStationProperties, + [PropertyName.StationLANIpAddress]: StationLanIpAddressStandaloneProperty, + [PropertyName.StationMacAddress]: StationMacAddressProperty, + [PropertyName.StationGuardMode]: StationGuardModeProperty, + [PropertyName.StationCurrentMode]: StationCurrentModeProperty, + [PropertyName.StationTimeFormat]: StationTimeFormatProperty, + [PropertyName.StationAlarm]: StationAlarmProperty, + [PropertyName.StationAlarmType]: StationAlarmTypeProperty, + [PropertyName.StationAlarmVolume]: StationAlarmVolumeWalllightProperty, + [PropertyName.StationSdStatus]: StationSdStatusProperty, + [PropertyName.StationSdCapacity]: StationSdCapacityProperty, + [PropertyName.StationSdCapacityAvailable]: StationSdAvailableCapacityProperty, }, [DeviceType.LOCK_85D0]: { ...BaseStationProperties,