1 out of 2 Blinks not showing up post 0.80
See original GitHub issueI updated to HASS 0.80 and everything seemed to work fine. A few restarts later and the camera refuses to function. I stripped down the config to just username and password and it still is unresponsive. Within HASS, the battery status is for the camera is displayed as -100.
The HASS log shows this:
Unexpected exception Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py", line 16, in _handle_async_response await func(hass, connection, msg) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 462, in websocket_camera_thumbnail image = await async_get_image(hass, msg['entity_id']) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 93, in async_get_image image = await camera.async_camera_image() 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/camera/blink.py", line 76, in camera_image return self._camera.image_from_cache.content AttributeError: 'NoneType' object has no attribute 'content'
and
Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start resp = await self._request_handler(request) File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle resp = await handler(request) File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 68, in auth_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 68, in auth_middleware return await handler(request) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 113, in handle result = await result File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 406, in get return await self.handle(request, camera) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 423, in handle image = await camera.async_camera_image() 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/camera/blink.py", line 76, in camera_image return self._camera.image_from_cache.content AttributeError: 'NoneType' object has no attribute 'content'
Repeating every minute or so post startup.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (8 by maintainers)
Top GitHub Comments
The
/homescreen
request returns anthumbnail
value for each camera as well. Could that be used if no videos are found? I actively remove the videos, so most of my cams don’t have any videos on the server. This prevents users from manually triggering the motion detection to “make it work”.I just followed your retriggering steps and it worked. Makes sense as that cam is only armed when away for long periods of time.