This morning all my cameras are gone again.
There’s an open issue for this over on the HA github site https://github.com/home-assistant/core/issues/37693.
The good news is that it sounds like it can be fixed.
Any idea when it will be released?
Already in 0.112.5
I dont see it as available update in supervisor. I’m still on 0.112.4 eagerly looking every 5 mins for the update to restore my displays.
Looks like they pulled 112.5 and are proceeding to 113 which just had its first Beta release. I utilkize docker and followed the steps Martin Delisle in the Blink Integration stopped working and can't login thread to get the cameras back.
I upgraded and all is good again, very happy man.
I upgraded to 0.113.1 and the Blink integration tries to install but after entering my user name and password I don’t receive an email from Blink.
I tried hitting submit with a blank pin but this fails.
If I sign out of the Blink app and back in again l get an email with a PIN within seconds.
Any suggestions why I’m not getting an email sent when I try to login to Blink via the HA integration install process?
Thanks
See here: Blink Integration stopped working and can't login
I suspect that what I say there is correct. If 2FA is enabled on your app, your account is likely forced to use the 2FA endpoint (the one in HA right now is a stop-gap that doesn’t actually email a pin, just a weird “verify” button in the email).
My issue is that I don’t even get an email from Blink with a PIN or with just the VERIFY button when I attempt to install the Blink integration.
My email and password are accepted and I see the 2FA window but as I don’t receive any email at all I can’t proceed either with a PIN or blanks.
As I said previously, when I log in via the app I do receive an email with a PIN within seconds.
I’m trying to understand why I don’t get any email at all when installing the Blink integration.
As explained in the link (maybe not very well), the integration currently uses an old login endpoint and a newer one was recently discovered and implemented but it’s taken me a bit to get those changes into home assistant. My guess is that some accounts have been migrated over to only accept the new endpoint and the old one has been shut off for them, which explains the intermittent behavior (works for some, not others)
Today the integration stopped again to work.
I had the same problem a couple of weeks ago.
This was solved by 0.113 version.
Today I got again this erroe
Logger: homeassistant.config_entries
Source: components/blink/__init__.py:66
First occurred: 7:08:33 (1 occurrences)
Last logged: 7:08:33
Error setting up entry blink for blink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 219, in async_setup
result = await component.async_setup_entry( # type: ignore
File "/usr/src/homeassistant/homeassistant/components/blink/__init__.py", line 97, in async_setup_entry
hass.data[DOMAIN][entry.entry_id] = await hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/blink/__init__.py", line 66, in _blink_startup_wrapper
blink.setup_params(entry.data["login_response"])
File "/usr/local/lib/python3.8/site-packages/blinkpy/blinkpy.py", line 189, in setup_params
self.networks = self.get_networks()
File "/usr/local/lib/python3.8/site-packages/blinkpy/blinkpy.py", line 195, in get_networks
response = api.request_networks(self)
File "/usr/local/lib/python3.8/site-packages/blinkpy/api.py", line 82, in request_networks
return http_get(blink, url)
File "/usr/local/lib/python3.8/site-packages/blinkpy/api.py", line 294, in http_get
return http_req(
File "/usr/local/lib/python3.8/site-packages/blinkpy/helpers/util.py", line 104, in http_req
if json_resp and "code" in response.json():
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.8/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)
More likely than not, your’re just running into a temporary connection issue. That specific traceback will be caught in a future version of the integration (currently waiting for review prior to merging). It should resolve itself and you should still have access to your cameras over time. If you don’t and it seems like they never update, let me know.
You were right. I updated HA to 1.13.2 restarted and worked again.
Thanks
@fronzbot I said ok too early.
I mean. The integration is loaded in HA, but doesn’t work the alarm panel.
If I try to arm the cameras, i get this error
Fallita chiamata a servizio alarm_control_panel/alarm_arm_away . Expecting value: line 1 column 1 (char 0)
Fallita chiamata a servizio means failed call to service.
In the log I find too
Logger: homeassistant.helpers.entity
Source: components/blink/alarm_control_panel.py:76
First occurred: 30 luglio 2020, 20:54:22 (8419 occurrences)
Last logged: 8:09:19
Update for alarm_control_panel.blink_casa fails
Update for alarm_control_panel.blink_test fails
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/blinkpy/helpers/util.py", line 114, in http_req
raise exceptions.ConnectionError
requests.exceptions.ConnectionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 272, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 465, in async_device_update
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/blink/alarm_control_panel.py", line 76, in update
self.data.refresh()
File "/usr/local/lib/python3.8/site-packages/blinkpy/helpers/util.py", line 203, in wrapper
result = method(*args, *kwargs)
File "/usr/local/lib/python3.8/site-packages/blinkpy/blinkpy.py", line 242, in refresh
sync_module.refresh(force_cache=force_cache)
File "/usr/local/lib/python3.8/site-packages/blinkpy/sync_module.py", line 159, in refresh
self.get_network_info()
File "/usr/local/lib/python3.8/site-packages/blinkpy/sync_module.py", line 148, in get_network_info
self.network_info = api.request_network_status(self.blink, self.network_id)
File "/usr/local/lib/python3.8/site-packages/blinkpy/api.py", line 93, in request_network_status
return http_get(blink, url)
File "/usr/local/lib/python3.8/site-packages/blinkpy/api.py", line 294, in http_get
return http_req(
File "/usr/local/lib/python3.8/site-packages/blinkpy/helpers/util.py", line 131, in http_req
return http_req(
File "/usr/local/lib/python3.8/site-packages/blinkpy/helpers/util.py", line 104, in http_req
if json_resp and "code" in response.json():
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.8/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)
without being to0 wordy with the log, I see other errors summorized with
Update for alarm_control_panel.blink_casa fails
5:51:31 – components/blink/alarm_control_panel.py (ERROR) - il messaggio si è verificato per la prima volta alle 30 luglio 2020, 20:52:53 e compare 17 volte
Cannot obtain new token for server auth.
5:51:31 – components/blink/alarm_control_panel.py (ERROR) - il messaggio si è verificato per la prima volta alle 30 luglio 2020, 20:52:53 e compare 17 volte
Failed to login to Blink servers. Last response: <Response [426]>
5:51:31 – components/blink/alarm_control_panel.py (ERROR) - il messaggio si è verificato per la prima volta alle 30 luglio 2020, 20:52:53 e compare 42 volte
Update for alarm_control_panel.blink_casa fails
8:09:19 – components/blink/alarm_control_panel.py (ERROR) - il messaggio si è verificato per la prima volta alle 30 luglio 2020, 20:54:22 e compare 8419 volte
Error doing job: Task exception was never retrieved
6:58:58 – components/blink/alarm_control_panel.py (ERROR) - il messaggio si è verificato per la prima volta alle 31 luglio 2020, 7:28:01 e compare 5 volte
Thanks
Hi @fronzbot, I observed this issue this morning and thought of re integrating, so deleted the integration. Since then I’m unable to interested Blink back and it’s giving me “Invalid Credentials” error message.
Seeing below in the logs.
2020-08-01 17:41:37 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2020-08-01 17:42:06 INFO (SyncWorker_2) [blinkpy.login_handler] Attempting login with https://rest-prod.immedia-semi.com/api/v4/login
2020-08-01 17:42:06 INFO (SyncWorker_2) [blinkpy.login_handler] Attempting login with https://rest-prod.immedia-semi.com/api/v3/login
2020-08-01 17:42:06 INFO (SyncWorker_2) [blinkpy.login_handler] Attempting login with https://rest-prod.immedia-semi.com/api/v2/login
2020-08-01 17:42:06 ERROR (SyncWorker_2) [blinkpy.login_handler] Failed to login to Blink servers. Last response: <Response [426]>
I too am unable to use my Blink cameras and I get the same 426 errors.
2020-08-01 21:20:00 ERROR (SyncWorker_5) [blinkpy.login_handler] Failed to login to Blink servers. Last response: <Response [426]>
2020-08-01 21:20:01 ERROR (SyncWorker_5) [blinkpy.login_handler] Failed to login to Blink servers. Last response: <Response [426]>
2020-08-01 21:20:01 ERROR (SyncWorker_5) [blinkpy.helpers.util] Cannot obtain new token for server auth.
2020-08-01 21:20:01 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry blink for blink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 219, in async_setup
result = await component.async_setup_entry( # type: ignore
File "/usr/src/homeassistant/homeassistant/components/blink/__init__.py", line 97, in async_setup_entry
hass.data[DOMAIN][entry.entry_id] = await hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/blink/__init__.py", line 66, in _blink_startup_wrapper
blink.setup_params(entry.data["login_response"])
File "/usr/local/lib/python3.8/site-packages/blinkpy/blinkpy.py", line 189, in setup_params
self.networks = self.get_networks()
File "/usr/local/lib/python3.8/site-packages/blinkpy/blinkpy.py", line 197, in get_networks
return response["summary"]
TypeError: 'NoneType' object is not subscriptable
2020-08-01 22:34:12 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 186, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 128, in async_init
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/blink/config_flow.py", line 127, in async_step_init
self.blink = self.hass.data[DOMAIN][self.config_entry.entry_id]
KeyError: 'b5f733b5e30f43a3b9f9a6db43cd1ddf'
2020-08-01 22:36:25 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.2855189184] Disconnected: Did not receive auth message within 10 seconds
I’m getting fed up to the point of seeing if I can hack the camera to not use blinks servers…
Yeah, the old login endpoint was just shut down. Fix is in progress.
Here’s another thread on the forum about this topic: Blink Integration stopped working and can't login
An open issue: https://github.com/home-assistant/core/issues/38291
My PR fixing the issue: https://github.com/home-assistant/core/pull/38027
+1 on the invalid authentication piece.
@fronzbot, just want to take a few to thank you for your efforts in keeping this integration up and running. Cheers from .
Back online again following the 0.114.0 update. Immediately received a PIN, popped it into the Hassio notification for Blink and my cameras are back
Nice work (again) @fronzbot - hope Blink leave the API alone now!