kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
120 stars 10 forks source link

Homebridge TAPO Camera on Synology - video doesn't work #77

Closed ghost closed 1 year ago

ghost commented 1 year ago

My Homebridge is running on Synology DS220+ (DSM 7.1.1-42962 Update 5), firewall is off, ffmpeg 6.0-1 is running. After installing the "Homebridge TAPO Camera" (v2.2.3) and adding the camera (Tapo C310), I can see the camera in HomeKit (including switches - motion, alarm, eyes) but no video/preview is running. This error logs are displayed:

[4/28/2023, 8:18:07 AM] [tapo-camera] [Tapo Camera] Failed to fetch snapshot. [Tapo Camera 7DB8] Snapshot request handler provided empty image buffer! [4/28/2023, 8:18:10 AM] [tapo-camera] [Tapo Camera] Starting video stream: native x native, native fps, ??? kbps (AAC-eld) [4/28/2023, 8:18:10 AM] [tapo-camera] [Tapo Camera] FFmpeg exited with code: 1 and signal: null (Error) [4/28/2023, 8:18:10 AM] [tapo-camera] [Tapo Camera] Stopped video stream.

I have tried all different settings, but without success. Can you please help?

Thank you, Tomáš


config.json: { "logLevel": "info", "port": 8081, "atHomeSwitch": false, "options": { "videoProcessor": "ffmpeg" }, "ssl": { "active": false }, "http": { "active": false, "port": 7272, "localhttp": false }, "smtp": { "active": false, "port": 2727, "space_replace": "+" }, "ftp": { "active": false, "useFile": false, "port": 5050 }, "mqtt": { "active": false, "tls": false, "port": 1883 }, "cameras": [] }

Environment: homebridge-config-ui-x v4.50.2 homebridge-tapo-camera v2.2.3 Node.js v16.16.0

ghost commented 1 year ago

After some experiments I found out solution: uninstall ffmpeg 6.0 package on Synology install ffmpeg 4.4.3 package on Synology uninstall Homebridge TAPO Camera remove (unpair) cameras in Homebridge Settings reset Homebridge in Homebridge Settings install Homebridge TAPO Camera add cameras

And now it works :-)