Releases: AngellusMortis/pyunifiprotect
Releases · AngellusMortis/pyunifiprotect
v6.0.1
Fixes docker build
Full Changelog: v6.0.0...v6.0.1
v6.0.0
What's Changed
- Change license from MIT to BUSL-1.1 by @AngellusMortis in #385
- Handle new cookie name for UniFi OS v4 by @jasperslits in #388
- Initial Protect 4.0.7 support by @AngellusMortis in #389
- BREAKING: Add
display_name
to adoptable devices / renames existing
display_name
property todevice_name
- Adds
detection_range
to NVR global recording settings and camera
recording settings - New Camera fields:
video_codec
,video_codec_state
,
is_extender_installed_ever
,current_resolution
,down_scale_mode
,
active_patrol_slot
- New Camera feature flags:
video_codecs
,
support_door_access_config
,preset_tour
,max_scale_down_level
,
has_lux_check
- New Chime fields:
uplink_device
,has_wifi
- Adds support for
IMAGE
type for doorbell settings / adds
custom_images
field to doorbell settings - Adds NVR fields:
timelapse_enabled
, andconsole_env
- BREAKING: Add
- Support old versions of pydantic v1 again by @AngellusMortis in #390
- Refactor out UniFi OS auth by @AngellusMortis in #391
- BREAKING: BaseAPIClient was started to get quite large. Refactored out
all of the UniFi OS specific auth logic into a new class that is used by
BaseAPIClient. It now handles all auth logic, including loading
sessions. It also makes basic requests and holds the metadata for the
console.
- BREAKING: BaseAPIClient was started to get quite large. Refactored out
- Initial Protect 4.0.19 support by @AngellusMortis in #392
- Remove global recording settings from cameras by @AngellusMortis in #393
- Add PTZ patrol controls
- Adds support to upload images for doorbells by @AngellusMortis in #394
- Adds helpers for face smart detections by @AngellusMortis in #395
Full Changelog: v5.2.0...v6.0.0
v5.2.0
What's Changed
- Require newer version of v1 pydantic by @AngellusMortis in #378
- Add global camera settings to NVR by @AngellusMortis in #379
- Add global settings support for cameras by @AngellusMortis in #380
- Add PTZ controls by @AngellusMortis in #381
Full Changelog: v5.1.3...v5.2.0
v5.1.3
Adds --offset
option to events
subcomand.
Full Changelog: v5.1.2...v5.1.3
v5.1.2
- Fixes
rememberMe
parameter for logging in (will = True ifstore_sessions
is True)
Full Changelog: v5.1.1...v5.1.2
v5.1.1
What's Changed
- Fix loading session from disk when aiohttp session passed in by @AngellusMortis in #372
Full Changelog: v5.1.0...v5.1.1
v5.1.0
What's Changed
- Add support for repeat times for chime by @AngellusMortis in #362
- Add volume/repeat to play for chime by @AngellusMortis in #366
- Add persistent sessions by @AngellusMortis in #363
- Ignore NVR updates from other NVRs in stack by @AngellusMortis in #371
Full Changelog: v5.0.2...v5.1.0
v5.0.2
What's Changed
- Cache issubclass in _set_protect_subtypes by @bdraco in #359
- Fixes audio event detection helpers by @AngellusMortis in #360
- Adds log_event method by @AngellusMortis in #361
Full Changelog: v5.0.1...v5.0.2
v5.0.1
- Add property to map icr custom back to lux
Full Changelog: v5.0.0...v5.0.1
v5.0.0
What's Changed
-
Update types.py to add new live only role by @wmandra in #354
-
Updates for Protect 3.0.22 by @AngellusMortis in #358
- Adds new helpers for new logic around IRLEDMode and HDRMode
- Adds deprecation warning for
set_hdr
(useset_hdr_mode
instead) - Updates models for UniFi Protect 3.0.22 (breaking, but should still work with 2.x)
Model Changes:
Bootstrap:
- Removes
displays
andlegacyUFVs
NVR:
- Removes
camera_tcp
port - Adds
ai_feature_console
port - Adds fields for
smart_detection
andis_ucore_stacked
Camera:
- Adds new camera channel settings:
auto_bitrate
,auto_fps
andbitrate
- Adds new ISP settings:
hdr_mode
,icr_custom_value
,icr_switch_mode
andspotlight_detection
- Removes
has_battery
- Removes PIR Settings
Chime:
- Adds fields
has_https_client_ota
,platform
,repeat_times
,track_no
,ring_settings
, andspeaker_track_list
New Contributors
Full Changelog: v4.23.4...v5.0.0