core: Integration blink - service blink.blink_update causes errors

The problem

Obviously the integration lost connection to one of my two camera devices. Restart did not help The second device works as usual. The broken device works normal in the blink application

What version of Home Assistant Core has the issue?

2022.2.9

What was the last working version of Home Assistant Core?

2022.2.9

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Blink

Link to integration documentation on our website

No response

Diagnostics information

Logger: blinkpy.auth
Source: /usr/local/lib/python3.9/site-packages/blinkpy/auth.py:195
First occurred: 13:55:01 (5 occurrences)
Last logged: 13:55:48

Connection error. Endpoint https://rest-prde.immedia-semi.com1646224121.jpg possibly down or throttled.
Logger: urllib3.connectionpool
Source: /usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:810
First occurred: 13:54:55 (15 occurrences)
Last logged: 13:55:48

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff792e0eb0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff681bb1c0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff65092730>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff65089850>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff6859b190>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 34 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks guys! Looks like there’s still more to fix. I’ll let you know when there’s an updated rc to test 👍

It is in the April release beta, so whenever the April release goes live is when it should be integrated.

With all due respect, maintaining blinkpy is a side project I do in my free time. I’m sorry you have to wait longer for a fix and am flattered that you rely on this integration that much. But please understand that I, like most contributors to home-assistant, work on these integrations in an entirely voluntary manner when I have free cycles in between my real full-time job and more important family obligations.

The thumbnail address looks malformed. Possibly an API change on Blink’s end that the library is not handling properly. Specifically, there clearly needs to be a / after the .com part in the thumbnail.

I’ll try to find some time to figure out where this is happening in the lib, hopefully it’s an easy fix

I just upgraded to the 2022.4.0 release and then rebooted my HASS VM and the new version works great. (I didn’t need to uninstall/reinstall) Thanks for fixing this!

When will the patch be available? The latest update did not provide the new blinkpy. If it comes with the new HA core, then I will have again one month without my hallway camera as I never update early releases. I have no time for fixing bugs these days.

If you’re testing within home-assistant, yes there’s more to update. I don’t recall what though, since it’s been awhile. However, if you want to test the standalone library, what you did is sufficient. To interact with the library outside of home-assistant you can checkout the readme on the repo homepage https://github.com/fronzbot/blinkpy

It’s relatively straightforward to get started (at least, I tried to make it that way)

Interestingly, the thumbnail of the other device have a totally different path:` Weird imo.

access_token: xxx
brand: Blink
motion_detection: true
name: Garten
camera_id: 306111
serial: 611175180
temperature: 46
temperature_c: 7.8
temperature_calibrated: 47
battery: ok
battery_voltage: 143
thumbnail: https://rest-prde.immedia-semi.com/media/production/account/90916/network/116231/camera/306111/clip_5Nv6icUV_2022_03_03__18_00PM.jpg
video: null
motion_enabled: true
motion_detected: false
wifi_strength: -49
network_id: 116231
sync_module: VaraderoCam
last_record: null
entity_picture: /api/camera_proxy/camera.blink_garten?token=xxx
friendly_name: blink Garten
supported_features: 0

There is a complete part missing ‘/media/production/account/90916/network/116231/camera/306111/’