Commit Graph
157 Commits
Author SHA1 Message Date
Kevin Fronczak b12d9ba969 Add throttling to download function 2021-02-18 08:34:57 -05:00
Kevin Fronczak ecf7a5b13a Add logout endpoint (among some linting improvements) 2021-02-11 23:34:59 -05:00
Kevin Fronczak 23eec5187d Add gen_uid test 2021-02-11 22:32:15 -05:00
Kevin Fronczak 959a7dfa85 Modify uid to prefix with BlinkCamera 2021-02-11 11:55:27 -05:00
Kevin Fronczak 9e793b6748 Upgraded login endpoint, fixed uid generation 2021-02-11 11:21:26 -05:00
Kevin Fronczak aaaaea4dd1 Fix header test 2021-02-05 15:18:09 +00:00
Kevin Fronczak 92a2cc2d9a Added test to catch NoneType error on refresh, fixed offending code 2020-11-23 03:30:15 +00:00
Kevin Fronczak f09a66c083 Fix malformatted stream url for blink mini 2020-10-25 14:01:03 +00:00
Kevin Fronczak b5b7498041 Generalized image/video download, fixed non-updating image for minis 2020-10-06 13:16:05 +00:00
Kevin Fronczak cb43f17d75 Add user agent to all headers 2020-08-02 03:22:49 +00:00
Kevin Fronczak 5fc315201a Add tests for retry options 2020-07-20 01:33:11 +00:00
Kevin Fronczak a9d3d5568b Adding retry options to auth class 2020-07-20 01:25:09 +00:00
Kevin Fronczak 48028914de Fix broken test and missing try/except 2020-07-20 01:18:41 +00:00
Kevin Fronczak e8589bfa05 Fix test 2020-07-20 00:48:40 +00:00
Kevin Fronczak 322aae37dc fix test (remove host) 2020-07-11 14:41:44 +00:00
Kevin Fronczak 40354e87a0 Rolled back to rc8, removed v3 auth functionality (poorly thought out) 2020-06-29 17:23:15 +00:00
Kevin Fronczak 7b150eb1af Changed the way the new login method switch is handled 2020-06-29 17:01:46 +00:00
Kevin Fronczak bded3eb156 Add option to use v3 login endpoint 2020-06-29 15:46:43 +00:00
Kevin Fronczak 22e4b7dabe Fix error with updating owl information during refresh 2020-06-16 18:42:59 +00:00
Kevin Fronczak dff0746450 Broke out homescreen call to prevent back-to-back api calls 2020-06-16 17:43:22 +00:00
Kevin Fronczak d9e3761c7b Add option to skip homescreen check 2020-06-14 02:03:22 +00:00
Kevin Fronczak eeaa9cdf6f Prevent sync module creation for minis already attached to one 2020-06-11 23:05:37 +00:00
Kevin Fronczak 08632ec9ce Add type check on temperature conversion 2020-06-10 14:58:28 +00:00
Kevin Fronczak 4f00aac7a2 Fixed missing camera init from owl, cleaned up camera a bit 2020-06-09 15:25:57 +00:00
Kevin Fronczak 6479423c6c Fix test 2020-06-09 04:33:11 +00:00
Kevin Fronczak 2788ab58ea First cut at blink mini support 2020-06-09 04:04:07 +00:00
Kevin Fronczak 816f09b002 Update camera retrieval method (no more homescreen use) 2020-06-08 16:08:19 +00:00
Kevin Fronczak d5ec39113e Add is_errored property to Auth class 2020-05-27 23:19:59 +00:00
Kevin FronczakandGitHub 558c190512 Merge branch 'dev' into remove-auto-refresh 2020-05-27 19:17:00 -04:00
Kevin Fronczak 9e124ce5cc Only refresh token on unauthorized response from request 2020-05-27 23:05:51 +00:00
Kevin FronczakandGitHub cc860c3d03 Merge branch 'dev' into add-camera-arm-property 2020-05-27 17:49:29 -04:00
Kevin Fronczak 00c2c2cc29 Add arm property to camera, deprecate motion enable method 2020-05-27 21:44:07 +00:00
Kevin Fronczak 4775bda51c Catch all None responses from http requests 2020-05-27 21:27:08 +00:00
Kevin FronczakandGitHub 99235fbc80 Merge branch 'dev' into increase-timeout 2020-05-26 17:04:33 -04:00
Kevin Fronczak 1e00f657a7 Increase timeout from 2s to 5s 2020-05-26 21:00:15 +00:00
Kevin Fronczak 672fca6dbf Handle json decode error 2020-05-26 20:44:24 +00:00
Kevin Fronczak 8fe67ea574 More test coverage 2020-05-25 13:00:26 +00:00
Kevin Fronczak 61e18ee0a8 Simplify mock_responses file 2020-05-25 04:39:27 +00:00
Kevin Fronczak 9cb55dff66 Updated tests 2020-05-25 04:36:22 +00:00
Kevin Fronczak 1e86e7eb79 Add unit tests for new methods 2020-05-05 22:45:48 -04:00
Kevin Fronczak f80a93f8e1 Refactor login logic in preperation for 2FA 2020-05-05 12:46:48 -04:00
Kevin Fronczak e1bbbb5c7e Add black formatting style 2020-05-04 14:23:02 -04:00
Kevin Fronczak 43ed6f1600 Fix lint errors 2020-05-04 13:14:52 -04:00
Kevin Fronczak 7b586e2947 Log response code and message if not trying to re-authorize (fixes #213) 2020-04-15 11:10:13 -04:00
Kevin Fronczak 3e7c9f3d5c Mask motion detection with sync module arm status 2020-04-13 20:42:55 -04:00
Kevin Fronczak c178fa5457 Only store motion clip if motion occured since last refresh 2020-04-13 20:02:13 -04:00
Kevin Fronczak 12e22dee8e Load credentials from json file 2020-04-13 18:53:37 -04:00
Kevin Fronczak efe05525e4 Fix tests, pin coverage due to sqlite problems 2020-04-09 14:11:19 -04:00
Kevin Fronczak 4122ae8f64 Added time check on latest video 2020-04-08 18:45:59 -04:00
Kevin FronczakandGitHub 414b647dc8 Merge pull request #189 from fronzbot/timeout
Improved timeout, prevent blocking on startup when unable to login
2019-06-17 11:54:17 -04:00