Skip to content

Releases: fronzbot/blinkpy

blinkpy-0.16.0-rc3

09 Jun 17:49
6edb89a

Choose a tag to compare

blinkpy-0.16.0-rc3 Pre-release
Pre-release

Major changes

  • Initial support for Blink Mini cameras 🎉
    • Currently minimal functionality, but will be expanded as more endpoints are discovered
  • Adds liveview link retrieval for all cameras

All Changes

  • Bump pre-commit to 2.5.0 #292
  • Bump flake8 to 3.8.3 #291
  • Add Blink Mini support #290 (Thanks to @benleb for extensive debug help)
  • Add liveview link retrieval #289
  • Improve camera retrieval method to not rely on the homescreen endpoint #288
  • Bump pylint to 2.5.3 #287
  • Add some new API endpoints #285
  • Bump pytest to 5.4.3 #283
  • Bump restructuredtext-lint to 1.3.1 #282
  • Add new user API endpoint #280
  • Improve documentation #278

blinkpy-0.16.0-rc2

27 May 23:42
42e444c

Choose a tag to compare

blinkpy-0.16.0-rc2 Pre-release
Pre-release

Breaking Change:

The BlinkCamera.set_motion_detect() method is deprecated and being replaced with BlinkCamera.arm. Usage is as follows:

To arm/disarm a BlinkCamera object named camera, just set the arm property to either True or False like so:

camera.arm = True

Calling the same property will return the last updated camera status (perform a refresh at the sync module or blink level to update the status after setting).

All changes:

  • Mark devices as unavailable on None response from server (#272)
  • Add arm property to cameras (#273)
  • Only refresh tokens on unauthorized response from server (#274)
  • Add is_errored property to Auth class (#275)

blinkpy-0.16.0-rc1

27 May 00:04
38fed26

Choose a tag to compare

blinkpy-0.16.0-rc1 Pre-release
Pre-release
  • Increase minimum API timeout from 2s to 5s (#269)
  • Handle JSONDecodeError when validating response
    • catches cases where temporary account lockout causes a response to be empty when it is expected to be json formatted (#268)
  • Update string formatting (#265)
  • Bump flake8 to 3.8.2 #263
  • Bump pytest-cov to 2.9.0 #262

blinkpy-0.16.0-rc0

25 May 13:54
80d886b

Choose a tag to compare

blinkpy-0.16.0-rc0 Pre-release
Pre-release

!!! Major Authentication Flow Update !!!

Breaking Changes:

  • The Blink() object no longer handles any of the authorization or login process. This is now handled entirely with the new blinkpy.auth.Auth() class (which replaces and enhances the previous LoginHandler class introduced in 0.15.0). Usage is covered in the Quick Start guide in the README.

  • Forcing a refresh is now done by calling the Blink.refresh() method with force=True instead of force_cache=True.

Important changes:

Token-based communication is now supported. What this means is that tokens from previous sessions can be saved and re-loaded in a subsequent session which completely eliminates the need to login. If, for some reason, the token were to expire during a session, the token will automatically be refreshed.

In order to aid in the transition to this authentication flow, the Blink.save() method was introduced to save all the important credentials to a json formatted file. This file can then be re-loaded as the input to the Auth class. Basic usage of this is covered in the Quick Start guide in the README.

All changes:

  • Completely refactored authentication flow
  • Mark platforms as unavailable on a failed request
  • Update to correct 2FA endpoint
  • Update unit tests
  • Upgrade flake8 to 3.8.1
  • Upgrade pytest to 5.4.2
  • Add commit hooks (flake8 and black)

blinkpy-0.15.0

08 May 21:37
295833e

Choose a tag to compare

Description:

Breaking Changes:

  • Removed support for Python 3.5 (3.6 is now the minimum supported version)
  • Deprecated Blink.login() method. Please only use the Blink.start() method for logging in.

New Functions

  • Add device_id override when logging in (for debug and to differentiate applications) #245

This can be used by instantiating the Blink class with the device_id parameter. For example:

from blinkpy import blinkpy
blink = blinkpy.Blink(...,device_id="Application Identifier",...)

All Changes:

  • Fix setup.py use of internal pip structure #233
  • Update python-slugify requirement from ~=3.0.2 to ~=4.0.0 #234
  • Update python-dateutil requirement from ~=2.8.0 to ~=2.8.1 #230
  • Bump requests from 2.22.0 to 2.23.0 #231
  • Refactor login logic in preparation for 2FA #241
  • Add 2FA Support #242 (fixes #210)
  • Re-set key_required and available variables after setup #245
  • Perform system refresh after setup #245
  • Fix typos #244

blinkpy-0.15.0-rc1

06 May 22:05
e3f9f4b

Choose a tag to compare

blinkpy-0.15.0-rc1 Pre-release
Pre-release

New Functions

  • Add device_id override when logging in (for debug and to differentiate applications) #245

This can be used by instantiating the Blink class with the device_id parameter. For example:

from blinkpy import blinkpy
blink = blinkpy.Blink(...,device_id="Application Identifier",...)

All changes

  • Re-set key_required and available variables after setup #245
  • Perform system refresh after setup #245
  • Fix typos #244

blinkpy-0.15.0-rc0

06 May 02:59
86aae07

Choose a tag to compare

blinkpy-0.15.0-rc0 Pre-release
Pre-release

Release candidate

This pre-release adds support for 2FA. At this time, all of the 2FA endpoints have not been fully tested so there could be unexpected bugs that still need to be fixed.

Breaking Changes:

  • Removed support for Python 3.5 (3.6 is now the minimum supported version)
  • Deprecated Blink.login() method. Please only use the Blink.start() method for logging in.

All Changes:

  • Fix setup.py use of internal pip structure #233
  • Update python-slugify requirement from ~=3.0.2 to ~=4.0.0 #234
  • Update python-dateutil requirement from ~=2.8.0 to ~=2.8.1 #230
  • Bump requests from 2.22.0 to 2.23.0 #231
  • Refactor login logic in preparation for 2FA #241
  • Add 2FA Support #242

blinkpy-0.14.3

22 Apr 14:24
deba0cb

Choose a tag to compare

  • Add time check on recorded videos before determining motion
  • Fix motion detection variable suck to True (Fixes #211)
  • Add ability to load credentials from a json file
  • Only allow motion_detected variable to trigger if system was armed
  • Log response message from server if not attempting a re-authorization (Fixes #213)

blinkpy-0.14.3.dev1

21 Apr 18:59
19c9178

Choose a tag to compare

blinkpy-0.14.3.dev1 Pre-release
Pre-release
  • Fix re-authorization logic (previous implementation assumed failed responses were related to authorization attempts)

blinkpy-0.14.3.dev0

14 Apr 00:54
4ed2e3d

Choose a tag to compare

blinkpy-0.14.3.dev0 Pre-release
Pre-release
  • Fix motion detection being stuck 'on'
  • Remove incorrect exc_info=True flags
  • Add ability to load credentials from json file
  • Check timestamps on videos for motion detection
  • Mask motion detection with sync module arm status