ha-eufy-security icon indicating copy to clipboard operation
ha-eufy-security copied to clipboard

No live streaming

Open dannielum opened this issue 5 years ago • 10 comments
trafficstars

I am able to get the camera to show the last still recorded picture but not streaming it live. Here is the error I see in the 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 39, 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 127, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 125, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 491, in get
    return await self.handle(request, camera)
  File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 508, in handle
    image = await camera.async_camera_image()
  File "/config/custom_components/eufy_security/camera.py", line 100, in async_camera_image
    if self._last_image_url != self._camera.last_camera_image_url:
  File "/usr/local/lib/python3.7/site-packages/eufy_security/camera.py", line 30, in last_camera_image_url
    return self.camera_info["cover_path"]
KeyError: 'cover_path'

Any help is appreciated. Thanks!

dannielum avatar May 24 '20 03:05 dannielum

Try to disable "Preload Stream" in all streams...

R0GGER avatar Jun 18 '20 22:06 R0GGER

Try to disable "Preload Stream" in all streams...

That didn't work either. However, I notice that if I call the camera.turn_on service on the eufy camera entity, it will live stream in the Lovelace UI. Not sure if that is the right approach because it will cause eufy security to stop recording when I do that and probably will exhaust the battery too.

dannielum avatar Jun 20 '20 16:06 dannielum

I have the same issue as @dannielum. Only see the still photo.

PrayerfulDrop avatar Jul 21 '20 18:07 PrayerfulDrop

same here

[homeassistant.components.camera] Error requesting stream: camera.doorbell does not support play stream service

marklester avatar Aug 09 '20 12:08 marklester

I was running release tag : v0.3.0 and i was getting the same issue, but i changed to the master branch and im now able to have my camera and doorbell stream. the only thing it looks theres http request every few seconds for the thumbnail/still photo when on the lovelace card image

t3miLo avatar Aug 17 '20 21:08 t3miLo

same problem ; (

[homeassistant.components.camera] Error requesting stream: camera.access does not support play stream service

xekil avatar Aug 19 '20 21:08 xekil

any updates on this, I'm unable to play live streams on my cameras and doorbell

I have tried calling camera.turnon service but doesn't work,

I did a manual installation, from master branch

2020-09-08 07:59:22 ERROR (MainThread) [homeassistant.components.camera] Error requesting stream: camera.doorbell does not support play stream service

rafaelmagalhaes avatar Sep 08 '20 08:09 rafaelmagalhaes

I have the same issue on v3

a-bianucci avatar Sep 29 '20 13:09 a-bianucci

I have just installed v0.3.0, all 4 cameras entities are shown as picture but no streaming support also.

Logger: homeassistant.components.camera Source: components/camera/init.py:609 Integration: Camera (documentation, issues) First occurred: 12:43:30 AM (13 occurrences) Last logged: 12:50:59 AM

Error requesting stream: camera.doorbell does not support play stream service
Error requesting stream: camera.bedroom does not support play stream service

Home Assistant

version: 0.118.0 installation_type: Home Assistant Container dev: false hassio: false docker: true virtualenv: false python_version: 3.8.6 os_name: Linux os_version: 5.4.0-53-generic arch: x86_64 timezone: Europe/Lisbon

If I can provide any extra feedback just let me know.

csrui avatar Nov 20 '20 00:11 csrui

I tried digging around a bit (I'm new to HA "internals") and my guess is that this integration doesn't declare camera.play_stream service. Probably declaring that service is easier but implementing it (getting camera stream) is the bigger part. Though it seems it might've been implemented e.g. in ioBroker library

htuomola avatar Jan 21 '21 09:01 htuomola