eufy-security-client 3.8.0 → 4.0.0-dev.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/build/eufysecurity.d.ts +2 -0
- package/build/eufysecurity.js +17 -0
- package/build/eufysecurity.js.map +1 -1
- package/build/http/api.d.ts +2 -0
- package/build/http/api.js +39 -6
- package/build/http/api.js.map +1 -1
- package/build/http/device.d.ts +13 -1
- package/build/http/device.js +70 -15
- package/build/http/device.js.map +1 -1
- package/build/http/interfaces.d.ts +1 -0
- package/build/http/models.d.ts +1 -0
- package/build/http/station.d.ts +9 -1
- package/build/http/station.js +108 -31
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +4 -0
- package/build/http/types.js +218 -7
- package/build/http/types.js.map +1 -1
- package/build/p2p/adts.d.ts +12 -0
- package/build/p2p/adts.js +185 -0
- package/build/p2p/adts.js.map +1 -0
- package/build/p2p/interfaces.d.ts +10 -0
- package/build/p2p/session.d.ts +3 -1
- package/build/p2p/session.js +138 -30
- package/build/p2p/session.js.map +1 -1
- package/build/p2p/types.d.ts +1 -0
- package/build/p2p/types.js +1 -0
- package/build/p2p/types.js.map +1 -1
- package/build/p2p/utils.d.ts +11 -0
- package/build/p2p/utils.js +76 -4
- package/build/p2p/utils.js.map +1 -1
- package/coverage/clover.xml +8665 -8452
- package/coverage/coverage-final.json +32 -31
- package/coverage/lcov-report/index.html +41 -41
- package/coverage/lcov.info +17294 -15644
- package/package.json +7 -7
- package/.idea/eufy-security-client.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -7
- package/bin/act +0 -0
- package/coverage/lcov-report/cache.ts.html +0 -184
- package/coverage/lcov-report/error.ts.html +0 -871
- package/coverage/lcov-report/logging.ts.html +0 -598
- package/dont-care.js +0 -101
package/build/http/types.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare enum DeviceType {
|
|
|
17
17
|
BATTERY_DOORBELL_2 = 16,
|
|
18
18
|
HB3 = 18,
|
|
19
19
|
CAMERA3 = 19,
|
|
20
|
+
WATER_FREEZE_SENSOR_8920 = 20,
|
|
20
21
|
CAMERA3C = 23,
|
|
21
22
|
PROFESSIONAL_247 = 24,// T8600
|
|
22
23
|
MINIBASE_CHIME = 25,
|
|
@@ -87,6 +88,9 @@ export declare enum DeviceType {
|
|
|
87
88
|
LOCK_85D0 = 202,
|
|
88
89
|
LOCK_85L0 = 201,
|
|
89
90
|
LOCK_85V0 = 203,
|
|
91
|
+
LOCK_85P0 = 209,//T85P0
|
|
92
|
+
NVR_S4_MAX = 300,//T8N00
|
|
93
|
+
CAMERA_POE_S4 = 301,//T8E00
|
|
90
94
|
WALL_LIGHT_CAM_81A0 = 10005,
|
|
91
95
|
INDOOR_PT_CAMERA_C220 = 10008,// T8W11C
|
|
92
96
|
INDOOR_PT_CAMERA_C210 = 10009,// T8419 / T8W11P?
|
package/build/http/types.js
CHANGED
|
@@ -31,6 +31,7 @@ var DeviceType;
|
|
|
31
31
|
DeviceType[DeviceType["BATTERY_DOORBELL_2"] = 16] = "BATTERY_DOORBELL_2";
|
|
32
32
|
DeviceType[DeviceType["HB3"] = 18] = "HB3";
|
|
33
33
|
DeviceType[DeviceType["CAMERA3"] = 19] = "CAMERA3";
|
|
34
|
+
DeviceType[DeviceType["WATER_FREEZE_SENSOR_8920"] = 20] = "WATER_FREEZE_SENSOR_8920";
|
|
34
35
|
DeviceType[DeviceType["CAMERA3C"] = 23] = "CAMERA3C";
|
|
35
36
|
DeviceType[DeviceType["PROFESSIONAL_247"] = 24] = "PROFESSIONAL_247";
|
|
36
37
|
DeviceType[DeviceType["MINIBASE_CHIME"] = 25] = "MINIBASE_CHIME";
|
|
@@ -101,6 +102,9 @@ var DeviceType;
|
|
|
101
102
|
DeviceType[DeviceType["LOCK_85D0"] = 202] = "LOCK_85D0";
|
|
102
103
|
DeviceType[DeviceType["LOCK_85L0"] = 201] = "LOCK_85L0";
|
|
103
104
|
DeviceType[DeviceType["LOCK_85V0"] = 203] = "LOCK_85V0";
|
|
105
|
+
DeviceType[DeviceType["LOCK_85P0"] = 209] = "LOCK_85P0";
|
|
106
|
+
DeviceType[DeviceType["NVR_S4_MAX"] = 300] = "NVR_S4_MAX";
|
|
107
|
+
DeviceType[DeviceType["CAMERA_POE_S4"] = 301] = "CAMERA_POE_S4";
|
|
104
108
|
DeviceType[DeviceType["WALL_LIGHT_CAM_81A0"] = 10005] = "WALL_LIGHT_CAM_81A0";
|
|
105
109
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
|
|
106
110
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C210"] = 10009] = "INDOOR_PT_CAMERA_C210";
|
|
@@ -965,6 +969,7 @@ exports.GenericTypeProperty = {
|
|
|
965
969
|
16: "Battery Doorbell 2",
|
|
966
970
|
18: "HomeBase S380 (HomeBase 3; T8030)",
|
|
967
971
|
19: "eufyCam S330 (eufyCam 3)",
|
|
972
|
+
20: "eufy Water and Freeze Sensor T8920",
|
|
968
973
|
23: "eufyCam S300 (eufyCam 3C)",
|
|
969
974
|
24: "eufyCam E330 (Professional)",
|
|
970
975
|
25: "MiniBase Chime",
|
|
@@ -984,6 +989,7 @@ exports.GenericTypeProperty = {
|
|
|
984
989
|
46: "Outdoor Camera 1080P",
|
|
985
990
|
47: "Floodlight Camera E340",
|
|
986
991
|
48: "Solo Camera S340",
|
|
992
|
+
49: "eufyCam E40 (T8144)",
|
|
987
993
|
50: "Lock Basic",
|
|
988
994
|
51: "Lock Advanced",
|
|
989
995
|
52: "Lock Basic No Finger",
|
|
@@ -1006,11 +1012,13 @@ exports.GenericTypeProperty = {
|
|
|
1006
1012
|
93: "Video Doorbell Dual (Wired)",
|
|
1007
1013
|
94: "Video Doorbell Dual (E340)",
|
|
1008
1014
|
95: "Video Doorbell (C30)",
|
|
1015
|
+
96: "Video Doorbell (C31)",
|
|
1009
1016
|
98: "SoloCam E42 (T8173)",
|
|
1010
1017
|
100: "Indoor Cost Down Camera",
|
|
1011
1018
|
101: "Camera Gun",
|
|
1012
1019
|
102: "Camera Snail",
|
|
1013
1020
|
104: "Indoor Camera S350",
|
|
1021
|
+
105: "Indoor Cam E30 (T8417)",
|
|
1014
1022
|
110: "Starlight 4G LTE", //T8150
|
|
1015
1023
|
111: "4G LTE Cam S330 (T86P2)",
|
|
1016
1024
|
123: "Siren Sensor E20",
|
|
@@ -1028,13 +1036,18 @@ exports.GenericTypeProperty = {
|
|
|
1028
1036
|
159: "SmartTrack Card (T87B2)",
|
|
1029
1037
|
180: "Smart Lock C210 (T8502)",
|
|
1030
1038
|
184: "Smart Lock C220 (T8506)",
|
|
1039
|
+
189: "Security Video Smart Lock E330 (T8531)",
|
|
1031
1040
|
201: "Smart Lock C33 (T85L0)",
|
|
1032
1041
|
202: "Smart Lock C30 (T85D0)",
|
|
1033
1042
|
203: "FamiLock S3 (T85V0)",
|
|
1043
|
+
209: "FamiLock E34 (T85P0)",
|
|
1044
|
+
300: "NVR S4 Max (T8N00)",
|
|
1045
|
+
301: "PoE Bullet-PTZ Cam S4 (T8E00)",
|
|
1034
1046
|
10005: "Solar Wall Light Cam S120 (T81A0)",
|
|
1035
1047
|
10008: "Indoor Cam C220 (T8W11C)",
|
|
1036
1048
|
10009: "Indoor Cam C210 (T8419)",
|
|
1037
1049
|
10010: "Indoor Cam C220 (T8W11C)",
|
|
1050
|
+
10011: "Indoor Cam C220 (T8419N)",
|
|
1038
1051
|
10035: "eufyCam C35 (T8110)",
|
|
1039
1052
|
},
|
|
1040
1053
|
};
|
|
@@ -1297,7 +1310,12 @@ exports.DeviceEnabledIndoorMiniProperty = {
|
|
|
1297
1310
|
};
|
|
1298
1311
|
exports.DeviceEnabledIndoorS350Property = {
|
|
1299
1312
|
...exports.DeviceEnabledSoloProperty,
|
|
1300
|
-
|
|
1313
|
+
// The HomeBase 3 keeps the live cam-enabled state under the wrapped
|
|
1314
|
+
// CMD_INDOOR_ENABLE_PRIVACY_MODE_S350 (6250) param. The legacy
|
|
1315
|
+
// CMD_DEVS_SWITCH (1035) only ever reflects raw bridge-side writes
|
|
1316
|
+
// and goes stale forever for cams that exclusively use the wrapped
|
|
1317
|
+
// path (S350, outdoor PT cams etc.).
|
|
1318
|
+
key: types_1.CommandType.CMD_INDOOR_ENABLE_PRIVACY_MODE_S350,
|
|
1301
1319
|
commandId: types_1.CommandType.CMD_INDOOR_ENABLE_PRIVACY_MODE_S350,
|
|
1302
1320
|
};
|
|
1303
1321
|
exports.DeviceStatusLedProperty = {
|
|
@@ -4914,12 +4932,12 @@ exports.LockT85V0DeviceProperties = {
|
|
|
4914
4932
|
...exports.GenericDeviceProperties,
|
|
4915
4933
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
4916
4934
|
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
4917
|
-
[PropertyName.DeviceWifiRSSI]: exports.
|
|
4935
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSILockProperty,
|
|
4918
4936
|
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
4919
|
-
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
4920
|
-
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
4921
|
-
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty,
|
|
4922
|
-
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkBatteryDoorbellCamera1Property,
|
|
4937
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
4938
|
+
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
4939
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty,
|
|
4940
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkBatteryDoorbellCamera1Property,
|
|
4923
4941
|
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
4924
4942
|
[PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
|
|
4925
4943
|
[PropertyName.DeviceLastChargingFalseEvents]: exports.DeviceLastChargingFalseEventsProperty,
|
|
@@ -5302,6 +5320,7 @@ exports.DeviceProperties = {
|
|
|
5302
5320
|
},
|
|
5303
5321
|
[DeviceType.CAMERA_S4]: {
|
|
5304
5322
|
...exports.GenericDeviceProperties,
|
|
5323
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledIndoorS350Property,
|
|
5305
5324
|
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
5306
5325
|
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
5307
5326
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
@@ -6700,6 +6719,7 @@ exports.DeviceProperties = {
|
|
|
6700
6719
|
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
6701
6720
|
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeS340Property,
|
|
6702
6721
|
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
6722
|
+
[PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
|
|
6703
6723
|
[PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
|
|
6704
6724
|
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
6705
6725
|
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
@@ -7320,7 +7340,7 @@ exports.DeviceProperties = {
|
|
|
7320
7340
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
7321
7341
|
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
7322
7342
|
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionSoloProperty,
|
|
7323
|
-
[PropertyName.DeviceMotionDetection]: exports.
|
|
7343
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
7324
7344
|
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
7325
7345
|
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
7326
7346
|
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
@@ -7572,6 +7592,30 @@ exports.DeviceProperties = {
|
|
|
7572
7592
|
[PropertyName.DeviceLockEventOrigin]: exports.DeviceLockEventOriginProperty,
|
|
7573
7593
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7574
7594
|
},
|
|
7595
|
+
[DeviceType.LOCK_85V0]: exports.LockT85V0DeviceProperties,
|
|
7596
|
+
[DeviceType.LOCK_85P0]: {
|
|
7597
|
+
...exports.GenericDeviceProperties,
|
|
7598
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryLockProperty,
|
|
7599
|
+
[PropertyName.DeviceLocked]: exports.DeviceLockedProperty,
|
|
7600
|
+
[PropertyName.DeviceLockStatus]: exports.DeviceAdvancedLockStatusProperty,
|
|
7601
|
+
[PropertyName.DeviceAutoLock]: exports.DeviceAutoLockProperty,
|
|
7602
|
+
[PropertyName.DeviceAutoLockTimer]: exports.DeviceAutoLockTimerProperty,
|
|
7603
|
+
[PropertyName.DeviceAutoLockSchedule]: exports.DeviceAutoLockScheduleProperty,
|
|
7604
|
+
[PropertyName.DeviceAutoLockScheduleStartTime]: exports.DeviceAutoLockScheduleStartTimeProperty,
|
|
7605
|
+
[PropertyName.DeviceAutoLockScheduleEndTime]: exports.DeviceAutoLockScheduleEndTimeProperty,
|
|
7606
|
+
[PropertyName.DeviceOneTouchLocking]: exports.DeviceOneTouchLockingProperty,
|
|
7607
|
+
[PropertyName.DeviceWrongTryProtection]: exports.DeviceWrongTryProtectionProperty,
|
|
7608
|
+
[PropertyName.DeviceWrongTryAttempts]: exports.DeviceWrongTryAttemptsProperty,
|
|
7609
|
+
[PropertyName.DeviceWrongTryLockdownTime]: exports.DeviceWrongTryLockdownTimeProperty,
|
|
7610
|
+
[PropertyName.DeviceScramblePasscode]: exports.DeviceScramblePasscodeProperty,
|
|
7611
|
+
[PropertyName.DeviceSound]: exports.DeviceSoundProperty,
|
|
7612
|
+
[PropertyName.DeviceNotification]: exports.DeviceNotificationSmartLockProperty,
|
|
7613
|
+
[PropertyName.DeviceNotificationUnlocked]: exports.DeviceNotificationUnlockedSmartLockProperty,
|
|
7614
|
+
[PropertyName.DeviceNotificationLocked]: exports.DeviceNotificationLockedSmartLockProperty,
|
|
7615
|
+
[PropertyName.DeviceLowBatteryAlert]: exports.DeviceLowBatteryAlertProperty,
|
|
7616
|
+
[PropertyName.DeviceLockEventOrigin]: exports.DeviceLockEventOriginProperty,
|
|
7617
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7618
|
+
},
|
|
7575
7619
|
[DeviceType.LOCK_BLE]: {
|
|
7576
7620
|
...exports.GenericDeviceProperties,
|
|
7577
7621
|
[PropertyName.DeviceState]: exports.DeviceStateLockProperty,
|
|
@@ -8192,6 +8236,80 @@ exports.DeviceProperties = {
|
|
|
8192
8236
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
8193
8237
|
[PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowMotionSensorProperty,
|
|
8194
8238
|
},
|
|
8239
|
+
[DeviceType.WATER_FREEZE_SENSOR_8920]: {
|
|
8240
|
+
...exports.GenericDeviceProperties,
|
|
8241
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
8242
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
8243
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
8244
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIEntrySensorProperty,
|
|
8245
|
+
[PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowMotionSensorProperty,
|
|
8246
|
+
},
|
|
8247
|
+
[DeviceType.CAMERA_POE_S4]: {
|
|
8248
|
+
...exports.GenericDeviceProperties,
|
|
8249
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
|
|
8250
|
+
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
8251
|
+
[PropertyName.DeviceNightvision]: exports.DeviceNightvisionProperty,
|
|
8252
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
8253
|
+
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
8254
|
+
[PropertyName.DeviceAntitheftDetection]: exports.DeviceAntitheftDetectionProperty,
|
|
8255
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
8256
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
8257
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
8258
|
+
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
8259
|
+
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
8260
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
8261
|
+
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
8262
|
+
[PropertyName.DeviceStrangerPersonDetected]: exports.DeviceStrangerPersonDetectedProperty,
|
|
8263
|
+
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
8264
|
+
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
8265
|
+
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
8266
|
+
[PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
|
|
8267
|
+
[PropertyName.DeviceLightSettingsMotionTriggered]: exports.DeviceFloodlightLightSettingsMotionTriggeredProperty,
|
|
8268
|
+
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
8269
|
+
[PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
|
|
8270
|
+
[PropertyName.DevicePicture]: exports.DevicePictureProperty,
|
|
8271
|
+
[PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
|
|
8272
|
+
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivityCamera2Property,
|
|
8273
|
+
[PropertyName.DeviceMotionDetectionType]: exports.DeviceMotionDetectionTypeProperty,
|
|
8274
|
+
[PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
|
|
8275
|
+
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
8276
|
+
[PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty,
|
|
8277
|
+
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingProperty,
|
|
8278
|
+
[PropertyName.DeviceMotionDetectionTypeHuman]: exports.DeviceMotionHB3DetectionTypeHumanProperty,
|
|
8279
|
+
[PropertyName.DeviceMotionDetectionTypeHumanRecognition]: exports.DeviceMotionHB3DetectionTypeHumanRecognitionProperty,
|
|
8280
|
+
[PropertyName.DeviceMotionDetectionTypePet]: exports.DeviceMotionHB3DetectionTypePetProperty,
|
|
8281
|
+
[PropertyName.DeviceMotionDetectionTypeVehicle]: exports.DeviceMotionHB3DetectionTypeVehicleProperty,
|
|
8282
|
+
[PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
|
|
8283
|
+
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualitySoloProperty,
|
|
8284
|
+
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityProperty,
|
|
8285
|
+
[PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeIndoorFloodlightProperty,
|
|
8286
|
+
[PropertyName.DeviceNotificationPerson]: exports.DeviceNotificationPersonS350Property,
|
|
8287
|
+
[PropertyName.DeviceNotificationPet]: exports.DeviceNotificationPetS350Property,
|
|
8288
|
+
[PropertyName.DeviceNotificationAllOtherMotion]: exports.DeviceNotificationAllOtherMotionS350Property,
|
|
8289
|
+
[PropertyName.DeviceNotificationAllSound]: exports.DeviceNotificationAllSoundS350Property,
|
|
8290
|
+
[PropertyName.DeviceNotificationCrying]: exports.DeviceNotificationCryingS350Property,
|
|
8291
|
+
[PropertyName.DeviceNotificationVehicle]: exports.DeviceNotificationVehicleProperty,
|
|
8292
|
+
[PropertyName.DeviceImageMirrored]: exports.DeviceImageMirroredProperty,
|
|
8293
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
8294
|
+
[PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
|
|
8295
|
+
[PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
|
|
8296
|
+
[PropertyName.DevicePowerSource]: exports.DevicePowerSourceProperty,
|
|
8297
|
+
[PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
|
|
8298
|
+
[PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthOutdoorPTProperty,
|
|
8299
|
+
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
8300
|
+
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
8301
|
+
[PropertyName.DeviceVideoWDR]: exports.DeviceWDRProperty,
|
|
8302
|
+
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeProperty,
|
|
8303
|
+
[PropertyName.DeviceContinuousRecording]: exports.DeviceContinuousRecordingProperty,
|
|
8304
|
+
[PropertyName.DeviceContinuousRecordingType]: exports.DeviceContinuousRecordingTypeProperty,
|
|
8305
|
+
[PropertyName.DeviceVideoTypeStoreToNAS]: exports.DeviceVideoTypeStoreToNASProperty,
|
|
8306
|
+
[PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
|
|
8307
|
+
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
8308
|
+
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
8309
|
+
},
|
|
8310
|
+
[DeviceType.NVR_S4_MAX]: {
|
|
8311
|
+
...exports.GenericDeviceProperties,
|
|
8312
|
+
},
|
|
8195
8313
|
};
|
|
8196
8314
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8197
8315
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -8791,6 +8909,32 @@ exports.StationProperties = {
|
|
|
8791
8909
|
[PropertyName.StationCrossTrackingCameraList]: exports.StationCrossTrackingCameraListProperty,
|
|
8792
8910
|
[PropertyName.StationCrossTrackingGroupList]: exports.StationCrossTrackingGroupListProperty,
|
|
8793
8911
|
},
|
|
8912
|
+
[DeviceType.NVR_S4_MAX]: {
|
|
8913
|
+
...exports.BaseStationProperties,
|
|
8914
|
+
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressProperty,
|
|
8915
|
+
[PropertyName.StationMacAddress]: exports.StationMacAddressProperty,
|
|
8916
|
+
[PropertyName.StationGuardMode]: exports.StationGuardModeProperty,
|
|
8917
|
+
[PropertyName.StationCurrentMode]: exports.StationCurrentModeProperty,
|
|
8918
|
+
[PropertyName.StationTimeFormat]: exports.StationTimeFormatProperty,
|
|
8919
|
+
[PropertyName.StationTimeZone]: exports.StationTimeZoneProperty,
|
|
8920
|
+
[PropertyName.StationAlarmVolume]: exports.StationAlarmVolumeProperty,
|
|
8921
|
+
[PropertyName.StationAlarmTone]: exports.StationAlarmToneProperty,
|
|
8922
|
+
[PropertyName.StationAutoEndAlarm]: exports.StationAutoEndAlarmProperty,
|
|
8923
|
+
[PropertyName.StationNotificationSwitchModeSchedule]: exports.StationNotificationSwitchModeScheduleProperty,
|
|
8924
|
+
[PropertyName.StationNotificationSwitchModeGeofence]: exports.StationNotificationSwitchModeGeofenceProperty,
|
|
8925
|
+
[PropertyName.StationNotificationSwitchModeApp]: exports.StationNotificationSwitchModeAppProperty,
|
|
8926
|
+
[PropertyName.StationNotificationSwitchModeKeypad]: exports.StationNotificationSwitchModeKeypadProperty,
|
|
8927
|
+
[PropertyName.StationNotificationStartAlarmDelay]: exports.StationNotificationStartAlarmDelayProperty,
|
|
8928
|
+
[PropertyName.StationSdStatus]: exports.StationSdStatusProperty,
|
|
8929
|
+
[PropertyName.StationHomeSecuritySettings]: exports.StationHomeSecuritySettings,
|
|
8930
|
+
[PropertyName.StationAwaySecuritySettings]: exports.StationAwaySecuritySettings,
|
|
8931
|
+
[PropertyName.StationCustom1SecuritySettings]: exports.StationCustom1SecuritySettings,
|
|
8932
|
+
[PropertyName.StationCustom2SecuritySettings]: exports.StationCustom2SecuritySettings,
|
|
8933
|
+
[PropertyName.StationCustom3SecuritySettings]: exports.StationCustom3SecuritySettings,
|
|
8934
|
+
[PropertyName.StationOffSecuritySettings]: exports.StationOffSecuritySettings,
|
|
8935
|
+
[PropertyName.StationAlarm]: exports.StationAlarmProperty,
|
|
8936
|
+
[PropertyName.StationAlarmType]: exports.StationAlarmTypeProperty,
|
|
8937
|
+
},
|
|
8794
8938
|
[DeviceType.INDOOR_CAMERA]: {
|
|
8795
8939
|
...exports.BaseStationProperties,
|
|
8796
8940
|
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
@@ -9272,6 +9416,9 @@ exports.StationProperties = {
|
|
|
9272
9416
|
[DeviceType.LOCK_8592]: {
|
|
9273
9417
|
...exports.BaseStationProperties,
|
|
9274
9418
|
},
|
|
9419
|
+
[DeviceType.LOCK_85P0]: {
|
|
9420
|
+
...exports.BaseStationProperties,
|
|
9421
|
+
},
|
|
9275
9422
|
[DeviceType.LOCK_BLE]: {
|
|
9276
9423
|
...exports.BaseStationProperties,
|
|
9277
9424
|
},
|
|
@@ -9683,6 +9830,21 @@ exports.DeviceCommands = {
|
|
|
9683
9830
|
CommandName.DeviceSavePresetPosition,
|
|
9684
9831
|
CommandName.DeviceDeletePresetPosition,
|
|
9685
9832
|
],
|
|
9833
|
+
[DeviceType.INDOOR_PT_CAMERA_E30]: [
|
|
9834
|
+
CommandName.DeviceStartLivestream,
|
|
9835
|
+
CommandName.DeviceStopLivestream,
|
|
9836
|
+
CommandName.DeviceTriggerAlarmSound,
|
|
9837
|
+
CommandName.DevicePanAndTilt,
|
|
9838
|
+
CommandName.DeviceStartDownload,
|
|
9839
|
+
CommandName.DeviceCancelDownload,
|
|
9840
|
+
CommandName.DeviceCalibrate,
|
|
9841
|
+
CommandName.DeviceStartTalkback,
|
|
9842
|
+
CommandName.DeviceStopTalkback,
|
|
9843
|
+
CommandName.DeviceSnooze,
|
|
9844
|
+
CommandName.DevicePresetPosition,
|
|
9845
|
+
CommandName.DeviceSavePresetPosition,
|
|
9846
|
+
CommandName.DeviceDeletePresetPosition,
|
|
9847
|
+
],
|
|
9686
9848
|
[DeviceType.INDOOR_PT_CAMERA_C210]: [
|
|
9687
9849
|
CommandName.DeviceStartLivestream,
|
|
9688
9850
|
CommandName.DeviceStopLivestream,
|
|
@@ -10049,6 +10211,23 @@ exports.DeviceCommands = {
|
|
|
10049
10211
|
CommandName.DeviceUpdateUserSchedule,
|
|
10050
10212
|
CommandName.DeviceUpdateUsername,
|
|
10051
10213
|
],
|
|
10214
|
+
[DeviceType.LOCK_85V0]: [
|
|
10215
|
+
CommandName.DeviceStartLivestream,
|
|
10216
|
+
CommandName.DeviceStopLivestream,
|
|
10217
|
+
CommandName.DeviceQuickResponse,
|
|
10218
|
+
CommandName.DeviceStartDownload,
|
|
10219
|
+
CommandName.DeviceCancelDownload,
|
|
10220
|
+
CommandName.DeviceStartTalkback,
|
|
10221
|
+
CommandName.DeviceStopTalkback,
|
|
10222
|
+
CommandName.DeviceSnooze,
|
|
10223
|
+
CommandName.DeviceLockCalibration,
|
|
10224
|
+
CommandName.DeviceAddUser,
|
|
10225
|
+
CommandName.DeviceDeleteUser,
|
|
10226
|
+
CommandName.DeviceUpdateUserPasscode,
|
|
10227
|
+
CommandName.DeviceUpdateUserSchedule,
|
|
10228
|
+
CommandName.DeviceUpdateUsername,
|
|
10229
|
+
],
|
|
10230
|
+
[DeviceType.LOCK_85P0]: [CommandName.DeviceLockCalibration],
|
|
10052
10231
|
[DeviceType.MOTION_SENSOR]: [],
|
|
10053
10232
|
[DeviceType.SENSOR]: [],
|
|
10054
10233
|
[DeviceType.SMART_SAFE_7400]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|
|
@@ -10100,6 +10279,18 @@ exports.DeviceCommands = {
|
|
|
10100
10279
|
CommandName.StationTriggerAlarmSound,
|
|
10101
10280
|
CommandName.DeviceTriggerAlarmSound,
|
|
10102
10281
|
],
|
|
10282
|
+
[DeviceType.CAMERA_POE_S4]: [
|
|
10283
|
+
CommandName.DeviceStartLivestream,
|
|
10284
|
+
CommandName.DeviceStopLivestream,
|
|
10285
|
+
CommandName.DeviceTriggerAlarmSound,
|
|
10286
|
+
CommandName.DeviceStartDownload,
|
|
10287
|
+
CommandName.DeviceCancelDownload,
|
|
10288
|
+
CommandName.DeviceStartTalkback,
|
|
10289
|
+
CommandName.DeviceStopTalkback,
|
|
10290
|
+
CommandName.DeviceSnooze,
|
|
10291
|
+
CommandName.DevicePanAndTilt,
|
|
10292
|
+
],
|
|
10293
|
+
[DeviceType.NVR_S4_MAX]: [],
|
|
10103
10294
|
};
|
|
10104
10295
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10105
10296
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -10135,6 +10326,16 @@ exports.StationCommands = {
|
|
|
10135
10326
|
CommandName.StationDatabaseCountByDate,
|
|
10136
10327
|
CommandName.StationDatabaseDelete,
|
|
10137
10328
|
],
|
|
10329
|
+
[DeviceType.NVR_S4_MAX]: [
|
|
10330
|
+
CommandName.StationReboot,
|
|
10331
|
+
CommandName.StationTriggerAlarmSound,
|
|
10332
|
+
CommandName.StationDownloadImage,
|
|
10333
|
+
CommandName.StationDatabaseQueryLatestInfo,
|
|
10334
|
+
CommandName.StationDatabaseQueryByDate,
|
|
10335
|
+
CommandName.StationDatabaseQueryLocal,
|
|
10336
|
+
CommandName.StationDatabaseCountByDate,
|
|
10337
|
+
CommandName.StationDatabaseDelete,
|
|
10338
|
+
],
|
|
10138
10339
|
[DeviceType.MINIBASE_CHIME]: [
|
|
10139
10340
|
CommandName.StationReboot,
|
|
10140
10341
|
CommandName.StationTriggerAlarmSound,
|
|
@@ -10236,6 +10437,16 @@ exports.StationCommands = {
|
|
|
10236
10437
|
CommandName.StationDatabaseCountByDate,
|
|
10237
10438
|
CommandName.StationDatabaseDelete,
|
|
10238
10439
|
],
|
|
10440
|
+
[DeviceType.INDOOR_PT_CAMERA_E30]: [
|
|
10441
|
+
CommandName.StationReboot,
|
|
10442
|
+
CommandName.StationTriggerAlarmSound,
|
|
10443
|
+
CommandName.StationDownloadImage,
|
|
10444
|
+
CommandName.StationDatabaseQueryLatestInfo,
|
|
10445
|
+
CommandName.StationDatabaseQueryByDate,
|
|
10446
|
+
CommandName.StationDatabaseQueryLocal,
|
|
10447
|
+
CommandName.StationDatabaseCountByDate,
|
|
10448
|
+
CommandName.StationDatabaseDelete,
|
|
10449
|
+
],
|
|
10239
10450
|
[DeviceType.INDOOR_PT_CAMERA_C210]: [
|
|
10240
10451
|
CommandName.StationReboot,
|
|
10241
10452
|
CommandName.StationTriggerAlarmSound,
|