seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
638 stars 92 forks source link

TP Link Tapo C310 - Error -> The recording process was aborted by HSV with reason "CANCELLED" #549

Closed derpate1989 closed 2 years ago

derpate1989 commented 2 years ago

Hi,

I have installed CameraUI and added my Tapo C310 cam. The live Stream works Fine in HomeKit. But HSV dont record any activities. I see a push on my Screen with activity, but when i will Open the push i see a black Screen and no Records.

image

Log image

My Config

"cameras": [ { "name": "Tapo Cam Garten", "manufacturer": "Tapo", "model": "C310", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "hksvConfig": { "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 30, "vcodec": "libx264" }, "videoConfig": { "source": "-i rtsp://user:pwd@192.168.178.151:554/stream1", "subSource": "-i rtsp://user:pwd@192.168.178.151:554/stream1", "stillImageSource": "-i rtsp://user:pwd@192.168.178.151:554/stream1", "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 30, "vcodec": "libx264", "acodec": "libfdk_aac", "audio": true, "debug": true }, "smtp": { "email": "Tapo Cam Garten" },

seydx commented 2 years ago

@derpate1989

can you post a screenshot from the cameras own settings pls (like fps, bitrate etc)

derpate1989 commented 2 years ago

Hey :) sure

Hardware Specs from tplink for c310

image image

And my camera Settings in her App

image image

I have change the Frame Rate to 15fps, but hsv dont record anything.

seydx commented 2 years ago

@derpate1989

Change FPS to 25 or 30

derpate1989 commented 2 years ago

The Camera can only 15fps. In CameraUI i have try 15 /25 and 30. all 3 with Same issue.

My last config, Camera works Fine in HomeKit, but without records.

image

seydx commented 2 years ago

@derpate1989

change maxFPS to 25 or 30 and disable audio (hksvConfig)

derpate1989 commented 2 years ago

Ok i have change the Frame and hsv Audio Settings. With this Settings, HomeKit send no notification after activity in the "Alert Zone".

derpate1989 commented 2 years ago

I have change the config and it works 😂 i dont know how 😅

My Change:

I deleted all hsv config I use udp as transport protocoll

derpate1989 commented 2 years ago

My Config, Motion detect, audio, stream and record works fine.

"cameras": [ { "name": "Tapo Cam Garten", "manufacturer": "Tapo", "model": "C310", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://user:password@192.168.178.151:554/stream1", "subSource": "-i rtsp://user:password@192.168.178.151:554/stream1", "stillImageSource": "-i rtsp://user:password@192.168.178.151:554/stream1", "rtspTransport": "udp", "vcodec": "copy", "acodec": "libfdk_aac", "audio": true, "debug": true }, "smtp": { "email": "Tapo Cam Garten" }, "videoanalysis": { "active": true }, "mqtt": {}****

remibou78 commented 1 year ago

Hello @derpate1989 I've exactly the same problem like you ! Could you help me please ?