samemory / homebridge-eufy-security

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

[Bug]: Recent app upgrade has broken snapshots and streaming #341

Closed fullphat closed 2 years ago

fullphat commented 2 years ago

What happened?

Seems the iOS Eufy Security app was updated recently and ever since I can't get snapshots or streaming from my T8420 floodlight camera. Looking in the log, it seems the snapshot request is returning a 403 error.

Device Type

Floodlight (Supported)

Plugin Version

beta (Best Effort)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

v16 (Supported)

Operating System

Mac OS X 11+ (Supported)

Relevant log output

Details to follow...
github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

schliemann commented 2 years ago

Ok. So the getLastEventPicture fails?

fullphat commented 2 years ago

I'm not sure - here's the log specifically for the snapshot issue:

[1/26/2022, 4:09:59 PM] [EufySecurity-1.1.1-beta.14] DEBUG: Snapshot requested: 1280 x 720 Floodlight Cam true
[1/26/2022, 4:09:59 PM] [EufySecurity-1.1.1-beta.14] DEBUG: Floodlight Cam Snapshot command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i https://zhixin-security-eu.s3xxxxx -frames:v 1 -f image2 - -hide_banner -loglevel error true
[1/26/2022, 4:09:59 PM] [EufySecurity-1.1.1-beta.14] ERROR: https://zhixin-security-eu.s3xxxxx: Server returned 403 Forbidden (access denied) Floodlight Cam] [Snapshot
[1/26/2022, 4:09:59 PM] [EufySecurity-1.1.1-beta.14] DEBUG: Fetching snapshot took 0.206 seconds. Floodlight Cam true
[1/26/2022, 4:09:59 PM] [EufySecurity-1.1.1-beta.14] ERROR: Floodlight Cam Failed to fetch snapshot.
[Floodlight Cam] Snapshot request handler provided empty image buffer!

And this is all I get in terms of streaming:

[1/26/2022, 4:14:39 PM] [EufySecurity-1.1.1-beta.14] INFO:  Stopping session with id: fa952a12-9522-47e7-b604-07896268e4fb
[1/26/2022, 4:14:39 PM] [EufySecurity-1.1.1-beta.14] INFO:  No session to stop.
schliemann commented 2 years ago

You should make a bug on bropats github if there is not one yet.

fullphat commented 2 years ago

Had to reboot my Mac for an unrelated reason and that seems to have fixed it! 😬😳