Unifi Video Api Versions Save

Python API for UniFi Video

0.3.1

3 years ago

Fixed

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

0.3.0

3 years ago

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)

0.2.0

3 years ago

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

3 years ago

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

0.1.7

4 years ago

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

4 years ago

Fixed

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

0.1.5

4 years ago

Fixed

  • Bug in camera model check

0.1.4

4 years ago

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

4 years ago

Added

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

0.1.2

4 years ago

Added

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

Changed

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