My Blink camera has suddenly stopped working and comes up with an error on boot. I am using the latest version of Hassio 0.85.1. The Blink App works fine. There is just one XT camera. Fine up until today when suddenly it has stopped. The errors listed in the log are below:
Any ideas anyone?
2019-01-23 17:29:21 ERROR (MainThread) [homeassistant.setup] 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
Problem upstream with Blink’s API. Please follow the issue @TazUk linked to. ETA for fix is unknown, but blink will be broken until I can figure out what changed
Updated to 86.1. I see the camera images again and Arming/Disarming from the UI works but the log file spews this every minute:
WARNING (SyncWorker_9) [blinkpy.sync_module] Could not retrieve videos. Message: An app update is required
Each camera is then listed. ie:
2019-01-24 12:10:28 INFO (SyncWorker_16) [blinkpy.camera] Could not extract clip info from camera Back Porch
2019-01-24 12:10:28 INFO (SyncWorker_16) [blinkpy.camera] Could not extract clip info from camera Front Porch
Yeah, that’s because video extraction is completely broken right now. 0.86.1 just introduced a fix to get the component limping again. Blink changed an API endpoint for video extraction, so those error will continue to spew until it’s fixed (hopefully by next HA release, but no promises).
If it’s not fixed by next release, I’ll try to limit the warning to happen only at startup.
Just for your reference (in case you want to watch and see when it’s resolved) here’s an issue on the home assistant github. There’s also a reference to the issue I raised in the main library to keep track of this issue and remind myself to fix it
@fronzbot I’m experiencing the same issue arm/disarm work but the camera portion is broken I’m running ha 0.88.2 in UnRaid docker if you need any help with testing let me know
My BLINK cameras stopped working back around version .83.0. Reading various threads I thought there was going to be a fix released. Just upgraded to version .94.2 and as soon as I try to configure the BLINK cameras via:
blink:
username: YOUR_USERNAME
password: YOUR_PASSWORD
Hassio crashes. Anyone have any insights or similar problem?
To be more specific I get the message Unable to load the panel source: /api/hassio/app/entrypoint.js when trying to view the configuration, hass.io, etc. page to try and troubleshoot.
No, I’ve been doing incremental upgrades assuming one day there would be a change that would correct the problem. However, I noted during a Dr ZZzs cast BLINK seemed to be working for others so I raised my issue again. I don’t disagree that the error message is not associated with BLINK, but all works well until I add:
blink:
username: YOUR_USERNAME
password: YOUR_PASSWORD
to my configuration.yaml file. The check config indicates valid configuration before restarting, but as soon as I restart I end up, for lack of better words, locking up hassio and the error message Unable to load the panel source: /api/hassio/app/entrypoint.js. I do have other FOSCAMs configured and working properly if that’s of any help. Also willing to post my configuration file if needed. Appreciate very much any insight or tips you can recommend to get to the root of this problem. Thanks.
If of any help, I’ll add when I first started getting this error message:
Unable to load the panel source: /api/hassio/app/entrypoint.js. I was lead to believe it was due to a corrupt SD card. I reinstalled hassio on a new SD card. I didn’t use a backup copy (lesson learned there too). The installation was successful until like I previous stated I tried to configure my Blink cameras.
Take a look in your log file and look for anything related to blink. If you see anything relevant, post it here.
Also, to be clear, your problem has been Blink has NEVER started up for you? Is that correct? Can you double check your username and password match your actually blink app username and password (and that you have access to the app and aren’t banned or something)? No one has ever reported this issue occurring continuously since 0.83 which is why this is confusing to me.