Releases: tchellomello/python-arlo
Version 0.1.2
- Add support for getting and setting 'schedule' mode properly @chaddotson #70
- Don't update base station when it's not available @karlkar #69
Version 0.1.1
- Function should must return value (inconsistent-return-statements) @tchellomello #66
- Add support for taking a snapshot from a camera @chaddotson #65
Many thanks to @chaddotson
Version 0.1.0
- Exposed the refresh_rate and last_refresh properties to RingBaseStation object
- Exposed refresh_rate setter property
- Allow refresh_rate to be passed via constructor
- Introduced a new property to a
ArloCamera
object calledbase_station
andparent_id
(0.0.9)
Version 0.0.9
- Introduced a new property to a
ArloCamera
object calledbase_station
andparent_id
v. 0.0.8
- This release introduces some breaking changes as several methods were renamed.
- A new code refactored was implemented to help to speed up the attributes and queries.
- Added new abilities to return new attributes
Many thanks to @jwillaz, @viswa-swami and @broox
0.0.7
v 0.0.7 (#45) * Added Sphinx documentation (#23) * Added Sphinx documentation * Exclude flake8 from docs directory * Added developer documentation link to README.rst * Added support for getting the mode and also battery_level from device (#22) * Added code to create an event stream and get notifications from arlo device. This can be used to get mode, battery level of camera and even all other properties of camera. Created properties to pull the base station properties, camera properties, schedule, rules etc. Also added property to get the battery level of cameras as well as filled the mode getter function to return the mode. * Added code to create an event stream and get notifications from arlo device. This can be used to get mode, battery level of camera and even all other properties of camera. Created properties to pull the base station properties, camera properties, schedule, rules etc. Also added property to get the battery level of cameras as well as filled the mode getter function to return the mode. * Updating the requirements.txt to add sseclient * Updating the requirements.txt to add sseclient-py * Updating the setup.py to add sseclient-py * Addressing the review comments by @tchellomello * Addressing the comments posted by CI bot * Added code to get the per camera battery level. Added a new property called get_battery_level for camera. It will return the battery level of that camera alone. * Fixing the review comment by CI bot. Also updated the README file with the commands to get properties, battery level, mode etc * Added new properties for base station and camera. Added property in base station to fetch the schedule and a boolean property to find out if motion detection is enabled or not. Added properties in camera to get flip, mirror, power save mode, connection status, signal strength etc. * Added property in camera to fetch the motion detection sensitivity * Added property in camera to fetch the motion detection sensitivity : fixed the lint errors. * Updated README with new properties * Bump version 0.0.5 * Bump dev version 0.0.6 * Fix basestation mode property for custom mode settings. (#28) * Fix basestation mode property for custom mode settings. Bump version. * Correct pylint issue... extra else. * Address comments. * Address pylint issue. Seems linelength restriction, impairs clarity here. * Address pylint issue with linelength. * Unittests (#26) * Initiated skeleton for unittests * Added Python 3.4 on travis * Fixed coverage link * Expanding unit test coverage (#29) * Added tests for pyarlo.utils * Added tests for http_stream on pyarlo.utils * Added tests for pyarlo.camera * Fixed mock_open() function (#30) * Fixed mock_open() function * Remove any temporary file created by unit tests * Optimization: Instead of subscribing for each query, user can subscribe once and then post query (#32) * Optimization: Instead of subscribing, starting a new thread and then posting query for getting info from base for each and every query, user can subscribe once in the beginning and then just ask the query, get response. * Changed a info LOGGER into debug LOGGER. This was spamming the HASS output with query request/response * Remove raise_for_status() since it can create problems with async functions * Arlo Optimizations & New property to get camera signal strength (#34) * Optimizations for improving the speed/time of subscribing and waiting for event. Earlier it used to be 5 seconds for each subscribe and getting event. This new model allows client applications using this library to just subscribe first, and then just query for information. This saves time in getting the info needed to barely 0.7 seconds. Removed the while loop to wait for an event, and using the threading event concept. Also added a new property to get the signal strength as a dictionary. * Updated the code to use the get function get the element instead of directly accessing it by its key. This will protect from exception if that key is not present for some reason. * Use the get function to get the element instead of directly accessing. This will take care of any exceptions thus raised in case that element is not in the dict * Added a check for None in case we didn't get the modes response within our timeout period. * Operator == always will return bool * Make lint happy * Bump dev version 0.0.7 * Base Station Mode enhancements (#40) * add a test for the current mode property * add the ability to set custom modes * linted * update READMEs * Tests and a bit of cleanup (#42) * add base station tests * add more camera tests and fix a couple small bugs * try using binary file reading * explicitly read binary files as such. test camera.live_streaming * linting * Fixed merge * Fixed merge via webUI
0.0.6
v 0.0.6 (#37)
Many thanks to @viswa-swami and @chaddotson
-
Added Sphinx documentation (#23)
-
Added Sphinx documentation
-
Exclude flake8 from docs directory
-
Added developer documentation link to README.rst
-
Added support for getting the mode and also battery_level from device (#22)
-
Added code to create an event stream and get notifications from arlo device. This can be used to get mode, battery level of camera and even all other properties of camera. Created properties to pull the base station properties, camera properties, schedule, rules etc. Also added property to get the battery level of cameras as well as filled the mode getter function to return the mode.
-
Added code to create an event stream and get notifications from arlo device. This can be used to get mode, battery level of camera and even all other properties of camera. Created properties to pull the base station properties, camera properties, schedule, rules etc. Also added property to get the battery level of cameras as well as filled the mode getter function to return the mode.
-
Updating the requirements.txt to add sseclient
-
Updating the requirements.txt to add sseclient-py
-
Updating the setup.py to add sseclient-py
-
Addressing the review comments by @tchellomello
-
Addressing the comments posted by CI bot
-
Added code to get the per camera battery level. Added a new property called get_battery_level for camera. It will return the battery level of that camera alone.
-
Fixing the review comment by CI bot. Also updated the README file with the commands to get properties, battery level, mode etc
-
Added new properties for base station and camera. Added property in base station to fetch the schedule and a boolean property to find out if motion detection is enabled or not. Added properties in camera to get flip, mirror, power save mode, connection status, signal strength etc.
-
Added property in camera to fetch the motion detection sensitivity
-
Added property in camera to fetch the motion detection sensitivity : fixed the lint errors.
-
Updated README with new properties
-
Bump version 0.0.5
-
Bump dev version 0.0.6
-
Fix basestation mode property for custom mode settings. (#28)
-
Fix basestation mode property for custom mode settings.
Bump version. -
Correct pylint issue... extra else.
-
Address comments.
-
Address pylint issue. Seems linelength restriction, impairs clarity here.
-
Address pylint issue with linelength.
-
Unittests (#26)
-
Initiated skeleton for unittests
-
Added Python 3.4 on travis
-
Fixed coverage link
-
Expanding unit test coverage (#29)
-
Added tests for pyarlo.utils
-
Added tests for http_stream on pyarlo.utils
-
Added tests for pyarlo.camera
-
Fixed mock_open() function (#30)
-
Fixed mock_open() function
-
Remove any temporary file created by unit tests
-
Optimization: Instead of subscribing for each query, user can subscribe once and then post query (#32)
-
Optimization: Instead of subscribing, starting a new thread and then posting query for getting info from base for each and every query, user can subscribe once in the beginning and then just ask the query, get response.
-
Changed a info LOGGER into debug LOGGER. This was spamming the HASS output with query request/response
-
Remove raise_for_status() since it can create problems with async functions
-
Arlo Optimizations & New property to get camera signal strength (#34)
-
Optimizations for improving the speed/time of subscribing and waiting for event. Earlier it used to be 5 seconds for each subscribe and getting event. This new model allows client applications using this library to just subscribe first, and then just query for information. This saves time in getting the info needed to barely 0.7 seconds. Removed the while loop to wait for an event, and using the threading event concept. Also added a new property to get the signal strength as a dictionary.
-
Updated the code to use the get function get the element instead of directly accessing it by its key. This will protect from exception if that key is not present for some reason.
-
Use the get function to get the element instead of directly accessing. This will take care of any exceptions thus raised in case that element is not in the dict
-
Added a check for None in case we didn't get the modes response within our timeout period.
-
Operator == always will return bool
-
Make lint happy
0.0.5
Version 0.0.5 (#25) * Added Sphinx documentation (#23) * Added Sphinx documentation * Exclude flake8 from docs directory * Added developer documentation link to README.rst * Added support for getting the mode and also battery_level from device (#22) * Added code to create an event stream and get notifications from arlo device. This can be used to get mode, battery level of camera and even all other properties of camera. Created properties to pull the base station properties, camera properties, schedule, rules etc. Also added property to get the battery level of cameras as well as filled the mode getter function to return the mode. * Added code to create an event stream and get notifications from arlo device. This can be used to get mode, battery level of camera and even all other properties of camera. Created properties to pull the base station properties, camera properties, schedule, rules etc. Also added property to get the battery level of cameras as well as filled the mode getter function to return the mode. * Updating the requirements.txt to add sseclient * Updating the requirements.txt to add sseclient-py * Updating the setup.py to add sseclient-py * Addressing the review comments by @tchellomello * Addressing the comments posted by CI bot * Added code to get the per camera battery level. Added a new property called get_battery_level for camera. It will return the battery level of that camera alone. * Fixing the review comment by CI bot. Also updated the README file with the commands to get properties, battery level, mode etc * Added new properties for base station and camera. Added property in base station to fetch the schedule and a boolean property to find out if motion detection is enabled or not. Added properties in camera to get flip, mirror, power save mode, connection status, signal strength etc. * Added property in camera to fetch the motion detection sensitivity * Added property in camera to fetch the motion detection sensitivity : fixed the lint errors. * Updated README with new properties * Bump version 0.0.5
v0.0.4
Rebased from dev
v0.0.3
v0.0.3 (#17) * set version to 0.0.1 * Support for ArloQ (#2) * Support for ArloQ * Moved all detection to same conditional * Fixed lint issues * Added tests for arm/disarm * Added extra methods * Implement method to refresh attrs * Combined API_URL and force super()__init__() for ArloCamera * Filter on Provisioned Devices (#3) Filter on Provisioned Devices * - Fixed lint error E502 the backslash is redundant between brackets - Fixed super() constructor lint error E: 12,13: Bad first argument 'ArloGeneric' given to super() (bad-super-call) https://docs.quantifiedcode.com/python-anti-patterns/correctness/bad_first_argument_given_to_super.html - Fixed build Travis: https://travis-ci.org/tchellomello/python-arlo/jobs/224846095 * WIP (#4) Code refactoring * Updated README.rst and added ArloBaseStation object. * Updated pip git install * Moved mode from Camera to Base Station * Added method to show number of unseen videos * Added Arlo Q camera (#9) Fixes issue #7 * Implemented ability to reset unseen videos by camera or globally. (#10) * Enhancements (#14) * Refactoring * Created function to return number of videos recorded today * - Simplified documentation - Created pretty_timestamp - Created method to refresh Arlo object * Keeping simple name on README * Added contributing.rst instructions * Bump version 0.0.2 * Bump version 0.0.3 * Created function to allow searching for videos per camera and date range * Fixed docstring * Created create_at_pretty function * Fixed typo * Setting default query to 180 days * Makes lint happy