Core: Blink component raises "App update required" error each scan_interval

Created on 1 Mar 2019  路  12Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
0.88.2

Last working Home Assistant release (if known):
0.88.1
_NB: Logged message first seen 2019-02-28 20:58:14 GMT after upgrade and reboot. Most probably connected to a change at the Blink endpoint._

Operating environment (Hass.io/Docker/Windows/etc.):
Ubuntu 18.04.1 + Python3.6 venv

Component/platform:
Blink camera: https://www.home-assistant.io/components/blink/

Description of problem:
Blink component raises multiple Errors, repeated at each scan interval, for key _device status_

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

blink:
  username: !secret blink_usr
  password: !secret blink_pwd     
  scan_interval: 900
  binary_sensors:
    monitored_conditions:
      - motion_detected

Traceback (if applicable):


Additional information:
Logged from a single scan interval:

2019-03-01 08:01:37 ERROR (SyncWorker_3) [blinkpy.sync_module] Could not extract camera info: {'message': 'An app update is required'}
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/blinkpy/sync_module.py", line 127, in get_camera_info
    return response['devicestatus']
KeyError: 'devicestatus'
2019-03-01 08:01:37 ERROR (SyncWorker_6) [blinkpy.sync_module] Could not extract camera info: {'message': 'An app update is required'}
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/blinkpy/sync_module.py", line 127, in get_camera_info
    return response['devicestatus']
KeyError: 'devicestatus'
2019-03-01 08:01:38 ERROR (SyncWorker_3) [blinkpy.sync_module] Could not extract camera info: {'message': 'An app update is required'}
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/blinkpy/sync_module.py", line 127, in get_camera_info
    return response['devicestatus']
KeyError: 'devicestatus'
2019-03-01 08:01:38 ERROR (SyncWorker_6) [blinkpy.sync_module] Could not extract camera info: {'message': 'An app update is required'}
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/blinkpy/sync_module.py", line 127, in get_camera_info
    return response['devicestatus']
KeyError: 'devicestatus'
2019-03-01 08:01:38 ERROR (SyncWorker_9) [blinkpy.sync_module] Could not extract camera info: {'message': 'An app update is required'}
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/blinkpy/sync_module.py", line 127, in get_camera_info
    return response['devicestatus']
KeyError: 'devicestatus'
2019-03-01 08:01:39 ERROR (SyncWorker_9) [blinkpy.sync_module] Could not extract camera info: {'message': 'An app update is required'}
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/blinkpy/sync_module.py", line 127, in get_camera_info
    return response['devicestatus']
KeyError: 'devicestatus'

Most helpful comment

Just FYI i have a fix that I'm currently testing. Hoping to create a home-assistant PR sometime today.

All 12 comments

cc @fronzbot

I have same error

I've just noticed that the temperature sensors for each of my 3 cameras across both sync hubs are no longer available, presumably related to this issue.

Edit

Had a chance to look in more detail - in fact all cameras and attributes are missing.
Sync modules are visible and respond to arm / disarm, however no cameras are listed in the attributes for the hubs and images / temperature sensors / battery sensors / etc are all missing from my system.

I'll take a look into that today. Sounds like another API change maybe

EDIT- just took a look at my logs and I see the same thing. I'm like 99% sure another API endpoint changed. Hopefully I can figure something out quickly

Thanks, I've disabled my integration temporarily in case of ban hammer

Thanks waiting the fix

Just FYI i have a fix that I'm currently testing. Hoping to create a home-assistant PR sometime today.

Your the best

Even though the fix was merged, 0.89 does not have this fix in it, and still has the same error message showing up.

It will be part of 0.90

Or I just tagged it for 0.89.1

why the fix not appear in 0.89?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aweb-01 picture aweb-01  路  3Comments

Elmardus picture Elmardus  路  3Comments

moskovskiy82 picture moskovskiy82  路  3Comments

arangates picture arangates  路  3Comments

MartinHjelmare picture MartinHjelmare  路  3Comments