The family hub camera still doesn’t work. Any help would be appreciated.
Here’s the error log:
Log Details (ERROR)
Logger: aiohttp.server
Source: components/familyhub/camera.py:47
First occurred: 3:20:06 PM (54 occurrences)
Last logged: 3:28:57 PM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 492, in get
return await self.handle(request, camera)
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 509, in handle
image = await camera.async_camera_image()
File "/usr/src/homeassistant/homeassistant/components/familyhub/camera.py", line 47, in async_camera_image
return await self.family_hub_cam.async_get_cam_image()
File "/usr/local/lib/python3.7/site-packages/pyfamilyhublocal/__init__.py", line 29, in async_get_cam_image
glazeCameraInfo = await self._get_cam_info()
File "/usr/local/lib/python3.7/site-packages/pyfamilyhublocal/__init__.py", line 57, in _get_cam_info
data = json.loads(await response.read())
File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)