blinkpy icon indicating copy to clipboard operation
blinkpy copied to clipboard

Camera record() method always returns endpoint down or throttled

Open ATran31 opened this issue 3 years ago • 5 comments

Describe the bug I am able to connect and use some functions, but in particular the video record() function is constantly failing with the message Connection error. Endpoint https://rest-u008.immedia-semi.com/network/<network-id>/camera/<camera-id>/clip possibly down or throttled. This continues to happen after numerous attempts.

I don't think there is any throttling issue as I am able to successfully invoke other methods like snap_picture(). Is anyone else experiencing this? Wondering if it is limited to the Blink Minis.

To Reproduce Steps to reproduce the behavior:

  1. Complete the init and authorization process
  2. Attempt to start recording on any of the returned cameras by calling blink.cameras['my-cam'].record().

Expected behavior Create a recording clip.

Home Assistant version (if applicable): N/A

blinkpy version (not needed if filling out Home Assistant version): 0.18.0

Log Output/Additional Information If using home-assistant, please paste the output of the log showing your error below. If not, please include any additional useful information.

PASTE LOG OUTPUT HERE

ATran31 avatar Jan 16 '22 00:01 ATran31

Hmm, could be that the API endpoint has changed. I've noticed that Blink has a tendency to mess with the endpoints of newer cameras for a couple years before they settle down.

I'll try to find some time this week to debug with my mini camera and see if A) I have the same issue and B) if I can find a solution.

fronzbot avatar Jan 24 '22 13:01 fronzbot

What are the resources available to research the available API endpoints? I'd like to help find some resolution to this issue but not sure where to start documentation wise.

ATran31 avatar Sep 17 '22 22:09 ATran31

There aren't really any, unfortunately. It's all on users to discover based on network sniffing, etc. Most of this library is based on the work in this repo https://github.com/MattTW/BlinkMonitorProtocol

fronzbot avatar Sep 17 '22 22:09 fronzbot

Hello, first of all ty for putting all of this together! is there any updates on this? or suggestion from other solutions?

maxstefaniv avatar Nov 18 '23 17:11 maxstefaniv

No updates on the library side, unfortunately

fronzbot avatar Nov 19 '23 16:11 fronzbot