Blink Integration stopped working and can't login

Thanks. This is all new to me, so some searching to figure out how to edit and save (after trying to figure out how to access this from VirtualBox on Windows) and was able to successfully get this to work thanks to your instructions. Old dog and new tricks is hard.

Okay, while I was able to get integration back, the binary motion sensor isn’t showing, but it appears and old lingering version is there. Is this part of the integration issue or something separate?

Thank you for the response, my email in the app is verified. Resetting my password or logging into the blink app does trigger the pin to be sent via email, just doesn’t send the email when trying to authenticate from the HA container Blink module.

Is the Blink integration broken for you then? Like nothing shows up? Is there anything in your logs specifically related to Blink?

I just set up HA a few days ago to see how it compares to what I have with SmartThings. I haven’t been able to get Blink integrated yet due to this issue and as of today after I get passed the username/password it just responds with “Aborted.” I can terminal into the container and find the Blink integration however am unsure where the logs would be located if its never successfully been integrated. I just wanted to respond because you responded back, but I think I’m going to drop HA because even my August lock integration has issues, also it doesn’t find my garage controller. I understand HA requires some tinkering, don’t think I’m ready to dive into this yet.

Upgraded to 113 and Blink came back. Today I saw Blink was unavailable. Restarted to no avail. Removed integration and when readding I get unexpected error. What gives? How to troubleshoot?

Logger: homeassistant.components.blink.config_flow

Source: components/blink/config_flow.py:23
Integration: Blink (documentation, issues)
First occurred: 16:08:30 (2 occurrences)
Last logged: 16:08:57

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)

`

Same problem. I manual fixed the integration in 0.112.4, but with upgrade to 0.113.0 the integration stopped and I’ve got a lot of errors in log like this:

Logger: homeassistant.helpers.entity
Source: components/blink/binary_sensor.py:59
First occurred: 17:13:35 (408 occurrences)
Last logged: 17:30:06

Update for binary_sensor.blink_giardino3_camera_armed fails
Update for binary_sensor.blink_giardino3_motion_detected fails
Update for binary_sensor.blink_giardino4_battery fails
Update for binary_sensor.blink_giardino4_camera_armed fails
Update for binary_sensor.blink_giardino4_motion_detected fails
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/binary_sensor.py”, line 59, 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 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)

I wanted to add another data point. I’m pretty new to HA as well. I have my install on Home Assistant OS and have never had my blink camera connected before. I’m on 0.113.0 and I have a verified blink email address. When I go to the integrations and type in my email and password for blink, I never get an email. I can try to change my password in my blink account and I’ll instantly get a pin email for changing my password, but nothing for trying to tie integration together.

Now Blink works: I deleted browser_mod https://github.com/thomasloven/hass-browser_mod and restarted HA and it’s working. I’m not a software maker, but it doesn’t seem a simply coincidence.

interesting. I don’t have that app added to my system but it doesn’t look like you and I had the same problem. So looks like that won’t fix my issue but I’m glad you found a way to fix it

1 Like

I reinstalled 113 and reapplied snapshot. Seems to work now.

1 Like

Can anyone confirm they have blink showing as a sensor so I know if I have a completely different problem?

I have the following entities - all of which are active and working:

  • entity: alarm_control_panel.blink_home
  • entity: binary_sensor.blink_front_camera_armed
  • entity: binary_sensor.blink_front_motion_detected
  • entity: sensor.blink_front_battery
  • entity: sensor.blink_front_temperature
  • entity: sensor.blink_front_wifi_signal
2 Likes

I setted teh scan_interval to 30 seconds, I suspect that it is too low for the calls to API’s Blink, how did you set this?

Ciao

And fails again, the reason is that it rolls back to 112.4. It seems some of us have that problem. Possibly due to tensorflow component on my part.

I did not explicitly set the scan_interval so its using the default.

1 Like

Just wanted to state that I am also having the same ‘no email’ issue when attempting to setup the integration the first time. If anyone can shed any light on this, it would be appreciated.

  • running 0.113.1
  • Blink email is confirmed

Thanks!

1 Like

What happens with your “no email” issue? Not receiving an email is not necessarily indicative of a problem.

  • When you set up the component via the GUI, are you requested to input a verification code?

  • If yes, if you enter nothing and hit “Submit” what happens?

  • If no, do you receive any errors indicating the component could not be setup?

Hi Kevin,

  • I do receive the prompt to enter the code in my email, which never arrives
  • I have tried leaving it blank and just hitting submit, but it just returns to the ‘enter code’ prompt
  • I have verified that emails are not being blocked as I received emails for re-authenticating via the Blink app or if I change my password
  • I do not receive any errors via the GUI and I couldn’t see anything in the main logs (if there is somewhere specific I can look, please let me know)

Thanks!

2 Likes

Hello,
I have exactly the sale issue as @fullhack.
No mail, no logs.
Thanks