Eufy Security Integration

Can it be the latest update from home Assistant? I had it working, but now unable to get it working after the update to 2022.12.5.

No, I’m also on Home Assistant 2022.12.5 and the camera still works (besides the preview thumbnail, but that has another reason, scroll up here for that).

1 Like

That would be awesome btw.

While we all are waiting a solution on getting thumbnails, I am working on a new major version, which will not be backward compatible. At first, there will be many bugs, but in its essence, I am trying to solve p2p based streaming issues with a cleaner architecture.

So, if you are ready for adventure and do not mind to help me to make this better, I will ask you to switch to beta release (when it is ready) and will wait your feedback. While current one is working (to some extent :stuck_out_tongue: ), because of my bad design decisions, it is very difficult to manage and keep the lights on.

15 Likes

Hi I have my eufy security integration working very well I can control everything really I am just wondering on how I can control my keypad it self as this way I can enable my sleep mode that has been set up on my homebase.

Night mode or vacation mode don’t work on my home base for some weird reason it says that it’s not supported but I have a mode called home away geofence and schedule they are standard, then I have my created one called sleep and the exactly the same one that does the same thing called night just in case it was a name issue and I can’t seem to get it to switch to vacation/sleep/night mode it says that my home base does not support it but it does have night mode which is only monitoring the door sensors to make sure they stay closed during the time that the house members inside are asleep

I have a problem, i like to use the sensors in the eufy alarmsystem to other stuff in ha, but when ha disarmes the system it goes to disarmed in eufy and the sensors notifications then dosent work, i would need it to go to Off so the sensors still work, is this possible?

I’m also missing a pending state when trigger delay is active?

I’ve found something has gone wrong in the past few days
I have an automation using NodeRed which activated Night mode, but it’s stopped working…

The api calls successfully
image

But no change is represented in the app or in HA - the change isn’t going through

I recall this roughly tallies with when I ran an update to my HACS integrations and I think there was an update to Eufy - has something significant changed?

Update: It seems that this is the solution to the problem:

I have just updated HA OS to 9.4. Since then no connection to the camera possible:

Start Listening was not completed in timely manner
Logger: custom_components.eufy_security
Source: custom_components/eufy_security/coordinator.py:90
Integration: Eufy Security ([documentation](https://github.com/fuatakgun/eufy_security), [issues](https://github.com/fuatakgun/eufy_security/issues))
First occurred: 10:57:03 (5 occurrences)
Last logged: 10:59:41

eufy_security - no devices available yet

Does anyone else have this problem?

In the description of this integration it says explicitly that the Home Base alarm is usable. What about the camera alarm, is there a way to use it as well ?

Thanks,

You mean individual devices acting both as camera and alarm. I have ptz camera and it is working fine as camera and alarm station

Thanks for your reply. Yes, I have an eufy cam 2 pro kit (eufy Homebase station + 2 outdoor cams). I know the cameras has an internal alarm as well as the Homebase and I was wondering if I can use the cameras as an external siren.

Hi everyone, I just set up this add-on and followed the steps in the repository until 6.2-step 5 where we check the logs to see if the add-on is added successfully. But I am getting an error and can’t continue. Here is the error:

2022-12-16 19:04:45.416  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-12-16 19:04:45.926  ERROR Response data is missing 
{
  code: 0,
  msg: 'Succeed.',
  data: undefined
}

I also checked main logs and can see this:
Error during setup of component eufy

Traceback (most recent call last):
...
KeyError: 'access_token'

I checked the configs and my user/pass are correct. Would appreciate any help to solve this issue.

I havent actually :frowning: I did add the trusted device configuration but still didnt help.

How did you fix that? Do you need to add the names of all the devices?

I have the same issue as @mo.tofighi

2022-12-17 10:55:20.348  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-12-17 10:55:20.553  ERROR Response data is missing 
{
  code: 0,
  msg: 'Succeed.',
  data: undefined
}

I’m sure I have the correct password. I left the TRUSTED_DEVICE_NAME empty. Am I supposed to enter something there?

Edit: Nevermind, found it. Had to fill in a random name in the TRUSTED_DEVICE_NAME field, after which it worked.

1 Like

Fixed it for me as well, thanks!

Just put the name of your home assistant instance in that field
You can find it under settings>general

Hi,

I’ve still have trouble’s to get my sensors in HA, the home base is working ok, e.g. I can put the alarm off/home/away, but the sensors aren’t recognized (no entities), I haven’t got any camera’s from eufy (I have unify cams around the house) but I do have 1 motion sensor and 5 door contacts.

My log tell me there are issues but I have spent hours to find a solution for this, but didn’t find any.
I running HASSos v9.4, core 2021.9.7 (for several reasons I running this older version), eufy security 2.9.0. If I look to my integrations page it’s shows me 1 device with 1 entity.

Any ideas or is it the core that doesn’t support eufy completly?

Logs;

Notificaties:
Invalid config
The following integrations and platforms could not be set up:

eufy_security.camera
eufy_security.binary_sensor
eufy_security.sensor
eufy_security.select
Please check your config and logs.


Log:
Logger: homeassistant.setup
Source: setup.py:317
First occurred: 14:19:34 (4 occurrences)
Last logged: 14:19:34

Unable to prepare setup for platform eufy_security.camera: Platform not found (cannot import name ‘CameraEntityFeature’ from ‘homeassistant.components.camera’ (/usr/src/homeassistant/homeassistant/components/camera/init.py)).
Unable to prepare setup for platform eufy_security.binary_sensor: Platform not found (cannot import name ‘EntityCategory’ from ‘homeassistant.helpers.entity’ (/usr/src/homeassistant/homeassistant/helpers/entity.py)).
Unable to prepare setup for platform eufy_security.sensor: Platform not found (cannot import name ‘SensorStateClass’ from ‘homeassistant.components.sensor’ (/usr/src/homeassistant/homeassistant/components/sensor/init.py)).
Unable to prepare setup for platform eufy_security.select: Platform not found (cannot import name ‘EntityCategory’ from ‘homeassistant.helpers.entity’ (/usr/src/homeassistant/homeassistant/helpers/entity.py)).


eufy security add-on log:
2022-12-18 13:14:43.950 INFO Eufy Security server listening on host 0.0.0.0, port 3000
2022-12-18 13:14:46.751 ERROR Invalid Property wifiSignalLevel error
InvalidPropertyError Property wifiSignalLevel invalid
error stack:
• device.ts:507 getPropertyMetadata
node_modules/eufy-security-client/src/http/device.ts:507:15
• device.ts:76 updateProperty
node_modules/eufy-security-client/src/http/device.ts:76:48
• device.ts:120 handlePropertyChange
node_modules/eufy-security-client/src/http/device.ts:120:18
• device.ts:2106 handlePropertyChange
node_modules/eufy-security-client/src/http/device.ts:2106:15
• device.ts:76 updateProperty
node_modules/eufy-security-client/src/http/device.ts:76:22
• device.ts:138 updateRawProperty
node_modules/eufy-security-client/src/http/device.ts:138:30
• device.ts:60
node_modules/eufy-security-client/src/http/device.ts:60:22
• device.ts:59 update
node_modules/eufy-security-client/src/http/device.ts:59:35
• device.ts:37 initializeState
node_modules/eufy-security-client/src/http/device.ts:37:14
2022-12-18 13:14:54.208 INFO Connected to station T8010P2322046806 on host 192.168.0.177 and port 15195
2022-12-18 13:14:54.302 INFO Push notification connection successfully established
2022-12-18 13:15:58.135 INFO Disconnected from station T8010P2322046806
2022-12-18 13:16:03.199 INFO Connected to station T8010P2322046806 on host 192.168.0.177 and port 21879
2022-12-18 13:17:57.218 INFO Disconnected from station T8010P2322046806
2022-12-18 13:18:02.285 INFO Connected to station T8010P2322046806 on host 192.168.0.177 and port 21552
2022-12-18 13:18:16.437 INFO Client disconnected with ip: 192.168.0.230 port: 53300 code: 1006 reason: Abnormal Closure
2022-12-18 13:19:06.122 INFO Disconnected from station T8010P2322046806
2022-12-18 13:19:11.182 INFO Connected to station T8010P2322046806 on host 192.168.0.177 and port 15440
2022-12-18 13:20:14.986 INFO Disconnected from station T8010P2322046806
2022-12-18 13:20:20.053 INFO Connected to station T8010P2322046806 on host 192.168.0.177 and port 22623
2022-12-18 13:21:23.850 INFO Disconnected from station T8010P2322046806
2022-12-18 13:21:28.907 INFO Connected to station T8010P2322046806 on host 192.168.0.177 and port 24447

It is because you are running very old version of home assistant, i don’t have a solution for you other than proposing to update

I’ve been using the Eufy Security Integration for a bit, but never set up RTSP. The integration is reminding me to set it up now.

Question: If I set up RTSP, does that stop the video from working within the Eufy app? Or do both peacefully coexist?