Eufy Security Integration

Hi @anon63427907 . Hope all is well with you. Though I am very much an HA newb I was able to follow your instructions (though it did take me two attempts to get it all right) to get your addon/integration installed on my HA. Everything was working fantastic, including the cards on my dashboard (once I lowered the settings in the Eufy app!).

However, several days ago my doorbell lost wifi connection and I had to help it find the network again. Based on the logs, it appears it changed IP addresses. The cards on my dash no longer show (though I can sorta see them when I’m editing - see below).


I’m guessing that I need to fix that IP address somewhere? But I’m not sure where. I tried a HA config file after doing some googling, but that only referenced the localhost file the…integration?..is attached to. I’m guessing I’m just not searching the right terms or I’m too stupid to know what to look for.

Any assistance you could provide would be greatly appreciated. And thank you for helping me get my automation (utilizing the binary state) active the other day. It works great!

I have a T8210 doorbell. I need to try and get the video feed working (I have my other Eufy cameras working), but first I’m trying to monitor the battery level, so that I can receive an alert in Lovelace when it gets low.

However, as per the below screen shot, the sensor (sensor.doorbell_battery) always shows 60%, no matter what the battery level is (currently it is actually about 10%).

Anyone having a similar issue? I assume by the naming of this sensor, that it should show the battery level available within the Eufy app.

Thanks!

Hello,
I have two Solo IndoorCam P24 without home base, just cameras. I try to used eufy sec add-on, but when i start i received this mesage(ps: i pun on contry code RO in eufy app and in HA. In ha if i pun something else that ro, says no cammera, but when pun same code i received):

2022-10-13 15:29:17.947 INFO Eufy Security server listening on host 0.0.0.0, port 3000
2022-10-13 15:29:28.284 INFO Push notification connection successfully established
2022-10-13 15:29:34.509 ERROR P2PClientProtocol.lookup(): station: T8410P3122100E8B - All address lookup tentatives failed.
2022-10-13 15:29:34.512 INFO Timeout connecting to station T8410P3122100E8B
2022-10-13 15:29:43.112 ERROR P2PClientProtocol.lookup(): station: T8410P31221062D8 - All address lookup tentatives failed.
2022-10-13 15:29:43.113 INFO Timeout connecting to station T8410P31221062D8
2022-10-13 15:29:54.517 ERROR P2PClientProtocol.lookup(): station: T8410P3122100E8B - All address lookup tentatives failed.
2022-10-13 15:29:54.518 INFO Timeout connecting to station T8410P3122100E8B
2022-10-13 15:30:03.120 ERROR P2PClientProtocol.lookup(): station: T8410P31221062D8 - All address lookup tentatives failed.
2022-10-13 15:30:03.121 INFO Timeout connecting to station T8410P31221062D8

Please help me !

I resolved my issue by deleting the Eufy Security integration, rebooting my HA instance, clearing my browser cache, and once HA had rebooted, readding the integration. The cards now succesfully show on my dash - huzzah!

…or not. As soon as I went to duplicate the card to move it to the front door view, they both disappeared again.

Are you around, sir? I have posted here and opened a ticket, but there has been no response to either.

I wish I could resolve my situation on my own, but beyond guessing that it’s an IP related issue, I’m at a loss where to go to correct things. I’m in dire need of guidance.

Thank you for your time and assistance.

Updated to the latest version. Not sure how to check what version is actually running as I dont see it in the logs. However i still get the following. Any resoluation or am I doing something wrong? I get the videostream and after some time it stops and I need to restart HA to get it streaming again.

2022-10-19 09:20:55.662  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-10-19 09:21:05.882  INFO  Connected to station T8200N0020081594 on host 192.168.1.94 and port 13030 
2022-10-19 09:21:05.898  INFO  Push notification connection successfully established 
2022-10-19 09:21:19.964  ERROR Message error
LivestreamNotRunningError  Livestream for device T8200N0020081594 could not be stopped, because it is not running error stack:
• message_handler.ts:146 handle
    src/lib/device/message_handler.ts:146:31
• task_queues:96 processTicksAndRejections
    node:internal/process/task_queues:96:5
• server.ts:103 receiveMessage
    src/lib/server.ts:103:21
2022-10-19 09:21:29.666  ERROR Message error 
 LivestreamNotRunningError  Livestream for device T8200N0020081594 could not be stopped, because it is not running
error stack:
• message_handler.ts:146 handle
    src/lib/device/message_handler.ts:146:31
• task_queues:96 processTicksAndRejections
    node:internal/process/task_queues:96:5
• server.ts:103 receiveMessage
    src/lib/server.ts:103:21

Saw this message for the first time as well now. Can because of the restart.

2022-10-19 09:55:19.813  INFO  Client disconnected with ip: 172.18.0.1 port: 64981 code: 1006 reason: Abnormal Closure 

2022-10-19 10:11:40.376  WARN Station T8200N0020081594 - AES key could not be decrypted! The entire stream is discarded. - Error: 

 Error  Error during decryption (probably incorrect key). Original error: Error: error:04065084:rsa routines:rsa_ossl_private_decrypt:data too large for modulus
error stack:
• NodeRSA.js:301 module.exports.NodeRSA.$$decryptKey
    node_modules/node-rsa/src/NodeRSA.js:301:19
• NodeRSA.js:249 module.exports.NodeRSA.decrypt
    node_modules/node-rsa/src/NodeRSA.js:249:21
• session.ts:1185 handleDataBinaryAndVideo
    node_modules/eufy-security-client/src/p2p/session.ts:1185:63
• session.ts:1120 handleData
    node_modules/eufy-security-client/src/p2p/session.ts:1120:18
• session.ts:1017 parseDataMessage
    node_modules/eufy-security-client/src/p2p/session.ts:1017:26
• session.ts:839 handleMsg
    node_modules/eufy-security-client/src/p2p/session.ts:839:26
• session.ts:111 <anonymous>
    node_modules/eufy-security-client/src/p2p/session.ts:111:56
• node:events:513 emit
    node:events:513:28
• node:dgram:922 onMessage
    node:dgram:922:8
1 Like

Hi all, i was under heavy load on tbe work end but it is supposed to lower on upcoming days so i will revert all open issues and try to catch up with messages here. I will also update to latest version of add-on and fix evident bugs.

Bugs like stream stop working after some time requires commitment both end as i need to access the device from my account (preferably with admin rights) and exact steps to replicate issue locally. I know there are couple of devices already shared with me, i will revert back to owners on working together too.

Please stay tuned

7 Likes

Thanks for all your work on this integration, we know that your life will sometimes pull you away!

1 Like

still having problems with my eufy setup… Cams are working if i enable the integration but keep getting this in my HA logbook anyone else is getting this and how can is stop this.

Hello, I am still very new with Eufycam, but have already included the integration in my HA system. Currently I’m trying to figure out how exactly the motion sensors work, or what exactly is the difference between the three ones (Global Motion Sensor, Motion Sensor, Person Detector Sensor). How have you configured this and how do you use them? And is it normal for the Eufy app to flood me with notifications as soon as motion is detected?

Person detector sensor corresponds to person detected event.

Same for pet and other motions.

Global motion sensor is true when any of above is true, it helps you to create automations in easier way.

Notifications from eufy app is expected, i am disabling them inside Android or ios notification settings for specific app

Have you managed to get over this issue? I’m having the same problem using docker and whatever I try it keeps just giving the same message.

I’ve checked the network setup and having the docker container running on the same network as the camera still has the same problem.

no, i deleted the integration, it never works correct.
i added the streams as “Generic Camera” and this works very well

Hey @anon63427907 great job on the add-on. Do you intend to upgrade it with the new eufy-security-ws version?

Actually, upgrading the addon itself might not be sufficient as integration declares it’s desired version (expected add-on version) so add-on responds based on this. It is called schema version and given many stuff had changed, it would fail (already failing on my local tests).

So, i am working on this.

Recap: i just packaged the add-on for home assistant, great work to @bropat who delivered the docker image. I am mostly acting as middle mad between add-on and home assistant world

1 Like

Hmm anyone know how to start the RTSP stream of the latest version of bropat without using the integration in HA, as thats not yet compatible?

Does someone have an idiots guide for getting this to work with HA running in docker. I have been looking at the github guide and got as far as running the integration in its own docker container. Found the eufy hub and was listening.

From there the guide seems to only cover Home Assistant OS and not if you have HA running in a docker container. I am new to HA so I am kinda pulling my hair out over this now I have hit a brick wall and cannot find how to add the component.

I was in your position once. I can’t remember the exact locations I used to get mine going but I know this one helped me.

This intergrration works great for me on so many levels, and thee ability to use it to fully setup and use my home alarm system, including using my Floodlights (2) as external alarm sounders/sirens, is brilliant, and finally makes the Eufy alarm a fully fledged system.

However, one thing that has always bugged me but I’ve never come back to is the following

When I’ve watched any videos online (thanks to @MarkWattTech) about the setup, there are clearly some attributes shown for certain elements of the system, the doorbell being a good example, As you can see from below…on the white screen, under attributes, there is a ton of info shown, but then I look on mine the black screens, all I see is DEVICE_TYPE.BATTERY_DOORBELL and zero attributes at all.

I have to assume I either need to enable something OR I’ve missed something in the setup


For clarity, the main reason I want to be able to access the attributes is that I have had the mqtt last-event property stop working for me, so it feels like a good time to move away and get it working all under one roof