Skip to content

Releases: yuppity/unifi-video-api

v0.3.1

16 Feb 15:42
Compare
Choose a tag to compare

Fixed

  • Wrongly named URL param in UnifiVideoAPI.get_recordings() rendered the order parameter ineffective.

v0.3.0

10 Feb 20:53
Compare
Choose a tag to compare

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 of UnifiVideoRecording.snapshot() is now width=0.
    The change matches the behaviour of UnifiVideoCamera.snapshot() in that
    unless explicitly given, the width is determined by the UniFi Video server. (PR #29)

v0.2.0

19 Oct 16:04
Compare
Choose a tag to compare

Added

  • UnifiVideoAPI.get_recordings() for smarter recording listing
  • UnifiVideoAPI.{active,managed}_cameras collections
  • UnifiVideoAPI.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 or str 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

v0.1.8

03 Sep 11:42
Compare
Choose a tag to compare

Added

  • UnifiVideoRecording.motion() to download recording's motion image

Changed

  • Supported versions range (to cover UniFi Video v3.10.13)
  • Documentation changes

Fixed

  • Names in PyPI script

v0.1.7

14 Apr 19:56
Compare
Choose a tag to compare

Added

  • Included UVC G4 Bullet and UVC G4 Pro in the list of supported camera models

Changed

  • Expanded the supported versions range to include the latest UniFi Video, v3.10.11.

v0.1.6

19 Jan 11:19
Compare
Choose a tag to compare

Fixed

  • Guard against get() on potential NoneType (occurred while instantiating UnifiVideoCamera against unmanaged camera)

v0.1.5

07 Dec 22:11
Compare
Choose a tag to compare

Fixed

  • Bug in camera model check

v0.1.4

20 Oct 19:59
Compare
Choose a tag to compare

Added

  • UnifiVideoCamera.get_recording_settings() (#8)

Changed

  • Renamed underscored names _version and _name in UnifiVideoAPI to signal it is OK to rely on them in application code (#9)

v0.1.3

15 Oct 22:29
bea0a07
Compare
Choose a tag to compare

Added

  • Expanded supported versions range to cover UniFi Video versions 3.10.7 - 3.10.10

v0.1.2

13 Oct 21:03
Compare
Choose a tag to compare

Added

  • Documentation
  • UnifiVideoCamera.snapshot(): width keyword arg

Changed

  • method keyword argument in UnifiVideoAPI.post() renamed to _method