Core: Family Hub Camera not working on Samsung TIZEN 4.0

Created on 2 Nov 2019  ·  15Comments  ·  Source: home-assistant/core

Home Assistant release with the issue:
0.101.2

Last working Home Assistant release (if known):
Unknown

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io runing on Raspberry 4

Integration:
https://www.home-assistant.io/integrations/familyhub/

Description of problem:
Camera feed does not work after fridge has upgraded to TIZEN 4.0 firmware.

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

camera:
  - platform: familyhub
    ip_address: '192.168.0.103'

Traceback (if applicable):

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 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 122, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 496, in get
    return await self.handle(request, camera)
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 513, 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)

Additional information:

familyhub

Most helpful comment

I have the same issue - as very clearly described above. Happy to provide any diagnostic data if helpful.

All 15 comments

I have the same issue - as very clearly described above. Happy to provide any diagnostic data if helpful.

Hasn't worked for me for sometime now, too (months).
Here's my log.
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 40, in real_ip_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, 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 496, in get return await self.handle(request, camera) File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 513, 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)

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Issue is still present.

Same

Still not working despite up to date version of HA.

Issue is still presistent

same over here

Same here as well

On Wed, 3 Jun 2020, 12:16 dvbit, notifications@github.com wrote:

same over here


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/core/issues/28473#issuecomment-638129169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDAO7LCPG4GEYOZV4DZV7TRUYWIHANCNFSM4JIGZZNQ
.

Still not working running 0.112.4

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Still an open issue.

Same issue, just tried setting up the integration today.

Same issue

Tyh

Was this page helpful?
0 / 5 - 0 ratings