eufy-security-client 3.6.0 → 3.7.1
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/.prettierignore/342/200/216 +8 -0
- package/.prettierrc +11 -0
- package/README.md +18 -0
- package/a.ts +61 -0
- package/build/error.js.map +1 -1
- package/build/eufysecurity.d.ts +1 -0
- package/build/eufysecurity.js +721 -224
- package/build/eufysecurity.js.map +1 -1
- package/build/http/api.d.ts +29 -0
- package/build/http/api.js +991 -701
- package/build/http/api.js.map +1 -1
- package/build/http/cache.js.map +1 -1
- package/build/http/const.d.ts +6 -1
- package/build/http/const.js +2044 -7536
- package/build/http/const.js.map +1 -1
- package/build/http/device.d.ts +4 -0
- package/build/http/device.js +1325 -440
- package/build/http/device.js.map +1 -1
- package/build/http/error.js.map +1 -1
- package/build/http/index.js.map +1 -1
- package/build/http/interfaces.d.ts +22 -15
- package/build/http/models.d.ts +2 -1
- package/build/http/parameter.js +74 -63
- package/build/http/parameter.js.map +1 -1
- package/build/http/station.d.ts +20 -2
- package/build/http/station.js +8639 -3566
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +12 -0
- package/build/http/types.js +297 -155
- package/build/http/types.js.map +1 -1
- package/build/http/utils.d.ts +16 -6
- package/build/http/utils.js +335 -208
- package/build/http/utils.js.map +1 -1
- package/build/index.js.map +1 -1
- package/build/interfaces.d.ts +4 -3
- package/build/logging.js +8 -13
- package/build/logging.js.map +1 -1
- package/build/mqtt/interface.d.ts +2 -2
- package/build/mqtt/service.js +12 -3
- package/build/mqtt/service.js.map +1 -1
- package/build/p2p/ble.js +7 -6
- package/build/p2p/ble.js.map +1 -1
- package/build/p2p/error.js.map +1 -1
- package/build/p2p/interfaces.d.ts +41 -6
- package/build/p2p/session.js +1484 -383
- package/build/p2p/session.js.map +1 -1
- package/build/p2p/talkback.js.map +1 -1
- package/build/p2p/types.js +36 -36
- package/build/p2p/types.js.map +1 -1
- package/build/p2p/utils.d.ts +10 -0
- package/build/p2p/utils.js +183 -90
- package/build/p2p/utils.js.map +1 -1
- package/build/push/client.js +15 -4
- package/build/push/client.js.map +1 -1
- package/build/push/error.js.map +1 -1
- package/build/push/interfaces.d.ts +8 -8
- package/build/push/models.js.map +1 -1
- package/build/push/parser.js +6 -2
- package/build/push/parser.js.map +1 -1
- package/build/push/service.js +214 -85
- package/build/push/service.js.map +1 -1
- package/build/push/types.js.map +1 -1
- package/build/push/utils.js.map +1 -1
- package/build/utils.js +7 -15
- package/build/utils.js.map +1 -1
- package/coverage/clover.xml +11133 -13648
- package/coverage/coverage-final.json +20 -30
- package/coverage/lcov-report/error.ts.html +3 -3
- package/coverage/lcov-report/index.html +50 -65
- package/coverage/lcov-report/logging.ts.html +598 -0
- package/coverage/lcov.info +21072 -25751
- package/dont-care.js +101 -0
- package/package.json +9 -5
- package/build/package.json +0 -81
package/build/http/types.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.StationCommands = exports.DeviceCommands = exports.CommandName = exports.StationProperties = exports.StationCrossTrackingGroupListProperty = exports.StationCrossTrackingCameraListProperty = exports.StationTrackingAssistanceProperty = exports.StationCrossCameraTrackingProperty = exports.StationContinuousTrackingTimeProperty = exports.StationStorageInfoSdCardProperty = exports.StationStorageInfoHddProperty = exports.StationStorageInfoEmmcProperty = exports.StationSdAvailableCapacityProperty = exports.StationSdCapacityProperty = exports.StationSdStatusProperty = exports.StationAlarmDelayTypeProperty = exports.StationAlarmDelayProperty = exports.StationAlarmArmDelayProperty = exports.StationAlarmArmedProperty = exports.StationAlarmTypeProperty = exports.StationAlarmProperty = void 0;
|
|
3
|
+
exports.DeviceSerialNumberProperty = exports.DeviceModelProperty = exports.DeviceNameProperty = exports.PropertyName = exports.DeviceEvent = exports.PresetPositionType = exports.ViewModeType = exports.MotionDetectionRangeType = exports.TrackerType = exports.GarageDoorState = exports.DynamicLightingEffect = exports.MotionActivationMode = exports.DailyLightingType = exports.LightingActiveMode = exports.TriggerType = exports.MicStatus = exports.RecordType = exports.MediaType = exports.VideoType = exports.FloodlightT8425NotificationTypes = exports.IndoorS350NotificationTypes = exports.EufyCamC35DetectionTypes = exports.IndoorMiniDetectionTypes = exports.IndoorDetectionTypes = exports.IndoorS350DetectionTypes = exports.SoloCameraDetectionTypes = exports.T8170DetectionTypes = exports.HB3DetectionTypes = exports.UserPasswordType = exports.UserType = exports.DualCamStreamMode = exports.VideoTypeStoreToNAS = exports.MotionDetectionMode = exports.SignalLevel = exports.TimeFormat = exports.GuardModeSecuritySettingsAction = exports.NotificationSwitchMode = exports.AlarmTone = exports.WalllightNotificationType = exports.NotificationType = exports.FloodlightMotionTriggeredDistance = exports.PublicKeyType = exports.PowerSource = exports.StorageType = exports.VerfyCodeTypes = exports.ResponseErrorCode = exports.GuardMode = exports.AlarmMode = exports.ParamType = exports.DeviceType = void 0;
|
|
4
|
+
exports.DeviceRTSPStreamProperty = exports.DevicePetDetectionProperty = exports.DeviceSoundDetectionProperty = exports.DeviceMotionDetectionDoorbellProperty = exports.DeviceMotionDetectionIndoorSoloFloodProperty = exports.DeviceMotionDetectionProperty = exports.DeviceStatusLedT8200XProperty = exports.DeviceStatusLedDoorbellProperty = exports.DeviceStatusLedBatteryDoorbellDualProperty = exports.DeviceStatusLedIndoorS350Property = exports.DeviceStatusLedBatteryDoorbellProperty = exports.DeviceStatusLedIndoorFloodProperty = exports.DeviceStatusLedProperty = exports.DeviceEnabledIndoorS350Property = exports.DeviceEnabledIndoorMiniProperty = exports.DeviceEnabledSoloProperty = exports.DeviceEnabledStandaloneProperty = exports.DeviceEnabledProperty = exports.DeviceWifiRSSISmartSafeProperty = exports.DeviceWifiRSSIKeypadProperty = exports.DeviceWifiRSSIEntrySensorProperty = exports.DeviceWifiRSSILockProperty = exports.DeviceCellularICCIDProperty = exports.DeviceCellularIMEIProperty = exports.DeviceCellularBandProperty = exports.DeviceCellularSignalProperty = exports.DeviceCellularSignalLevelProperty = exports.DeviceCellularRSSIProperty = exports.DeviceWifiSignalLevelProperty = exports.DeviceWifiRSSIProperty = exports.DeviceNightvisionCameraC35Property = exports.DeviceNightvisionS350Property = exports.DeviceNightvisionProperty = exports.DeviceAutoNightvisionSoloProperty = exports.DeviceAutoNightvisionWiredDoorbellProperty = exports.DeviceAutoNightvisionProperty = exports.DeviceAntitheftDetectionProperty = exports.DeviceBatteryIsChargingKeypadProperty = exports.DeviceBatteryTempProperty = exports.DeviceBatteryLowSensorProperty = exports.DeviceBatteryLowKeypadProperty = exports.DeviceBatteryLowMotionSensorProperty = exports.DeviceBatteryTrackerProperty = exports.DeviceBatteryLockProperty = exports.DeviceBatteryProperty = exports.GenericDeviceProperties = exports.BaseDeviceProperties = exports.GenericTypeProperty = exports.GenericSWVersionProperty = exports.GenericHWVersionProperty = void 0;
|
|
5
|
+
exports.DeviceMotionDetectionSensitivityFloodlightT8420Property = exports.DeviceMotionDetectionSensitivitySoloProperty = exports.DeviceMotionDetectionSensitivityWiredDoorbellProperty = exports.DeviceMotionDetectionSensitivityDoorbellE340Property = exports.DeviceMotionDetectionSensitivityBatteryDoorbellProperty = exports.DeviceMotionDetectionSensitivityIndoorProperty = exports.DeviceMotionDetectionSensitivityCamera1Property = exports.DeviceMotionDetectionSensitivityCamera2Property = exports.DeviceMotionDetectionTypeIndoorMiniProperty = exports.DeviceMotionDetectionTypeIndoorS350Property = exports.DeviceMotionDetectionTypeIndoorProperty = exports.DeviceMotionDetectionTypeFloodlightProperty = exports.DeviceMotionDetectionTypeFloodlightT8423Property = exports.DeviceMotionDetectionCamera1Property = exports.DeviceMotionDetectionTypeT8200XProperty = exports.DeviceMotionDetectionTypeProperty = exports.DeviceMotionDetectionTypeAllOtherMotionsWalllightProperty = exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty = exports.DeviceMotionHB3DetectionTypeVehicleProperty = exports.DeviceMotionHB3DetectionTypePetProperty = exports.DeviceMotionHB3DetectionTypeHumanRecognitionProperty = exports.DeviceMotionDetectionTypeHumanWallLightProperty = exports.DeviceMotionHB3DetectionTypeHumanProperty = exports.DevicePictureUrlProperty = exports.DeviceAdvancedLockStatusProperty = exports.DeviceBasicLockStatusProperty = exports.DeviceMotionSensorPIREventProperty = exports.DeviceSensorChangeTimeProperty = exports.DeviceSensorOpenProperty = exports.DeviceRingingProperty = exports.DeviceCryingDetectedProperty = exports.DeviceSoundDetectedProperty = exports.DevicePetDetectedProperty = exports.DevicePersonDetectedProperty = exports.DeviceMotionDetectedProperty = exports.DeviceLockedSmartSafeProperty = exports.DeviceLockedProperty = exports.DeviceBatteryUsageLastWeekProperty = exports.DeviceLastChargingFalseEventsProperty = exports.DeviceLastChargingRecordedEventsProperty = exports.DeviceLastChargingTotalEventsProperty = exports.DeviceLastChargingDaysProperty = exports.DeviceStateLockProperty = exports.DeviceStateProperty = exports.DeviceWatermarkGarageCameraProperty = exports.DeviceWatermarkBatteryDoorbellCamera1Property = exports.DeviceWatermarkSoloWiredDoorbellProperty = exports.DeviceWatermarkIndoorFloodProperty = exports.DeviceWatermarkProperty = exports.DeviceRTSPStreamUrlProperty = void 0;
|
|
6
|
+
exports.DeviceRecordingRetriggerIntervalBatteryDoorbellProperty = exports.DeviceRecordingRetriggerIntervalProperty = exports.DeviceRecordingClipLengthOutdoorPTProperty = exports.DeviceRecordingClipLengthWalllightS120Property = exports.DeviceRecordingClipLengthWalllightProperty = exports.DeviceRecordingClipLengthFloodlightProperty = exports.DeviceRecordingClipLengthProperty = exports.DeviceChargingStatusProperty = exports.DevicePowerWorkingModeBatteryDoorbellProperty = exports.DevicePowerWorkingModeSmartDropProperty = exports.DevicePowerWorkingModeProperty = exports.DevicePowerSourceProperty = exports.DeviceRingtoneVolumeT8200XProperty = exports.DeviceRingtoneVolumeWiredDoorbellProperty = exports.DeviceRingtoneVolumeBatteryDoorbellProperty = exports.DeviceSpeakerVolumeSmartDropProperty = exports.DeviceSpeakerVolumeWalllightProperty = exports.DeviceSpeakerVolumeFloodlightT8420Property = exports.DeviceSpeakerVolumeWiredDoorbellProperty = exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty = exports.DeviceSpeakerVolumeCamera3Property = exports.DeviceSpeakerVolumeSoloProperty = exports.DeviceSpeakerVolumeProperty = exports.DeviceMotionTrackingProperty = exports.DeviceAudioRecordingFloodlightT8420Property = exports.DeviceAudioRecordingWiredDoorbellProperty = exports.DeviceAudioRecordingStarlight4gLTEProperty = exports.DeviceAudioRecordingIndoorSoloFloodlightProperty = exports.DeviceAudioRecordingProperty = exports.DeviceSpeakerProperty = exports.DeviceMicrophoneProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredTimerT8425Property = exports.DeviceFloodlightLightSettingsMotionTriggeredTimerProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredDistanceProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredT8425Property = exports.DeviceFloodlightLightSettingsMotionTriggeredProperty = exports.DeviceFloodlightLightSettingsBrightnessScheduleT8425Property = exports.DeviceFloodlightLightSettingsBrightnessScheduleProperty = exports.DeviceFloodlightLightSettingsBrightnessMotionT8425Property = exports.DeviceFloodlightLightSettingsBrightnessMotionProperty = exports.DeviceCameraLightSettingsBrightnessManualWalllightS120Property = exports.DeviceCameraLightSettingsBrightnessManualProperty = exports.DeviceLightSettingsBrightnessManualCamera3Property = exports.DeviceFloodlightLightSettingsBrightnessManualProperty = exports.DeviceFloodlightLightSettingsEnableProperty = exports.DeviceFloodlightLightProperty = exports.DeviceMotionZoneProperty = exports.DeviceHiddenMotionDetectionModeWiredDoorbellProperty = exports.DeviceHiddenMotionDetectionSensitivityWiredDoorbellProperty = exports.DeviceMotionDetectionSensitivityGarageCameraProperty = void 0;
|
|
7
|
+
exports.DeviceNotificationAllOtherMotionProperty = exports.DeviceNotificationPetProperty = exports.DeviceNotificationPersonWalllightProperty = exports.DeviceNotificationPersonProperty = exports.DeviceSoundDetectionSensitivityProperty = exports.DeviceSoundDetectionTypeS350Property = exports.DeviceSoundDetectionTypeProperty = exports.DeviceImageMirroredProperty = exports.DeviceRotationSpeedProperty = exports.DeviceNotificationTypeWalllightProperty = exports.DeviceNotificationTypeWiredDoorbellProperty = exports.DeviceNotificationTypeBatteryDoorbellProperty = exports.DeviceNotificationTypeIndoorFloodlightProperty = exports.DeviceNotificationTypeProperty = exports.DeviceChimeHomebaseRingtoneTypeBatteryDoorbellProperty = exports.DeviceChimeHomebaseRingtoneVolumeBatteryDoorbellProperty = exports.DeviceChimeHomebaseBatteryDoorbellProperty = exports.DeviceChimeIndoorT8200XProperty = exports.DeviceChimeIndoorWiredDoorbellProperty = exports.DeviceChimeIndoorBatteryDoorbellProperty = exports.DeviceWDRProperty = exports.DeviceVideoRecordingQualityT8530Property = exports.DeviceVideoRecordingQualityCameraC35HB3Property = exports.DeviceVideoRecordingQualitySoloCamerasHB3Property = exports.DeviceVideoRecordingQualitySoloProperty = exports.DeviceVideoRecordingQualityCameraC35Property = exports.DeviceVideoRecordingQualityCamera3Property = exports.DeviceVideoRecordingQualityCamera2CProProperty = exports.DeviceVideoRecordingQualityT8200XProperty = exports.DeviceVideoRecordingQualityWalllightProperty = exports.DeviceVideoRecordingQualityS350Property = exports.DeviceVideoRecordingQualityS340Property = exports.DeviceVideoRecordingQualityDoorbellE340Property = exports.DeviceVideoRecordingQualityProperty = exports.DeviceVideoRecordingQualityWiredDoorbellProperty = exports.DeviceVideoRecordingQualityIndoorProperty = exports.DeviceVideoStreamingQualitySmartDropProperty = exports.DeviceVideoStreamingQualityS340Property = exports.DeviceVideoStreamingQualityS350Property = exports.DeviceVideoStreamingQualityDoorbellE340Property = exports.DeviceVideoStreamingQualityCameraProfessionalProperty = exports.DeviceVideoStreamingQualityCamera3Property = exports.DeviceVideoStreamingQualityWalllightProperty = exports.DeviceVideoStreamingQualitySoloProperty = exports.DeviceVideoStreamingQualityCameraProperty = exports.DeviceVideoStreamingQualityCameraC35Property = exports.DeviceVideoStreamingQualityBatteryDoorbellProperty = exports.DeviceVideoStreamingQualityProperty = exports.DeviceRecordingEndClipMotionStopsProperty = exports.DeviceRecordingRetriggerIntervalFloodlightProperty = void 0;
|
|
8
|
+
exports.DeviceSoundProperty = exports.DeviceScramblePasscodeSmartSafeProperty = exports.DeviceScramblePasscodeProperty = exports.DeviceWrongTryAttemptsSmartSafeProperty = exports.DeviceWrongTryAttemptsProperty = exports.DeviceWrongTryLockdownTimeSmartSafeProperty = exports.DeviceWrongTryLockdownTimeProperty = exports.DeviceWrongTryProtectionSmartSafeProperty = exports.DeviceWrongTryProtectionProperty = exports.DeviceOneTouchLockingProperty = exports.DeviceAutoLockScheduleEndTimeProperty = exports.DeviceAutoLockScheduleStartTimeProperty = exports.DeviceAutoLockScheduleProperty = exports.DeviceAutoLockTimerProperty = exports.DeviceAutoLockProperty = exports.DeviceAutoCalibrationProperty = exports.DeviceVideoColorNightvisionProperty = exports.DeviceVideoNightvisionImageAdjustmentProperty = exports.DeviceLightSettingsMotionActivationModeT8425Property = exports.DeviceLightSettingsMotionActivationModeProperty = exports.DeviceLightSettingsColorTemperatureScheduleProperty = exports.DeviceLightSettingsColorTemperatureMotionProperty = exports.DeviceLightSettingsColorTemperatureManualProperty = exports.DeviceMotionOutOfViewDetectionProperty = exports.DeviceMotionAutoCruiseProperty = exports.DeviceMotionTrackingSensitivityProperty = exports.DeviceMotionDetectionTestModeT8425Property = exports.DeviceMotionDetectionTestModeProperty = exports.DeviceMotionDetectionRangeAdvancedRightSensitivityT8425Property = exports.DeviceMotionDetectionRangeAdvancedRightSensitivityProperty = exports.DeviceMotionDetectionRangeAdvancedMiddleSensitivityProperty = exports.DeviceMotionDetectionRangeAdvancedLeftSensitivityT8425Property = exports.DeviceMotionDetectionRangeAdvancedLeftSensitivityProperty = exports.DeviceMotionDetectionRangeStandardSensitivityT8425Property = exports.DeviceMotionDetectionRangeStandardSensitivityProperty = exports.DeviceMotionDetectionRangeT8425Property = exports.DeviceMotionDetectionRangeProperty = exports.DeviceVideoRingRecordWiredDoorbellProperty = exports.DeviceVideoDistortionCorrectionWiredDoorbellProperty = exports.DeviceVideoHDRWiredDoorbellProperty = exports.DeviceChirpToneEntrySensorProperty = exports.DeviceChirpVolumeEntrySensorProperty = exports.DeviceNotificationMotionWiredDoorbellProperty = exports.DeviceNotificationRadarDetectorProperty = exports.DeviceNotificationMotionProperty = exports.DeviceNotificationRingWiredDoorbellProperty = exports.DeviceNotificationRingProperty = exports.DeviceNotificationCryingProperty = exports.DeviceNotificationAllSoundProperty = exports.DeviceNotificationAllOtherMotionWalllightProperty = void 0;
|
|
9
|
+
exports.DeviceSoundDetectionRoundLookS350Property = exports.DeviceSoundDetectionRoundLookProperty = exports.DeviceNotificationIntervalTimeProperty = exports.DeviceDefaultAngleIdleTimeProperty = exports.DeviceDefaultAngleProperty = exports.DeviceContinuousRecordingTypeProperty = exports.DeviceContinuousRecordingProperty = exports.DeviceRingAutoResponseTimeToProperty = exports.DeviceRingAutoResponseTimeFromProperty = exports.DeviceRingAutoResponseVoiceResponseVoiceProperty = exports.DeviceRingAutoResponseVoiceResponseProperty = exports.DeviceRingAutoResponseProperty = exports.DeviceDualCamWatchViewModeS340Property = exports.DeviceDualCamWatchViewModeE340Property = exports.DeviceDualCamWatchViewModeProperty = exports.DeviceDeliveryGuardPackageLiveCheckAssistanceProperty = exports.DeviceDeliveryGuardUncollectedPackageAlertTimeToCheckProperty = exports.DeviceDeliveryGuardUncollectedPackageAlertProperty = exports.DeviceDeliveryGuardPackageGuardingActivatedTimeToProperty = exports.DeviceDeliveryGuardPackageGuardingActivatedTimeFromProperty = exports.DeviceDeliveryGuardPackageGuardingVoiceResponseVoiceProperty = exports.DeviceDeliveryGuardPackageGuardingProperty = exports.DeviceDeliveryGuardProperty = exports.DeviceLoiteringCustomResponseTimeToProperty = exports.DeviceLoiteringCustomResponseTimeFromProperty = exports.DeviceLoiteringCustomResponseHomeBaseNotificationProperty = exports.DeviceLoiteringCustomResponseAutoVoiceResponseVoiceProperty = exports.DeviceLoiteringCustomResponseAutoVoiceResponseProperty = exports.DeviceLoiteringCustomResponsePhoneNotificationProperty = exports.DeviceMotionDetectionSensitivityAdvancedHProperty = exports.DeviceMotionDetectionSensitivityAdvancedGProperty = exports.DeviceMotionDetectionSensitivityAdvancedFProperty = exports.DeviceMotionDetectionSensitivityAdvancedEProperty = exports.DeviceMotionDetectionSensitivityAdvancedDProperty = exports.DeviceMotionDetectionSensitivityAdvancedCProperty = exports.DeviceMotionDetectionSensitivityAdvancedBProperty = exports.DeviceMotionDetectionSensitivityAdvancedAProperty = exports.DeviceMotionDetectionSensitivityStandardProperty = exports.DeviceMotionDetectionSensitivityModeProperty = exports.DeviceLoiteringDetectionLengthProperty = exports.DeviceLoiteringDetectionRangeProperty = exports.DeviceLoiteringDetectionProperty = exports.DeviceNotificationLockedSmartLockProperty = exports.DeviceNotificationLockedProperty = exports.DeviceNotificationUnlockedSmartLockProperty = exports.DeviceNotificationUnlockedProperty = exports.DeviceNotificationWalllightProperty = exports.DeviceNotificationSmartLockProperty = exports.DeviceNotificationProperty = exports.DeviceSoundSimpleProperty = void 0;
|
|
10
|
+
exports.DeviceVehicleDetectedProperty = exports.DeviceStrangerPersonDetectedProperty = exports.DeviceIdentityPersonDetectedProperty = exports.DevicePersonNameProperty = exports.DeviceSnoozeChimeProperty = exports.DeviceSnoozeMotionProperty = exports.DeviceSnoozeHomebaseProperty = exports.DeviceSnoozeStartTimeWiredDoorbellProperty = exports.DeviceSnoozeStartTimeProperty = exports.DeviceSnoozeTimeProperty = exports.DeviceSnoozeProperty = exports.DeviceVideoTypeStoreToNASProperty = exports.DeviceWrongTryProtectAlertProperty = exports.DeviceLongTimeNotCloseAlertProperty = exports.DeviceLowBatteryAlertProperty = exports.DeviceShakeAlertEventProperty = exports.DeviceShakeAlertProperty = exports.Device911AlertEventProperty = exports.Device911AlertProperty = exports.DeviceJammedAlertProperty = exports.DeviceNotificationJammedProperty = exports.DeviceNotificationWrongTryProtectProperty = exports.DeviceNotificationDualLockProperty = exports.DeviceNotificationDualUnlockProperty = exports.DeviceNotificationUnlockByAppProperty = exports.DeviceNotificationUnlockByFingerprintProperty = exports.DeviceNotificationUnlockByPINProperty = exports.DeviceNotificationUnlockByKeyProperty = exports.DeviceAlarmVolumeProperty = exports.DevicePromptVolumeProperty = exports.DeviceRemoteUnlockMasterPINProperty = exports.DeviceRemoteUnlockProperty = exports.DeviceTamperAlarmProperty = exports.DeviceInteriorBrightnessDurationProperty = exports.DeviceInteriorBrightnessProperty = exports.DevicePowerSaveProperty = exports.DeviceDualUnlockProperty = exports.DeviceLeftOpenAlarmDurationProperty = exports.DeviceLeftOpenAlarmProperty = exports.DeviceRadarMotionDetectedProperty = exports.DeviceSomeoneLoiteringProperty = exports.DevicePackageTakenProperty = exports.DevicePackageStrandedProperty = exports.DevicePackageDeliveredProperty = exports.StationOffSecuritySettings = exports.StationCustom3SecuritySettings = exports.StationCustom2SecuritySettings = exports.StationCustom1SecuritySettings = exports.StationAwaySecuritySettings = exports.StationHomeSecuritySettings = void 0;
|
|
11
|
+
exports.DeviceNotificationCryingS350Property = exports.DeviceNotificationAllSoundS350Property = exports.DeviceNotificationAllOtherMotionS350Property = exports.DeviceNotificationPetS350Property = exports.DeviceNotificationPersonS350Property = exports.DeviceFlickerAdjustmentProperty = exports.DeviceFindPhoneProperty = exports.DeviceLeftBehindAlarmProperty = exports.DeviceTrackerTypeProperty = exports.DeviceLocationLastUpdateProperty = exports.DeviceLocationAddressProperty = exports.DeviceLocationCoordinatesProperty = exports.DeviceDoorSensor2BatteryLevelProperty = exports.DeviceDoorSensor1BatteryLevelProperty = exports.DeviceDoorSensor2LowBatteryProperty = exports.DeviceDoorSensor1LowBatteryProperty = exports.DeviceDoorSensor2VersionProperty = exports.DeviceDoorSensor1VersionProperty = exports.DeviceDoorSensor2SerialNumberProperty = exports.DeviceDoorSensor1SerialNumberProperty = exports.DeviceDoorSensor2NameProperty = exports.DeviceDoorSensor1NameProperty = exports.DeviceDoorSensor2MacAddressProperty = exports.DeviceDoorSensor1MacAddressProperty = exports.DeviceDoorSensor2StatusProperty = exports.DeviceDoorSensor1StatusProperty = exports.DeviceDoor2OpenProperty = exports.DeviceDoor1OpenProperty = exports.DeviceDoorControlWarningProperty = exports.DeviceLightSettingsDynamicLightingThemesProperty = exports.DeviceLightSettingsColoredLightingColorsProperty = exports.DeviceLightSettingsScheduleLightingActiveModeProperty = exports.DeviceLightSettingsScheduleDynamicLightingProperty = exports.DeviceLightSettingsScheduleColoredLightingProperty = exports.DeviceLightSettingsScheduleDailyLightingProperty = exports.DeviceLightSettingsMotionLightingActiveModeProperty = exports.DeviceLightSettingsMotionDynamicLightingProperty = exports.DeviceLightSettingsMotionColoredLightingProperty = exports.DeviceLightSettingsMotionDailyLightingProperty = exports.DeviceLightSettingsManualLightingActiveModeProperty = exports.DeviceLightSettingsManualDynamicLightingProperty = exports.DeviceLightSettingsManualColoredLightingProperty = exports.DeviceLightSettingsManualDailyLightingProperty = exports.DevicePictureProperty = exports.DeviceDetectionStatisticsRecordedEventsProperty = exports.DeviceDetectionStatisticsDetectedEventsProperty = exports.DeviceDetectionStatisticsWorkingDaysProperty = exports.DeviceDogPoopDetectedProperty = exports.DeviceDogLickDetectedProperty = exports.DeviceDogDetectedProperty = void 0;
|
|
12
|
+
exports.StationTimeFormatProperty = exports.StationNotificationStartAlarmDelayProperty = exports.StationNotificationSwitchModeKeypadProperty = exports.StationNotificationSwitchModeAppProperty = exports.StationNotificationSwitchModeGeofenceProperty = exports.StationNotificationSwitchModeScheduleProperty = exports.StationAlarmToneProperty = exports.StationPromptVolumeProperty = exports.StationAlarmVolumeWalllightProperty = exports.StationAlarmVolumeProperty = exports.StationMacAddressProperty = exports.StationLanIpAddressStandaloneProperty = exports.StationLanIpAddressProperty = exports.StationCurrentModeKeyPadProperty = exports.StationCurrentModeProperty = exports.StationGuardModeKeyPadProperty = exports.StationGuardModeProperty = exports.BaseStationProperties = exports.StationSerialNumberProperty = exports.StationModelProperty = exports.StationNameProperty = exports.DeviceProperties = exports.LockT8520PDeviceProperties = exports.LockT8510PDeviceProperties = exports.WiredDoorbellT8200XDeviceProperties = exports.FloodlightT8420XDeviceProperties = exports.DeviceDeliveriesProperty = exports.DeviceHasMasterPinProperty = exports.DeviceIsDeliveryDeniedProperty = exports.DeviceBatteryFullyChargedAlertProperty = exports.DevicePinIncorrectAlertProperty = exports.DeviceLidStuckAlertProperty = exports.DeviceHighTemperatureAlertProperty = exports.DeviceLowTemperatureAlertProperty = exports.DeviceTamperingAlertProperty = exports.DeviceOpenedByNameProperty = exports.DeviceOpenedByTypeProperty = exports.DeviceOpenProperty = exports.DeviceMotionActivatedPromptProperty = exports.DeviceOpenMethodProperty = exports.DeviceNightvisionOptimizationSideProperty = exports.DeviceNightvisionOptimizationProperty = exports.DeviceBeepVolumeProperty = exports.DeviceLockEventOriginProperty = exports.DeviceSomeoneGoingProperty = exports.DeviceLeavingReactionEndTimeProperty = exports.DeviceLeavingReactionStartTimeProperty = exports.DeviceLeavingReactionNotificationProperty = exports.DeviceLeavingDetectionProperty = exports.DeviceNotificationVehicleProperty = void 0;
|
|
13
|
+
exports.StationCommands = exports.DeviceCommands = exports.CommandName = exports.StationProperties = exports.StationCrossTrackingGroupListProperty = exports.StationCrossTrackingCameraListProperty = exports.StationTrackingAssistanceProperty = exports.StationCrossCameraTrackingProperty = exports.StationContinuousTrackingTimeProperty = exports.StationStorageInfoSdCardProperty = exports.StationStorageInfoHddProperty = exports.StationStorageInfoEmmcProperty = exports.StationSdAvailableCapacityProperty = exports.StationSdCapacityProperty = exports.StationSdStatusProperty = exports.StationAlarmDelayTypeProperty = exports.StationAlarmDelayProperty = exports.StationAlarmArmDelayProperty = exports.StationAlarmArmedProperty = exports.StationAlarmTypeProperty = exports.StationAlarmProperty = exports.StationTurnOffAlarmWithButtonProperty = exports.StationAutoEndAlarmProperty = exports.StationSwitchModeWithAccessCodeProperty = exports.StationTimeZoneProperty = void 0;
|
|
14
14
|
const types_1 = require("../p2p/types");
|
|
15
15
|
var DeviceType;
|
|
16
16
|
(function (DeviceType) {
|
|
@@ -50,6 +50,7 @@ var DeviceType;
|
|
|
50
50
|
DeviceType[DeviceType["INDOOR_OUTDOOR_CAMERA_1080P"] = 46] = "INDOOR_OUTDOOR_CAMERA_1080P";
|
|
51
51
|
DeviceType[DeviceType["FLOODLIGHT_CAMERA_8425"] = 47] = "FLOODLIGHT_CAMERA_8425";
|
|
52
52
|
DeviceType[DeviceType["OUTDOOR_PT_CAMERA"] = 48] = "OUTDOOR_PT_CAMERA";
|
|
53
|
+
DeviceType[DeviceType["CAMERA_E40"] = 49] = "CAMERA_E40";
|
|
53
54
|
DeviceType[DeviceType["LOCK_BLE"] = 50] = "LOCK_BLE";
|
|
54
55
|
DeviceType[DeviceType["LOCK_WIFI"] = 51] = "LOCK_WIFI";
|
|
55
56
|
DeviceType[DeviceType["LOCK_BLE_NO_FINGER"] = 52] = "LOCK_BLE_NO_FINGER";
|
|
@@ -78,6 +79,7 @@ var DeviceType;
|
|
|
78
79
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_S350"] = 104] = "INDOOR_PT_CAMERA_S350";
|
|
79
80
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_E30"] = 105] = "INDOOR_PT_CAMERA_E30";
|
|
80
81
|
DeviceType[DeviceType["CAMERA_FG"] = 110] = "CAMERA_FG";
|
|
82
|
+
DeviceType[DeviceType["ENTRY_SENSOR_E20"] = 126] = "ENTRY_SENSOR_E20";
|
|
81
83
|
DeviceType[DeviceType["CAMERA_GARAGE_T8453_COMMON"] = 131] = "CAMERA_GARAGE_T8453_COMMON";
|
|
82
84
|
DeviceType[DeviceType["CAMERA_GARAGE_T8452"] = 132] = "CAMERA_GARAGE_T8452";
|
|
83
85
|
DeviceType[DeviceType["CAMERA_GARAGE_T8453"] = 133] = "CAMERA_GARAGE_T8453";
|
|
@@ -94,7 +96,7 @@ var DeviceType;
|
|
|
94
96
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
|
|
95
97
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C210"] = 10009] = "INDOOR_PT_CAMERA_C210";
|
|
96
98
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220_V2"] = 10010] = "INDOOR_PT_CAMERA_C220_V2";
|
|
97
|
-
DeviceType[DeviceType["CAMERA_C35"] = 10035] = "CAMERA_C35";
|
|
99
|
+
DeviceType[DeviceType["CAMERA_C35"] = 10035] = "CAMERA_C35";
|
|
98
100
|
})(DeviceType || (exports.DeviceType = DeviceType = {}));
|
|
99
101
|
var ParamType;
|
|
100
102
|
(function (ParamType) {
|
|
@@ -384,6 +386,13 @@ var IndoorMiniDetectionTypes;
|
|
|
384
386
|
IndoorMiniDetectionTypes[IndoorMiniDetectionTypes["PERSON_DETECTION"] = 1] = "PERSON_DETECTION";
|
|
385
387
|
IndoorMiniDetectionTypes[IndoorMiniDetectionTypes["ALL_MOTION"] = 4] = "ALL_MOTION";
|
|
386
388
|
})(IndoorMiniDetectionTypes || (exports.IndoorMiniDetectionTypes = IndoorMiniDetectionTypes = {}));
|
|
389
|
+
var EufyCamC35DetectionTypes;
|
|
390
|
+
(function (EufyCamC35DetectionTypes) {
|
|
391
|
+
EufyCamC35DetectionTypes[EufyCamC35DetectionTypes["HUMAN_DETECTION"] = 3] = "HUMAN_DETECTION";
|
|
392
|
+
EufyCamC35DetectionTypes[EufyCamC35DetectionTypes["VEHICLE_DETECTION"] = 4] = "VEHICLE_DETECTION";
|
|
393
|
+
EufyCamC35DetectionTypes[EufyCamC35DetectionTypes["PET_DETECTION"] = 8] = "PET_DETECTION";
|
|
394
|
+
EufyCamC35DetectionTypes[EufyCamC35DetectionTypes["ALL_OTHER_MOTION"] = 32768] = "ALL_OTHER_MOTION";
|
|
395
|
+
})(EufyCamC35DetectionTypes || (exports.EufyCamC35DetectionTypes = EufyCamC35DetectionTypes = {}));
|
|
387
396
|
var IndoorS350NotificationTypes;
|
|
388
397
|
(function (IndoorS350NotificationTypes) {
|
|
389
398
|
IndoorS350NotificationTypes[IndoorS350NotificationTypes["ALL_OTHER_MOTION"] = 801] = "ALL_OTHER_MOTION";
|
|
@@ -517,7 +526,6 @@ var PresetPositionType;
|
|
|
517
526
|
PresetPositionType[PresetPositionType["PRESET_3"] = 2] = "PRESET_3";
|
|
518
527
|
PresetPositionType[PresetPositionType["PRESET_4"] = 3] = "PRESET_4";
|
|
519
528
|
})(PresetPositionType || (exports.PresetPositionType = PresetPositionType = {}));
|
|
520
|
-
;
|
|
521
529
|
var DeviceEvent;
|
|
522
530
|
(function (DeviceEvent) {
|
|
523
531
|
DeviceEvent[DeviceEvent["MotionDetected"] = 0] = "MotionDetected";
|
|
@@ -992,6 +1000,7 @@ exports.GenericTypeProperty = {
|
|
|
992
1000
|
102: "Camera Snail",
|
|
993
1001
|
104: "Indoor Camera S350",
|
|
994
1002
|
110: "Starlight 4G LTE", //T8150
|
|
1003
|
+
126: "Entry Sensor E20",
|
|
995
1004
|
131: "Camera Garage T8453 Common",
|
|
996
1005
|
132: "Garage-Control Cam E110 (T8452)",
|
|
997
1006
|
133: "Garage-Control Cam E120 (T8453)",
|
|
@@ -1137,6 +1146,14 @@ exports.DeviceNightvisionS350Property = {
|
|
|
1137
1146
|
3: "On",
|
|
1138
1147
|
},
|
|
1139
1148
|
};
|
|
1149
|
+
exports.DeviceNightvisionCameraC35Property = {
|
|
1150
|
+
...exports.DeviceNightvisionProperty,
|
|
1151
|
+
states: {
|
|
1152
|
+
0: "PureColor",
|
|
1153
|
+
1: "Infrared",
|
|
1154
|
+
2: "Spotlight",
|
|
1155
|
+
},
|
|
1156
|
+
};
|
|
1140
1157
|
exports.DeviceWifiRSSIProperty = {
|
|
1141
1158
|
key: types_1.CommandType.CMD_GET_WIFI_RSSI,
|
|
1142
1159
|
name: PropertyName.DeviceWifiRSSI,
|
|
@@ -1244,7 +1261,7 @@ exports.DeviceEnabledProperty = {
|
|
|
1244
1261
|
writeable: true,
|
|
1245
1262
|
type: "boolean",
|
|
1246
1263
|
commandId: types_1.CommandType.CMD_DEVS_SWITCH,
|
|
1247
|
-
default: true
|
|
1264
|
+
default: true,
|
|
1248
1265
|
};
|
|
1249
1266
|
exports.DeviceEnabledStandaloneProperty = {
|
|
1250
1267
|
...exports.DeviceEnabledProperty,
|
|
@@ -1416,7 +1433,7 @@ exports.DeviceStateProperty = {
|
|
|
1416
1433
|
3: "Offline low battery",
|
|
1417
1434
|
4: "Remove and readd",
|
|
1418
1435
|
5: "Reset and readd",
|
|
1419
|
-
}
|
|
1436
|
+
},
|
|
1420
1437
|
};
|
|
1421
1438
|
exports.DeviceStateLockProperty = {
|
|
1422
1439
|
...exports.DeviceStateProperty,
|
|
@@ -1581,7 +1598,7 @@ exports.DeviceBasicLockStatusProperty = {
|
|
|
1581
1598
|
5: "Mechanical anomaly",
|
|
1582
1599
|
6: "6",
|
|
1583
1600
|
7: "7",
|
|
1584
|
-
}
|
|
1601
|
+
},
|
|
1585
1602
|
};
|
|
1586
1603
|
exports.DeviceAdvancedLockStatusProperty = {
|
|
1587
1604
|
...exports.DeviceBasicLockStatusProperty,
|
|
@@ -1798,29 +1815,30 @@ exports.DeviceMotionZoneProperty = {
|
|
|
1798
1815
|
writeable: true,
|
|
1799
1816
|
type: "object",
|
|
1800
1817
|
default: {
|
|
1801
|
-
polygens: []
|
|
1818
|
+
polygens: [],
|
|
1802
1819
|
},
|
|
1803
1820
|
isValidObject: (obj) => {
|
|
1804
1821
|
if (typeof obj === "object" && "polygens" in obj) {
|
|
1805
1822
|
if (Array.isArray(obj.polygens)) {
|
|
1806
|
-
return (obj.polygens.length > 0 &&
|
|
1823
|
+
return ((obj.polygens.length > 0 &&
|
|
1807
1824
|
obj.polygens.every((value) => {
|
|
1808
|
-
return typeof value === "object" &&
|
|
1825
|
+
return (typeof value === "object" &&
|
|
1809
1826
|
"points" in value &&
|
|
1810
1827
|
Array.isArray(value.points) &&
|
|
1811
1828
|
value.points.length > 0 &&
|
|
1812
1829
|
value.points.every((point) => {
|
|
1813
|
-
return typeof point === "object" &&
|
|
1830
|
+
return (typeof point === "object" &&
|
|
1814
1831
|
"x" in point &&
|
|
1815
1832
|
"y" in point &&
|
|
1816
1833
|
typeof point.x === "number" &&
|
|
1817
|
-
typeof point.y === "number";
|
|
1818
|
-
});
|
|
1819
|
-
})) ||
|
|
1834
|
+
typeof point.y === "number");
|
|
1835
|
+
}));
|
|
1836
|
+
})) ||
|
|
1837
|
+
obj.polygens.length === 0);
|
|
1820
1838
|
}
|
|
1821
1839
|
}
|
|
1822
1840
|
return false;
|
|
1823
|
-
}
|
|
1841
|
+
},
|
|
1824
1842
|
};
|
|
1825
1843
|
exports.DeviceFloodlightLightProperty = {
|
|
1826
1844
|
key: types_1.CommandType.CMD_SET_FLOODLIGHT_MANUAL_SWITCH,
|
|
@@ -1904,7 +1922,7 @@ exports.DeviceFloodlightLightSettingsMotionTriggeredProperty = {
|
|
|
1904
1922
|
};
|
|
1905
1923
|
exports.DeviceFloodlightLightSettingsMotionTriggeredT8425Property = {
|
|
1906
1924
|
...exports.DeviceFloodlightLightSettingsMotionTriggeredProperty,
|
|
1907
|
-
key: types_1.CommandType.CMD_SET_LIGHT_CTRL_BRIGHT_PIR_T8425
|
|
1925
|
+
key: types_1.CommandType.CMD_SET_LIGHT_CTRL_BRIGHT_PIR_T8425,
|
|
1908
1926
|
};
|
|
1909
1927
|
exports.DeviceFloodlightLightSettingsMotionTriggeredDistanceProperty = {
|
|
1910
1928
|
key: types_1.CommandType.CMD_SET_PIRSENSITIVITY,
|
|
@@ -2000,7 +2018,7 @@ exports.DeviceSpeakerVolumeProperty = {
|
|
|
2000
2018
|
states: {
|
|
2001
2019
|
90: "Low",
|
|
2002
2020
|
92: "Medium",
|
|
2003
|
-
93: "High"
|
|
2021
|
+
93: "High",
|
|
2004
2022
|
},
|
|
2005
2023
|
};
|
|
2006
2024
|
exports.DeviceSpeakerVolumeSoloProperty = {
|
|
@@ -2008,7 +2026,7 @@ exports.DeviceSpeakerVolumeSoloProperty = {
|
|
|
2008
2026
|
states: {
|
|
2009
2027
|
70: "Low",
|
|
2010
2028
|
80: "Medium",
|
|
2011
|
-
100: "High"
|
|
2029
|
+
100: "High",
|
|
2012
2030
|
},
|
|
2013
2031
|
};
|
|
2014
2032
|
exports.DeviceSpeakerVolumeCamera3Property = {
|
|
@@ -2016,7 +2034,7 @@ exports.DeviceSpeakerVolumeCamera3Property = {
|
|
|
2016
2034
|
states: {
|
|
2017
2035
|
90: "Low",
|
|
2018
2036
|
95: "Medium",
|
|
2019
|
-
100: "High"
|
|
2037
|
+
100: "High",
|
|
2020
2038
|
},
|
|
2021
2039
|
};
|
|
2022
2040
|
exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty = {
|
|
@@ -2045,7 +2063,7 @@ exports.DeviceSpeakerVolumeWalllightProperty = {
|
|
|
2045
2063
|
states: {
|
|
2046
2064
|
1: "Low",
|
|
2047
2065
|
2: "Medium",
|
|
2048
|
-
3: "High"
|
|
2066
|
+
3: "High",
|
|
2049
2067
|
},
|
|
2050
2068
|
};
|
|
2051
2069
|
exports.DeviceSpeakerVolumeSmartDropProperty = {
|
|
@@ -2053,7 +2071,7 @@ exports.DeviceSpeakerVolumeSmartDropProperty = {
|
|
|
2053
2071
|
states: {
|
|
2054
2072
|
75: "Low",
|
|
2055
2073
|
85: "Medium",
|
|
2056
|
-
100: "High"
|
|
2074
|
+
100: "High",
|
|
2057
2075
|
},
|
|
2058
2076
|
};
|
|
2059
2077
|
exports.DeviceRingtoneVolumeBatteryDoorbellProperty = {
|
|
@@ -2145,7 +2163,7 @@ exports.DeviceRecordingClipLengthProperty = {
|
|
|
2145
2163
|
min: 5,
|
|
2146
2164
|
max: 120,
|
|
2147
2165
|
default: 60,
|
|
2148
|
-
unit: "sec"
|
|
2166
|
+
unit: "sec",
|
|
2149
2167
|
};
|
|
2150
2168
|
exports.DeviceRecordingClipLengthFloodlightProperty = {
|
|
2151
2169
|
...exports.DeviceRecordingClipLengthProperty,
|
|
@@ -2243,8 +2261,8 @@ exports.DeviceVideoStreamingQualityCameraC35Property = {
|
|
|
2243
2261
|
states: {
|
|
2244
2262
|
0: "Auto",
|
|
2245
2263
|
1: "High",
|
|
2246
|
-
2: "Medium"
|
|
2247
|
-
}
|
|
2264
|
+
2: "Medium",
|
|
2265
|
+
},
|
|
2248
2266
|
};
|
|
2249
2267
|
exports.DeviceVideoStreamingQualityCameraProperty = {
|
|
2250
2268
|
...exports.DeviceVideoStreamingQualityProperty,
|
|
@@ -2266,7 +2284,7 @@ exports.DeviceVideoStreamingQualityCamera3Property = {
|
|
|
2266
2284
|
6: "Low",
|
|
2267
2285
|
7: "Medium",
|
|
2268
2286
|
8: "High",
|
|
2269
|
-
10: "Ultra 4K"
|
|
2287
|
+
10: "Ultra 4K",
|
|
2270
2288
|
},
|
|
2271
2289
|
};
|
|
2272
2290
|
exports.DeviceVideoStreamingQualityCameraProfessionalProperty = {
|
|
@@ -2276,7 +2294,7 @@ exports.DeviceVideoStreamingQualityCameraProfessionalProperty = {
|
|
|
2276
2294
|
6: "720P",
|
|
2277
2295
|
7: "1080P",
|
|
2278
2296
|
8: "2K",
|
|
2279
|
-
10: "Ultra 4K"
|
|
2297
|
+
10: "Ultra 4K",
|
|
2280
2298
|
},
|
|
2281
2299
|
};
|
|
2282
2300
|
exports.DeviceVideoStreamingQualityDoorbellE340Property = {
|
|
@@ -2291,7 +2309,7 @@ exports.DeviceVideoStreamingQualityS350Property = {
|
|
|
2291
2309
|
1: "HD (720P)",
|
|
2292
2310
|
2: "Full HD (1080P)",
|
|
2293
2311
|
3: "2K HD",
|
|
2294
|
-
4: "Ultra 4K"
|
|
2312
|
+
4: "Ultra 4K",
|
|
2295
2313
|
},
|
|
2296
2314
|
};
|
|
2297
2315
|
exports.DeviceVideoStreamingQualityS340Property = {
|
|
@@ -2403,6 +2421,15 @@ exports.DeviceVideoRecordingQualityCamera3Property = {
|
|
|
2403
2421
|
3: "Ultra 4K",
|
|
2404
2422
|
},
|
|
2405
2423
|
};
|
|
2424
|
+
exports.DeviceVideoRecordingQualityCameraC35Property = {
|
|
2425
|
+
...exports.DeviceVideoRecordingQualityIndoorProperty,
|
|
2426
|
+
key: types_1.IndoorSoloSmartdropCommandType.CMD_VIDEO_RECORD_QUALITY,
|
|
2427
|
+
states: {
|
|
2428
|
+
2: "Medium",
|
|
2429
|
+
3: "High",
|
|
2430
|
+
},
|
|
2431
|
+
commandId: types_1.CommandType.CMD_SET_RECORD_QUALITY,
|
|
2432
|
+
};
|
|
2406
2433
|
exports.DeviceVideoRecordingQualitySoloProperty = {
|
|
2407
2434
|
...exports.DeviceVideoRecordingQualityIndoorProperty,
|
|
2408
2435
|
key: types_1.IndoorSoloSmartdropCommandType.CMD_VIDEO_RECORD_QUALITY,
|
|
@@ -2419,6 +2446,13 @@ exports.DeviceVideoRecordingQualitySoloCamerasHB3Property = {
|
|
|
2419
2446
|
2: "Full HD (1080P)",
|
|
2420
2447
|
},
|
|
2421
2448
|
};
|
|
2449
|
+
exports.DeviceVideoRecordingQualityCameraC35HB3Property = {
|
|
2450
|
+
...exports.DeviceVideoRecordingQualityWalllightProperty,
|
|
2451
|
+
states: {
|
|
2452
|
+
2: "Medium",
|
|
2453
|
+
3: "High",
|
|
2454
|
+
},
|
|
2455
|
+
};
|
|
2422
2456
|
exports.DeviceVideoRecordingQualityT8530Property = {
|
|
2423
2457
|
...exports.DeviceVideoRecordingQualityIndoorProperty,
|
|
2424
2458
|
key: types_1.CommandType.CMD_SET_RECORD_QUALITY,
|
|
@@ -2543,7 +2577,7 @@ exports.DeviceRotationSpeedProperty = {
|
|
|
2543
2577
|
4: "High",
|
|
2544
2578
|
5: "Max",
|
|
2545
2579
|
},
|
|
2546
|
-
default: 3
|
|
2580
|
+
default: 3,
|
|
2547
2581
|
};
|
|
2548
2582
|
exports.DeviceImageMirroredProperty = {
|
|
2549
2583
|
key: types_1.CommandType.CMD_SET_MIRRORMODE,
|
|
@@ -2693,7 +2727,7 @@ exports.DeviceChirpToneEntrySensorProperty = {
|
|
|
2693
2727
|
2: "Classic",
|
|
2694
2728
|
3: "Light",
|
|
2695
2729
|
4: "Ding",
|
|
2696
|
-
}
|
|
2730
|
+
},
|
|
2697
2731
|
};
|
|
2698
2732
|
exports.DeviceVideoHDRWiredDoorbellProperty = {
|
|
2699
2733
|
key: ParamType.DOORBELL_HDR,
|
|
@@ -2722,7 +2756,7 @@ exports.DeviceVideoRingRecordWiredDoorbellProperty = {
|
|
|
2722
2756
|
0: "Disabled",
|
|
2723
2757
|
1: "Enabled - Recording Quality Preferred",
|
|
2724
2758
|
2: "Enabled - Streaming Quality Preferred",
|
|
2725
|
-
}
|
|
2759
|
+
},
|
|
2726
2760
|
};
|
|
2727
2761
|
exports.DeviceMotionDetectionRangeProperty = {
|
|
2728
2762
|
key: types_1.CommandType.CMD_FLOODLIGHT_SET_DETECTION_RANGE,
|
|
@@ -3394,8 +3428,8 @@ exports.DeviceContinuousRecordingTypeProperty = {
|
|
|
3394
3428
|
type: "number",
|
|
3395
3429
|
states: {
|
|
3396
3430
|
0: "Always",
|
|
3397
|
-
1: "Schedule"
|
|
3398
|
-
}
|
|
3431
|
+
1: "Schedule",
|
|
3432
|
+
},
|
|
3399
3433
|
};
|
|
3400
3434
|
exports.DeviceDefaultAngleProperty = {
|
|
3401
3435
|
key: types_1.CommandType.CMD_INDOOR_DEFAULT_ANGLE_ENABLE,
|
|
@@ -3439,7 +3473,7 @@ exports.DeviceNotificationIntervalTimeProperty = {
|
|
|
3439
3473
|
180: "3",
|
|
3440
3474
|
240: "4",
|
|
3441
3475
|
300: "5",
|
|
3442
|
-
}
|
|
3476
|
+
},
|
|
3443
3477
|
};
|
|
3444
3478
|
exports.DeviceSoundDetectionRoundLookProperty = {
|
|
3445
3479
|
key: types_1.CommandType.CMD_INDOOR_SET_SOUND_DETECT_ROUND_LOOK,
|
|
@@ -4011,7 +4045,13 @@ exports.DeviceLightSettingsManualColoredLightingProperty = {
|
|
|
4011
4045
|
writeable: true,
|
|
4012
4046
|
type: "object",
|
|
4013
4047
|
isValidObject: (obj) => {
|
|
4014
|
-
return typeof obj === "object" &&
|
|
4048
|
+
return (typeof obj === "object" &&
|
|
4049
|
+
"red" in obj &&
|
|
4050
|
+
"green" in obj &&
|
|
4051
|
+
"blue" in obj &&
|
|
4052
|
+
typeof obj.red === "number" &&
|
|
4053
|
+
typeof obj.green === "number" &&
|
|
4054
|
+
typeof obj.blue === "number");
|
|
4015
4055
|
},
|
|
4016
4056
|
};
|
|
4017
4057
|
exports.DeviceLightSettingsManualDynamicLightingProperty = {
|
|
@@ -4056,7 +4096,13 @@ exports.DeviceLightSettingsMotionColoredLightingProperty = {
|
|
|
4056
4096
|
writeable: true,
|
|
4057
4097
|
type: "object",
|
|
4058
4098
|
isValidObject: (obj) => {
|
|
4059
|
-
return typeof obj === "object" &&
|
|
4099
|
+
return (typeof obj === "object" &&
|
|
4100
|
+
"red" in obj &&
|
|
4101
|
+
"green" in obj &&
|
|
4102
|
+
"blue" in obj &&
|
|
4103
|
+
typeof obj.red === "number" &&
|
|
4104
|
+
typeof obj.green === "number" &&
|
|
4105
|
+
typeof obj.blue === "number");
|
|
4060
4106
|
},
|
|
4061
4107
|
};
|
|
4062
4108
|
exports.DeviceLightSettingsMotionDynamicLightingProperty = {
|
|
@@ -4101,7 +4147,13 @@ exports.DeviceLightSettingsScheduleColoredLightingProperty = {
|
|
|
4101
4147
|
writeable: true,
|
|
4102
4148
|
type: "object",
|
|
4103
4149
|
isValidObject: (obj) => {
|
|
4104
|
-
return typeof obj === "object" &&
|
|
4150
|
+
return (typeof obj === "object" &&
|
|
4151
|
+
"red" in obj &&
|
|
4152
|
+
"green" in obj &&
|
|
4153
|
+
"blue" in obj &&
|
|
4154
|
+
typeof obj.red === "number" &&
|
|
4155
|
+
typeof obj.green === "number" &&
|
|
4156
|
+
typeof obj.blue === "number");
|
|
4105
4157
|
},
|
|
4106
4158
|
};
|
|
4107
4159
|
exports.DeviceLightSettingsScheduleDynamicLightingProperty = {
|
|
@@ -4134,9 +4186,9 @@ exports.DeviceLightSettingsColoredLightingColorsProperty = {
|
|
|
4134
4186
|
type: "object",
|
|
4135
4187
|
isValidObject: (obj) => {
|
|
4136
4188
|
if (Array.isArray(obj)) {
|
|
4137
|
-
return obj.length > 0 &&
|
|
4189
|
+
return (obj.length > 0 &&
|
|
4138
4190
|
obj.every((value) => {
|
|
4139
|
-
return typeof value === "object" &&
|
|
4191
|
+
return (typeof value === "object" &&
|
|
4140
4192
|
"red" in value &&
|
|
4141
4193
|
"green" in value &&
|
|
4142
4194
|
"blue" in value &&
|
|
@@ -4148,8 +4200,8 @@ exports.DeviceLightSettingsColoredLightingColorsProperty = {
|
|
|
4148
4200
|
value.green <= 255 &&
|
|
4149
4201
|
typeof value.blue === "number" &&
|
|
4150
4202
|
value.blue >= 0 &&
|
|
4151
|
-
value.blue <= 255;
|
|
4152
|
-
});
|
|
4203
|
+
value.blue <= 255);
|
|
4204
|
+
}));
|
|
4153
4205
|
}
|
|
4154
4206
|
return false;
|
|
4155
4207
|
},
|
|
@@ -4163,9 +4215,9 @@ exports.DeviceLightSettingsDynamicLightingThemesProperty = {
|
|
|
4163
4215
|
type: "object",
|
|
4164
4216
|
isValidObject: (obj) => {
|
|
4165
4217
|
if (Array.isArray(obj)) {
|
|
4166
|
-
return obj.length > 0 &&
|
|
4218
|
+
return (obj.length > 0 &&
|
|
4167
4219
|
obj.every((value) => {
|
|
4168
|
-
return typeof value === "object" &&
|
|
4220
|
+
return (typeof value === "object" &&
|
|
4169
4221
|
"name" in value &&
|
|
4170
4222
|
"mode" in value &&
|
|
4171
4223
|
"speed" in value &&
|
|
@@ -4180,7 +4232,7 @@ exports.DeviceLightSettingsDynamicLightingThemesProperty = {
|
|
|
4180
4232
|
value.colors.length > 0 &&
|
|
4181
4233
|
value.colors.length <= 5 &&
|
|
4182
4234
|
value.colors.every((value) => {
|
|
4183
|
-
return typeof value === "object" &&
|
|
4235
|
+
return (typeof value === "object" &&
|
|
4184
4236
|
"red" in value &&
|
|
4185
4237
|
"green" in value &&
|
|
4186
4238
|
"blue" in value &&
|
|
@@ -4192,9 +4244,9 @@ exports.DeviceLightSettingsDynamicLightingThemesProperty = {
|
|
|
4192
4244
|
value.green <= 255 &&
|
|
4193
4245
|
typeof value.blue === "number" &&
|
|
4194
4246
|
value.blue >= 0 &&
|
|
4195
|
-
value.blue <= 255;
|
|
4196
|
-
});
|
|
4197
|
-
});
|
|
4247
|
+
value.blue <= 255);
|
|
4248
|
+
}));
|
|
4249
|
+
}));
|
|
4198
4250
|
}
|
|
4199
4251
|
return false;
|
|
4200
4252
|
},
|
|
@@ -4233,8 +4285,8 @@ exports.DeviceDoorSensor1StatusProperty = {
|
|
|
4233
4285
|
type: "number",
|
|
4234
4286
|
states: {
|
|
4235
4287
|
0: "Offline",
|
|
4236
|
-
1: "Online"
|
|
4237
|
-
}
|
|
4288
|
+
1: "Online",
|
|
4289
|
+
},
|
|
4238
4290
|
};
|
|
4239
4291
|
exports.DeviceDoorSensor2StatusProperty = {
|
|
4240
4292
|
key: types_1.CommandType.CMD_CAMERA_GARAGE_DOOR_SENSORS,
|
|
@@ -4245,9 +4297,9 @@ exports.DeviceDoorSensor2StatusProperty = {
|
|
|
4245
4297
|
type: "number",
|
|
4246
4298
|
states: {
|
|
4247
4299
|
0: "Offline",
|
|
4248
|
-
1: "Online"
|
|
4300
|
+
1: "Online",
|
|
4249
4301
|
},
|
|
4250
|
-
default: 0
|
|
4302
|
+
default: 0,
|
|
4251
4303
|
};
|
|
4252
4304
|
exports.DeviceDoorSensor1MacAddressProperty = {
|
|
4253
4305
|
key: types_1.CommandType.CMD_CAMERA_GARAGE_DOOR_SENSORS,
|
|
@@ -4348,7 +4400,7 @@ exports.DeviceDoorSensor1BatteryLevelProperty = {
|
|
|
4348
4400
|
type: "number",
|
|
4349
4401
|
min: 0,
|
|
4350
4402
|
max: 5,
|
|
4351
|
-
default: 0
|
|
4403
|
+
default: 0,
|
|
4352
4404
|
};
|
|
4353
4405
|
exports.DeviceDoorSensor2BatteryLevelProperty = {
|
|
4354
4406
|
key: types_1.CommandType.CMD_CAMERA_GARAGE_DOOR_SENSORS,
|
|
@@ -4359,7 +4411,7 @@ exports.DeviceDoorSensor2BatteryLevelProperty = {
|
|
|
4359
4411
|
type: "number",
|
|
4360
4412
|
min: 0,
|
|
4361
4413
|
max: 5,
|
|
4362
|
-
default: 0
|
|
4414
|
+
default: 0,
|
|
4363
4415
|
};
|
|
4364
4416
|
exports.DeviceLocationCoordinatesProperty = {
|
|
4365
4417
|
key: types_1.TrackerCommandType.COMMAND_NEW_LOCATION,
|
|
@@ -4386,7 +4438,7 @@ exports.DeviceLocationLastUpdateProperty = {
|
|
|
4386
4438
|
readable: true,
|
|
4387
4439
|
writeable: false,
|
|
4388
4440
|
type: "number",
|
|
4389
|
-
default: 0
|
|
4441
|
+
default: 0,
|
|
4390
4442
|
};
|
|
4391
4443
|
exports.DeviceTrackerTypeProperty = {
|
|
4392
4444
|
key: types_1.TrackerCommandType.TYPE_ICON_INDEX,
|
|
@@ -4406,7 +4458,7 @@ exports.DeviceTrackerTypeProperty = {
|
|
|
4406
4458
|
7: "Toy",
|
|
4407
4459
|
8: "Suitcase",
|
|
4408
4460
|
9: "Handbag",
|
|
4409
|
-
}
|
|
4461
|
+
},
|
|
4410
4462
|
};
|
|
4411
4463
|
exports.DeviceLeftBehindAlarmProperty = {
|
|
4412
4464
|
key: types_1.TrackerCommandType.COMMAND_ANTILOST,
|
|
@@ -4436,7 +4488,7 @@ exports.DeviceFlickerAdjustmentProperty = {
|
|
|
4436
4488
|
states: {
|
|
4437
4489
|
1: "50Hz",
|
|
4438
4490
|
2: "60Hz",
|
|
4439
|
-
}
|
|
4491
|
+
},
|
|
4440
4492
|
};
|
|
4441
4493
|
exports.DeviceNotificationPersonS350Property = {
|
|
4442
4494
|
key: types_1.CommandType.CMD_INDOOR_SET_MOTION_DETECTION_TYPE,
|
|
@@ -5381,6 +5433,7 @@ exports.DeviceProperties = {
|
|
|
5381
5433
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
5382
5434
|
},
|
|
5383
5435
|
[DeviceType.BATTERY_DOORBELL_PLUS]: {
|
|
5436
|
+
//T8213 2K Battery Dual Doorbell
|
|
5384
5437
|
...exports.GenericDeviceProperties,
|
|
5385
5438
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
5386
5439
|
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
@@ -5560,6 +5613,7 @@ exports.DeviceProperties = {
|
|
|
5560
5613
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
5561
5614
|
},
|
|
5562
5615
|
[DeviceType.BATTERY_DOORBELL_PLUS_E340]: {
|
|
5616
|
+
//T8023 E340 Dual Doorbell
|
|
5563
5617
|
...exports.GenericDeviceProperties,
|
|
5564
5618
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
5565
5619
|
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
@@ -5624,6 +5678,7 @@ exports.DeviceProperties = {
|
|
|
5624
5678
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
5625
5679
|
},
|
|
5626
5680
|
[DeviceType.DOORBELL_SOLO]: {
|
|
5681
|
+
//T8203
|
|
5627
5682
|
...exports.GenericDeviceProperties,
|
|
5628
5683
|
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
5629
5684
|
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
@@ -5765,6 +5820,7 @@ exports.DeviceProperties = {
|
|
|
5765
5820
|
[PropertyName.DeviceNightvisionOptimizationSide]: exports.DeviceNightvisionOptimizationSideProperty,
|
|
5766
5821
|
},
|
|
5767
5822
|
[DeviceType.FLOODLIGHT]: {
|
|
5823
|
+
// T8420 Firmware: 1.0.0.35 Hardware: 2.2 (20211219)
|
|
5768
5824
|
...exports.GenericDeviceProperties,
|
|
5769
5825
|
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
5770
5826
|
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
@@ -5836,6 +5892,7 @@ exports.DeviceProperties = {
|
|
|
5836
5892
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
5837
5893
|
},
|
|
5838
5894
|
[DeviceType.FLOODLIGHT_CAMERA_8423]: {
|
|
5895
|
+
// T8423 Firmware: 1.0.7.4 (20211219)
|
|
5839
5896
|
...exports.GenericDeviceProperties,
|
|
5840
5897
|
[PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
|
|
5841
5898
|
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
@@ -5888,6 +5945,7 @@ exports.DeviceProperties = {
|
|
|
5888
5945
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
5889
5946
|
},
|
|
5890
5947
|
[DeviceType.FLOODLIGHT_CAMERA_8424]: {
|
|
5948
|
+
// T8424 Firmware: 2.0.8.8 (20230807)
|
|
5891
5949
|
...exports.GenericDeviceProperties,
|
|
5892
5950
|
[PropertyName.DeviceEnabled]: exports.DeviceEnabledStandaloneProperty,
|
|
5893
5951
|
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
@@ -7646,67 +7704,113 @@ exports.DeviceProperties = {
|
|
|
7646
7704
|
[PropertyName.DeviceLeftBehindAlarm]: exports.DeviceLeftBehindAlarmProperty,
|
|
7647
7705
|
[PropertyName.DeviceFindPhone]: exports.DeviceFindPhoneProperty,
|
|
7648
7706
|
},
|
|
7649
|
-
[DeviceType.
|
|
7707
|
+
[DeviceType.CAMERA_E40]: {
|
|
7650
7708
|
...exports.GenericDeviceProperties,
|
|
7651
|
-
[PropertyName.
|
|
7709
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
7710
|
+
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
7711
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
7712
|
+
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
7713
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
7714
|
+
[PropertyName.DeviceAntitheftDetection]: exports.DeviceAntitheftDetectionProperty,
|
|
7715
|
+
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
7716
|
+
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
7717
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty,
|
|
7718
|
+
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
7719
|
+
[PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
|
|
7720
|
+
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualityCameraProperty,
|
|
7721
|
+
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityCamera2CProProperty,
|
|
7652
7722
|
[PropertyName.DevicePicture]: exports.DevicePictureProperty,
|
|
7653
7723
|
[PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
|
|
7654
|
-
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
7655
|
-
[PropertyName.DeviceNightvision]: exports.DeviceNightvisionProperty,
|
|
7656
|
-
[PropertyName.DeviceChimeIndoor]: exports.DeviceChimeIndoorBatteryDoorbellProperty,
|
|
7657
7724
|
[PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
|
|
7658
|
-
[PropertyName.
|
|
7659
|
-
[PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
|
|
7660
|
-
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
7725
|
+
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
7661
7726
|
[PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeProperty,
|
|
7662
|
-
[PropertyName.
|
|
7663
|
-
[PropertyName.
|
|
7664
|
-
[PropertyName.
|
|
7665
|
-
[PropertyName.
|
|
7727
|
+
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingProperty,
|
|
7728
|
+
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivityCamera2Property,
|
|
7729
|
+
[PropertyName.DeviceMotionDetectionType]: exports.DeviceMotionDetectionTypeProperty,
|
|
7730
|
+
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
7731
|
+
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
7732
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7733
|
+
[PropertyName.DevicePowerSource]: exports.DevicePowerSourceProperty,
|
|
7666
7734
|
[PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
|
|
7667
|
-
[PropertyName.
|
|
7668
|
-
[PropertyName.
|
|
7669
|
-
[PropertyName.
|
|
7670
|
-
[PropertyName.
|
|
7735
|
+
[PropertyName.DeviceChargingStatus]: exports.DeviceChargingStatusProperty,
|
|
7736
|
+
[PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthProperty,
|
|
7737
|
+
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
7738
|
+
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
7739
|
+
[PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeProperty,
|
|
7740
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
7741
|
+
[PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
|
|
7742
|
+
[PropertyName.DeviceLastChargingFalseEvents]: exports.DeviceLastChargingFalseEventsProperty,
|
|
7743
|
+
[PropertyName.DeviceLastChargingRecordedEvents]: exports.DeviceLastChargingRecordedEventsProperty,
|
|
7744
|
+
[PropertyName.DeviceLastChargingTotalEvents]: exports.DeviceLastChargingTotalEventsProperty,
|
|
7745
|
+
[PropertyName.DeviceBatteryUsageLastWeek]: exports.DeviceBatteryUsageLastWeekProperty,
|
|
7746
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
7747
|
+
[PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
|
|
7748
|
+
[PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
|
|
7749
|
+
},
|
|
7750
|
+
[DeviceType.CAMERA_C35]: {
|
|
7751
|
+
...exports.GenericDeviceProperties,
|
|
7752
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
7753
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
7754
|
+
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
7755
|
+
[PropertyName.DeviceChargingStatus]: exports.DeviceChargingStatusProperty,
|
|
7756
|
+
[PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
|
|
7757
|
+
[PropertyName.DeviceLastChargingRecordedEvents]: exports.DeviceLastChargingRecordedEventsProperty,
|
|
7758
|
+
[PropertyName.DeviceLastChargingTotalEvents]: exports.DeviceLastChargingTotalEventsProperty,
|
|
7759
|
+
[PropertyName.DeviceBatteryUsageLastWeek]: exports.DeviceBatteryUsageLastWeekProperty,
|
|
7760
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
7761
|
+
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
7762
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
7671
7763
|
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
7672
|
-
[PropertyName.
|
|
7673
|
-
[PropertyName.
|
|
7674
|
-
[PropertyName.
|
|
7764
|
+
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
7765
|
+
[PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
|
|
7766
|
+
[PropertyName.DeviceLightSettingsMotionTriggered]: exports.DeviceFloodlightLightSettingsMotionTriggeredT8425Property,
|
|
7767
|
+
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
7768
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
7769
|
+
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivitySoloProperty,
|
|
7675
7770
|
[PropertyName.DeviceMotionDetectionTypeHuman]: exports.DeviceMotionHB3DetectionTypeHumanProperty,
|
|
7676
7771
|
[PropertyName.DeviceMotionDetectionTypeVehicle]: exports.DeviceMotionHB3DetectionTypeVehicleProperty,
|
|
7677
|
-
[PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
|
|
7678
7772
|
[PropertyName.DeviceMotionDetectionTypePet]: exports.DeviceMotionHB3DetectionTypePetProperty,
|
|
7773
|
+
[PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
|
|
7774
|
+
[PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
|
|
7775
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
7776
|
+
[PropertyName.DeviceNightvision]: exports.DeviceNightvisionCameraC35Property,
|
|
7777
|
+
[PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
|
|
7778
|
+
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingIndoorSoloFloodlightProperty,
|
|
7779
|
+
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
7780
|
+
[PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty,
|
|
7679
7781
|
[PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthProperty,
|
|
7782
|
+
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
7783
|
+
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
7784
|
+
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityCameraC35Property,
|
|
7785
|
+
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualityCameraC35Property,
|
|
7786
|
+
[PropertyName.DevicePicture]: exports.DevicePictureProperty,
|
|
7787
|
+
[PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
|
|
7788
|
+
[PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeIndoorFloodlightProperty,
|
|
7680
7789
|
[PropertyName.DeviceNotificationPerson]: exports.DeviceNotificationPersonS350Property,
|
|
7681
7790
|
[PropertyName.DeviceNotificationPet]: exports.DeviceNotificationPetS350Property,
|
|
7791
|
+
[PropertyName.DeviceNotificationVehicle]: exports.DeviceNotificationVehicleProperty,
|
|
7682
7792
|
[PropertyName.DeviceNotificationAllOtherMotion]: exports.DeviceNotificationAllOtherMotionS350Property,
|
|
7683
|
-
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
7684
|
-
[PropertyName.DeviceContinuousRecording]: exports.DeviceContinuousRecordingProperty,
|
|
7685
|
-
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualityCameraC35Property,
|
|
7686
|
-
[PropertyName.DeviceRingtoneVolume]: exports.DeviceRingtoneVolumeBatteryDoorbellProperty,
|
|
7687
|
-
[PropertyName.DeviceChargingStatus]: exports.DeviceChargingStatusProperty,
|
|
7688
|
-
[PropertyName.DeviceVideoTypeStoreToNAS]: exports.DeviceVideoTypeStoreToNASProperty,
|
|
7689
|
-
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
7690
|
-
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
7691
|
-
[PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
|
|
7692
|
-
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingProperty,
|
|
7693
|
-
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoStreamingQualityCameraProperty,
|
|
7694
|
-
[PropertyName.DeviceChimeHomebase]: exports.DeviceChimeHomebaseBatteryDoorbellProperty,
|
|
7695
|
-
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeProperty,
|
|
7696
|
-
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
7697
|
-
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
7698
|
-
[PropertyName.DeviceMotionDetectionType]: exports.DeviceMotionDetectionTypeProperty,
|
|
7699
|
-
[PropertyName.DeviceVideoWDR]: exports.DeviceWDRProperty,
|
|
7700
|
-
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
7701
|
-
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
7702
|
-
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
7703
|
-
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivityCamera2Property,
|
|
7704
|
-
[PropertyName.DeviceChimeHomebaseRingtoneType]: exports.DeviceChimeHomebaseRingtoneTypeBatteryDoorbellProperty,
|
|
7705
|
-
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7706
|
-
[PropertyName.DeviceLightSettingsBrightnessMotion]: exports.DeviceFloodlightLightSettingsBrightnessMotionProperty,
|
|
7707
|
-
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
7708
|
-
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
7709
7793
|
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
7794
|
+
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
7795
|
+
[PropertyName.DevicePetDetected]: exports.DevicePetDetectedProperty,
|
|
7796
|
+
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
7797
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
7798
|
+
[PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
|
|
7799
|
+
[PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
|
|
7800
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7801
|
+
},
|
|
7802
|
+
[DeviceType.ENTRY_SENSOR_E20]: {
|
|
7803
|
+
...exports.GenericDeviceProperties,
|
|
7804
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
7805
|
+
[PropertyName.DeviceSensorChangeTime]: exports.DeviceSensorChangeTimeProperty,
|
|
7806
|
+
[PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowSensorProperty,
|
|
7807
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
7808
|
+
[PropertyName.DeviceMotionDetectionTestMode]: exports.DeviceMotionDetectionTestModeProperty,
|
|
7809
|
+
[PropertyName.DeviceChirpVolume]: exports.DeviceChirpVolumeEntrySensorProperty,
|
|
7810
|
+
[PropertyName.DeviceSensorOpen]: exports.DeviceSensorOpenProperty,
|
|
7811
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIEntrySensorProperty,
|
|
7812
|
+
[PropertyName.DeviceChirpTone]: exports.DeviceChirpToneEntrySensorProperty,
|
|
7813
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
7710
7814
|
},
|
|
7711
7815
|
};
|
|
7712
7816
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -7844,7 +7948,7 @@ exports.StationAlarmVolumeWalllightProperty = {
|
|
|
7844
7948
|
states: {
|
|
7845
7949
|
1: "Low",
|
|
7846
7950
|
2: "Medium",
|
|
7847
|
-
3: "High"
|
|
7951
|
+
3: "High",
|
|
7848
7952
|
},
|
|
7849
7953
|
};
|
|
7850
7954
|
exports.StationPromptVolumeProperty = {
|
|
@@ -7867,7 +7971,7 @@ exports.StationAlarmToneProperty = {
|
|
|
7867
7971
|
states: {
|
|
7868
7972
|
1: "Alarm sound 1",
|
|
7869
7973
|
2: "Alarm sound 2",
|
|
7870
|
-
}
|
|
7974
|
+
},
|
|
7871
7975
|
};
|
|
7872
7976
|
exports.StationNotificationSwitchModeScheduleProperty = {
|
|
7873
7977
|
key: types_1.CommandType.CMD_HUB_NOTIFY_MODE,
|
|
@@ -7984,9 +8088,9 @@ exports.StationAlarmTypeProperty = {
|
|
|
7984
8088
|
11: "Camera Linkage",
|
|
7985
8089
|
13: "Keypad",
|
|
7986
8090
|
/*22: "App Light",
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
8091
|
+
23: "App Light Sound",
|
|
8092
|
+
24: "Motion App Light",
|
|
8093
|
+
25: "Motion App Light Alarm",*/
|
|
7990
8094
|
},
|
|
7991
8095
|
default: 0,
|
|
7992
8096
|
};
|
|
@@ -8038,9 +8142,9 @@ exports.StationAlarmDelayTypeProperty = {
|
|
|
8038
8142
|
11: "Camera Linkage",
|
|
8039
8143
|
13: "Keypad",
|
|
8040
8144
|
/*22: "App Light",
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8145
|
+
23: "App Light Sound",
|
|
8146
|
+
24: "Motion App Light",
|
|
8147
|
+
25: "Motion App Light Alarm",*/
|
|
8044
8148
|
},
|
|
8045
8149
|
default: 0,
|
|
8046
8150
|
};
|
|
@@ -8140,10 +8244,10 @@ exports.StationCrossTrackingCameraListProperty = {
|
|
|
8140
8244
|
type: "object",
|
|
8141
8245
|
isValidObject: (obj) => {
|
|
8142
8246
|
if (Array.isArray(obj)) {
|
|
8143
|
-
return obj.length > 0 &&
|
|
8247
|
+
return (obj.length > 0 &&
|
|
8144
8248
|
obj.every((value) => {
|
|
8145
8249
|
return typeof value === "string";
|
|
8146
|
-
});
|
|
8250
|
+
}));
|
|
8147
8251
|
}
|
|
8148
8252
|
return false;
|
|
8149
8253
|
},
|
|
@@ -8157,16 +8261,16 @@ exports.StationCrossTrackingGroupListProperty = {
|
|
|
8157
8261
|
type: "object",
|
|
8158
8262
|
isValidObject: (obj) => {
|
|
8159
8263
|
if (Array.isArray(obj)) {
|
|
8160
|
-
return obj.length > 0 &&
|
|
8264
|
+
return (obj.length > 0 &&
|
|
8161
8265
|
obj.every((element) => {
|
|
8162
|
-
return typeof element === "object" &&
|
|
8266
|
+
return (typeof element === "object" &&
|
|
8163
8267
|
"value" in element &&
|
|
8164
8268
|
Array.isArray(element.value) &&
|
|
8165
8269
|
element.value.length > 0 &&
|
|
8166
8270
|
element.value.every((value) => {
|
|
8167
8271
|
return typeof value === "string";
|
|
8168
|
-
});
|
|
8169
|
-
});
|
|
8272
|
+
}));
|
|
8273
|
+
}));
|
|
8170
8274
|
}
|
|
8171
8275
|
return false;
|
|
8172
8276
|
},
|
|
@@ -8233,8 +8337,8 @@ exports.StationProperties = {
|
|
|
8233
8337
|
[PropertyName.StationAlarmDelay]: exports.StationAlarmDelayProperty,
|
|
8234
8338
|
[PropertyName.StationAlarmDelayType]: exports.StationAlarmDelayTypeProperty,
|
|
8235
8339
|
/*[PropertyName.StationSdStatus]: StationSdStatusProperty,
|
|
8236
|
-
|
|
8237
|
-
|
|
8340
|
+
[PropertyName.StationSdCapacity]: StationSdCapacityProperty,
|
|
8341
|
+
[PropertyName.StationSdCapacityAvailable]: StationSdAvailableCapacityProperty,*/
|
|
8238
8342
|
[PropertyName.StationStorageInfoEmmc]: exports.StationStorageInfoEmmcProperty,
|
|
8239
8343
|
[PropertyName.StationStorageInfoHdd]: exports.StationStorageInfoHddProperty,
|
|
8240
8344
|
[PropertyName.StationCrossCameraTracking]: exports.StationCrossCameraTrackingProperty,
|
|
@@ -8778,14 +8882,19 @@ exports.StationProperties = {
|
|
|
8778
8882
|
[PropertyName.StationGuardMode]: exports.StationGuardModeProperty,
|
|
8779
8883
|
[PropertyName.StationCurrentMode]: exports.StationCurrentModeProperty,
|
|
8780
8884
|
[PropertyName.StationTimeFormat]: exports.StationTimeFormatProperty,
|
|
8885
|
+
[PropertyName.StationTimeZone]: exports.StationTimeZoneProperty,
|
|
8781
8886
|
[PropertyName.StationAlarm]: exports.StationAlarmProperty,
|
|
8782
8887
|
[PropertyName.StationAlarmType]: exports.StationAlarmTypeProperty,
|
|
8783
8888
|
[PropertyName.StationNotificationSwitchModeSchedule]: exports.StationNotificationSwitchModeScheduleProperty,
|
|
8889
|
+
[PropertyName.StationNotificationSwitchModeGeofence]: exports.StationNotificationSwitchModeGeofenceProperty,
|
|
8784
8890
|
[PropertyName.StationNotificationSwitchModeApp]: exports.StationNotificationSwitchModeAppProperty,
|
|
8785
8891
|
[PropertyName.StationSdStatus]: exports.StationSdStatusProperty,
|
|
8786
8892
|
[PropertyName.StationSdCapacity]: exports.StationSdCapacityProperty,
|
|
8787
8893
|
[PropertyName.StationSdCapacityAvailable]: exports.StationSdAvailableCapacityProperty,
|
|
8788
8894
|
},
|
|
8895
|
+
[DeviceType.ENTRY_SENSOR_E20]: {
|
|
8896
|
+
...exports.BaseStationProperties,
|
|
8897
|
+
},
|
|
8789
8898
|
};
|
|
8790
8899
|
exports.StationProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.StationProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8791
8900
|
var CommandName;
|
|
@@ -8823,6 +8932,7 @@ var CommandName;
|
|
|
8823
8932
|
CommandName["StationDownloadImage"] = "stationDownloadImage";
|
|
8824
8933
|
CommandName["StationDatabaseQueryLatestInfo"] = "stationDatabaseQueryLatestInfo";
|
|
8825
8934
|
CommandName["StationDatabaseQueryLocal"] = "stationDatabaseQueryLocal";
|
|
8935
|
+
CommandName["StationDatabaseQueryByDate"] = "stationDatabaseQueryByDate";
|
|
8826
8936
|
CommandName["StationDatabaseDelete"] = "stationDatabaseDelete";
|
|
8827
8937
|
CommandName["StationDatabaseCountByDate"] = "stationDatabaseCoundByDate";
|
|
8828
8938
|
})(CommandName || (exports.CommandName = CommandName = {}));
|
|
@@ -9428,22 +9538,10 @@ exports.DeviceCommands = {
|
|
|
9428
9538
|
],
|
|
9429
9539
|
[DeviceType.MOTION_SENSOR]: [],
|
|
9430
9540
|
[DeviceType.SENSOR]: [],
|
|
9431
|
-
[DeviceType.SMART_SAFE_7400]: [
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
],
|
|
9435
|
-
[DeviceType.SMART_SAFE_7401]: [
|
|
9436
|
-
CommandName.DeviceUnlock,
|
|
9437
|
-
CommandName.DeviceVerifyPIN,
|
|
9438
|
-
],
|
|
9439
|
-
[DeviceType.SMART_SAFE_7402]: [
|
|
9440
|
-
CommandName.DeviceUnlock,
|
|
9441
|
-
CommandName.DeviceVerifyPIN,
|
|
9442
|
-
],
|
|
9443
|
-
[DeviceType.SMART_SAFE_7403]: [
|
|
9444
|
-
CommandName.DeviceUnlock,
|
|
9445
|
-
CommandName.DeviceVerifyPIN,
|
|
9446
|
-
],
|
|
9541
|
+
[DeviceType.SMART_SAFE_7400]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|
|
9542
|
+
[DeviceType.SMART_SAFE_7401]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|
|
9543
|
+
[DeviceType.SMART_SAFE_7402]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|
|
9544
|
+
[DeviceType.SMART_SAFE_7403]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|
|
9447
9545
|
[DeviceType.SMART_TRACK_CARD]: [],
|
|
9448
9546
|
[DeviceType.SMART_TRACK_LINK]: [],
|
|
9449
9547
|
[DeviceType.SMART_DROP]: [
|
|
@@ -9455,6 +9553,16 @@ exports.DeviceCommands = {
|
|
|
9455
9553
|
CommandName.DeviceStopTalkback,
|
|
9456
9554
|
CommandName.DeviceOpen,
|
|
9457
9555
|
],
|
|
9556
|
+
[DeviceType.CAMERA_E40]: [
|
|
9557
|
+
CommandName.DeviceStartLivestream,
|
|
9558
|
+
CommandName.DeviceStopLivestream,
|
|
9559
|
+
CommandName.DeviceTriggerAlarmSound,
|
|
9560
|
+
CommandName.DeviceStartDownload,
|
|
9561
|
+
CommandName.DeviceCancelDownload,
|
|
9562
|
+
CommandName.DeviceStartTalkback,
|
|
9563
|
+
CommandName.DeviceStopTalkback,
|
|
9564
|
+
CommandName.DeviceSnooze,
|
|
9565
|
+
],
|
|
9458
9566
|
[DeviceType.CAMERA_C35]: [
|
|
9459
9567
|
CommandName.DeviceStartLivestream,
|
|
9460
9568
|
CommandName.DeviceStopLivestream,
|
|
@@ -9473,6 +9581,7 @@ exports.StationCommands = {
|
|
|
9473
9581
|
CommandName.StationChime,
|
|
9474
9582
|
CommandName.StationDownloadImage,
|
|
9475
9583
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9584
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9476
9585
|
CommandName.StationDatabaseQueryLocal,
|
|
9477
9586
|
CommandName.StationDatabaseCountByDate,
|
|
9478
9587
|
CommandName.StationDatabaseDelete,
|
|
@@ -9483,6 +9592,7 @@ exports.StationCommands = {
|
|
|
9483
9592
|
CommandName.StationDownloadImage,
|
|
9484
9593
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9485
9594
|
CommandName.StationDatabaseQueryLocal,
|
|
9595
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9486
9596
|
CommandName.StationDatabaseCountByDate,
|
|
9487
9597
|
CommandName.StationDatabaseDelete,
|
|
9488
9598
|
],
|
|
@@ -9491,6 +9601,7 @@ exports.StationCommands = {
|
|
|
9491
9601
|
CommandName.StationTriggerAlarmSound,
|
|
9492
9602
|
CommandName.StationDownloadImage,
|
|
9493
9603
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9604
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9494
9605
|
CommandName.StationDatabaseQueryLocal,
|
|
9495
9606
|
CommandName.StationDatabaseCountByDate,
|
|
9496
9607
|
CommandName.StationDatabaseDelete,
|
|
@@ -9501,6 +9612,7 @@ exports.StationCommands = {
|
|
|
9501
9612
|
CommandName.StationChime,
|
|
9502
9613
|
CommandName.StationDownloadImage,
|
|
9503
9614
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9615
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9504
9616
|
CommandName.StationDatabaseQueryLocal,
|
|
9505
9617
|
CommandName.StationDatabaseCountByDate,
|
|
9506
9618
|
CommandName.StationDatabaseDelete,
|
|
@@ -9510,6 +9622,7 @@ exports.StationCommands = {
|
|
|
9510
9622
|
CommandName.StationTriggerAlarmSound,
|
|
9511
9623
|
CommandName.StationDownloadImage,
|
|
9512
9624
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9625
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9513
9626
|
CommandName.StationDatabaseQueryLocal,
|
|
9514
9627
|
CommandName.StationDatabaseCountByDate,
|
|
9515
9628
|
CommandName.StationDatabaseDelete,
|
|
@@ -9519,6 +9632,7 @@ exports.StationCommands = {
|
|
|
9519
9632
|
CommandName.StationTriggerAlarmSound,
|
|
9520
9633
|
CommandName.StationDownloadImage,
|
|
9521
9634
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9635
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9522
9636
|
CommandName.StationDatabaseQueryLocal,
|
|
9523
9637
|
CommandName.StationDatabaseCountByDate,
|
|
9524
9638
|
CommandName.StationDatabaseDelete,
|
|
@@ -9528,6 +9642,7 @@ exports.StationCommands = {
|
|
|
9528
9642
|
CommandName.StationTriggerAlarmSound,
|
|
9529
9643
|
CommandName.StationDownloadImage,
|
|
9530
9644
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9645
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9531
9646
|
CommandName.StationDatabaseQueryLocal,
|
|
9532
9647
|
CommandName.StationDatabaseCountByDate,
|
|
9533
9648
|
CommandName.StationDatabaseDelete,
|
|
@@ -9537,6 +9652,7 @@ exports.StationCommands = {
|
|
|
9537
9652
|
CommandName.StationTriggerAlarmSound,
|
|
9538
9653
|
CommandName.StationDownloadImage,
|
|
9539
9654
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9655
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9540
9656
|
CommandName.StationDatabaseQueryLocal,
|
|
9541
9657
|
CommandName.StationDatabaseCountByDate,
|
|
9542
9658
|
CommandName.StationDatabaseDelete,
|
|
@@ -9546,6 +9662,7 @@ exports.StationCommands = {
|
|
|
9546
9662
|
CommandName.StationTriggerAlarmSound,
|
|
9547
9663
|
CommandName.StationDownloadImage,
|
|
9548
9664
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9665
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9549
9666
|
CommandName.StationDatabaseQueryLocal,
|
|
9550
9667
|
CommandName.StationDatabaseCountByDate,
|
|
9551
9668
|
CommandName.StationDatabaseDelete,
|
|
@@ -9555,6 +9672,7 @@ exports.StationCommands = {
|
|
|
9555
9672
|
CommandName.StationTriggerAlarmSound,
|
|
9556
9673
|
CommandName.StationDownloadImage,
|
|
9557
9674
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9675
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9558
9676
|
CommandName.StationDatabaseQueryLocal,
|
|
9559
9677
|
CommandName.StationDatabaseCountByDate,
|
|
9560
9678
|
CommandName.StationDatabaseDelete,
|
|
@@ -9564,6 +9682,7 @@ exports.StationCommands = {
|
|
|
9564
9682
|
CommandName.StationTriggerAlarmSound,
|
|
9565
9683
|
CommandName.StationDownloadImage,
|
|
9566
9684
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9685
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9567
9686
|
CommandName.StationDatabaseQueryLocal,
|
|
9568
9687
|
CommandName.StationDatabaseCountByDate,
|
|
9569
9688
|
CommandName.StationDatabaseDelete,
|
|
@@ -9573,6 +9692,7 @@ exports.StationCommands = {
|
|
|
9573
9692
|
CommandName.StationTriggerAlarmSound,
|
|
9574
9693
|
CommandName.StationDownloadImage,
|
|
9575
9694
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9695
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9576
9696
|
CommandName.StationDatabaseQueryLocal,
|
|
9577
9697
|
CommandName.StationDatabaseCountByDate,
|
|
9578
9698
|
CommandName.StationDatabaseDelete,
|
|
@@ -9582,6 +9702,7 @@ exports.StationCommands = {
|
|
|
9582
9702
|
CommandName.StationTriggerAlarmSound,
|
|
9583
9703
|
CommandName.StationDownloadImage,
|
|
9584
9704
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9705
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9585
9706
|
CommandName.StationDatabaseQueryLocal,
|
|
9586
9707
|
CommandName.StationDatabaseCountByDate,
|
|
9587
9708
|
CommandName.StationDatabaseDelete,
|
|
@@ -9591,6 +9712,7 @@ exports.StationCommands = {
|
|
|
9591
9712
|
CommandName.StationTriggerAlarmSound,
|
|
9592
9713
|
CommandName.StationDownloadImage,
|
|
9593
9714
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9715
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9594
9716
|
CommandName.StationDatabaseQueryLocal,
|
|
9595
9717
|
CommandName.StationDatabaseCountByDate,
|
|
9596
9718
|
CommandName.StationDatabaseDelete,
|
|
@@ -9600,6 +9722,7 @@ exports.StationCommands = {
|
|
|
9600
9722
|
CommandName.StationTriggerAlarmSound,
|
|
9601
9723
|
CommandName.StationDownloadImage,
|
|
9602
9724
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9725
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9603
9726
|
CommandName.StationDatabaseQueryLocal,
|
|
9604
9727
|
CommandName.StationDatabaseCountByDate,
|
|
9605
9728
|
CommandName.StationDatabaseDelete,
|
|
@@ -9609,6 +9732,7 @@ exports.StationCommands = {
|
|
|
9609
9732
|
CommandName.StationTriggerAlarmSound,
|
|
9610
9733
|
CommandName.StationDownloadImage,
|
|
9611
9734
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9735
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9612
9736
|
CommandName.StationDatabaseQueryLocal,
|
|
9613
9737
|
CommandName.StationDatabaseCountByDate,
|
|
9614
9738
|
CommandName.StationDatabaseDelete,
|
|
@@ -9617,6 +9741,7 @@ exports.StationCommands = {
|
|
|
9617
9741
|
CommandName.StationReboot,
|
|
9618
9742
|
CommandName.StationDownloadImage,
|
|
9619
9743
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9744
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9620
9745
|
CommandName.StationDatabaseQueryLocal,
|
|
9621
9746
|
CommandName.StationDatabaseCountByDate,
|
|
9622
9747
|
CommandName.StationDatabaseDelete,
|
|
@@ -9625,6 +9750,7 @@ exports.StationCommands = {
|
|
|
9625
9750
|
CommandName.StationReboot,
|
|
9626
9751
|
CommandName.StationDownloadImage,
|
|
9627
9752
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9753
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9628
9754
|
CommandName.StationDatabaseQueryLocal,
|
|
9629
9755
|
CommandName.StationDatabaseCountByDate,
|
|
9630
9756
|
CommandName.StationDatabaseDelete,
|
|
@@ -9633,6 +9759,7 @@ exports.StationCommands = {
|
|
|
9633
9759
|
CommandName.StationReboot,
|
|
9634
9760
|
CommandName.StationDownloadImage,
|
|
9635
9761
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9762
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9636
9763
|
CommandName.StationDatabaseQueryLocal,
|
|
9637
9764
|
CommandName.StationDatabaseCountByDate,
|
|
9638
9765
|
CommandName.StationDatabaseDelete,
|
|
@@ -9641,6 +9768,7 @@ exports.StationCommands = {
|
|
|
9641
9768
|
CommandName.StationReboot,
|
|
9642
9769
|
CommandName.StationDownloadImage,
|
|
9643
9770
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9771
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9644
9772
|
CommandName.StationDatabaseQueryLocal,
|
|
9645
9773
|
CommandName.StationDatabaseCountByDate,
|
|
9646
9774
|
CommandName.StationDatabaseDelete,
|
|
@@ -9649,6 +9777,7 @@ exports.StationCommands = {
|
|
|
9649
9777
|
CommandName.StationReboot,
|
|
9650
9778
|
CommandName.StationDownloadImage,
|
|
9651
9779
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9780
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9652
9781
|
CommandName.StationDatabaseQueryLocal,
|
|
9653
9782
|
CommandName.StationDatabaseCountByDate,
|
|
9654
9783
|
CommandName.StationDatabaseDelete,
|
|
@@ -9658,6 +9787,7 @@ exports.StationCommands = {
|
|
|
9658
9787
|
CommandName.StationTriggerAlarmSound,
|
|
9659
9788
|
CommandName.StationDownloadImage,
|
|
9660
9789
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9790
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9661
9791
|
CommandName.StationDatabaseQueryLocal,
|
|
9662
9792
|
CommandName.StationDatabaseCountByDate,
|
|
9663
9793
|
CommandName.StationDatabaseDelete,
|
|
@@ -9667,6 +9797,7 @@ exports.StationCommands = {
|
|
|
9667
9797
|
CommandName.StationTriggerAlarmSound,
|
|
9668
9798
|
CommandName.StationDownloadImage,
|
|
9669
9799
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9800
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9670
9801
|
CommandName.StationDatabaseQueryLocal,
|
|
9671
9802
|
CommandName.StationDatabaseCountByDate,
|
|
9672
9803
|
CommandName.StationDatabaseDelete,
|
|
@@ -9676,6 +9807,7 @@ exports.StationCommands = {
|
|
|
9676
9807
|
CommandName.StationTriggerAlarmSound,
|
|
9677
9808
|
CommandName.StationDownloadImage,
|
|
9678
9809
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9810
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9679
9811
|
CommandName.StationDatabaseQueryLocal,
|
|
9680
9812
|
CommandName.StationDatabaseCountByDate,
|
|
9681
9813
|
CommandName.StationDatabaseDelete,
|
|
@@ -9690,6 +9822,7 @@ exports.StationCommands = {
|
|
|
9690
9822
|
CommandName.StationTriggerAlarmSound,
|
|
9691
9823
|
CommandName.StationDownloadImage,
|
|
9692
9824
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9825
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9693
9826
|
CommandName.StationDatabaseQueryLocal,
|
|
9694
9827
|
CommandName.StationDatabaseCountByDate,
|
|
9695
9828
|
CommandName.StationDatabaseDelete,
|
|
@@ -9699,6 +9832,7 @@ exports.StationCommands = {
|
|
|
9699
9832
|
CommandName.StationTriggerAlarmSound,
|
|
9700
9833
|
CommandName.StationDownloadImage,
|
|
9701
9834
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9835
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9702
9836
|
CommandName.StationDatabaseQueryLocal,
|
|
9703
9837
|
CommandName.StationDatabaseCountByDate,
|
|
9704
9838
|
CommandName.StationDatabaseDelete,
|
|
@@ -9708,6 +9842,7 @@ exports.StationCommands = {
|
|
|
9708
9842
|
CommandName.StationTriggerAlarmSound,
|
|
9709
9843
|
CommandName.StationDownloadImage,
|
|
9710
9844
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9845
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9711
9846
|
CommandName.StationDatabaseQueryLocal,
|
|
9712
9847
|
CommandName.StationDatabaseCountByDate,
|
|
9713
9848
|
CommandName.StationDatabaseDelete,
|
|
@@ -9717,6 +9852,7 @@ exports.StationCommands = {
|
|
|
9717
9852
|
CommandName.StationTriggerAlarmSound,
|
|
9718
9853
|
CommandName.StationDownloadImage,
|
|
9719
9854
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9855
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9720
9856
|
CommandName.StationDatabaseQueryLocal,
|
|
9721
9857
|
CommandName.StationDatabaseCountByDate,
|
|
9722
9858
|
CommandName.StationDatabaseDelete,
|
|
@@ -9726,6 +9862,7 @@ exports.StationCommands = {
|
|
|
9726
9862
|
CommandName.StationTriggerAlarmSound,
|
|
9727
9863
|
CommandName.StationDownloadImage,
|
|
9728
9864
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9865
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9729
9866
|
CommandName.StationDatabaseQueryLocal,
|
|
9730
9867
|
CommandName.StationDatabaseCountByDate,
|
|
9731
9868
|
CommandName.StationDatabaseDelete,
|
|
@@ -9735,6 +9872,7 @@ exports.StationCommands = {
|
|
|
9735
9872
|
CommandName.StationTriggerAlarmSound,
|
|
9736
9873
|
CommandName.StationDownloadImage,
|
|
9737
9874
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9875
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9738
9876
|
CommandName.StationDatabaseQueryLocal,
|
|
9739
9877
|
CommandName.StationDatabaseCountByDate,
|
|
9740
9878
|
CommandName.StationDatabaseDelete,
|
|
@@ -9744,6 +9882,7 @@ exports.StationCommands = {
|
|
|
9744
9882
|
CommandName.StationTriggerAlarmSound,
|
|
9745
9883
|
CommandName.StationDownloadImage,
|
|
9746
9884
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9885
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9747
9886
|
CommandName.StationDatabaseQueryLocal,
|
|
9748
9887
|
CommandName.StationDatabaseCountByDate,
|
|
9749
9888
|
CommandName.StationDatabaseDelete,
|
|
@@ -9753,6 +9892,7 @@ exports.StationCommands = {
|
|
|
9753
9892
|
CommandName.StationTriggerAlarmSound,
|
|
9754
9893
|
CommandName.StationDownloadImage,
|
|
9755
9894
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9895
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9756
9896
|
CommandName.StationDatabaseQueryLocal,
|
|
9757
9897
|
CommandName.StationDatabaseCountByDate,
|
|
9758
9898
|
CommandName.StationDatabaseDelete,
|
|
@@ -9762,6 +9902,7 @@ exports.StationCommands = {
|
|
|
9762
9902
|
CommandName.StationTriggerAlarmSound,
|
|
9763
9903
|
CommandName.StationDownloadImage,
|
|
9764
9904
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9905
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9765
9906
|
CommandName.StationDatabaseQueryLocal,
|
|
9766
9907
|
CommandName.StationDatabaseCountByDate,
|
|
9767
9908
|
CommandName.StationDatabaseDelete,
|
|
@@ -9771,19 +9912,18 @@ exports.StationCommands = {
|
|
|
9771
9912
|
CommandName.StationTriggerAlarmSound,
|
|
9772
9913
|
CommandName.StationDownloadImage,
|
|
9773
9914
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9915
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9774
9916
|
CommandName.StationDatabaseQueryLocal,
|
|
9775
9917
|
CommandName.StationDatabaseCountByDate,
|
|
9776
9918
|
CommandName.StationDatabaseDelete,
|
|
9777
9919
|
],
|
|
9778
|
-
[DeviceType.CAMERA_FG]: [
|
|
9779
|
-
CommandName.StationReboot,
|
|
9780
|
-
CommandName.StationTriggerAlarmSound,
|
|
9781
|
-
],
|
|
9920
|
+
[DeviceType.CAMERA_FG]: [CommandName.StationReboot, CommandName.StationTriggerAlarmSound],
|
|
9782
9921
|
[DeviceType.WALL_LIGHT_CAM]: [
|
|
9783
9922
|
CommandName.StationReboot,
|
|
9784
9923
|
CommandName.StationTriggerAlarmSound,
|
|
9785
9924
|
CommandName.StationDownloadImage,
|
|
9786
9925
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9926
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9787
9927
|
CommandName.StationDatabaseQueryLocal,
|
|
9788
9928
|
CommandName.StationDatabaseCountByDate,
|
|
9789
9929
|
CommandName.StationDatabaseDelete,
|
|
@@ -9793,6 +9933,7 @@ exports.StationCommands = {
|
|
|
9793
9933
|
CommandName.StationTriggerAlarmSound,
|
|
9794
9934
|
CommandName.StationDownloadImage,
|
|
9795
9935
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9936
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9796
9937
|
CommandName.StationDatabaseQueryLocal,
|
|
9797
9938
|
CommandName.StationDatabaseCountByDate,
|
|
9798
9939
|
CommandName.StationDatabaseDelete,
|
|
@@ -9802,27 +9943,27 @@ exports.StationCommands = {
|
|
|
9802
9943
|
CommandName.StationTriggerAlarmSound,
|
|
9803
9944
|
CommandName.StationDownloadImage,
|
|
9804
9945
|
/*CommandName.StationDatabaseQueryLatestInfo,
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9946
|
+
CommandName.StationDatabaseQueryLocal,
|
|
9947
|
+
CommandName.StationDatabaseCountByDate,
|
|
9948
|
+
CommandName.StationDatabaseDelete,*/
|
|
9808
9949
|
],
|
|
9809
9950
|
[DeviceType.CAMERA_GARAGE_T8453]: [
|
|
9810
9951
|
CommandName.StationReboot,
|
|
9811
9952
|
CommandName.StationTriggerAlarmSound,
|
|
9812
9953
|
CommandName.StationDownloadImage,
|
|
9813
9954
|
/*CommandName.StationDatabaseQueryLatestInfo,
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9955
|
+
CommandName.StationDatabaseQueryLocal,
|
|
9956
|
+
CommandName.StationDatabaseCountByDate,
|
|
9957
|
+
CommandName.StationDatabaseDelete,*/
|
|
9817
9958
|
],
|
|
9818
9959
|
[DeviceType.CAMERA_GARAGE_T8453_COMMON]: [
|
|
9819
9960
|
CommandName.StationReboot,
|
|
9820
9961
|
CommandName.StationTriggerAlarmSound,
|
|
9821
9962
|
CommandName.StationDownloadImage,
|
|
9822
9963
|
/*CommandName.StationDatabaseQueryLatestInfo,
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9964
|
+
CommandName.StationDatabaseQueryLocal,
|
|
9965
|
+
CommandName.StationDatabaseCountByDate,
|
|
9966
|
+
CommandName.StationDatabaseDelete,*/
|
|
9826
9967
|
],
|
|
9827
9968
|
[DeviceType.KEYPAD]: [],
|
|
9828
9969
|
[DeviceType.LOCK_BLE]: [],
|
|
@@ -9837,6 +9978,7 @@ exports.StationCommands = {
|
|
|
9837
9978
|
CommandName.StationTriggerAlarmSound,
|
|
9838
9979
|
CommandName.StationDownloadImage,
|
|
9839
9980
|
CommandName.StationDatabaseQueryLatestInfo,
|
|
9981
|
+
CommandName.StationDatabaseQueryByDate,
|
|
9840
9982
|
CommandName.StationDatabaseQueryLocal,
|
|
9841
9983
|
CommandName.StationDatabaseCountByDate,
|
|
9842
9984
|
CommandName.StationDatabaseDelete,
|