Releases: python-ring-doorbell/python-ring-doorbell
Releases · python-ring-doorbell/python-ring-doorbell
Version 0.1.6
- Introduces support to floodlight lights and siren support. Many thanks to @jsetton for this addition
Version 0.1.5
- Added support to stickup and floodlight cameras. @jlippold
- Allow
history()
to return exact number of events of a given kind - Code refactored
- Added support to report wifi status. Thanks to @keeth
- Added support to play test sounds @vickyg3
Many thanks to the community and special thanks to @keeth @vickyg3 @jlippold
v0.1.4
0.1.4 (#42) * Bump dev branch to verson 0.1.4 * Combining coverage and tox with --cov-report * Added contributing.rst instructions * Cleanup tests (#39) * Cleaning up tests using tearDown() method * Increased coverage tests * Updated pip on readme * Fixes #40 - Dropped has_subscription attr (#41) * Force new pickle object to be create in case of version incompability * Update test_ring_utils.py * Makes lint happy
v0.1.3
version 0.1.3 (#37) * Bump version to 0.1.3 dev * Make session token reusable (#36) * Make session token reusable across multiple object instances via cache file. With this patch, we can have more than one Ring object pointing to the same cache file to share credentials to avoid multiple authentications. * Added unittest for utils.py * Make sure if a different username is used, a new cache should be initialized. * Added Python 3.6
v0.1.2
v0.1.2
0.1.1
v0.1.1 (#18) * Moved subscribed and subscribed_motion attributes to doorbell devices only * Allows option to make token persistent and register push_notify_urls * Introduced check_alerts() method (#17) * added initial control to alert notifications * Removed JSON from tests * Make lint happy * Update README * Only publish PUSH url if we have one * Display error message only if in debug * override default URL * Make check alerts a callable function * Removed extra space * Move inside the try/except for safeness * Introduced mecanism to save current alert state to a pickle file to allow concurrent objects to share alert notifications * Moved self._alert_cache position * version bump 0.1.1
0.1.0
BREAK CHANGES
The code was refactored to allow to manipulate the objects in a better way.
In [1]: from ring_doorbell import Ring
In [2]: myring = Ring('[email protected]', 'password')
In [3]: myring.devices
Out[3]:
{'chimes': [<RingChime: Downstairs>],
'doorbells': [<RingDoorBell: Front Door>]}
In [4]: myring.chimes
Out[4]: [<RingChime: Downstairs>]
In [5]: myring.doorbells
Out[5]: [<RingDoorBell: Front Door>]
In [6]: mychime = myring.chimes[0]
In [7]: mychime.
mychime.account_id mychime.firmware mychime.linked_tree mychime.subscribed_motions
mychime.address mychime.id mychime.longitude mychime.timezone
mychime.debug mychime.kind mychime.name mychime.update
mychime.family mychime.latitude mychime.subscribed mychime.volume
In [7]: mychime.volume
Out[7]: 5
#updating volume
In [8]: mychime.volume = 200
Must be within the 0-10.
In [9]: mychime.volume = 4
In [10]: mychime.volume
Out[10]: 4
# DoorBells
In [11]: mydoorbell = myring.doorbells[0]
In [12]: mydoorbell.
mydoorbell.account_id mydoorbell.kind
mydoorbell.address mydoorbell.last_recording_id
mydoorbell.battery_life mydoorbell.latitude
mydoorbell.check_activity mydoorbell.live_streaming_json
mydoorbell.debug mydoorbell.longitude
mydoorbell.existing_doorbell_type mydoorbell.name
mydoorbell.existing_doorbell_type_duration mydoorbell.recording_download
mydoorbell.existing_doorbell_type_enabled mydoorbell.recording_url
mydoorbell.family mydoorbell.timezone
mydoorbell.firmware mydoorbell.update
mydoorbell.history mydoorbell.volume
mydoorbell.id
In [12]: mydoorbell.last_recording_id
Out[12]: 2222222221
In [14]: mydoorbell.existing_doorbell_type
Out[14]: 'Mechanical'
In [15]: mydoorbell.existing_doorbell_type_enabled
Out[15]: True
In [16]: mydoorbell.existing_doorbell_type_enabled = False
In [17]: mydoorbell.existing_doorbell_type_enabled
Out[17]: False
0.0.4
- Allow to filter history per doorbell or globally.
0.0.3
Merge pull request #11 from tchellomello/dev Fixed metadata setup.py
0.0.2
Merge pull request #8 from tchellomello/dev 0.0.2