Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 2.99 KB

CHANGELOG.md

File metadata and controls

103 lines (75 loc) · 2.99 KB

CHANGELOG

0.3.1 (2021-02-16)

Fixed

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

0.3.0 (2021-02-10)

Added

  • Support for locking and unlocking recordings
  • Exposed camera UUIDs (UnifiVideoCamera.uuid)
  • Exposed camera host addresses (UnifiVideoCamera.host)

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.

0.2.0 (2020-10-19)

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

0.1.8 (2020-09-03)

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 the deployment script

0.1.7 (2020-04-14)

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.

0.1.6 (2020-01-19)

Fixed

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

0.1.5 (2019-12-08)

Fixed

  • Bug in camera model check

0.1.4 (2019-10-20)

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)

0.1.3 (2019-10-16)

Added

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

0.1.2 (2019-10-14)

Added

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

Changed

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