Eufy Security Integration

I had exactly same issue after updating HA core to 2022.7.3
I have downgraded to 2022.6.7 and everything back to work again.

Not sure if it’s related to the HA core version or something within Eufy addin need to be adjusted to work with the new HA core.

1 Like

It is related to webrtc integration, please wait a fix on respective custom integration.

On a separate thread, i am trying to move away webrtc into native Rtsp to Web RTC integration. I will keep here updated

3 Likes

You mean sound for p2p or rtsp?

It is not about this integration removing sound, it is about webrtc, check its configuration to enable it on its end. I had sound in my streams over rtsp but i have deleted webrtc so i don’t recall exact configuration.

And how about sound and p2p :nerd_face:?

p2p is my eternal joy :slight_smile: just keeping it myself :slight_smile:
I wont be able to do it via python, I should move all p2p stuff into add-on :slight_smile:

2 Likes

Just creating video stream out of p2p is troublesome enough for me :slight_smile: I am not imagining 2 way audio.

  • I have to clean up here
  • Remove hard dependency of webrtc
  • Move p2p stuff into add-on, node-js is more suitable for video and audio handling
  • After here, I could enable audio stream for p2p video
  • Later then, I can think about 2 way audio.
3 Likes

I’m unable to setup Eufy Security via the instructions on the Github repo.

I keep getting the error Retrying setup: Start Listening was not completed in timely manner for the Eufy Security integration.

Homeassistant core is also giving a WARNING eufy_security - no devices available yet. However, I have devices visible in the Eufy app and can watch the Camera live streams without any issues. I’ve set up a separate Eufy account for Homeassistant to use. I thought this might be causing the error, but I get the same error when using my default Eufy user account.

In the Eufy Security WS addon log I’m also getting these INFO entries:

2022-07-16 14:08:16.513  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-07-16 14:08:41.458  INFO  Client disconnected with ip: 172.30.32.1 port: 46196 code: 1000 reason:  
2022-07-16 14:08:46.715  INFO  Client disconnected with ip: 172.30.32.1 port: 38760 code: 1000 reason:  
2022-07-16 14:08:56.973  INFO  Client disconnected with ip: 172.30.32.1 port: 44100 code: 1000 reason:  
2022-07-16 14:09:17.575  INFO  Client disconnected with ip: 172.30.32.1 port: 46190 code: 1006 reason:  
2022-07-16 14:10:05.383  INFO  Client disconnected with ip: 172.30.32.1 port: 38070 code: 1000 reason:  
2022-07-16 14:10:14.293  INFO  Client disconnected with ip: 172.30.32.1 port: 38074 code: 1000 reason:  
2 Likes

Oddly, this issue seems to have resolved itself in the last 24 hours.

Finally fixed the missing native streaming issue. Now, you don’t need to use webrtc, native cards from home assistant should stream too.

1 Like

Hi. Thanks for working on this. I was able to get this running and am able to see my Eufy devices as well as view the streams. The issue I’m having is that the sensor entities do not update. For example, motion sensor/person detected entities always show false even when they show they are triggered in the Eufy app. I have notifications turned on and have tried turning them off and back on as well as restarting HASS, reinstalling the integration, and installing on a different HASS deployment all with no luck. I would really like to trigger automations off the person detected entity. Can you recommend trying anything else to get these working properly? Thanks!

Do you see any errors in add-on logs? But in any case, i am not very knowledgeable on add-on internals, you might need to get help from eufy-security-ws repository owner.

Saw theupdate and the closed issu in guthub. More than great. But unfortunately it is not working (at least here).

image

This is more than before, because before there was nothing shown and now the error, but still no stream or something else.
This picture is, if I click on the entity or have live in a card.

Or how do I have to setup the cards now? auto/live? Still with camera_start-service or is it started why I click?

you have to initiate the streaming first and then click on popup, it won’t start the streaming by itself, so be sure that camera is in streaming state. Moreover, home assistant streaming has couple of seconds before it times out so the stream might not be ready immediately.

background: this was not the case earlier, before we all move into webrtc based streaming, rather than native one, but webrtc is trying to fetch the stream and play it inside the browser (without initiating) and it was draining batteries of many products. So, I had introduced disable auto start on click configuration and advised everyone to do that, but it is optional. if you want to stick with webrtc, disable auto start and rely on conditional cards. If you want to use native streaming (it is a bit slower), enable auto start, do not use webrtc at all.

2 Likes

Great. It is working. Most probably I stay with the conditional card-setup and onclick-start-service and without autostart on click, but now with a standard picture glance. Fine.

type: vertical-stack
cards:
  - type: picture-glance
    title: Terrasse
    camera_image: camera.garten
    camera_view: auto
    entities:
      - entity: binary_sensor.garten_global_motion_sensor
      - entity: sensor.garten_battery
    double_tap_action:
      action: more-info
    tap_action:
      action: call-service
      service: camera.turn_on
      target:
        entity_id: camera.garten
  - type: conditional
    conditions:
      - entity: binary_sensor.garten_streaming_sensor
        state: 'on'
    card:
      type: button
      name: Stop Streaming
      show_state: false
      show_icon: false
      tap_action:
        action: call-service
        service: camera.turn_off
        target:
          entity_id: camera.garten
1 Like

Sorry if this has been answered but I can’t find anything regarding my issue. I have RSTP enabled on my Eufy camera (Indoor Cam Mini) and can see the stream with the WebRTC lovelace card with no issues. I just installed this integration and see 26 entities added for tons of stuff to control the camera setttings… except the most important one, the camera entity. From reading around here I’m assuming that camera entity should have been added but it’s not there for me.

What’s strange is that I tried to setup the camera with the generic camera integration and it times out. I then tried with the ffmpeg integration and I’m getting authentication errors even though I’m using the same rtsp:// address as what’s in my WebRTC lovelace card. I thought perhaps there can’t be two streams from the same camera so I even deleted the WebRTC lovelace card and reloaded the integration and still nothing. Any clue what could be happening?

This is what I see in the add-on logs:

2022-07-19 00:12:06.812  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-07-19 00:12:11.573  INFO  Connected to station T8414P10213704AF on host 192.168.86.59 and port 19000 
2022-07-19 00:12:26.623  INFO  Push notification connection successfully established 
2022-07-19 01:15:30.120  INFO  Client disconnected with ip: 172.30.32.1 port: 34934 code: 1006 reason:  
2022-07-19 01:15:30.134  INFO  Client disconnected with ip: 172.30.32.1 port: 34932 code: 1006 reason:  
2022-07-19 01:15:30.136  INFO  Client disconnected with ip: 172.30.32.1 port: 34920 code: 1006 reason:  
2022-07-19 01:15:30.139  INFO  Client disconnected with ip: 172.30.32.1 port: 34924 code: 1006 reason:  
2022-07-19 01:15:30.141  INFO  Client disconnected with ip: 172.30.32.1 port: 34936 code: 1006 reason:  
2022-07-19 01:15:30.145  INFO  Client disconnected with ip: 172.30.32.1 port: 34938 code: 1006 reason:  
2022-07-19 01:15:30.146  INFO  Client disconnected with ip: 172.30.32.1 port: 34928 code: 1006 reason:  
2022-07-19 01:15:30.148  INFO  Client disconnected with ip: 172.30.32.1 port: 34930 code: 1006 reason:  
2022-07-19 01:15:30.150  INFO  Client disconnected with ip: 172.30.32.1 port: 34922 code: 1006 reason:  
2022-07-19 01:15:30.152  INFO  Client disconnected with ip: 172.30.32.1 port: 34940 code: 1006 reason:  
2022-07-19 01:15:30.153  INFO  Client disconnected with ip: 172.30.32.1 port: 34926 code: 1006 reason:  
2022-07-19 01:15:30.154  INFO  Client disconnected with ip: 172.30.32.1 port: 34918 code: 1006 reason:  
2022-07-19 01:29:23.035  INFO  Client disconnected with ip: 172.30.32.1 port: 34942 code: 1006 reason:  
2022-07-19 01:33:37.736  INFO  Client disconnected with ip: 172.30.32.1 port: 34944 code: 1006 reason:  
2022-07-19 01:58:16.286  INFO  Client disconnected with ip: 172.30.32.1 port: 34954 code: 1006 reason:  
2022-07-19 01:58:16.793  INFO  Client disconnected with ip: 172.30.32.1 port: 34950 code: 1006 reason:  
2022-07-19 01:58:17.130  INFO  Client disconnected with ip: 172.30.32.1 port: 34946 code: 1006 reason:  
2022-07-19 01:58:17.225  INFO  Client disconnected with ip: 172.30.32.1 port: 34952 code: 1006 reason:  
2022-07-19 01:58:17.229  INFO  Client disconnected with ip: 172.30.32.1 port: 34956 code: 1006 reason:  
2022-07-19 01:58:17.234  INFO  Client disconnected with ip: 172.30.32.1 port: 34948 code: 1006 reason:  

I just got the eufy dual doorbell and I installed it on Home assistant, but I cannot seem to get the camera to live stream to HA. I installed it this way on HACS and the live stream does not show.I have RSTP integrated but I cannot get past this part for WebRTC to work for my. I’m stuck here: image

You have to install WebRTC Camera (not RTSPtoWebRTC)

1 Like

I’m seeing the same issue as a few people above and I simply can’t progress the installation beyond the Eufy Security WS Addon. After installation of the Addon and configuration of the login settings, the log never progresses beyond this:

2022-07-19 10:50:16.035  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 

I’m using country code GB for the above, because my accounts and devices are set up for United Kingdom (so I assume this is correct).

One thing of note, if I then change the country code to US, I note that I get much more activity, and as expected no devices found because mine are configured in the UK (I assume):

2022-07-19 10:56:26.102  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-07-19 10:56:28.465  INFO  No stations found. 
2022-07-19 10:56:28.796  INFO  No devices found. 
2022-07-19 10:56:41.114  INFO  Push notification connection successfully established

Does this addon only work for US accounts, or am I doing something wrong here? I’ve tried this with HA core 2022.6.7, 2022.7.3 and 2022.7.5 with no difference.

I’ve come across the same issue having installed the cameras in Portugal.

Any suggestions or answers out there? @anon63427907 ?

CORRECTION

After a restart everything is working perfectly.

1 Like