2019-05-25 17:04:13 ERROR (MainThread) [homeassistant.setup] Error during setup of component blink Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 156, in _async_setup_component component.setup, hass, processed_config) # type: ignore 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/homeassistant/components/blink/__init__.py", line 93, in setup hass.data[BLINK_DATA].start() File "/usr/local/lib/python3.7/site-packages/blinkpy/blinkpy.py", line 105, in start sync_module.start() File "/usr/local/lib/python3.7/site-packages/blinkpy/sync_module.py", line 116, in start force=True) File "/usr/local/lib/python3.7/site-packages/blinkpy/camera.py", line 125, in update thumb_addr = self.get_thumb_from_homescreen() File "/usr/local/lib/python3.7/site-packages/blinkpy/camera.py", line 197, in get_thumb_from_homescreen for device in self.sync.homescreen['devices']: AttributeError: 'BlinkSyncModule' object has no attribute 'homescreen'
So the Blink componente does not appear in HA.
I’m using Hass.io 0.93.2
I’ve been using Blink for a while in HA, and it stopped working the other day. I’ve tried the snapshot/restart trick a few times, but it still doesn’t work.
If I try load the URL that shows in the back trace (backtrack below) into my browser, it says that the certificate has expired.
Any other way to kickstart this?
Thanks!
2019-05-31 17:55:32 ERROR (SyncWorker_15) [blinkpy.helpers.util] Endpoint https://rest.u002.immedia-semi.com/api/v3/accounts/None/homescreen failed. Possible issue with Blink servers.
2019-05-31 17:55:32 ERROR (MainThread) [homeassistant.setup] Error during setup of component blink
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 156, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
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/homeassistant/components/blink/__init__.py", line 93, in setup
hass.data[BLINK_DATA].start()
File "/usr/local/lib/python3.7/site-packages/blinkpy/blinkpy.py", line 95, in start
camera_list = self.get_cameras()
File "/usr/local/lib/python3.7/site-packages/blinkpy/blinkpy.py", line 202, in get_cameras
for camera in response['cameras']:
TypeError: 'NoneType' object is not subscriptable
TLDR; Subdomain certs expired, Blink moved to new subdomains. This was already planned for in the component, but won’t be in until 0.94.0 in a few days (or you can install the latest beta, which also includes the fix, to see if it fixes the problem).