Commit Graph
100 Commits
Author SHA1 Message Date
Kevin FronczakandGitHub 2e6fb97cc5 Merge pull request #83 from fronzbot/use-sessions
Use sessions for requests
2018-09-27 15:19:11 -04:00
Kevin Fronczak 674dae4440 Fix lint error 2018-09-27 15:15:25 -04:00
Kevin Fronczak a1082812bb Modified tests to pass with session
- Added session mock
- Removed post and get mocks
- Modified the throttling for events and summary
    - Now they're throttled, but it's overridden during a system refresh
- Store the login url in a protected variable
2018-09-27 15:10:48 -04:00
Kevin Fronczak 9d838fe4eb Added session for requests
- fixed refresh issue throttling summary and events
2018-09-27 12:35:15 -04:00
Kevin FronczakandGitHub fe0aef69e4 Merge pull request #82 from fronzbot/refactor
Refactor blinkpy code
2018-09-27 11:15:17 -04:00
Kevin Fronczak 1b1235210e Split up tests, added cache test 2018-09-27 11:07:31 -04:00
Kevin Fronczak 451d725946 Update functionality in README 2018-09-26 13:02:48 -04:00
Kevin Fronczak 9d5ae9552a Check if first init, if so force cache update 2018-09-26 12:45:29 -04:00
Kevin Fronczak c3c558e934 Fix broken refresh throttle 2018-09-26 12:24:45 -04:00
Kevin Fronczak a570413e66 Fixed broken tests...probably should re-write them 2018-09-26 12:11:41 -04:00
Kevin Fronczak 3e23374b32 Modified requests so cameras only talk to sync 2018-09-26 11:09:51 -04:00
Kevin Fronczak 1c6a5eb6c6 Fixed tests. Need to improve mocking in functions test. 2018-09-25 16:02:59 -04:00
Kevin Fronczak 40e9e4bd6c Fixed camera tests 2018-09-25 14:31:23 -04:00
Kevin Fronczak e1ff851068 First cut of refactoring 2018-09-25 14:16:14 -04:00
Kevin FronczakandGitHub 8a4e507f22 Merge pull request #81 from fronzbot/add-refresh-rate
Add refresh rate and image caching
2018-09-25 12:23:41 -04:00
Kevin Fronczak cd7b5bfabc Fixing travis errors with new python versions 2018-09-25 12:15:19 -04:00
Kevin Fronczak 346882f1ff Remove Python 3.4 from travis, add py38-dev 2018-09-25 12:07:40 -04:00
Kevin Fronczak 5bc2466da2 Add py37 to tox.ini 2018-09-25 12:04:22 -04:00
Kevin Fronczak 672f59ab4e Added image and video caching 2018-09-25 12:03:32 -04:00
Kevin Fronczak ae26a9e371 Added refresh rate throttling 2018-09-25 11:07:40 -04:00
Kevin Fronczak 72c36d8381 revert tests 2018-09-24 22:27:42 -04:00
Kevin Fronczak b0974c1ab2 reverting to 0.8.1 style thumbnail retreival 2018-09-24 22:25:43 -04:00
Kevin Fronczak a76eac085a Fix thumbnail since we aren't using homescreen anymore 2018-09-24 22:12:07 -04:00
Kevin FronczakandGitHub ec703ae4b0 Merge pull request #78 from fronzbot/sort-motion-clips
Changed motion check to look at sorted date list
2018-09-24 21:29:01 -04:00
Kevin Fronczak 9ce09b4761 Fix thumbnails grabbing wrong date 2018-09-24 21:24:21 -04:00
Kevin Fronczak 6d002fc8b0 record_dates needs to default to dict, not list 2018-09-24 20:59:16 -04:00
Kevin Fronczak 7228340677 Changed motion check to look at sorted date list
- Previous method using clips resulted in an unsorted array, so the
newest clip wasn't always added during check
2018-09-24 20:26:36 -04:00
Kevin FronczakandGitHub 52bc4af1f0 Merge pull request #76 from fronzbot/better-motion
Fix motion detection
2018-09-24 13:25:14 -04:00
Kevin Fronczak 8c94305804 Fix motion detection
- Use an array of recent video clips to determine if motion has been
detected.
- Reset the value every system refresh
2018-09-24 13:17:15 -04:00
Kevin FronczakandGitHub 0eb57698bd Merge pull request #72 from fronzbot/lint-upgrade
Update linter versions
2018-08-09 09:43:51 -04:00
Kevin FronczakandGitHub 7b0db80edd Disable no-else-return 2018-08-09 09:37:57 -04:00
Kevin FronczakandGitHub 0e63e97a57 Remove whitespace 2018-08-09 09:27:36 -04:00
Kevin FronczakandGitHub e4a21964d2 Fix useless-import-alias 2018-08-09 09:26:22 -04:00
Kevin FronczakandGitHub 39ad37f23b Fix pylint errors
- change if comparison to fix (consider-using-in)
- Disabled no else-if-return check
2018-08-09 09:25:42 -04:00
Kevin FronczakandGitHub 34bc61e1c3 Fix pylint warnings
- Remove object from class declarations
- Remove useless returns from functions
2018-08-09 09:21:49 -04:00
Kevin FronczakandGitHub e6a7c367b3 Merge branch 'dev' into lint-upgrade 2018-08-09 07:35:26 -04:00
Kevin FronczakandGitHub 66afd33b79 Merge pull request #71 from fronzbot/upgrade-pytest
Pytest 3.7.1
2018-08-09 07:28:51 -04:00
Kevin FronczakandGitHub cf617d720e Update linter versions 2018-08-09 07:27:12 -04:00
Kevin FronczakandGitHub 4f2eca08e0 Update requirements_test.txt 2018-08-09 07:21:05 -04:00
Kevin FronczakandGitHub 2972780c18 Merge pull request #69 from fronzbot/dev-version-bump
Dev version bump
2018-05-21 11:47:52 -04:00
Kevin Fronczak 9c3f3f2f98 Version bump 2018-05-21 11:44:05 -04:00
Kevin FronczakandGitHub 0d83a7fcb1 Merge pull request #68 from fronzbot/v0.8.0
V0.8.0
2018-05-21 11:40:14 -04:00
Kevin FronczakandGitHub 80f4ca7c4f Merge branch 'master' into v0.8.0 2018-05-21 11:36:34 -04:00
Kevin Fronczak 96e7fce304 Version bump 2018-05-21 11:34:09 -04:00
Kevin FronczakandGitHub 13a358c07c Merge pull request #67 from fronzbot/celcius-support
Add celcius property for cameras
2018-05-21 11:26:43 -04:00
Kevin Fronczak 389745533c Add celcius property for cameras 2018-05-21 11:12:32 -04:00
Kevin FronczakandGitHub 65dd547a32 Merge pull request #65 from fronzbot/battery-percent
Added new request url for camera config
2018-05-21 11:03:25 -04:00
Kevin Fronczak 91a877da79 Fix tests, updated changes in changelog 2018-05-21 10:54:32 -04:00
Kevin Fronczak d357215e0e Added new request url for camera config
- Adds support for battery voltage level
- Added new camera properties (wifi_strength, motion_detected)
- Store full camera config from request into dict
2018-05-21 00:16:24 -04:00
Kevin FronczakandGitHub ff47dc4731 Merge pull request #63 from fronzbot/release-0.7.1
v0.7.1
2018-05-09 11:15:56 -04:00
Kevin Fronczak fedea74256 Version bump 2018-05-09 11:08:35 -04:00
Kevin FronczakandGitHub 66a6701a66 Merge pull request #62 from fronzbot/gitlab
Add gitlab support, py3.7 checks.  Also removes py34 tests
2018-05-09 10:46:13 -04:00
Kevin Fronczak 5bdfd6da52 Add gitlab support, py3.7 checks. Also removes py34 tests 2018-05-09 10:29:33 -04:00
Kevin FronczakandGitHub a8f90400b2 Merge pull request #61 from fronzbot/pip-fix
Fixed import error for pip version 10
2018-05-09 10:21:43 -04:00
Kevin Fronczak 3348386a4c Style fixes 2018-05-09 10:05:03 -04:00
Kevin Fronczak 1b53c4a0dd Hound should ignore setup.py 2018-05-09 10:02:58 -04:00
Kevin Fronczak 24158638ef Fix hound 2018-05-09 10:00:13 -04:00
Kevin Fronczak 901cbfc9d1 Fixed import error for pip version 10 2018-05-09 09:49:41 -04:00
Kevin FronczakandGitHub 9f85068a0d Merge pull request #59 from fronzbot/dev-version-bump
dev version bump
2018-02-08 17:02:38 -05:00
Kevin FronczakandGitHub 90b83544f4 Update constants.py 2018-02-08 16:53:03 -05:00
Kevin FronczakandGitHub 1d8e8e53d9 Update CHANGES.rst 2018-02-08 16:52:17 -05:00
Kevin FronczakandGitHub 46a0a433ec Merge pull request #58 from fronzbot/master
Rebase with master
2018-02-08 16:51:05 -05:00
Kevin FronczakandGitHub d38d30471a Update CHANGES.rst 2018-02-08 16:46:21 -05:00
Kevin FronczakandGitHub 5aad8ea641 Merge pull request #57 from fronzbot/dev
v0.7.0
2018-02-08 16:44:37 -05:00
Kevin FronczakandGitHub 74f4bd7763 Version bump 2018-02-08 16:35:37 -05:00
Kevin FronczakandGitHub 51dd69a51f Merge pull request #56 from fronzbot/camera-attributes
Camera attributes
2018-02-08 16:22:14 -05:00
Kevin FronczakandGitHub 950e7d4971 Merge pull request #55 from fronzbot/auth-at-login
Added authentication to login function and deprecated setup_system
2018-02-08 16:18:19 -05:00
Kevin Fronczak 623b694c78 Added attributes property to camera object 2018-02-08 16:16:23 -05:00
Kevin Fronczak 7162ea24cc Added authentication to login function and deprecated setup_system 2018-02-08 15:31:26 -05:00
Kevin FronczakandGitHub 968b77b8bd Merge pull request #53 from fronzbot/logging-support
Added logging
2018-02-08 14:59:46 -05:00
Kevin Fronczak 6e00b126d1 Added logging 2018-02-08 14:49:10 -05:00
Kevin FronczakandGitHub 003ceb0944 Merge pull request #50 from b10m/active_vs_armed
Handle the armed status better
2018-02-03 09:53:43 -05:00
Kevin Fronczak ce6dec50cd Fixed requirement issue causing tox failure
- Updated camera test to check for new status change
- Added updated to CHANGES.rst
2018-02-03 09:50:08 -05:00
Kevin FronczakandGitHub 87b83465b3 Merge pull request #48 from fronzbot/update-readme
Add doc badge
2018-01-20 23:26:57 -05:00
Kevin Fronczak a1900f0130 Add doc badge 2018-01-20 23:26:03 -05:00
Kevin FronczakandGitHub cf9ecff529 Merge pull request #47 from fronzbot/docs
Updated theme
2018-01-20 23:18:14 -05:00
Kevin Fronczak db3dee81e9 Updated theme 2018-01-20 23:17:06 -05:00
Kevin FronczakandGitHub 798032be08 Merge pull request #46 from fronzbot/docs
Add documentation
2018-01-20 23:01:44 -05:00
Kevin Fronczak d6834dca06 Ignore docs for Hound 2018-01-20 22:57:38 -05:00
Kevin Fronczak 933cd7229a Add documentation 2018-01-20 22:53:02 -05:00
Kevin FronczakandGitHub 8e51a86971 Merge pull request #45 from fronzbot/video-clip-support
Added ability to download recent video clip
2018-01-20 20:22:36 -05:00
Kevin Fronczak 8ab44041eb Added ability to download recent video clip 2018-01-20 20:13:33 -05:00
Kevin Fronczak 79191d757a Changed coveralls badge to dev branch 2018-01-20 20:03:28 -05:00
Kevin FronczakandGitHub 7d01f54d73 Merge pull request #44 from fronzbot/update-api
Update Blink API Calls
2018-01-20 20:00:55 -05:00
Kevin Fronczak 63c0e11cc9 Fix linting error 2018-01-20 19:57:06 -05:00
Kevin Fronczak 7347d03f93 Added case-sensitive test, logged all changes 2018-01-20 19:53:27 -05:00
Kevin Fronczak fffb10d7e6 Refactored unit tests for special functions 2018-01-20 19:41:15 -05:00
Kevin Fronczak 91b3de1444 Refactored requests, expanded video retreival
- Removed blinkpy.last_motion()
- blinkpy.get_summary() changed to blinkpy.summary property
2018-01-20 16:53:38 -05:00
Kevin Fronczak 8340f2f78a WIP Simplified unit tests 2018-01-20 15:38:37 -05:00
Kevin Fronczak e65840d269 Fix lint 2018-01-20 11:43:46 -05:00
Kevin Fronczak c245bc24a6 Added video retrieval 2018-01-20 11:35:01 -05:00
Kevin Fronczak 71ebc3dc8a Updated links to retrieve images 2018-01-20 10:42:14 -05:00
Kevin FronczakandGitHub 7ade321dd3 Merge pull request #43 from fronzbot/update-travis
Update travis to use 3.6 for linting and build
2018-01-20 09:19:45 -05:00
Kevin Fronczak 19c0114eea Update travis to use 3.6 for linting and build 2018-01-20 09:15:09 -05:00
Kevin Fronczak 968c0cf8fc Fixed typos 2018-01-19 14:52:40 -05:00
Kevin Fronczak f8d4874f2f Updated README badges to dev branch, improved setup script 2018-01-19 14:47:12 -05:00
Kevin Fronczak 261d6293dd Fix lint, upgrade pylint to 1.8.1 2018-01-19 14:38:16 -05:00
Kevin Fronczak 988265fd9f Removed API warning 2018-01-19 11:45:08 -05:00
Kevin Fronczak ba03894e94 Refactored code in prep for API overhaul 2018-01-19 11:41:26 -05:00
Kevin FronczakandGitHub 556c28d4b9 Update README.rst 2017-12-29 20:09:34 -05:00