fronzbot/blinkpy

When calling get_events from the Sync Module I get the error "Could not extract events: {'message': 'An app update is required'}"

abseward opened this issue · 4 comments

Describe the bug
When calling get_events from the Sync Module I get the error "Could not extract events: {'message': 'An app update is required'}"

To Reproduce
Steps to reproduce the behavior:

  1. Get a sync module instance and call get_events()
for name, sync_module in blink.sync.items():
    print(f"Blink Events: {sync_module.get_events()}")
  1. Get an error back

Expected behavior
It should return my events

Notes
I'm guessing they've changed the API and want me to update my "app" to request events in a way that conforms to the new version. I've checked and my Sync Module's firmware is up to date.

So there's no way I'm aware of to just get "events". The get_events function is quite old and I don't think Blink ever added a replacement endpoint.

For doorbells/cameras, the "event" is a video recording in which case you use the request_videos function

async def request_videos(blink, time=None, page=0):

Try that and let me know if that's doing what you expect.

Oh I just saw your comment in the other thread- you're looking for button presses. That endpoint hasn't been discovered yet, to my knowledge. The other implementations out there (IFTTT, Alexa) work directly with Blink to be able to subscribe to events and we might be able to get there eventually, but Blink has refused to work with me in any capacity and has been borderline hostile to all open source projects.

mkmer commented

Looks like this call is depreciated: https://github.com/MattTW/BlinkMonitorProtocol and replaced with request_videos() function.
Maybe we should remove the function....

There hasn't been any activity on this issue recently. Please make sure to update to the latest blinkpy version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.