- Wrongly named URL param in
UnifiVideoAPI.get_recordings()
rendered theorder
parameter ineffective.
- Support for locking and unlocking recordings
- Exposed camera UUIDs (
UnifiVideoCamera.uuid
) - Exposed camera host addresses (
UnifiVideoCamera.host
)
- The
width=600
parameter ofUnifiVideoRecording.snapshot()
is nowwidth=0
. The change matches the behaviour ofUnifiVideoCamera.snapshot()
in that unless explicitly given, the width is determined by the UniFi Video server.
UnifiVideoAPI.get_recordings()
for smarter recording listingUnifiVideoAPI.{active,managed}_cameras
collectionsUnifiVideoAPI.get_camera()
: new kw arg:managed_only
UnifiVideoCamera
attributes:state
,managed
,provisioned
,managed_by_others
,disconnect_reason
,connected
,last_recording_id
,last_recording_start_time
,last_seen
,last_seen_ndt
- Datetime utilities
- Keyword arg for
UnifiVideoAPI
init:utc_offset_sec
- Throw
UnifiVideoHTTPError
on HTTP 400 from UniFi Video UnifiVideoRecording
attributes:start_time_utc
,end_time_utc
UnifiVideoAPI.delete_all_recordings()
- Accept start and end times as
datetime
,int
orstr
inUnifiVideoCamera.recording_between()
- UTC offset is now per UniFi Video instance instead of per camera
- Use
UnifiVideoAPI.get_recordings()
internally - Refactored
UnifiVideoCamera.refresh_cameras()
to account for all three camera collections (UnifiVideoAPI.{,managed_,active_}cameras
) UnifiVideoCamera.recording_between()
uses new dt util for the{start,end}_time
args
UnifiVideoRecording.motion()
to download recording's motion image
- Supported versions range (to cover UniFi Video v3.10.13)
- Documentation changes
- Names in the deployment script
- Included UVC G4 Bullet and UVC G4 Pro in the list of supported camera models
- Expanded the supported versions range to include the latest UniFi Video, v3.10.11.
- Guard against
get()
on potential NoneType (occurred while instantiatingUnifiVideoCamera
against unmanaged camera)
- Bug in camera model check
UnifiVideoCamera.get_recording_settings()
(#8)
- Renamed underscored names
_version
and_name
inUnifiVideoAPI
to signal it is OK to rely on them in application code (#9)
- Expanded supported versions range to cover UniFi Video versions 3.10.7 - 3.10.10
- Documentation
UnifiVideoCamera.snapshot()
:width
keyword arg
method
keyword argument inUnifiVideoAPI.post()
renamed to_method