@homebridge-eufy-security/eufy-security-client 3.8.0-dev.7 → 3.8.0-dev.8

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.
@@ -88,6 +88,8 @@ export declare enum DeviceType {
88
88
  LOCK_85D0 = 202,
89
89
  LOCK_85L0 = 201,
90
90
  LOCK_85V0 = 203,
91
+ NVR_S4_MAX = 300,//T8N00
92
+ CAMERA_POE_S4 = 301,//T8E00
91
93
  WALL_LIGHT_CAM_81A0 = 10005,
92
94
  INDOOR_PT_CAMERA_C220 = 10008,// T8W11C
93
95
  INDOOR_PT_CAMERA_C210 = 10009,// T8419 / T8W11P?
@@ -102,6 +102,8 @@ var DeviceType;
102
102
  DeviceType[DeviceType["LOCK_85D0"] = 202] = "LOCK_85D0";
103
103
  DeviceType[DeviceType["LOCK_85L0"] = 201] = "LOCK_85L0";
104
104
  DeviceType[DeviceType["LOCK_85V0"] = 203] = "LOCK_85V0";
105
+ DeviceType[DeviceType["NVR_S4_MAX"] = 300] = "NVR_S4_MAX";
106
+ DeviceType[DeviceType["CAMERA_POE_S4"] = 301] = "CAMERA_POE_S4";
105
107
  DeviceType[DeviceType["WALL_LIGHT_CAM_81A0"] = 10005] = "WALL_LIGHT_CAM_81A0";
106
108
  DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
107
109
  DeviceType[DeviceType["INDOOR_PT_CAMERA_C210"] = 10009] = "INDOOR_PT_CAMERA_C210";
@@ -986,6 +988,7 @@ exports.GenericTypeProperty = {
986
988
  46: "Outdoor Camera 1080P",
987
989
  47: "Floodlight Camera E340",
988
990
  48: "Solo Camera S340",
991
+ 49: "eufyCam E40 (T8144)",
989
992
  50: "Lock Basic",
990
993
  51: "Lock Advanced",
991
994
  52: "Lock Basic No Finger",
@@ -1008,11 +1011,13 @@ exports.GenericTypeProperty = {
1008
1011
  93: "Video Doorbell Dual (Wired)",
1009
1012
  94: "Video Doorbell Dual (E340)",
1010
1013
  95: "Video Doorbell (C30)",
1014
+ 96: "Video Doorbell (C31)",
1011
1015
  98: "SoloCam E42 (T8173)",
1012
1016
  100: "Indoor Cost Down Camera",
1013
1017
  101: "Camera Gun",
1014
1018
  102: "Camera Snail",
1015
1019
  104: "Indoor Camera S350",
1020
+ 105: "Indoor Cam E30",
1016
1021
  110: "Starlight 4G LTE", //T8150
1017
1022
  111: "4G LTE Cam S330 (T86P2)",
1018
1023
  123: "Siren Sensor E20",
@@ -1030,13 +1035,17 @@ exports.GenericTypeProperty = {
1030
1035
  159: "SmartTrack Card (T87B2)",
1031
1036
  180: "Smart Lock C210 (T8502)",
1032
1037
  184: "Smart Lock C220 (T8506)",
1038
+ 189: "Security Video Smart Lock E330 (T8531)",
1033
1039
  201: "Smart Lock C33 (T85L0)",
1034
1040
  202: "Smart Lock C30 (T85D0)",
1035
1041
  203: "FamiLock S3 (T85V0)",
1042
+ 300: "NVR S4 Max (T8N00)",
1043
+ 301: "PoE Bullet-PTZ Cam S4 (T8E00)",
1036
1044
  10005: "Solar Wall Light Cam S120 (T81A0)",
1037
1045
  10008: "Indoor Cam C220 (T8W11C)",
1038
1046
  10009: "Indoor Cam C210 (T8419)",
1039
1047
  10010: "Indoor Cam C220 (T8W11C)",
1048
+ 10011: "Indoor Cam C220 (T8419N)",
1040
1049
  10035: "eufyCam C35 (T8110)",
1041
1050
  },
1042
1051
  };
@@ -4916,12 +4925,12 @@ exports.LockT85V0DeviceProperties = {
4916
4925
  ...exports.GenericDeviceProperties,
4917
4926
  [PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
4918
4927
  [PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
4919
- [PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
4928
+ [PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSILockProperty,
4920
4929
  [PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
4921
- [PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty, //OK
4922
- [PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty, //OK
4923
- [PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty, //OK
4924
- [PropertyName.DeviceWatermark]: exports.DeviceWatermarkBatteryDoorbellCamera1Property, //OK
4930
+ [PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
4931
+ [PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
4932
+ [PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty,
4933
+ [PropertyName.DeviceWatermark]: exports.DeviceWatermarkBatteryDoorbellCamera1Property,
4925
4934
  [PropertyName.DeviceState]: exports.DeviceStateProperty,
4926
4935
  [PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
4927
4936
  [PropertyName.DeviceLastChargingFalseEvents]: exports.DeviceLastChargingFalseEventsProperty,
@@ -6702,6 +6711,7 @@ exports.DeviceProperties = {
6702
6711
  [PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
6703
6712
  [PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeS340Property,
6704
6713
  [PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
6714
+ [PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
6705
6715
  [PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
6706
6716
  [PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
6707
6717
  [PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
@@ -7574,6 +7584,7 @@ exports.DeviceProperties = {
7574
7584
  [PropertyName.DeviceLockEventOrigin]: exports.DeviceLockEventOriginProperty,
7575
7585
  [PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
7576
7586
  },
7587
+ [DeviceType.LOCK_85V0]: exports.LockT85V0DeviceProperties,
7577
7588
  [DeviceType.LOCK_BLE]: {
7578
7589
  ...exports.GenericDeviceProperties,
7579
7590
  [PropertyName.DeviceState]: exports.DeviceStateLockProperty,
@@ -8202,6 +8213,70 @@ exports.DeviceProperties = {
8202
8213
  [PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIEntrySensorProperty,
8203
8214
  [PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowMotionSensorProperty,
8204
8215
  },
8216
+ [DeviceType.NVR_S4_MAX]: {
8217
+ ...exports.GenericDeviceProperties,
8218
+ },
8219
+ [DeviceType.CAMERA_POE_S4]: {
8220
+ ...exports.GenericDeviceProperties,
8221
+ [PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
8222
+ [PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
8223
+ [PropertyName.DeviceNightvision]: exports.DeviceNightvisionProperty,
8224
+ [PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
8225
+ [PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
8226
+ [PropertyName.DeviceAntitheftDetection]: exports.DeviceAntitheftDetectionProperty,
8227
+ [PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
8228
+ [PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
8229
+ [PropertyName.DeviceState]: exports.DeviceStateProperty,
8230
+ [PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
8231
+ [PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
8232
+ [PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
8233
+ [PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
8234
+ [PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
8235
+ [PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
8236
+ [PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
8237
+ [PropertyName.DeviceLightSettingsMotionTriggered]: exports.DeviceFloodlightLightSettingsMotionTriggeredProperty,
8238
+ [PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
8239
+ [PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
8240
+ [PropertyName.DevicePicture]: exports.DevicePictureProperty,
8241
+ [PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
8242
+ [PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivityCamera2Property,
8243
+ [PropertyName.DeviceMotionDetectionType]: exports.DeviceMotionDetectionTypeProperty,
8244
+ [PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
8245
+ [PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
8246
+ [PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty,
8247
+ [PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingProperty,
8248
+ [PropertyName.DeviceMotionDetectionTypeHuman]: exports.DeviceMotionHB3DetectionTypeHumanProperty,
8249
+ [PropertyName.DeviceMotionDetectionTypeHumanRecognition]: exports.DeviceMotionHB3DetectionTypeHumanRecognitionProperty,
8250
+ [PropertyName.DeviceMotionDetectionTypePet]: exports.DeviceMotionHB3DetectionTypePetProperty,
8251
+ [PropertyName.DeviceMotionDetectionTypeVehicle]: exports.DeviceMotionHB3DetectionTypeVehicleProperty,
8252
+ [PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
8253
+ [PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualitySoloProperty,
8254
+ [PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityProperty,
8255
+ [PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeIndoorFloodlightProperty,
8256
+ [PropertyName.DeviceNotificationPerson]: exports.DeviceNotificationPersonS350Property,
8257
+ [PropertyName.DeviceNotificationPet]: exports.DeviceNotificationPetS350Property,
8258
+ [PropertyName.DeviceNotificationAllOtherMotion]: exports.DeviceNotificationAllOtherMotionS350Property,
8259
+ [PropertyName.DeviceNotificationAllSound]: exports.DeviceNotificationAllSoundS350Property,
8260
+ [PropertyName.DeviceNotificationCrying]: exports.DeviceNotificationCryingS350Property,
8261
+ [PropertyName.DeviceNotificationVehicle]: exports.DeviceNotificationVehicleProperty,
8262
+ [PropertyName.DeviceImageMirrored]: exports.DeviceImageMirroredProperty,
8263
+ [PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
8264
+ [PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
8265
+ [PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
8266
+ [PropertyName.DevicePowerSource]: exports.DevicePowerSourceProperty,
8267
+ [PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
8268
+ [PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthOutdoorPTProperty,
8269
+ [PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
8270
+ [PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
8271
+ [PropertyName.DeviceVideoWDR]: exports.DeviceWDRProperty,
8272
+ [PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeProperty,
8273
+ [PropertyName.DeviceContinuousRecording]: exports.DeviceContinuousRecordingProperty,
8274
+ [PropertyName.DeviceContinuousRecordingType]: exports.DeviceContinuousRecordingTypeProperty,
8275
+ [PropertyName.DeviceVideoTypeStoreToNAS]: exports.DeviceVideoTypeStoreToNASProperty,
8276
+ [PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
8277
+ [PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
8278
+ [PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
8279
+ },
8205
8280
  };
8206
8281
  exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
8207
8282
  exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
@@ -8801,6 +8876,32 @@ exports.StationProperties = {
8801
8876
  [PropertyName.StationCrossTrackingCameraList]: exports.StationCrossTrackingCameraListProperty,
8802
8877
  [PropertyName.StationCrossTrackingGroupList]: exports.StationCrossTrackingGroupListProperty,
8803
8878
  },
8879
+ [DeviceType.NVR_S4_MAX]: {
8880
+ ...exports.BaseStationProperties,
8881
+ [PropertyName.StationLANIpAddress]: exports.StationLanIpAddressProperty,
8882
+ [PropertyName.StationMacAddress]: exports.StationMacAddressProperty,
8883
+ [PropertyName.StationGuardMode]: exports.StationGuardModeProperty,
8884
+ [PropertyName.StationCurrentMode]: exports.StationCurrentModeProperty,
8885
+ [PropertyName.StationTimeFormat]: exports.StationTimeFormatProperty,
8886
+ [PropertyName.StationTimeZone]: exports.StationTimeZoneProperty,
8887
+ [PropertyName.StationAlarmVolume]: exports.StationAlarmVolumeProperty,
8888
+ [PropertyName.StationAlarmTone]: exports.StationAlarmToneProperty,
8889
+ [PropertyName.StationAutoEndAlarm]: exports.StationAutoEndAlarmProperty,
8890
+ [PropertyName.StationNotificationSwitchModeSchedule]: exports.StationNotificationSwitchModeScheduleProperty,
8891
+ [PropertyName.StationNotificationSwitchModeGeofence]: exports.StationNotificationSwitchModeGeofenceProperty,
8892
+ [PropertyName.StationNotificationSwitchModeApp]: exports.StationNotificationSwitchModeAppProperty,
8893
+ [PropertyName.StationNotificationSwitchModeKeypad]: exports.StationNotificationSwitchModeKeypadProperty,
8894
+ [PropertyName.StationNotificationStartAlarmDelay]: exports.StationNotificationStartAlarmDelayProperty,
8895
+ [PropertyName.StationSdStatus]: exports.StationSdStatusProperty,
8896
+ [PropertyName.StationHomeSecuritySettings]: exports.StationHomeSecuritySettings,
8897
+ [PropertyName.StationAwaySecuritySettings]: exports.StationAwaySecuritySettings,
8898
+ [PropertyName.StationCustom1SecuritySettings]: exports.StationCustom1SecuritySettings,
8899
+ [PropertyName.StationCustom2SecuritySettings]: exports.StationCustom2SecuritySettings,
8900
+ [PropertyName.StationCustom3SecuritySettings]: exports.StationCustom3SecuritySettings,
8901
+ [PropertyName.StationOffSecuritySettings]: exports.StationOffSecuritySettings,
8902
+ [PropertyName.StationAlarm]: exports.StationAlarmProperty,
8903
+ [PropertyName.StationAlarmType]: exports.StationAlarmTypeProperty,
8904
+ },
8804
8905
  [DeviceType.INDOOR_CAMERA]: {
8805
8906
  ...exports.BaseStationProperties,
8806
8907
  [PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
@@ -9693,6 +9794,21 @@ exports.DeviceCommands = {
9693
9794
  CommandName.DeviceSavePresetPosition,
9694
9795
  CommandName.DeviceDeletePresetPosition,
9695
9796
  ],
9797
+ [DeviceType.INDOOR_PT_CAMERA_E30]: [
9798
+ CommandName.DeviceStartLivestream,
9799
+ CommandName.DeviceStopLivestream,
9800
+ CommandName.DeviceTriggerAlarmSound,
9801
+ CommandName.DevicePanAndTilt,
9802
+ CommandName.DeviceStartDownload,
9803
+ CommandName.DeviceCancelDownload,
9804
+ CommandName.DeviceCalibrate,
9805
+ CommandName.DeviceStartTalkback,
9806
+ CommandName.DeviceStopTalkback,
9807
+ CommandName.DeviceSnooze,
9808
+ CommandName.DevicePresetPosition,
9809
+ CommandName.DeviceSavePresetPosition,
9810
+ CommandName.DeviceDeletePresetPosition,
9811
+ ],
9696
9812
  [DeviceType.INDOOR_PT_CAMERA_C210]: [
9697
9813
  CommandName.DeviceStartLivestream,
9698
9814
  CommandName.DeviceStopLivestream,
@@ -10059,6 +10175,22 @@ exports.DeviceCommands = {
10059
10175
  CommandName.DeviceUpdateUserSchedule,
10060
10176
  CommandName.DeviceUpdateUsername,
10061
10177
  ],
10178
+ [DeviceType.LOCK_85V0]: [
10179
+ CommandName.DeviceStartLivestream,
10180
+ CommandName.DeviceStopLivestream,
10181
+ CommandName.DeviceQuickResponse,
10182
+ CommandName.DeviceStartDownload,
10183
+ CommandName.DeviceCancelDownload,
10184
+ CommandName.DeviceStartTalkback,
10185
+ CommandName.DeviceStopTalkback,
10186
+ CommandName.DeviceSnooze,
10187
+ CommandName.DeviceLockCalibration,
10188
+ CommandName.DeviceAddUser,
10189
+ CommandName.DeviceDeleteUser,
10190
+ CommandName.DeviceUpdateUserPasscode,
10191
+ CommandName.DeviceUpdateUserSchedule,
10192
+ CommandName.DeviceUpdateUsername,
10193
+ ],
10062
10194
  [DeviceType.MOTION_SENSOR]: [],
10063
10195
  [DeviceType.SENSOR]: [],
10064
10196
  [DeviceType.SMART_SAFE_7400]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
@@ -10110,6 +10242,18 @@ exports.DeviceCommands = {
10110
10242
  CommandName.StationTriggerAlarmSound,
10111
10243
  CommandName.DeviceTriggerAlarmSound,
10112
10244
  ],
10245
+ [DeviceType.NVR_S4_MAX]: [],
10246
+ [DeviceType.CAMERA_POE_S4]: [
10247
+ CommandName.DeviceStartLivestream,
10248
+ CommandName.DeviceStopLivestream,
10249
+ CommandName.DeviceTriggerAlarmSound,
10250
+ CommandName.DeviceStartDownload,
10251
+ CommandName.DeviceCancelDownload,
10252
+ CommandName.DeviceStartTalkback,
10253
+ CommandName.DeviceStopTalkback,
10254
+ CommandName.DeviceSnooze,
10255
+ CommandName.DevicePanAndTilt,
10256
+ ],
10113
10257
  };
10114
10258
  exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
10115
10259
  exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
@@ -10145,6 +10289,16 @@ exports.StationCommands = {
10145
10289
  CommandName.StationDatabaseCountByDate,
10146
10290
  CommandName.StationDatabaseDelete,
10147
10291
  ],
10292
+ [DeviceType.NVR_S4_MAX]: [
10293
+ CommandName.StationReboot,
10294
+ CommandName.StationTriggerAlarmSound,
10295
+ CommandName.StationDownloadImage,
10296
+ CommandName.StationDatabaseQueryLatestInfo,
10297
+ CommandName.StationDatabaseQueryByDate,
10298
+ CommandName.StationDatabaseQueryLocal,
10299
+ CommandName.StationDatabaseCountByDate,
10300
+ CommandName.StationDatabaseDelete,
10301
+ ],
10148
10302
  [DeviceType.MINIBASE_CHIME]: [
10149
10303
  CommandName.StationReboot,
10150
10304
  CommandName.StationTriggerAlarmSound,
@@ -10246,6 +10400,16 @@ exports.StationCommands = {
10246
10400
  CommandName.StationDatabaseCountByDate,
10247
10401
  CommandName.StationDatabaseDelete,
10248
10402
  ],
10403
+ [DeviceType.INDOOR_PT_CAMERA_E30]: [
10404
+ CommandName.StationReboot,
10405
+ CommandName.StationTriggerAlarmSound,
10406
+ CommandName.StationDownloadImage,
10407
+ CommandName.StationDatabaseQueryLatestInfo,
10408
+ CommandName.StationDatabaseQueryByDate,
10409
+ CommandName.StationDatabaseQueryLocal,
10410
+ CommandName.StationDatabaseCountByDate,
10411
+ CommandName.StationDatabaseDelete,
10412
+ ],
10249
10413
  [DeviceType.INDOOR_PT_CAMERA_C210]: [
10250
10414
  CommandName.StationReboot,
10251
10415
  CommandName.StationTriggerAlarmSound,