core: Family Hub Camera not working on Samsung TIZEN 4.0
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:
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 3
- Comments: 79
I am planning on spending some time to investigate if I can collect the camera images (and other data) from the Smart Things app API. I found this man in the middle proxy that can help reverse engineering the API calls.
https://mitmproxy.org/ https://github.com/mitmproxy/mitmproxy
It will be a month or so before I can start the work though.
I would like to get more info, such as:
I have the same issue - as very clearly described above. Happy to provide any diagnostic data if helpful.
It’s dead
Hmm - the new/improved smartthings seems to break the power monitoring (https://github.com/contemplator1998/smartthings/issues/5) anyone have the fix?
We should al just be using our own usb powered camera of the port provided on the inside of the family hub fridge.
From: issue-triage-workflows[bot] @.> Sent: 25 November 2023 17:05 To: home-assistant/core @.> Cc: atv2016 @.>; Comment @.> Subject: Re: [home-assistant/core] Family Hub Camera not working on Samsung TIZEN 4.0 (#28473)
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 has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/28473#issuecomment-1826378371, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU5HATOIDEBBEQXVZZLYGIQNRAVCNFSM4JIGZZN2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBSGYZTOOBTG4YQ. You are receiving this because you commented.Message ID: @.***>
Yes, you can still see images in the SmartThings app.
It’s dead (just like my pos Samsung fridge… that’s the last time I buy a Samsung).
I have a Problem with family hub, it’s about “This entity does not have a unique ID”, any Idea?
I have the same issue, I would like to have this functionality so +1 on my end if anyone can solve it.
RIP
I confirm this still occurs with latest version.
On Sat, 20 Feb 2021, 22:18 github-actions[bot], notifications@github.com wrote:
Same issue
Still an open issue.
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 not working running 0.112.4
Same here as well
On Wed, 3 Jun 2020, 12:16 dvbit, notifications@github.com wrote:
same over here
Issue is still presistent
Still not working despite up to date version of HA.
Same
Issue is still present.
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.
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)