Skip to content

Commit 1b66edd

Browse files
authored
Merge pull request #340 from fronzbot/dev
0.16.0
2 parents 435f3b9 + 22d3fa9 commit 1b66edd

35 files changed

+1974
-1178
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.tox/*
44
__pycache__/*
55
htmlcov/*
6+
.coverage
67
.coverage.*
78
coverage.xml
89
*.pyc
@@ -12,3 +13,4 @@ dist/*
1213
build/*
1314
docs/_build
1415
*.log
16+
venv

CHANGES.rst

+58-33
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,40 @@
1+
=========
12
Changelog
2-
-----------
3+
=========
34

45
A list of changes between each release
56

7+
0.16.0 (2020-07-20)
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
10+
**Breaking Changes:**
11+
12+
- Add arm property to camera, deprecate motion enable method (`#273 <https://github.com/fronzbot/blinkpy/pull/273>`__)
13+
- Complete refactoring of auth logic (breaks all pre-0.16.0 setups!) (`#261 <https://github.com/fronzbot/blinkpy/pull/261>`__)
14+
15+
**New Features:**
16+
17+
- Add is_errored property to Auth class (`#275 <https://github.com/fronzbot/blinkpy/pull/275>`__)
18+
- Add new endpoint to get user infor (`#280 <https://github.com/fronzbot/blinkpy/pull/280>`__)
19+
- Add get_liveview command to camera module (`#289 <https://github.com/fronzbot/blinkpy/pull/289>`__)
20+
- Add blink Mini Camera support (`#290 <https://github.com/fronzbot/blinkpy/pull/290>`__)
21+
- Add option to skip homescreen check (`#305 <https://github.com/fronzbot/blinkpy/pull/305>`__)
22+
- Add different timeout for video and image retrieval (`#323 <https://github.com/fronzbot/blinkpy/pull/323>`__)
23+
- Modifiy session to use HTTPAdapter and handle retries (`#324 <https://github.com/fronzbot/blinkpy/pull/324>`__)
24+
- Add retry option overrides (`#339 <https://github.com/fronzbot/blinkpy/pull/339>`__)
25+
26+
**All changes:**
27+
28+
Please see the change list in the (`Release Notes <https://github.com/fronzbot/releases/tag/v0.16.0>`__)
29+
30+
631
0.15.1 (2020-07-11)
7-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
833
- Bugfix: remove "Host" from auth header (`#330 <https://github.com/fronzbot/blinkpy/pull/330>`__)
934

1035

1136
0.15.0 (2020-05-08)
12-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1338
**Breaking Changes:**
1439

1540
- Removed support for Python 3.5 (3.6 is now the minimum supported version)
@@ -34,26 +59,26 @@ This can be used by instantiating the Blink class with the ``device_id`` paramet
3459
- Fix typos (`#244 <https://github.com/fronzbot/blinkpy/pull/244>`__)
3560

3661
0.14.3 (2020-04-22)
37-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3863
- Add time check on recorded videos before determining motion
3964
- Fix motion detection variable suck to ``True``
4065
- Add ability to load credentials from a json file
4166
- Only allow ``motion_detected`` variable to trigger if system was armed
4267
- Log response message from server if not attempting a re-authorization
4368

4469
0.14.2 (2019-10-12)
45-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4671
- Update dependencies
4772
- Dockerize `(@3ch01c <https://github.com/fronzbot/blinkpy/pull/198>__)`
4873

4974
0.14.1 (2019-06-20)
50-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5176
- Fix timeout problems blocking blinkpy startup
5277
- Updated login urls using ``rest-region`` subdomain
5378
- Removed deprecated thumbanil recovery from homescreen
5479

5580
0.14.0 (2019-05-23)
56-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5782
**Breaking Changes:**
5883

5984
- ``BlinkCamera.battery`` no longer reports a percentage, instead it returns a string representing the state of the battery.
@@ -75,11 +100,11 @@ This can be used by instantiating the Blink class with the ``device_id`` paramet
75100

76101

77102
0.13.1 (2019-03-01)
78-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79104
- Remove throttle decorator from network status request
80105

81106
0.13.0 (2019-03-01)
82-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83108
**Breaking change:**
84109
Wifi status reported in dBm again, instead of bars (which is great). Also, the old ``get_camera_info`` method has changed and requires a ``camera_id`` parameter.
85110

@@ -104,53 +129,53 @@ Wifi status reported in dBm again, instead of bars (which is great). Also, the
104129

105130

106131
0.12.1 (2019-01-31)
107-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
132+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108133
- Remove logging improvements since they were incompatible with home-assistant logging
109134

110135
0.12.0 (2019-01-31)
111-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112137
- Fix video api endpoint, re-enables motion detection
113138
- Add improved logging capability
114139
- Add download video method
115140
- Prevent blinkpy from failing at setup due to api error
116141

117142

118143
0.11.2 (2019-01-23)
119-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120145
- Hotfix to prevent platform from stalling due to API change
121146
- Motion detection and video recovery broken until new API endpoint discovered
122147

123148
0.11.1 (2019-01-02)
124-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125150
- Fixed incorrect backup login url
126151
- Added calibrated temperature property for cameras
127152

128153

129154
0.11.0 (2018-11-23)
130-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
155+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131156
- Added support for multiple sync modules
132157

133158
0.10.3 (2018-11-18)
134-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
159+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135160
- Use networks endpoint rather than homecreen to retrieve arm/disarm status (`@md-reddevil <https://github.com/fronzbot/blinkpy/pull/119>`__)
136161
- Fix incorrect command status endpoint (`@md-reddevil <https://github.com/fronzbot/blinkpy/pull/118>`__)
137162
- Add extra debug logging
138163
- Remove error prior to re-authorization (only log error when re-auth failed)
139164

140165

141166
0.10.2 (2018-10-30)
142-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
167+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143168
- Set minimum required version of the requests library to 2.20.0 due to vulnerability in earlier releases.
144169
- When multiple networks detected, changed log level to ``warning`` from ``error``
145170

146171

147172
0.10.1 (2018-10-18)
148-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
173+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149174
- Fix re-authorization bug (fixes `#101 <https://github.com/fronzbot/blinkpy/issues/#101>`__)
150175
- Log an error if saving video that doesn't exist
151176

152177
0.10.0 (2018-10-16)
153-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
178+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154179
- Moved all API calls to own module for easier maintainability
155180
- Added network ids to sync module and cameras to allow for multi-network use
156181
- Removed dependency on video existance prior to camera setup (fixes `#93 <https://github.com/fronzbot/blinkpy/issues/#93>`__)
@@ -162,7 +187,7 @@ Wifi status reported in dBm again, instead of bars (which is great). Also, the
162187
- Check if retrieved clip is "None" prior to storing in cache
163188

164189
0.9.0 (2018-09-27)
165-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
190+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166191
- Complete code refactoring to enable future multi-sync module support
167192
- Add image and video caching to the cameras
168193
- Add internal throttling of system refresh
@@ -173,7 +198,7 @@ Wifi status reported in dBm again, instead of bars (which is great). Also, the
173198

174199

175200
0.8.1 (2018-09-24)
176-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
177202
- Update requirements_test.txt
178203
- Update linter versions
179204
- Fix pylint warnings
@@ -189,18 +214,18 @@ Wifi status reported in dBm again, instead of bars (which is great). Also, the
189214
- Reset the value every system refresh
190215

191216
0.8.0 (2018-05-21)
192-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
217+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193218
- Added support for battery voltage level (fixes `#64 <https://github.com/fronzbot/blinkpy/issues/64>`__)
194219
- Added motion detection per camera
195220
- Added fully accessible camera configuration dict
196221
- Added celcius property to camera (fixes `#60 <https://github.com/fronzbot/blinkpy/issues/60>`__)
197222

198223
0.7.1 (2018-05-09)
199-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200225
- Fixed pip 10 import issue during setup (`@fronzbot <https://github.com/fronzbot/blinkpy/pull/61>`__)
201226

202227
0.7.0 (2018-02-08)
203-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
228+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204229
- Fixed style errors for bumped pydocstring and pylint versions
205230
- Changed Blink.cameras dictionary to be case-insensitive (fixes `#35 <https://github.com/fronzbot/blinkpy/issues/35>`__)
206231
- Changed api endpoint for video extraction (fixes `#35 <https://github.com/fronzbot/blinkpy/issues/35>`__ and `#41 <https://github.com/fronzbot/blinkpy/issues/41>`__)
@@ -214,52 +239,52 @@ Wifi status reported in dBm again, instead of bars (which is great). Also, the
214239
- Added ``attributes`` dictionary to camera object
215240

216241
0.6.0 (2017-05-12)
217-
^^^^^^^^^^^^^^^^^^
242+
~~~~~~~~~~~~~~~~~~
218243
- Removed redundent properties that only called hidden variables
219244
- Revised request wrapper function to be more intelligent
220245
- Added tests to ensure exceptions are caught and handled (100% coverage!)
221246
- Added auto-reauthorization (token refresh) when a request fails due to an expired token (`@tySwift93 <https://github.com/fronzbot/blinkpy/pull/24>`__)
222247
- Added battery level string to reduce confusion with the way Blink reports battery level as integer from 0 to 3
223248

224249
0.5.2 (2017-03-12)
225-
^^^^^^^^^^^^^^^^^^
250+
~~~~~~~~~~~~~~~~~~
226251
- Fixed packaging mishap, same as 0.5.0 otherwise
227252

228253
0.5.0 (2017-03-12)
229-
^^^^^^^^^^^^^^^^^^
254+
~~~~~~~~~~~~~~~~~~
230255
- Fixed region handling problem
231256
- Added rest.piri subdomain as a backup if region can't be found
232257
- Improved the file writing function
233258
- Large test coverage increase
234259

235260
0.4.4 (2017-03-06)
236-
^^^^^^^^^^^^^^^^^^
261+
~~~~~~~~~~~~~~~~~~
237262
- Fixed bug where region id was not being set in the header
238263

239264
0.4.3 (2017-03-05)
240-
^^^^^^^^^^^^^^^^^^
265+
~~~~~~~~~~~~~~~~~~
241266
- Changed to bdist_wheel release
242267

243268
0.4.2 (2017-01-28)
244-
^^^^^^^^^^^^^^^^^^
269+
~~~~~~~~~~~~~~~~~~
245270
- Fixed inability to retrieve motion data due to Key Error
246271

247272
0.4.1 (2017-01-27)
248-
^^^^^^^^^^^^^^^^^^
273+
~~~~~~~~~~~~~~~~~~
249274
- Fixed refresh bug (0.3.1 did not actually fix the problem)
250275
- Image refresh routine added (per camera)
251276
- Dictionary of thumbnails per camera added
252277
- Improved test coverage
253278

254279
0.3.1 (2017-01-25)
255-
^^^^^^^^^^^^^^^^^^
280+
~~~~~~~~~~~~~~~~~~
256281
- Fixed refresh bug (Key Error)
257282

258283
0.3.0 (2017-01-25)
259-
^^^^^^^^^^^^^^^^^^
284+
~~~~~~~~~~~~~~~~~~
260285
- Added device id to camera lookup table
261286
- Added image to file method
262287

263288
0.2.0 (2017-01-21)
264-
^^^^^^^^^^^^^^^^^^
289+
~~~~~~~~~~~~~~~~~~
265290
- Initial release of blinkpy

CONTRIBUTING.md

-89
This file was deleted.

0 commit comments

Comments
 (0)