Skip to content

blinkpy-0.14.0.dev1

Pre-release
Pre-release
Compare
Choose a tag to compare
@fronzbot fronzbot released this 22 May 03:19
· 1265 commits to dev since this release
683650e
  • Convert all timestamps to UTC. This should eliminate weird timezone issues. Unless Blink implemented stuff wrong on there end...which seems entirely possible.

  • Added a motion_interval parameter. Normally, when checking for motion the library just looks as far back as the last refresh. The motion_interval variable will modify this check by looking past the last performed refresh PLUS an additional number of minutes set by this variable. In testing, I found that one minute is a good default to ensure information has propagated to blink servers and is ready by the time a refresh is called.

    • Now, this will be even more useful to debug since if timezone shenanigans are afoot, we can just set the motion_interval parameter to look back N hours to compensate. Checkmate, blink 😄

    • To use this new parameter, either initialize Blink with it via blink = blinkpy.Blink(motion_interval=<Number of Minutes>) or, after it has been initialized, it can be overridden on a per-sync-module basis via blink.sync['SYNCNAME'].motion_interval = NUMBER_OF_MINUTES.

  • Slugify video filename (OS inter-operability for video download)

  • Changes battery reporting to a state ('ok', 'replace', etc). Battery voltage is now accessible in camera attributes