Core: Blink Integration lost

Created on 9 Jul 2020  路  16Comments  路  Source: home-assistant/core

The problem

Blink integration failed 2 days ago, cannot re-integrate.

Environment

Home Assistant 0.112.3

  • Home Assistant Core release with the issue: 0.112

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

When reinstalling integration receiving 'unexpected error' with login credentials.

blink

Most helpful comment

Ok, so good news. Logging in works fine, just seems like they moved endpoints around. Need to pin down exactly what broke and what alternatives there are but it looks fixable.

All 16 comments

+1. Exactly the same issue.

+1. I have the same issue as well. I posted the error log over in the HA forum earlier today. https://community.home-assistant.io/t/blink-integration-stopped-working-and-cant-login/210490

Same issue. Here is my log trace:

2020-07-09 22:15:58 INFO (SyncWorker_22) [blinkpy.login_handler] Attempting login with https://rest-prod.immedia-semi.com/api/v4/login
2020-07-09 22:15:58 INFO (SyncWorker_22) [blinkpy.login_handler] Attempting login with https://rest-prod.immedia-semi.com/api/v3/login
2020-07-09 22:15:58 ERROR (MainThread) [homeassistant.components.blink.config_flow] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/blink/config_flow.py", line 75, in async_step_user
response = await validate_input(self.hass, self.blink)
File "/usr/src/homeassistant/homeassistant/components/blink/config_flow.py", line 23, in validate_input
response = await hass.async_add_executor_job(blink.get_auth_token)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(self.args, *self.kwargs)
File "/usr/local/lib/python3.7/site-packages/blinkpy/blinkpy.py", line 176, in get_auth_token
self.setup_params(self.login_response)
File "/usr/local/lib/python3.7/site-packages/blinkpy/blinkpy.py", line 189, in setup_params
self.networks = self.get_networks()
File "/usr/local/lib/python3.7/site-packages/blinkpy/blinkpy.py", line 195, in get_networks
response = api.request_networks(self)
File "/usr/local/lib/python3.7/site-packages/blinkpy/api.py", line 82, in request_networks
return http_get(blink, url)
File "/usr/local/lib/python3.7/site-packages/blinkpy/api.py", line 301, in http_get
is_retry=is_retry,
File "/usr/local/lib/python3.7/site-packages/blinkpy/helpers/util.py", line 104, in http_req
if json_resp and "code" in response.json():
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

+1 same error

Hey there @fronzbot, mind taking a look at this issue as its been labeled with an integration (blink) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

Yeah many users are reporting this, I'm experiencing it as well. Users of other third-party libraries seem to be having the same problem. Blink may have finally given us the ol' stanky boot.

I've got a couple ideas as a workaround that I'd like to try in the next couple of days.

Yeah many users are reporting this, I'm experiencing it as well. Users of other third-party libraries seem to be having the same problem. Blink may have finally given us the ol' stanky boot.

I've got a couple ideas as a workaround that I'd like to try in the next couple of days.

This may be related to the latest HA upgrade and not to blink. I personally haven鈥檛 tried to downgrade to 0.111 but this issue started with 0.112.

Same issue, stopped working on July 10, 11:00am est

Ok, so good news. Logging in works fine, just seems like they moved endpoints around. Need to pin down exactly what broke and what alternatives there are but it looks fixable.

+1 same error

thanks for the effort and appreciate the good work!

Same here - keep up the great work.

Same issue, attempts to use the legacy configuration.yaml settings do not make any difference. All ends at the credential submission. with the python3.7 errors as others.

Has anyone been able to fix the problem? Thanks

As shown in the linked pull request above your comments (and the fact that this issue has been closed), this issue has already been fixed and is in both 0.112.5 and the 0.113 beta. 0.112.5 had a build problem and so is only available on home-assistant core installations so if you do NOT have that, you have to upgrade to the 0.113 beta or wait for the 0.113.0 release.

Thanks @fronzbot

Upgraded to Home Assistant 112.5 today and added the integration (which i deleted upfront). Now everything is working well again! Even the old entities are available again, did not have to reconfigure anything...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

piitaya picture piitaya  路  3Comments

sogeniusio picture sogeniusio  路  3Comments

neonandu picture neonandu  路  3Comments

MartinHjelmare picture MartinHjelmare  路  3Comments

kirichkov picture kirichkov  路  3Comments