core: Family Hub Camera stopped working after upgrade to 0.94
Home Assistant release with the issue:
Last working Home Assistant release (if known): 0.93.2
Operating environment (Hass.io/Docker/Windows/etc.):
Hyper-V VM running Ubuntu 18.04.2 LTS
Component/platform:
camera:
- platform: familyhub
Description of problem: home assistant status is showing errors relating to pyfamilyhublocal (see logs below)
The internal view of the samsung fridge isn’t working. I can see the element on the web page, but it’s showing an ‘error icon’ (looks like an ‘image not found’ type placeholder if I had to guess) in place of the image. The header for the item in the states view also says (‘FamilyHub Camera (Image not available)’)
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
camera 1:
 - platform: familyhub
   ipaddress: '192.168.1.66'
Traceback (if applicable):
Additional information: Here is what I’m getting in my logs: 2019-06-05 13:47:54 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File “/srv/homeassistant/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 418, in start resp = await task File “/srv/homeassistant/lib/python3.6/site-packages/aiohttp/web_app.py”, line 458, in _handle resp = await handler(request) File “/srv/homeassistant/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 119, in impl return await handler(request) File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware return await handler(request) File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/ban.py”, line 67, in ban_middleware return await handler(request) File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware return await handler(request) File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/view.py”, line 115, in handle result = await result File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/camera/init.py”, line 478, in get return await self.handle(request, camera) File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/camera/init.py”, line 495, in handle image = await camera.async_camera_image() File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/familyhub/camera.py”, line 45, in async_camera_image return await self.family_hub_cam.async_get_cam_image() File “/srv/homeassistant/lib/python3.6/site-packages/pyfamilyhublocal/init.py”, line 29, in async_get_cam_image glazeCameraInfo = await self._get_cam_info() File “/srv/homeassistant/lib/python3.6/site-packages/pyfamilyhublocal/init.py”, line 57, in _get_cam_info data = json.loads(await response.read()) File “/usr/lib/python3.6/json/init.py”, line 354, in loads return _default_decoder.decode(s) File “/usr/lib/python3.6/json/decoder.py”, line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File “/usr/lib/python3.6/json/decoder.py”, line 357, in raw_decode raise JSONDecodeError(“Expecting value”, s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17
Hoping this will finally get some attention. I appreciate those who have the knowledge and are able to take time to fix this integration.