Eufy Security Integration

Hi, what I posted, the service call for notification is for Android, I do not have IOS devices.
I don’t know if it’s the same or requires some other parameters.
For me it’s quite real-time with when the camera sensor detects the movement.
Sometimes it’s faster than the Eufy notification itself.

I am sure this is something very easy but I’ve been trying to figure out after adding RTSPtoWebRTC integration what Server URL are we supposed to use? I’ve tried my HA server, the local ip to no avail. If someone can please guide me in the correct direction. Everything seems to be setup but I am stuck getting Custom element doesn’t exist: webrtc-camera and that I know is due to the integration not being added but when I try to add the integration I can’t get beyond the Server URL.

Just set this integration up and the log continuously spits out this error:

2022-05-13 20:48:55.397  ERROR P2PClientProtocol.lookup(): station: ***********- All address lookup tentatives failed. 
2022-05-13 20:48:55.397  INFO  Timeout connecting to station ***********

I’ve tried using a guest account but that made no difference. Any support is appreciated.

Hi,

Also getting the same error as @draftpunk and @wtstreetglow. Created a guest account and shared both the camera and the home. But it seems it’s unable to find the camera’s IP.

2022-05-18 13:39:10.146  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-05-18 13:39:13.040  INFO  Push notification connection successfully established 
2022-05-18 13:39:27.699  ERROR P2PClientProtocol.lookup(): station: T8423*********** - All address lookup tentatives failed. 
2022-05-18 13:39:27.702  INFO  Timeout connecting to station T8423***********

I’ve tried connecting the main account as well, but same problem.

If that helps I am in Canada and tried both CA and US as country code.

I’m out of ideas, anyway to provide the camera’s IP address manually?

@anon63427907 Can anyone tell me if you can see the streams when connecting outside of the home network through DuckDNS?

Looks like @WinterX is having the same issues in this thread:

1 Like

Additional issues: I am having the same issue as @winterx and the others mentioned above. Even with these errors, I could add the webrtc stream to lovelace-- and get a stream to show but it seemed to crash my raspberry pi. Now, after restart of home assistant, all streams were lost and on the integrations page, the integrations says it no longer can connect.

Has anyone managed to get the customised quick responses working? I’d like to integrate it with presence detection so if someone is at home when the doorbell is pressed it says “we will be with you shortly”.

Has the original maintainer of this repo abandoned the project?

The 423 error really looks like it is caused by hitting an API request limit threshold. Perhaps I will try by removing half my cameras from my Eufy account, then adding to HA. If successful, then re-adding each camera slowly.

Just tossing ideas out. as you are facing the same issues?

Updating the add-on to use the 0.9.1 image from bropat fixed the issue for me. Everything is working beautifully.

There is already a PR on GitHub to make the change, should be made available to everyone soon.

I’m having the exact same issue, did you manage to resolve this?

not entirely sure Im asking in the right place but here goes.

The system works really well for me, the camera feeds work well and I have managed to integrate my alarm panel and sensors without issue.

However, once every day or so, the cameras feeds (the sitill collected) stop updating, and when I check the integration it has basically failed

And also sometimes it takes a number of HA restarts to get the integration to work at all…when it does fail I see the following

Expception: Driver in Add-on was not able to get connected!

It’s weird because sometimes the battery status will show even though I get the above error…but then a further restart will bring up the prior missed camera still shots as expected

Is there a setting I can tweak to assist with this…

FYI I’ve also tried restarting the Eufy ADD on in case that had an impact…which it did not

First off, I am super happy this integration exists. Especially as I also have a lot of Eufy door/window sensors. I have a question if other people are also experiencing a possible issue I have with those.

Some of the door/window open sensors can show their state as ‘on’ despite the window being clearly closed. In the Eufy app itself they are also listed as closed. I currently have it say for more then 2 days that 2 windows are ‘open’, despite this not being the case. And HA was rebooted during this.

Anyone else experience this or know how to solve it?

Hi, a really uge thanks for that eufy integration!
I’m testing cams for my house and want a ha integration.
My short list after a lot of testings with several brands are aqara G2H pro, aqara G3 hub and eufy outdoor 2K (also known as solo C24).
I’m stuck with one mandatory item of my solution: record to sd card and NAS.
Everything is ok, rtsp works fine but… I’m using motioneye to try recording videos only on human detection. If I set motionEye movies to “motion triggered” I never get a single video. If I set it to “continuous recording” I’m full of continuous videos…not only when the cam triggers a human detection. I red that eufy stream is supposed to start on detection…looks like not or motioneye doesn’t detect it…
Any other experience or advice to share with me guys? I’m clearly open to any other nvr/rtsp solution to get my videos backed-up outside the sdcard…
I’m based in France.
thansk

Partialy responding to my issue: reconfiguring motioneye with continuous recording and eufy cam as recording on detection only works. I mean i can receive some videos on motioneye. But these are not really the same as in te app (probably sychronisation time) thus important part off the video is missing!

I am trying to follow this guide for getting my eufy wired doorbell in Home Assistant.

I managed to run both containers on portainer on my truenas scale server:

It seems i I can add the Eufy integration after installing the HACS version. It asks for the IP and the port of the eufy-security-ws container. It says: succesful :slight_smile:

Home assistant keeps sending me MFA codes to my mail address. However, in Home assistant i see the following:

image

In the logs it says:

  • Config entry ‘192.168.1.18’ for eufy_security integration not ready yet: Start Listening was not completed in timely manner; Retrying in background
  • Config entry ‘192.168.1.18’ for eufy_security integration not ready yet: Exception: Host/port is not reachable 192.168.1.18 3000!; Retrying in background

eufy_security - no devices available yet

I think it has to do with my needing to provide the MFA code somewhere but i dont know where. I dont see it in the integration. In the logs of the container i see:

2022-05-30 19:33:15.349 INFO Client disconnected with ip: 172.18.0.1 port: 54986 code: 1000 reason:
2022-05-30 19:33:36.192 INFO Requested verification code for 2FA
2022-05-30 19:33:36.358 INFO Client disconnected with ip: 172.18.0.1 port: 16006 code: 1000 reason:
2022-05-30 19:34:17.342 INFO Requested verification code for 2FA
2022-05-30 19:34:17.439 ERROR Status return code 401, invalidate token
{
status: 401,
statusText: ‘Unauthorized’
}
2022-05-30 19:34:17.439 ERROR Tried to re-authenticate to Eufy cloud, but failed in the process. Manual intervention is required!
2022-05-30 19:34:17.440 ERROR Generic Error:
HTTPError Response code 401 (Unauthorized)

Anyone ideas of what i am doing wrong?

@anon63427907
yesterday i made a update, since then i cant open any stream i always get a error.

in the eufy security addon it seems everything works fine

2022-06-02 05:45:23.444  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-06-02 05:45:29.082  INFO  Connected to station T8410P2021132A69 on host 178.200.147.102 and port 28915 
2022-06-02 05:45:29.114  INFO  Connected to station T8410P3121302681 on host 178.200.147.102 and port 24274 
2022-06-02 05:45:29.145  INFO  Connected to station T8410P3121431696 on host 178.200.147.102 and port 21272 
2022-06-02 05:45:29.172  INFO  Connected to station T8410P3121280D8B on host 178.200.147.102 and port 15514 
2022-06-02 05:45:30.073  INFO  Push notification connection closed 
2022-06-02 05:45:30.094  INFO  Push notification connection successfully established 
2022-06-02 05:45:35.381  INFO  Push notification connection successfully established 

but the entity is “not avaiable”

in my log is a entry

Traceback (most recent call last):
  File "/config/custom_components/eufy_security/__init__.py", line 89, in async_reload_entry
    await async_setup_entry(hass, config_entry)
  File "/config/custom_components/eufy_security/__init__.py", line 51, in async_setup_entry
    await coordinator.initialize()
  File "/config/custom_components/eufy_security/coordinator.py", line 84, in initialize
    await self.connect()
  File "/config/custom_components/eufy_security/coordinator.py", line 116, in connect
    raise ConfigEntryNotReady(
homeassistant.exceptions.ConfigEntryNotReady: Expception: Driver in Add-on was not able to get connected!

It seems I’m at a loss here.

I am trying to set up the Eufy Security Add-on in home assistant, and though it seems to accept my log in info, it fails to keep the Push notification connection due to the following error:

2022-06-03 01:58:21.844  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-06-03 01:58:24.502  INFO  Connected to station *<s>XXXXXXXXXX</s>* on host *<s>XXXXXXX</s>* and port *<s>XXXXXX</s>* 
2022-06-03 01:58:25.236  ERROR Response code not ok 
{
  code: 35000,
  msg: 'Failed to request.'
}
2022-06-03 01:58:25.251  INFO  Push notification connection closed

I have tried researching the error code 35000 in the web socket documentation, as well as the eufy client, but I can’t seem to find it, though to be honest I don’t even know if I am looking in the right place. I’m pretty new to this stuff and I don’t know what each component does, but it doesn’t seem to be an issue of this integration as much as a Eufy issue maybe?

Also, I don’t know if this is relevant, but in the app, when I sign in it asks me for a captcha code.

Does anyone know how to fix this? Thank you!

I second this. My 2C cams and doorbell all stopped working after I updated. I downgraded to v2.2.4 to fix the issue. For some reason the new update isnt sitting well with my setup

1 Like

I have finally working all the parts, including installing the integration via HACS, but regardless which version I choice in HACS, it won’t show up in the add integrations part… Restarted couple of times. eufy-security-ws docker is running succesfully and listening. HACS is downloading it into the custom-components folders, but still no success. Could this have anything to do with HA 2022.6.1 version?

Pff after two nights of bad sleep, and multiple problems after a failed update of HACS itself, this was just a case of remove cache before trying to add integration…