Eufy Security Integration

Hi, which version is on scheme 6? Now went back to 2.1 (last one available in hacks) but can change manually to lower version.

Error persists in v 2.1, even with additional hick ups:

2022-01-23 19:26:47.040  INFO  Push notification connection closed 
2022-01-23 19:26:47.241  ERROR Status return code not 200 
{
  status: 204,
  statusText: 'No Content'
}

I have also the same problem.
When u start the stream most of the time you get the message error.
But the stream will most of time load after 5 a 10 seconds

Surprisingly after upgrading Hass os to 7.2 (and host reboot) the errors are gone for 4 hours already. Not sure if related (either reboot or upgrade) but will keep an eye out

I also did not have this error in last day, letā€™s see

  • for always-on (mains/usb powered) rtsp supported devices, RTSP is always being streamed by device, so it will be almost instant to start live stream inside home assistant.
  • for battery powered rtsp supported devices, RTSP stream is started on demand, so it takes time on device to start the stream, nothing we can do.
  • for always-on (mains/usb powered) p2p supported devices, it will take at 1-2 seconds to start streaming inside HA, as we are generating the video stream while using incoming video bytes. (it came from 15 seconds down to here:) )
  • for battery powered p2p supported devices, it will take 3-4 seconds to start streaming inside HA, for the same reason one point above and waking up the device.

and, webrtc component is resetting the connection every 15 seconds if it had failed earlier. I had created a fork of it and decreased the timeout to 1 sec here: GitHub - fuatakgun/WebRTC: Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC and MSE technology

If anyone interested, use this and share your feedback, I will eventually merge this into parent repository.

Thank u for your answer.
I am pretty new to home assistant so iā€™m learning it.
I have it worked but with the error message sometimes that it cant find the url and after a second or 5 a 7 it plays the stream.
I put 2 screenshots here of my two conditional cards. Is this right or maybe i do something wrong?

I also want to thank u for all this hard work for this plugin.

card1
card2

Iā€™m on 7.2 too now, but still the errrors remain here

The whole addon isnt working anymore
I cant be the only oneā€¦
I have 0 entities now :frowning:

in the same situation. I created an issue at eufy-security-ws as instructed

@anon63427907, isnt this cause the addon has errors like [Bug]: Error status return not 200 Ā· Issue #73 Ā· bropat/eufy-security-ws Ā· GitHub

So in fact I have 2 problems:

The addon has the error:

2022-01-23 19:26:47.241  ERROR Status return code not 200 
{
  status: 204,
  statusText: 'No Content'
}

As in topic i related (its been closed but i still have the problem)

And second
I dont have any stations/devices, but i thought this was of the addon problemā€¦ since it depends on it.

Are you saying now, its a different issue?

Edit: as mentioned in the topic, i tried reinstalling addon, after that i started and i get this log:
2022-01-27 19:19:46.916 ERROR Create push credentials Error:
Error FID registration failed with error: Error: FID registration failed with error: undefined
error stack:
ā€¢ service.ts:91 registerFid
node_modules/eufy-security-client/src/push/service.ts:91:19
ā€¢ task_queues:96 processTicksAndRejections
node:internal/process/task_queues:96:5
ā€¢ service.ts:144 createPushCredentials
node_modules/eufy-security-client/src/push/service.ts:144:16
ā€¢ service.ts:506 _open
node_modules/eufy-security-client/src/push/service.ts:506:32
ā€¢ service.ts:565 open
node_modules/eufy-security-client/src/push/service.ts:565:9
ā€¢ service.ts:576
node_modules/eufy-security-client/src/push/service.ts:576:17
2022-01-27 19:19:46.921 INFO Push notification connection closed
2022-01-27 19:19:46.923 ERROR Push notifications are disabled, because the registration failed!
2022-01-27 19:19:46.925 INFO Retry to register/login for push notification in 300 secondsā€¦
2022-01-27 19:24:47.023 INFO Retry to register/login for push notification
2022-01-27 19:24:54.245 ERROR registerFid - Error:
RequestError connect ECONNREFUSED 0.0.0.0:443
details:
{
code: ā€˜ECONNREFUSEDā€™,
timings: undefined
}
error stack:
ā€¢ index.js:1183 _makeRequest
node_modules/got/dist/source/core/index.js:1183:19
ā€¢ task_queues:96 processTicksAndRejections
node:internal/process/task_queues:96:5
ā€¢ index.js:334
node_modules/got/dist/source/core/index.js:334:17
2022-01-27 19:24:54.250 ERROR registerFid - Status return code not 200
{
status: undefined,
statusText: undefined,
data: undefined
}

Eufy announced a new app version today/yesterday. Initial response in the forum are not positive, EG. Missing notifications. Donā€™t know if related but perhaps Eufy changed its settings server side and are slowly migrating users ?

https://communitysecurity.eufylife.com/t/tips-for-eufy-security-app-v4-0/2420747

I am on the beta and this integration works with it without issues. I did have to reset my notification settings in the app to get it to work in the Eufy Security integration.

I donā€™t think the new app version has anything to do with problems some are having here.
Iā€™ve got this new app at least a week before Eufy announced it. it works the same as beforeā€¦ except new interface. Notifications for me are still coming in like usual. And integration is working the same way as before.

Dont think it either
Hate it though, it worked for monthsā€¦
Suddenly, nothing anymore
I didnt change a thing, only updatedā€¦ to last version

I dont have any clue about the issue, hoping @bropat might lead us into correct direction and hopefully a solution.

Yeah nor do i
even deleting addon didnt fix it
or should i try deleting the sharing, create a new share, and use that one

+1 ā€¦Iā€™m having the same problem. Worked fine for months, but after the iOS app updated (and the method for sharing the devices to a second account it seems), I simply cannot get a successful connection.

Iā€™ve deleted, reinstalled, created a new Eufy account etc. and still the issue persists.

Same errors as reported by @skank, so something odd going on.

I have a question about the alarm_control_ panel status: from HA I can see and change it to armed home, armed away and disarm, but also to the custom status in the developer tools. When I see the same entity in HA Overview and in HomeKit through the HASS Bridge, I can only command the main three status and not the custom ones. How can I solve this?

As you rightly point out, Eufy has implemented some new features with version 4 of the app, including the creation of custom ā€œhousesā€ for sharing devices.
Those who already use version 4 of the app and share the devices with it will not see them at the moment via the eufy-security-client integrations.
I have already had a quick look at the code and can tell you that it will not be a problem to support this.
I just donā€™t have much time for hobbies lately, so please be patient.

In the meantime, use a version < 4 of the app (IOS and Android) with eufy-security-client integrations for sharing devices.

1 Like

But it is still possible to share the devices instead of the houses. From my understanding, these are now two ways to share.