pyezvizapi 1.0.3.0__py3-none-any.whl → 1.0.3.2__py3-none-any.whl

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.

Potentially problematic release.


This version of pyezvizapi might be problematic. Click here for more details.

pyezvizapi/__init__.py CHANGED
@@ -34,6 +34,22 @@ from .exceptions import (
34
34
  InvalidURL,
35
35
  PyEzvizError,
36
36
  )
37
+ from .feature import (
38
+ day_night_mode_value,
39
+ day_night_sensitivity_value,
40
+ device_icr_dss_config,
41
+ display_mode_value,
42
+ has_osd_overlay,
43
+ lens_defog_config,
44
+ lens_defog_value,
45
+ night_vision_config,
46
+ night_vision_duration_value,
47
+ night_vision_luminance_value,
48
+ night_vision_mode_value,
49
+ night_vision_payload,
50
+ optionals_mapping,
51
+ resolve_channel,
52
+ )
37
53
  from .light_bulb import EzvizLightBulb
38
54
  from .models import EzvizDeviceRecord, build_device_records_map
39
55
  from .mqtt import EzvizToken, MQTTClient, MqttData, ServiceUrls
@@ -71,4 +87,18 @@ __all__ = [
71
87
  "SupportExt",
72
88
  "TestRTSPAuth",
73
89
  "build_device_records_map",
90
+ "day_night_mode_value",
91
+ "day_night_sensitivity_value",
92
+ "device_icr_dss_config",
93
+ "display_mode_value",
94
+ "has_osd_overlay",
95
+ "lens_defog_config",
96
+ "lens_defog_value",
97
+ "night_vision_config",
98
+ "night_vision_duration_value",
99
+ "night_vision_luminance_value",
100
+ "night_vision_mode_value",
101
+ "night_vision_payload",
102
+ "optionals_mapping",
103
+ "resolve_channel",
74
104
  ]
@@ -22,13 +22,21 @@ API_ENDPOINT_UNIFIEDMSG_LIST_GET = "/v3/unifiedmsg/list"
22
22
  API_ENDPOINT_IOT_FEATURE = "/v3/iot-feature/feature/"
23
23
  API_ENDPOINT_IOT_ACTION = "/v3/iot-feature/action/"
24
24
  API_ENDPOINT_CALLING_NOTIFY = "/v3/calling/"
25
+ API_ENDPOINT_SPECIAL_BIZS_VOICES = "/v3/specialBizs/voices"
26
+ API_ENDPOINT_SPECIAL_BIZS_A1S = "/v3/specialBizs/A1S/"
27
+ API_ENDPOINT_SPECIAL_BIZS_V1_BATTERY = "/v3/specialBizs/v1/batteryDevices/"
25
28
 
26
29
  API_ENDPOINT_ALARMINFO_GET = "/v3/alarms/v2/advanced"
27
30
  API_ENDPOINT_V3_ALARMS = "/v3/alarms/"
28
31
  API_ENDPOINT_SET_LUMINANCE = "/v3/alarms/device/alarmLight/"
32
+ API_ENDPOINT_ALARM_DEVICE_CHIME = "/v3/alarms/device/chime/"
29
33
  API_ENDPOINT_REMOTE_UNLOCK = "/Video/1/DoorLockMgr/RemoteUnlockReq"
34
+ API_ENDPOINT_AUTOUPGRADE_SWITCH = "/v3/autoupgrade/v1/switch"
35
+ API_ENDPOINT_UPGRADE_RULE = "/v3/upgraderule"
30
36
 
31
37
  API_ENDPOINT_DEVCONFIG_BY_KEY = "/v3/devconfig/v1/keyValue/"
38
+ API_ENDPOINT_DEVCONFIG_OP = "/v3/devconfig/op"
39
+ API_ENDPOINT_DEVCONFIG_MOTOR = "/v3/devconfig/motor"
32
40
  API_ENDPOINT_CAM_AUTH_CODE = "/v3/devconfig/authcode/query/"
33
41
 
34
42
  API_ENDPOINT_INTELLIGENT_APP = "/v3/intelligent-app/load/"
@@ -45,6 +53,19 @@ API_ENDPOINT_OFFLINE_NOTIFY = "/api/device/notify/switch"
45
53
  API_ENDPOINT_CANCEL_ALARM = "/api/device/cancelAlarm"
46
54
  API_ENDPOINT_DEVICE_SYS_OPERATION = "/api/device/v2/sysOper/"
47
55
  API_ENDPOINT_DEVICE_STORAGE_STATUS = "/api/device/queryStorageStatus"
56
+ API_ENDPOINT_DEVICE_UPDATE_NAME = "/api/device/updateName"
57
+ API_ENDPOINT_DEVCONFIG_SECURITY_ACTIVATE = "/v3/devconfig/security/activate/"
58
+ API_ENDPOINT_DEVCONFIG_SECURITY_CHALLENGE = "/v3/devconfig/security/challenge/"
59
+ API_ENDPOINT_DEVICES_LOC = "/v3/devices/loc"
60
+ API_ENDPOINT_IOT_VIRTUAL_BIND = "/v3/iot-virtual-device/bindDevice"
61
+ API_ENDPOINT_DEVCONFIG_BASE = "/v3/devconfig"
62
+ API_ENDPOINT_USERDEVICES_TOKEN = "/v3/userdevices/token"
63
+ API_ENDPOINT_DEVICE_ACCESSORY_LINK = "/v3/devices/accessory/"
64
+ API_ENDPOINT_DOORLOCK_USERS = "/v3/doorlocks/"
65
+ API_ENDPOINT_IOT_FEATURE_PRODUCT_VOICE_CONFIG = "/v3/iot-feature/product/voice/config"
66
+ API_ENDPOINT_USERS_LBS_SUB_DOMAIN = "/v3/users/lbs/sub/domain"
67
+ API_ENDPOINT_SCD_APP_DEVICE_ADD = "/v3/scd/app/device/add"
68
+ API_ENDPOINT_REMOTE_UNBIND_PROGRESS = "/v3/remote/unbind/device/applicant/"
48
69
  API_ENDPOINT_CREATE_PANORAMIC = "/api/panoramic/devices/pics/collect"
49
70
  API_ENDPOINT_RETURN_PANORAMIC = "/api/panoramic/devices/pics"
50
71
 
@@ -55,9 +76,37 @@ API_ENDPOINT_SWITCH_OTHER = "/switch"
55
76
  API_ENDPOINT_PTZCONTROL = "/ptzControl"
56
77
  API_ENDPOINT_ALARM_SOUND = "/alarm/sound"
57
78
  API_ENDPOINT_SWITCH_SOUND_ALARM = "/sendAlarm"
79
+ API_ENDPOINT_ALARM_SET_CHANNEL_WHISTLE = "/alarm/setChannelWhistle"
80
+ API_ENDPOINT_ALARM_SET_DEVICE_WHISTLE = "/alarm/setDeviceWhistle"
81
+ API_ENDPOINT_ALARM_STOP_WHISTLE = "/alarm/stopWhistle"
82
+ API_ENDPOINT_ALARM_GET_WHISTLE_STATUS_BY_CHANNEL = "/alarm/getWhistleStatusByChannel"
83
+ API_ENDPOINT_ALARM_GET_WHISTLE_STATUS_BY_DEVICE = "/alarm/getWhistleStatusByDevice"
58
84
  API_ENDPOINT_DO_NOT_DISTURB = "/nodisturb"
59
85
  API_ENDPOINT_VIDEO_ENCRYPT = "encryptedInfo/risk"
60
86
  API_ENDPOINT_CHANGE_DEFENCE_STATUS = "/changeDefenceStatusReq"
87
+ API_ENDPOINT_DEVICES_P2P_INFO = "/v3/devices/v2/p2p"
88
+ API_ENDPOINT_USERDEVICES_P2P_INFO = "/v3/userdevices/v1/devices/p2p"
89
+ API_ENDPOINT_USERDEVICES_KMS = "/v3/userdevices/v1/devices/kms"
90
+ API_ENDPOINT_USERDEVICES_STATUS = "/v3/userdevices/v1/devices/status"
91
+ API_ENDPOINT_USERDEVICES_V2 = "/v3/userdevices/v2/devices"
92
+ API_ENDPOINT_USERDEVICES_SEARCH = "/v3/userdevices/v2/devices"
93
+ API_ENDPOINT_STREAMING_RECORDS = "/v3/streaming/records"
94
+ API_ENDPOINT_DEVICES_ENCRYPTKEY_BATCH = "/v3/devices/encryptkey/query/batch/risk"
95
+ API_ENDPOINT_MANAGED_DEVICE_BASE = "/v3/userdevices/v1/managed/"
96
+ API_ENDPOINT_SDCARD_BLACK_LEVEL = "/v3/devconfig/v1/sdcard/"
97
+ API_ENDPOINT_TIME_PLAN_INFOS = "/v3/devconfig/v2/plan"
98
+ API_ENDPOINT_FEEDBACK = "/v3/feedback/v2"
99
+ API_ENDPOINT_SHARE_ACCEPT = "/v3/share/accept"
100
+ API_ENDPOINT_SHARE_QUIT = "/v3/share/quit"
101
+ API_ENDPOINT_DEVICE_EMAIL_ALERT = "/v3/unifiedmsg/notify/switch/128"
102
+ API_ENDPOINT_DEVICES_AUTHENTICATE = "/v3/devices/authenticate/"
103
+ API_ENDPOINT_DEVICES_SET_SWITCH_ENABLE = "/setSwitchEnableReq"
104
+ API_ENDPOINT_SMARTHOME_OUTLET_LOG = (
105
+ "/v3/smarthome/outlet/log/switch/from/{from}/to/{to}"
106
+ )
107
+ API_ENDPOINT_DEVICES_ASSOCIATION_LINKED_IPC = (
108
+ "/v3/devices/association/linked/ipcList/byA1"
109
+ )
61
110
 
62
111
  # MQTT
63
112
  API_ENDPOINT_REGISTER_MQTT = "/v1/getClientId"