Blink Stopped working

Blink integration has been running fine, I had the
blink:
username: xxxx
password: xxxx

Which works great from the ios app to view cameras etc… still. However upon a reboot during wiring issues (updated some smart switches upstairs) with the house, my HA throws the following in the logs:

Error during setup of component blink
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/blink/init.py”, line 100, in setup
hass.data[BLINK_DATA].start()
File “/usr/local/lib/python3.6/site-packages/blinkpy/blinkpy.py”, line 83, in start
sync_module.start()
File “/usr/local/lib/python3.6/site-packages/blinkpy/sync_module.py”, line 99, in start
self.videos = self.get_videos()
File “/usr/local/lib/python3.6/site-packages/blinkpy/sync_module.py”, line 148, in get_videos
camera_name = entry[‘camera_name’]
TypeError: string indices must be integers

I see nobody has reported this yet… I have:

  1. Reset the sync module
  2. reset my HA
  3. Reinstalled my HA clean
  4. re-added blink: and same issue?!!?

Anyone else have insight maybe to the above issue?

Excellent news!
updated to 86.1 today and sure enough after reboot BLINK is back online!!?!
don’t know what happened but we are back in business - thanks Guys!

1 Like

To fill you in Blink changed their API endpoint for videos so a quick fix was put in so the component would at least be functional again. Be advised that the motion detection sensor currently does not work, and won’t until we figure out the new API endpoint.

Crap - that’s what I have been troubleshooting all day :slight_smile:
Thanks for the heads up @fronzbot
how can I be alerted when these attempted fixes are ready… I can beta test if you guys need.

You created this issue, right? If so, you should emailed any time someone comments. You can also subscribe to the issue in the main library repo here.

Once those issues are fixed, motion detection should come along for the ride. Right now, beta testing won’t be necessary since we just need to find the new url to access for the API. Once we do that, everything should go back to working normally (ie, if it worked before it will work again).

1 Like

Thank you @fronzbot