@homebridge-eufy-security/eufy-security-client 3.7.2-dev.6 → 3.8.0-dev.7
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 +27 -0
- package/build/eufysecurity.d.ts +2 -0
- package/build/eufysecurity.js +27 -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 +5 -0
- package/build/http/device.js +35 -1
- package/build/http/device.js.map +1 -1
- package/build/http/interfaces.d.ts +1 -0
- package/build/http/station.d.ts +1 -0
- package/build/http/station.js +7 -3
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +4 -0
- package/build/http/types.js +217 -1
- package/build/http/types.js.map +1 -1
- package/build/p2p/interfaces.d.ts +1 -0
- package/build/p2p/session.js +20 -2
- 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.js +1 -0
- package/build/p2p/utils.js.map +1 -1
- package/build/push/service.js +1 -1
- package/build/push/service.js.map +1 -1
- package/coverage/clover.xml +10075 -10031
- package/coverage/coverage-final.json +26 -26
- package/coverage/lcov-report/index.html +59 -59
- package/coverage/lcov.info +16860 -16762
- package/package.json +5 -1
- package/scripts/cut_release.sh +2 -0
- package/scripts/generate_changelog.sh +93 -0
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,
|
|
@@ -60,12 +61,14 @@ export declare enum DeviceType {
|
|
|
60
61
|
BATTERY_DOORBELL_PLUS_E340 = 94,
|
|
61
62
|
BATTERY_DOORBELL_C30 = 95,
|
|
62
63
|
BATTERY_DOORBELL_C31 = 96,
|
|
64
|
+
SOLOCAM_E42 = 98,//T8173
|
|
63
65
|
INDOOR_COST_DOWN_CAMERA = 100,
|
|
64
66
|
CAMERA_GUN = 101,
|
|
65
67
|
CAMERA_SNAIL = 102,
|
|
66
68
|
INDOOR_PT_CAMERA_S350 = 104,
|
|
67
69
|
INDOOR_PT_CAMERA_E30 = 105,
|
|
68
70
|
CAMERA_FG = 110,//T8150
|
|
71
|
+
CAMERA_4G_S330 = 111,//T86P2
|
|
69
72
|
SIREN_SENSOR_E20 = 123,
|
|
70
73
|
ENTRY_SENSOR_E20 = 126,
|
|
71
74
|
PIR_SENSOR_E20 = 127,
|
|
@@ -89,6 +92,7 @@ export declare enum DeviceType {
|
|
|
89
92
|
INDOOR_PT_CAMERA_C220 = 10008,// T8W11C
|
|
90
93
|
INDOOR_PT_CAMERA_C210 = 10009,// T8419 / T8W11P?
|
|
91
94
|
INDOOR_PT_CAMERA_C220_V2 = 10010,// T8W11C (Type 10010)
|
|
95
|
+
INDOOR_PT_CAMERA_C220_V3 = 10011,// T8419N
|
|
92
96
|
CAMERA_C35 = 10035
|
|
93
97
|
}
|
|
94
98
|
export declare enum ParamType {
|
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";
|
|
@@ -74,12 +75,14 @@ var DeviceType;
|
|
|
74
75
|
DeviceType[DeviceType["BATTERY_DOORBELL_PLUS_E340"] = 94] = "BATTERY_DOORBELL_PLUS_E340";
|
|
75
76
|
DeviceType[DeviceType["BATTERY_DOORBELL_C30"] = 95] = "BATTERY_DOORBELL_C30";
|
|
76
77
|
DeviceType[DeviceType["BATTERY_DOORBELL_C31"] = 96] = "BATTERY_DOORBELL_C31";
|
|
78
|
+
DeviceType[DeviceType["SOLOCAM_E42"] = 98] = "SOLOCAM_E42";
|
|
77
79
|
DeviceType[DeviceType["INDOOR_COST_DOWN_CAMERA"] = 100] = "INDOOR_COST_DOWN_CAMERA";
|
|
78
80
|
DeviceType[DeviceType["CAMERA_GUN"] = 101] = "CAMERA_GUN";
|
|
79
81
|
DeviceType[DeviceType["CAMERA_SNAIL"] = 102] = "CAMERA_SNAIL";
|
|
80
82
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_S350"] = 104] = "INDOOR_PT_CAMERA_S350";
|
|
81
83
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_E30"] = 105] = "INDOOR_PT_CAMERA_E30";
|
|
82
84
|
DeviceType[DeviceType["CAMERA_FG"] = 110] = "CAMERA_FG";
|
|
85
|
+
DeviceType[DeviceType["CAMERA_4G_S330"] = 111] = "CAMERA_4G_S330";
|
|
83
86
|
DeviceType[DeviceType["SIREN_SENSOR_E20"] = 123] = "SIREN_SENSOR_E20";
|
|
84
87
|
DeviceType[DeviceType["ENTRY_SENSOR_E20"] = 126] = "ENTRY_SENSOR_E20";
|
|
85
88
|
DeviceType[DeviceType["PIR_SENSOR_E20"] = 127] = "PIR_SENSOR_E20";
|
|
@@ -103,6 +106,7 @@ var DeviceType;
|
|
|
103
106
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
|
|
104
107
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C210"] = 10009] = "INDOOR_PT_CAMERA_C210";
|
|
105
108
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220_V2"] = 10010] = "INDOOR_PT_CAMERA_C220_V2";
|
|
109
|
+
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220_V3"] = 10011] = "INDOOR_PT_CAMERA_C220_V3";
|
|
106
110
|
DeviceType[DeviceType["CAMERA_C35"] = 10035] = "CAMERA_C35";
|
|
107
111
|
})(DeviceType || (exports.DeviceType = DeviceType = {}));
|
|
108
112
|
var ParamType;
|
|
@@ -962,6 +966,7 @@ exports.GenericTypeProperty = {
|
|
|
962
966
|
16: "Battery Doorbell 2",
|
|
963
967
|
18: "HomeBase S380 (HomeBase 3; T8030)",
|
|
964
968
|
19: "eufyCam S330 (eufyCam 3)",
|
|
969
|
+
20: "eufy Water and Freeze Sensor T8920",
|
|
965
970
|
23: "eufyCam S300 (eufyCam 3C)",
|
|
966
971
|
24: "eufyCam E330 (Professional)",
|
|
967
972
|
25: "MiniBase Chime",
|
|
@@ -1003,11 +1008,13 @@ exports.GenericTypeProperty = {
|
|
|
1003
1008
|
93: "Video Doorbell Dual (Wired)",
|
|
1004
1009
|
94: "Video Doorbell Dual (E340)",
|
|
1005
1010
|
95: "Video Doorbell (C30)",
|
|
1011
|
+
98: "SoloCam E42 (T8173)",
|
|
1006
1012
|
100: "Indoor Cost Down Camera",
|
|
1007
1013
|
101: "Camera Gun",
|
|
1008
1014
|
102: "Camera Snail",
|
|
1009
1015
|
104: "Indoor Camera S350",
|
|
1010
1016
|
110: "Starlight 4G LTE", //T8150
|
|
1017
|
+
111: "4G LTE Cam S330 (T86P2)",
|
|
1011
1018
|
123: "Siren Sensor E20",
|
|
1012
1019
|
126: "Entry Sensor E20",
|
|
1013
1020
|
127: "Pir Sensor E20",
|
|
@@ -6643,6 +6650,66 @@ exports.DeviceProperties = {
|
|
|
6643
6650
|
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
6644
6651
|
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeS340Property,
|
|
6645
6652
|
},
|
|
6653
|
+
[DeviceType.SOLOCAM_E42]: {
|
|
6654
|
+
...exports.GenericDeviceProperties,
|
|
6655
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
6656
|
+
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
6657
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
|
|
6658
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
6659
|
+
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
6660
|
+
[PropertyName.DeviceNightvision]: exports.DeviceNightvisionProperty,
|
|
6661
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
6662
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
6663
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
6664
|
+
[PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
|
|
6665
|
+
[PropertyName.DeviceLastChargingFalseEvents]: exports.DeviceLastChargingFalseEventsProperty,
|
|
6666
|
+
[PropertyName.DeviceLastChargingRecordedEvents]: exports.DeviceLastChargingRecordedEventsProperty,
|
|
6667
|
+
[PropertyName.DeviceLastChargingTotalEvents]: exports.DeviceLastChargingTotalEventsProperty,
|
|
6668
|
+
[PropertyName.DeviceBatteryUsageLastWeek]: exports.DeviceBatteryUsageLastWeekProperty,
|
|
6669
|
+
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
6670
|
+
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
6671
|
+
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
6672
|
+
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedIndoorFloodProperty,
|
|
6673
|
+
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
6674
|
+
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
6675
|
+
[PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
|
|
6676
|
+
[PropertyName.DeviceLightSettingsMotionTriggered]: exports.DeviceFloodlightLightSettingsMotionTriggeredProperty,
|
|
6677
|
+
[PropertyName.DevicePicture]: exports.DevicePictureProperty,
|
|
6678
|
+
[PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
|
|
6679
|
+
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivitySoloProperty,
|
|
6680
|
+
[PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
|
|
6681
|
+
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
6682
|
+
[PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty,
|
|
6683
|
+
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingIndoorSoloFloodlightProperty,
|
|
6684
|
+
[PropertyName.DeviceMotionDetectionTypeHuman]: exports.DeviceMotionHB3DetectionTypeHumanProperty,
|
|
6685
|
+
[PropertyName.DeviceMotionDetectionTypeVehicle]: exports.DeviceMotionHB3DetectionTypeVehicleProperty,
|
|
6686
|
+
[PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
|
|
6687
|
+
[PropertyName.DeviceMotionTracking]: exports.DeviceMotionTrackingProperty,
|
|
6688
|
+
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualityS340Property,
|
|
6689
|
+
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityS340Property,
|
|
6690
|
+
[PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeIndoorFloodlightProperty,
|
|
6691
|
+
[PropertyName.DeviceRotationSpeed]: exports.DeviceRotationSpeedProperty,
|
|
6692
|
+
[PropertyName.DeviceMotionZone]: exports.DeviceMotionZoneProperty,
|
|
6693
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
6694
|
+
[PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
|
|
6695
|
+
[PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
|
|
6696
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
6697
|
+
[PropertyName.DevicePowerSource]: exports.DevicePowerSourceProperty,
|
|
6698
|
+
[PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
|
|
6699
|
+
[PropertyName.DeviceChargingStatus]: exports.DeviceChargingStatusProperty,
|
|
6700
|
+
[PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthOutdoorPTProperty,
|
|
6701
|
+
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
6702
|
+
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
6703
|
+
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeS340Property,
|
|
6704
|
+
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
6705
|
+
[PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
|
|
6706
|
+
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
6707
|
+
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
6708
|
+
[PropertyName.DeviceContinuousRecording]: exports.DeviceContinuousRecordingProperty,
|
|
6709
|
+
[PropertyName.DeviceContinuousRecordingType]: exports.DeviceContinuousRecordingTypeProperty,
|
|
6710
|
+
[PropertyName.DeviceVideoTypeStoreToNAS]: exports.DeviceVideoTypeStoreToNASProperty,
|
|
6711
|
+
[PropertyName.DeviceImageMirrored]: exports.DeviceImageMirroredProperty,
|
|
6712
|
+
},
|
|
6646
6713
|
[DeviceType.INDOOR_PT_CAMERA_S350]: {
|
|
6647
6714
|
...exports.GenericDeviceProperties,
|
|
6648
6715
|
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
@@ -6902,6 +6969,73 @@ exports.DeviceProperties = {
|
|
|
6902
6969
|
[PropertyName.DeviceCellularIMEI]: exports.DeviceCellularIMEIProperty,
|
|
6903
6970
|
[PropertyName.DeviceCellularICCID]: exports.DeviceCellularICCIDProperty,
|
|
6904
6971
|
},
|
|
6972
|
+
[DeviceType.CAMERA_4G_S330]: {
|
|
6973
|
+
...exports.GenericDeviceProperties,
|
|
6974
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
6975
|
+
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
6976
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
|
|
6977
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
6978
|
+
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
6979
|
+
[PropertyName.DeviceNightvision]: exports.DeviceNightvisionProperty,
|
|
6980
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
6981
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
6982
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
6983
|
+
[PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
|
|
6984
|
+
[PropertyName.DeviceLastChargingFalseEvents]: exports.DeviceLastChargingFalseEventsProperty,
|
|
6985
|
+
[PropertyName.DeviceLastChargingRecordedEvents]: exports.DeviceLastChargingRecordedEventsProperty,
|
|
6986
|
+
[PropertyName.DeviceLastChargingTotalEvents]: exports.DeviceLastChargingTotalEventsProperty,
|
|
6987
|
+
[PropertyName.DeviceBatteryUsageLastWeek]: exports.DeviceBatteryUsageLastWeekProperty,
|
|
6988
|
+
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
6989
|
+
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
6990
|
+
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
6991
|
+
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
6992
|
+
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
6993
|
+
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
6994
|
+
[PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
|
|
6995
|
+
[PropertyName.DeviceLightSettingsMotionTriggered]: exports.DeviceFloodlightLightSettingsMotionTriggeredProperty,
|
|
6996
|
+
[PropertyName.DevicePicture]: exports.DevicePictureProperty,
|
|
6997
|
+
[PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
|
|
6998
|
+
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivitySoloProperty,
|
|
6999
|
+
[PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
|
|
7000
|
+
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
7001
|
+
[PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty,
|
|
7002
|
+
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingStarlight4gLTEProperty,
|
|
7003
|
+
[PropertyName.DeviceMotionDetectionTypeHuman]: exports.DeviceMotionHB3DetectionTypeHumanProperty,
|
|
7004
|
+
[PropertyName.DeviceMotionDetectionTypeVehicle]: exports.DeviceMotionHB3DetectionTypeVehicleProperty,
|
|
7005
|
+
[PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
|
|
7006
|
+
[PropertyName.DeviceMotionTracking]: exports.DeviceMotionTrackingProperty,
|
|
7007
|
+
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualityS340Property,
|
|
7008
|
+
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityS340Property,
|
|
7009
|
+
[PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeIndoorFloodlightProperty,
|
|
7010
|
+
[PropertyName.DeviceRotationSpeed]: exports.DeviceRotationSpeedProperty,
|
|
7011
|
+
[PropertyName.DeviceMotionZone]: exports.DeviceMotionZoneProperty,
|
|
7012
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
7013
|
+
[PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
|
|
7014
|
+
[PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
|
|
7015
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7016
|
+
[PropertyName.DevicePowerSource]: exports.DevicePowerSourceProperty,
|
|
7017
|
+
[PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
|
|
7018
|
+
[PropertyName.DeviceChargingStatus]: exports.DeviceChargingStatusProperty,
|
|
7019
|
+
[PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthOutdoorPTProperty,
|
|
7020
|
+
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
7021
|
+
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
7022
|
+
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeS340Property,
|
|
7023
|
+
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
7024
|
+
[PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
|
|
7025
|
+
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
7026
|
+
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
7027
|
+
[PropertyName.DeviceContinuousRecording]: exports.DeviceContinuousRecordingProperty,
|
|
7028
|
+
[PropertyName.DeviceContinuousRecordingType]: exports.DeviceContinuousRecordingTypeProperty,
|
|
7029
|
+
[PropertyName.DeviceVideoTypeStoreToNAS]: exports.DeviceVideoTypeStoreToNASProperty,
|
|
7030
|
+
[PropertyName.DeviceImageMirrored]: exports.DeviceImageMirroredProperty,
|
|
7031
|
+
[PropertyName.DeviceAntitheftDetection]: exports.DeviceAntitheftDetectionProperty,
|
|
7032
|
+
[PropertyName.DeviceCellularRSSI]: exports.DeviceCellularRSSIProperty,
|
|
7033
|
+
[PropertyName.DeviceCellularSignalLevel]: exports.DeviceCellularSignalLevelProperty,
|
|
7034
|
+
[PropertyName.DeviceCellularSignal]: exports.DeviceCellularSignalProperty,
|
|
7035
|
+
[PropertyName.DeviceCellularBand]: exports.DeviceCellularBandProperty,
|
|
7036
|
+
[PropertyName.DeviceCellularIMEI]: exports.DeviceCellularIMEIProperty,
|
|
7037
|
+
[PropertyName.DeviceCellularICCID]: exports.DeviceCellularICCIDProperty,
|
|
7038
|
+
},
|
|
6905
7039
|
[DeviceType.SOLO_CAMERA]: {
|
|
6906
7040
|
...exports.GenericDeviceProperties,
|
|
6907
7041
|
[PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
|
|
@@ -7188,7 +7322,7 @@ exports.DeviceProperties = {
|
|
|
7188
7322
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
7189
7323
|
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
7190
7324
|
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionSoloProperty,
|
|
7191
|
-
[PropertyName.DeviceMotionDetection]: exports.
|
|
7325
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
7192
7326
|
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
7193
7327
|
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
7194
7328
|
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
@@ -8060,8 +8194,17 @@ exports.DeviceProperties = {
|
|
|
8060
8194
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
8061
8195
|
[PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowMotionSensorProperty,
|
|
8062
8196
|
},
|
|
8197
|
+
[DeviceType.WATER_FREEZE_SENSOR_8920]: {
|
|
8198
|
+
...exports.GenericDeviceProperties,
|
|
8199
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
8200
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
8201
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
8202
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIEntrySensorProperty,
|
|
8203
|
+
[PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowMotionSensorProperty,
|
|
8204
|
+
},
|
|
8063
8205
|
};
|
|
8064
8206
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8207
|
+
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8065
8208
|
exports.StationNameProperty = {
|
|
8066
8209
|
key: "station_name",
|
|
8067
8210
|
name: PropertyName.Name,
|
|
@@ -8826,6 +8969,21 @@ exports.StationProperties = {
|
|
|
8826
8969
|
[PropertyName.StationNotificationSwitchModeSchedule]: exports.StationNotificationSwitchModeScheduleProperty,
|
|
8827
8970
|
[PropertyName.StationNotificationSwitchModeApp]: exports.StationNotificationSwitchModeAppProperty,
|
|
8828
8971
|
},
|
|
8972
|
+
[DeviceType.SOLOCAM_E42]: {
|
|
8973
|
+
...exports.BaseStationProperties,
|
|
8974
|
+
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
8975
|
+
[PropertyName.StationMacAddress]: exports.StationMacAddressProperty,
|
|
8976
|
+
[PropertyName.StationGuardMode]: exports.StationGuardModeProperty,
|
|
8977
|
+
[PropertyName.StationCurrentMode]: exports.StationCurrentModeProperty,
|
|
8978
|
+
[PropertyName.StationTimeFormat]: exports.StationTimeFormatProperty,
|
|
8979
|
+
[PropertyName.StationAlarm]: exports.StationAlarmProperty,
|
|
8980
|
+
[PropertyName.StationAlarmType]: exports.StationAlarmTypeProperty,
|
|
8981
|
+
[PropertyName.StationSdStatus]: exports.StationSdStatusProperty,
|
|
8982
|
+
[PropertyName.StationSdCapacity]: exports.StationSdCapacityProperty,
|
|
8983
|
+
[PropertyName.StationSdCapacityAvailable]: exports.StationSdAvailableCapacityProperty,
|
|
8984
|
+
[PropertyName.StationNotificationSwitchModeSchedule]: exports.StationNotificationSwitchModeScheduleProperty,
|
|
8985
|
+
[PropertyName.StationNotificationSwitchModeApp]: exports.StationNotificationSwitchModeAppProperty,
|
|
8986
|
+
},
|
|
8829
8987
|
[DeviceType.DOORBELL]: {
|
|
8830
8988
|
...exports.BaseStationProperties,
|
|
8831
8989
|
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
@@ -8881,6 +9039,17 @@ exports.StationProperties = {
|
|
|
8881
9039
|
//[PropertyName.StationNotificationSwitchModeSchedule]: StationNotificationSwitchModeScheduleProperty, //TODO: Implement correctly
|
|
8882
9040
|
//[PropertyName.StationNotificationSwitchModeApp]: StationNotificationSwitchModeAppProperty, //TODO: Implement correctly
|
|
8883
9041
|
},
|
|
9042
|
+
[DeviceType.CAMERA_4G_S330]: {
|
|
9043
|
+
...exports.BaseStationProperties,
|
|
9044
|
+
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
9045
|
+
[PropertyName.StationMacAddress]: exports.StationMacAddressProperty,
|
|
9046
|
+
[PropertyName.StationGuardMode]: exports.StationGuardModeProperty,
|
|
9047
|
+
[PropertyName.StationCurrentMode]: exports.StationCurrentModeProperty,
|
|
9048
|
+
[PropertyName.StationTimeFormat]: exports.StationTimeFormatProperty,
|
|
9049
|
+
[PropertyName.StationTimeZone]: exports.StationTimeZoneProperty,
|
|
9050
|
+
[PropertyName.StationAlarm]: exports.StationAlarmProperty,
|
|
9051
|
+
[PropertyName.StationAlarmType]: exports.StationAlarmTypeProperty,
|
|
9052
|
+
},
|
|
8884
9053
|
[DeviceType.SOLO_CAMERA]: {
|
|
8885
9054
|
...exports.BaseStationProperties,
|
|
8886
9055
|
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
@@ -9185,6 +9354,7 @@ exports.StationProperties = {
|
|
|
9185
9354
|
},
|
|
9186
9355
|
};
|
|
9187
9356
|
exports.StationProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.StationProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
9357
|
+
exports.StationProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.StationProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
9188
9358
|
var CommandName;
|
|
9189
9359
|
(function (CommandName) {
|
|
9190
9360
|
CommandName["DeviceStartLivestream"] = "deviceStartLivestream";
|
|
@@ -9533,6 +9703,9 @@ exports.DeviceCommands = {
|
|
|
9533
9703
|
CommandName.DeviceStartTalkback,
|
|
9534
9704
|
CommandName.DeviceStopTalkback,
|
|
9535
9705
|
CommandName.DeviceSnooze,
|
|
9706
|
+
CommandName.DevicePresetPosition,
|
|
9707
|
+
CommandName.DeviceSavePresetPosition,
|
|
9708
|
+
CommandName.DeviceDeletePresetPosition,
|
|
9536
9709
|
],
|
|
9537
9710
|
[DeviceType.INDOOR_PT_CAMERA_C220]: [
|
|
9538
9711
|
CommandName.DeviceStartLivestream,
|
|
@@ -9563,6 +9736,21 @@ exports.DeviceCommands = {
|
|
|
9563
9736
|
CommandName.DeviceSavePresetPosition,
|
|
9564
9737
|
CommandName.DeviceDeletePresetPosition,
|
|
9565
9738
|
],
|
|
9739
|
+
[DeviceType.SOLOCAM_E42]: [
|
|
9740
|
+
CommandName.DeviceStartLivestream,
|
|
9741
|
+
CommandName.DeviceStopLivestream,
|
|
9742
|
+
CommandName.DeviceTriggerAlarmSound,
|
|
9743
|
+
CommandName.DevicePanAndTilt,
|
|
9744
|
+
CommandName.DeviceStartDownload,
|
|
9745
|
+
CommandName.DeviceCancelDownload,
|
|
9746
|
+
CommandName.DeviceCalibrate,
|
|
9747
|
+
CommandName.DeviceStartTalkback,
|
|
9748
|
+
CommandName.DeviceStopTalkback,
|
|
9749
|
+
CommandName.DeviceSnooze,
|
|
9750
|
+
CommandName.DevicePresetPosition,
|
|
9751
|
+
CommandName.DeviceSavePresetPosition,
|
|
9752
|
+
CommandName.DeviceDeletePresetPosition,
|
|
9753
|
+
],
|
|
9566
9754
|
[DeviceType.CAMERA_FG]: [
|
|
9567
9755
|
CommandName.DeviceStartLivestream,
|
|
9568
9756
|
CommandName.DeviceStopLivestream,
|
|
@@ -9573,6 +9761,21 @@ exports.DeviceCommands = {
|
|
|
9573
9761
|
CommandName.DeviceStopTalkback,
|
|
9574
9762
|
CommandName.DeviceSnooze,
|
|
9575
9763
|
],
|
|
9764
|
+
[DeviceType.CAMERA_4G_S330]: [
|
|
9765
|
+
CommandName.DeviceStartLivestream,
|
|
9766
|
+
CommandName.DeviceStopLivestream,
|
|
9767
|
+
CommandName.DeviceTriggerAlarmSound,
|
|
9768
|
+
CommandName.DevicePanAndTilt,
|
|
9769
|
+
CommandName.DeviceStartDownload,
|
|
9770
|
+
CommandName.DeviceCancelDownload,
|
|
9771
|
+
CommandName.DeviceCalibrate,
|
|
9772
|
+
CommandName.DeviceStartTalkback,
|
|
9773
|
+
CommandName.DeviceStopTalkback,
|
|
9774
|
+
CommandName.DeviceSnooze,
|
|
9775
|
+
CommandName.DevicePresetPosition,
|
|
9776
|
+
CommandName.DeviceSavePresetPosition,
|
|
9777
|
+
CommandName.DeviceDeletePresetPosition,
|
|
9778
|
+
],
|
|
9576
9779
|
[DeviceType.SOLO_CAMERA]: [
|
|
9577
9780
|
CommandName.DeviceStartLivestream,
|
|
9578
9781
|
CommandName.DeviceStopLivestream,
|
|
@@ -9909,6 +10112,7 @@ exports.DeviceCommands = {
|
|
|
9909
10112
|
],
|
|
9910
10113
|
};
|
|
9911
10114
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10115
|
+
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
9912
10116
|
exports.StationCommands = {
|
|
9913
10117
|
[DeviceType.STATION]: [
|
|
9914
10118
|
CommandName.StationReboot,
|
|
@@ -10082,6 +10286,16 @@ exports.StationCommands = {
|
|
|
10082
10286
|
CommandName.StationDatabaseCountByDate,
|
|
10083
10287
|
CommandName.StationDatabaseDelete,
|
|
10084
10288
|
],
|
|
10289
|
+
[DeviceType.SOLOCAM_E42]: [
|
|
10290
|
+
CommandName.StationReboot,
|
|
10291
|
+
CommandName.StationTriggerAlarmSound,
|
|
10292
|
+
CommandName.StationDownloadImage,
|
|
10293
|
+
CommandName.StationDatabaseQueryLatestInfo,
|
|
10294
|
+
CommandName.StationDatabaseQueryByDate,
|
|
10295
|
+
CommandName.StationDatabaseQueryLocal,
|
|
10296
|
+
CommandName.StationDatabaseCountByDate,
|
|
10297
|
+
CommandName.StationDatabaseDelete,
|
|
10298
|
+
],
|
|
10085
10299
|
[DeviceType.DOORBELL]: [
|
|
10086
10300
|
CommandName.StationReboot,
|
|
10087
10301
|
CommandName.StationDownloadImage,
|
|
@@ -10263,6 +10477,7 @@ exports.StationCommands = {
|
|
|
10263
10477
|
CommandName.StationDatabaseDelete,
|
|
10264
10478
|
],
|
|
10265
10479
|
[DeviceType.CAMERA_FG]: [CommandName.StationReboot, CommandName.StationTriggerAlarmSound],
|
|
10480
|
+
[DeviceType.CAMERA_4G_S330]: [CommandName.StationReboot, CommandName.StationTriggerAlarmSound],
|
|
10266
10481
|
[DeviceType.WALL_LIGHT_CAM]: [
|
|
10267
10482
|
CommandName.StationReboot,
|
|
10268
10483
|
CommandName.StationTriggerAlarmSound,
|
|
@@ -10330,4 +10545,5 @@ exports.StationCommands = {
|
|
|
10330
10545
|
],
|
|
10331
10546
|
};
|
|
10332
10547
|
exports.StationCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.StationCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10548
|
+
exports.StationCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.StationCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10333
10549
|
//# sourceMappingURL=types.js.map
|