samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

Doorbell stream slow #170

Closed henkyfoo closed 3 years ago

henkyfoo commented 3 years ago

Describe The Bug: Live stream seems not live, always late about half minutes and then the streaming was very slow, it tooks a minute or two for the footage to show

To Reproduce:

Expected behavior: live stream can be act as normal

Logs:

Show the Homebridge logs here, remove any sensitive information.

ERROR[Eufy Security Bridge 7C83@HomeKit Camera Active] The write handler for the characteristic 'HomeKit Camera Active' on the accessory 'Doorbell' didn't respond at all!. Please check that you properly call the callback! 2021-08-14, 5:21:47 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@Event Snapshots Active] The write handler for the characteristic 'Event Snapshots Active' on the accessory 'Doorbell' didn't respond at all!. Please check that you properly call the callback! 2021-08-14, 5:21:50 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@HomeKit Camera Active] The write handler for the characteristic 'HomeKit Camera Active' on the accessory 'Doorbell' was slow to respond! 2021-08-14, 5:21:56 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@HomeKit Camera Active] The write handler for the characteristic 'HomeKit Camera Active' on the accessory 'Doorbell' didn't respond at all!. Please check that you properly call the callback! 2021-08-14, 5:22:00 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@HomeKit Camera Active] The write handler for the characteristic 'HomeKit Camera Active' on the accessory 'Doorbell' was slow to respond! 2021-08-14, 5:22:00 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@Event Snapshots Active] The write handler for the characteristic 'Event Snapshots Active' on the accessory 'Doorbell' was slow to respond! 2021-08-14, 5:22:00 PMEufy Security BridgeEufySecurityStarting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell 2021-08-14, 5:22:06 PMEufy Security BridgeEufySecurityStopped video stream. Doorbell 2021-08-14, 5:22:06 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@HomeKit Camera Active] The write handler for the characteristic 'HomeKit Camera Active' on the accessory 'Doorbell' didn't respond at all!. Please check that you properly call the callback! 2021-08-14, 5:22:06 PMEufy Security BridgeERROR[Eufy Security Bridge 7C83@Event Snapshots Active] The write handler for the characteristic 'Event Snapshots Active' on the accessory 'Doorbell' didn't respond at all!. Please check that you properly call the callback!

Plugin Config:

"platform": "EufySecurity", "username": "XXXXXX@xxx.com", "password": "xxxxx*", "ipAddress": "192.xxx.xx.xx", "enableDetailedLogging": false, "enableCamera": true

Screenshots:

Environment:

lenoxys commented 3 years ago

hello, can you test on beta version? We're about to release soon.

https://github.com/samemory/homebridge-eufy-security/wiki/Beta-Version

henkyfoo commented 3 years ago

Is the change log update solve this problem?

lenoxys commented 3 years ago

change log refer to the release version. We don't track change on beta but since the latest we had more than 200 commits.

henkyfoo commented 3 years ago

If i'm using hoobs, which method should i use to join beta?

lenoxys commented 3 years ago

Ha sorry we don't support HOOBS right now I suggest to wait the next release. I've stopped to include new stuff to focus on issue raised by people on the beta branch

henkyfoo commented 3 years ago

Do you have estimated date of release the new version? Yap, i hope the live stream issue could be solved

lenoxys commented 3 years ago

When my other teammates will come back

schliemann commented 3 years ago

@henkyfoo The stream change is not trivial. And currently it is unknown when it will be fixed.

steverae68 commented 3 years ago

As always, happy for you @lenoxys to test using my doorbell again as this generated the sabb my e issue as you mentioned in previous issue

Have wiped and reinstalled my Rpi so everything is latest versions now

Live stream is still temperamental but when it does work, takes around 20/30 seconds to appear as mentioned in previous issue.

lenoxys commented 3 years ago

I've open a case on HOOBS website. Looks like the latest beta version is not available. https://github.com/hoobs-org/HOOBS/issues/1462

steverae68 commented 3 years ago

As always, happy for you @lenoxys to test using my doorbell again as this generated the same issue as you mentioned in previous issue

Ping me the email address again as it's been removed from my system if you need to test further, this slow live stream issue

lenoxys commented 3 years ago

Since it's on HOOBs i can test my self. Just want to check with HOOBS team why the latest version isn't available. We did a lot of change since the 0.2.13 and I'm pretty sure that it will fix the issue by just using the latest beta version.

steverae68 commented 3 years ago

Since it's on HOOBs i can test my self. Just want to check with HOOBS team why the latest version isn't available. We did a lot of change since the 0.2.13 and I'm pretty sure that it will fix the issue by just using the latest beta version.

I'm not using HOOBS - in running a full raspbian install with homebridge installed

image

Reinstalled this fresh this morning

lenoxys commented 3 years ago

I didn't receive the invitation what is your country ?

steverae68 commented 3 years ago

I didn't receive the invitation what is your country ?

Try now - I'm in UK +44

lenoxys commented 3 years ago

It works. I've tested several time. Just get blocked once with socket error.

https://user-images.githubusercontent.com/3996456/129492074-ba800804-79d3-4ad1-b651-db0d80d8ec55.MOV

steverae68 commented 3 years ago

Weird as I still get the eufy logo beforehand and I'm on the local WiFi...

https://user-images.githubusercontent.com/17755581/129493097-14c935bc-c948-4319-a3ed-d557a620c5b3.MOV

But it's working more than it's not

First time I tried, the eufy logo stopped moving And the image stuck... so closed homebridge and reopened and it worked as per video

What's weird is it seems to be wanting to pull the video from the cloud, rather from the local Homebase

I'll pull some debug logs on the morning and send them up - but it's getting better and better - keep it up

henkyfoo commented 3 years ago

I'm not following.. is these all continuing from my issue?

lenoxys commented 3 years ago

looks so. Still until local live stream is developed, this kind of issue can be faced.

Sorry @henkyfoo, we should create a new issue each time. I'm closing this one. I've open a feature request for tracking purpose but developping on it is not the priority : https://github.com/samemory/homebridge-eufy-security/issues/173

I'm still focusing on solving bug in order to have this beta branch released into stable.