blinkpy.blinkpy¶
blinkpy by Kevin Fronczak - A Blink camera Python library.
https://github.com/fronzbot/blinkpy Original protocol hacking by MattTW : https://github.com/MattTW/BlinkMonitorProtocol Published under the MIT license - See LICENSE file for more details. “Blink Wire-Free HS Home Monitoring & Alert Systems” is a trademark owned by Immedia Inc., see www.blinkforhome.com for more information. I am in no way affiliated with Blink, nor Immedia Inc.
-
class
blinkpy.blinkpy.Blink(username=None, password=None)[source]¶ Class to initialize communication and sync module.
-
arm¶ Return status of sync module: armed/disarmed.
-
camera_thumbs¶ Return camera thumbnails.
-
events¶ Get all events on server.
-
id_table¶ Return id/camera pairs.
-
online¶ Return boolean system online status.
-
setup_system()[source]¶ Perform full system setup.
Method logs in and sets auth token, urls, and ids for future requests. Essentially this is just a wrapper function for ease of use.
-
summary¶ Get a full summary of device information.
-
video_count¶ Return number of videos on server.
-
videos¶ Return video list.
-
-
class
blinkpy.blinkpy.BlinkCamera(config, blink)[source]¶ Class to initialize individual camera.
-
armed¶ Return camera arm status.
-
battery_string¶ Return string indicating battery status.
-
-
blinkpy.blinkpy._request(blink, url='http://google.com', data=None, headers=None, reqtype='get', stream=False, json_resp=True, is_retry=False)[source]¶ Perform server requests and check if reauthorization neccessary.
Attempt to refresh auth token and links.