Releases: yuppity/unifi-video-api
Releases · yuppity/unifi-video-api
v0.3.1
v0.3.0
Added
- Support for locking and unlocking recordings (issue #25)
- Exposed camera UUIDs (
UnifiVideoCamera.uuid
) (see PR #29 discussion) - Exposed camera host addresses (
UnifiVideoCamera.host
) (issue #27)
Changed
- 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. (PR #29)
v0.2.0
Added
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()
Changed
- Accept start and end times as
datetime
,int
orstr
in
UnifiVideoCamera.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