Eufy Security Integration

I’m getting this error for my webrtc camera stream. Here is the config:

api:
  password: pass
  username: user
rtsp:
  password: pass
  username: user
streams:
  T8134P2023250F5A: T8134P2023250F5A
  T8213P1122200BE1: T8213P1122200BE1
  camera: 
     - rtsp://192.168.1.191:554/realmonitor?channel=0&stream=0&unicast=true
     - ffmpeg:rtsp://localhost:8554/camera?audio=copy#audio=aac

log:
  level: debug
  api: debug
  exec: debug
  ngrok: debug
  rtsp: debug
  streams: debug
  webrtc: debug

Dont recognize any of this, do you use the webrtc integration?

Yes i do and that is th config for the webrtc. Its giving me a error when i try to create the lovelace card

Don’t have any such configuration in the integration, i use the fuatakgun version installed through hacs. No config option whatsoever. Sure you dont use a different addon of sorts?

With the camera card below

type: custom:webrtc-camera
entity: camera.doorbell
poster: image.doorbell_event_image
ui: true
style: '.header {display: none} .pictureinpicture {display: none}'
shortcuts:
  - name: Play
    icon: mdi:play
    service: camera.turn_on
    service_data:
      entity_id: camera.doorbell
  - name: Stop
    icon: mdi:stop
    service: camera.turn_off
    service_data:
      entity_id: camera.doorbell

So, I got the card working but my cameras are not streaming. either they will stream for like 10 seconds and go idle, not stream at all or get stuck in preparing. I have my cameras on low encoding.

Without clarity on your setup (addons, integrations, configuration) its difficult to help you further. I suspect (since you run frigate) there is a conflict on the gortc/webrtc side.

To debug the issue i would start by turning off frigate, as well as any separate gortc addon (if installed separately) and just install the webrtc integration (fuatakgun version). There is guidance in this thread on the port number which the integration uses so you can check the version and available streams etc.

Starting the stream is simply a service call which can be triggered (see my card example above).

Lastly, the GitHub page of fuatakgun is very comprehensive.

I have removed frigate on the addon and have run your card example above. Only webrtc is active now. I believe the slow response from my stream is from my eufy integration itself but i cant figure out why? Is there any logs or config you would need to look at?

Hello everyone. I have the problem that I see the stream once… and about 1 minute later webrtc has an error message.
17:39:04.402 INF [streams] create new stream url=rtsp://Xt4bO8U6F8bt:[email protected]/live2
17:39:04.597 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error=“streams: wrong response on DESCRIBE”
any tips for me? Best regards from germany :slight_smile:

3 Likes

Since I update home assistant I think, I can’t change guard mode. Nothing is happening when I edit it.
Aanyone else experiencing the problem?

Hello, Any idea when the HomeBase 3 is supported with the GuardModes?

Any idea about how to keep the p2p session alive ? I have a s100 eufy wall light working with this, ( is p2p only ) and I press start p2p session and it works for about 1 hour or so but I can´t keep it live longer. I would like to be able to record 24/7 to NVR ( scrypted ) Thanks

Bit off topic, but scraped all my Eufy stuff including the doorbell. Bit of a shame as they did have some good stuff.

Moved to Reolink as they have a better HA integration that’s native. The app is clunky but the option to have it record on a NAS plus an windows client is awesome.

And no limits on streaming as well, Eufy stream would cut out after a while, could understand for battery cams but even for wired, didnt make sense to me.

I want my camera thumbnail to appear on my android TV using “notifications for android TV”. It works great, I just need a path to an image (the “event image”). So where are the eufy camera thumbnails stored? When I use chrome inspect, I get this pointer to the image: /api/image_proxy/image.gate_entrance_event_image?token=xxxxxxxx
I’ve used linux “find” command to search everywhere. Is the thumbnail taken from the eufy device? That would explain why I can’t find it. I need the thumbnail stored on my RPi. Or need an url entity that points to the camera with security token.

Help?

I do this in NodeRed but its the same
The template is

yoururl{{state_attr(‘image.yourentity_event_image’, ‘entity_picture’) }}

e.g.

https://starmanj.com{{state_attr(‘image.doorbell_event_image’, ‘entity_picture’) }}

This gives you -

https://starmanj.com/api/image_proxy/image.doorbell_event_image?token=5bef221f5sdsdsd6dsdsdsd32sdsdds89d1e533e16569e8deace53c9bb0aa50b23d

1 Like

Thank you! So I assume this integration doesn’t store the picture as a .jpg locally? I was able to make a template per your instructions (had to replace ’ with " to make it work).

So for posterity–thank you @Dangermoose – using the android TV notification integration, you can post a picture of anyone your Eufy camera captures (door etc.) if you put it into a script. Format of the date field (example):

duration: 10
fontsize: large
position: top-left
color: red
interrupt: 1
image:
url: https://yourHAurl:8123{{state_attr(“image.gate_entrance_event_image”,
“entity_picture”) }}

Hi everyone,

Unfortunately, video streaming doesn’t work.
Stream status: Preparing
Camera: eufy floodlight cam e340

Do you have a solution?
otherwise everything works.
Thanks.

I’ve not used my eufy S100 for a while in HA but would like to get this working again.

For some reason it’s not working.

Current set up is below

HA Installed in a docker 2024.5.4
eufy-security-ws in docker
bluenviron/mediamtx also in a docker
WebRTC 3.5.2 installed via HACs
eufy 8.0.2 installed via HACs

Is this still the correct way for this setup or have things now changed?

Mediamtx? What does that do? That one is not on my list. Stable run since 8.0.1 on my end using all other elements you mention.

One exception, i run ha os with addons. Docker should work though.