Eufy Security Integration

This is a very old and bad solution, using file based streaming. You might run out of space in your server because streams are written as a file, so try with rtsp based solution.

In your case, you should lower streaming/recording quality (set it to low) and try again.

Moreover, streaming speed delay might became an issue in this case, right?

I definitely donā€™t want to use filebased streaming. Even though the checkbox is unticked, I see logs in the RTSP addon whenever I start streaming. Is that normal? How do I doublecheck if itā€™s using filebased streaming? I have set all quality options to low already, but it did not solve the issue.

letā€™s double check how it is being streamed, start the stream and share the value of your sensor Streaming Source Address, if it starts with RTSP, you are good, otherwise, it is file based.

do not get me wrong, if it is working for you, it is great, but I am working on a new major version and I have strong intentions to remove that functionality. It caused more trouble than benefits :slight_smile: (shame on me)

It is actually starting with rtsp (just to confirm, the checkbox is deselected): rtsp://127.0.0.1:8554/T8210P00202402A6

Is that weird?

EDIT: I also noticed that the battery level keeps hanging at 29%, even though I charged it fully last night (the Eufy app also says 99% currently). Restarted HA, but keeps saying 29%ā€¦
EDIT2: it seems to do the same when the checkbox is tickedā€¦ I have the impression it doesnā€™t really change anything. I have also restarted the HA instance inbetween to make sure. I also noticed the [sensor.doorbell_streaming_source_type] has a value of p2p.

my mistake, I have removed the functionality from code but not from config. So, checkbox is useless as of now, it always relies on RTSP add-on.

regarding to battery, it is a known issue, I am also facing locally but could not focus on it because of streaming specific issues.

code pointer: eufy_security/camera.py at a62f132853d49ad51e85143edc4284ffa3a5cc12 Ā· fuatakgun/eufy_security Ā· GitHub

Okay, thatā€™s what I thoughtā€¦ thanks for confirming Iā€™m not crazy :slight_smile:

I donā€™t know why it started working when I messed with the checkbox, probably a coincidence then.

The battery level does get updated when restarting the integration it seems, but not all the time. Not a big issue, but glad itā€™s on your radar. Thanks for the help!

1 Like

this stopped working for me couple days ago, finally got it working again just now. for anyone running HA core with eufy-security-ws docker needs to add the COUNTRY option to the docker config (I added LANGUAGE also but I think only the first is required). see the bottom of the docker page. guessing this is a new requirement from the Eufy side considering the recent issues.

edit from the above discussion it may need the TRUSTED_DEVICE_NAME config option also.

Its appears they gone and changed somethings it stopped working today.

Hello,

Has anyone had this error? The cameras work, but the preview images do not load, only the bottom one.
Thank you in advance for your help.

2022-12-11 08:36:10.575  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
(node:10) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 station talkback start listeners added to [EufySecurity]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 station talkback stop listeners added to [EufySecurity]. Use emitter.setMaxListeners() to increase limit

You might need to re-enable notifications with pictures as they need their consent to upload everything to cloud now. Mine is working well.

There is an ongoing discussion about memory leak but i didnā€™t release the specific version. You might be running your own instance, right,?

Hi,

Yes, all your own. The difference is that there are dealers in two locations, one in Hungary and one in Luxembourg. Iā€™m at home in Luxembourg right now. Itā€™s interesting that the cameras are all working.
Sorry for my English, yes, and I donā€™t know French either :slight_smile: ) I have 5 HomeBases 2 here Lux-b 3 Hungary
A few days ago it was working fine, only the update I uploaded was HA December

2022-12-11 08:36:10.575  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
(node:10) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 station talkback start listeners added to [EufySecurity]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 station talkback stop listeners added to [EufySecurity]. Use emitter.setMaxListeners() to increase limit
2022-12-11 08:36:16.598  INFO  Push notification connection closed 
2022-12-11 08:36:20.773  INFO  Connected to station T8010P2320222545 on host 192.168.233.25 and port 28511 
2022-12-11 08:36:20.793  INFO  Connected to station T8010P2320361D25 on host 188.142.219.163 and port 12616 
2022-12-11 08:36:20.797  INFO  Connected to station T8010P2320221CA6 on host 192.168.233.216 and port 29155 
2022-12-11 08:36:20.871  INFO  Connected to station T8010N2319430045 on host 188.142.219.163 and port 29596 
2022-12-11 08:36:20.966  INFO  Connected to station T8010P2322040751 on host 188.142.219.163 and port 28203 
2022-12-11 08:36:30.742  INFO  Push notification connection successfully established 
2022-12-11 08:36:30.745  INFO  Push notification connection successfully established 

KeĢpernyoĢ‹fotoĢ 2022-12-11 - 10.16.03


And where do you need this? I also shared the share again, but that didnā€™t help either.
You might need to re-enable notifications with pictures as they need their consent to upload everything to cloud now.

Same here. No more previews of the doorbell, only from the rtsp supported indoor cam.

Iā€™ve re-eanbled notifications, but was never prompted for consent.
What is the correct procedure to get this working again?

You might be right here about missing pictures, i have updated everything to latest firmware and having same issues. Checking it

3 Likes

Then the best thing I can do now is to wait for a solution. Thank you and watch the topic. :santa:

Things Iā€™ve tried so far, without luck in getting any feedback, either from the doorbel or the picture:

  • Re-enable message seems to be per user, so remember to re-enable for ha specifivc user
  • Restart (latest) eufy addon: got these logs:
2022-12-11 10:57:04.696  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-12-11 10:57:47.120  INFO  Client disconnected with ip: 172.30.32.1 port: 51254 code: 1000 reason: Normal Closure 

Didnā€™t there use to be a message about sucessful registration for messages?

Also just wondered: All users may be required to accept the message that data is stored in the cloud? Iā€™ll enable it for all users later.

EDIT: just saw the integration wonā€™t initialise anymore, Start listening was not completed in timely manner. rebooting didnā€™t fix that.

This worked for me too. Thank you for posting

Hello guys,

Iā€™m trying to integrate my eufy cameraā€™s into HA. Using this integration my EufyCam 2 (T81143D2) seems to stream for a minute or two, afterwards it disconnects.

Doing some googling I have found that this is because the cameraā€™s do not provide a continuous recording through RTSP. Did anyone else run into this problem, and is there a possible fix for this to have them be available whenever I want?

Current card:

- type: custom:webrtc-camera
  entity: camera.xyz
  background: true
  intersection: 0.75
  webrtc: true
  mse: false

Thanks in advance!

I can stream up to 20 minutes (i intentionally stopped) using p2p streaming. Or you set an automation to initiate rtsp stream regularly. Rtsp is always more reliable than p2p one.

There a good chance that this is due to the euffy security mess and them making changes to the system like encrypting the api messages.