HKSV not working
Hello!
I've tried to search all of the issues, and solutions in this project, but i've not found the root of the problem.
I have two type of TP-Link cameras (C520WS and C220) what i wanted to add to Homekit.
I've sucsessfully configured the plugin. The stream is working well, but Homekit not record anything and no sound.
What i've done:

-Low stream configured
-H264 and AAC audio configured
-Tried with default configuration for video settings and with original camera maximums.
-Video analysis configured
-Motion sensor configured
-Homekit settings fine (Stream&Record) ICloud 200GB okay.
-Movement test and so on tried.
-Not wanted to had local storage, only in HKSV.


The logs show nothing special, not have any errors, or issues (only slow snapshot maximum). Movement triggered etc. etc.
But Homekit always show LIVE status.

Einvorment is freshest all of them (stable not beta).
Node: v18.20.4
Plugin: v5.0.27
HBUI: 4.62.0
HB: 1.8.5
If needed anything special i could add.

Thx for the help, because now i tried evreything during days, and i can't do anything more with my knowledge to work.

Some logs:

[13/11/2024, 23:14:38] [CameraUI] Bejárat: Skip motion trigger. At Home is active and Bejárat is not excluded!
[13/11/2024, 23:14:40] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":16.27474021911621,"sensitivity":85,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Bejárat
[13/11/2024, 23:14:40] [CameraUI] Bejárat: Skip motion trigger. At Home is active and Bejárat is not excluded!
[13/11/2024, 23:16:14] [Jakuzzi] getDeviceData-start
[13/11/2024, 23:16:17] [Jakuzzi] getDeviceData-Feedback not reachable
[13/11/2024, 23:16:17] [Jakuzzi] Triggered SET CurrentTemperature:  -1
[13/11/2024, 23:16:17] [Jakuzzi] UpdateUI:  No Data 1
[13/11/2024, 23:17:40] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2024-11-13T22:17:40.578Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Bejárat
[13/11/2024, 23:17:40] [CameraUI] Bejárat: Skip motion trigger. At Home is active and Bejárat is not excluded!
[13/11/2024, 23:17:41] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":15.073784828186035,"sensitivity":86,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Bejárat
[13/11/2024, 23:17:41] [CameraUI] Bejárat: Skip motion trigger. At Home is active and Bejárat is not excluded!

JSON:

 "name": "CameraUI",
    "port": 8081,
    "atHomeSwitch": true,
    "logLevel": "info",
    "mqtt": {
        "active": false,
        "tls": false,
        "port": 1883
    },
    "http": {
        "active": false,
        "port": 7272,
        "localhttp": false
    },
    "smtp": {
        "active": false,
        "port": 2727,
        "space_replace": "+"
    },
    "ftp": {
        "active": false,
        "useFile": false,
        "port": 5050
    },
    "ssl": {
        "active": false
    },
    "options": {
        "videoProcessor": "ffmpeg"
    },
    "cameras": [
        {
            "name": "Boni",
            "manufacturer": "TP-Link",
            "model": "C220",
            "serialNumber": "XXX@IP",
            "privacySwitch": true,
            "motion": true,
            "motionTimeout": 15,
            "unbridge": true,
            "hsv": true,
            "prebuffering": true,
            "forcePrebuffering": true,
            "prebufferLength": 4,
            "hksvConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "vcodec": "libx264",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "videoConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "subSource": "-i rtsp://XXX@IP/stream2",
                "stillImageSource": "-i rtsp://XXX@IP/stream1",
                "rtspTransport": "tcp",
                "maxStreams": 8,
                "vcodec": "copy",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "smtp": {
                "email": "Boni"
            },
            "videoanalysis": {
                "active": true
            },
            "mqtt": {}
        },
        {
            "name": "Bejárat",
            "manufacturer": "TP-Link",
            "model": "C520WS",
            "serialNumber": "XXX@IP",
            "privacySwitch": true,
            "motion": true,
            "switches": false,
            "motionTimeout": 15,
            "unbridge": true,
            "hsv": true,
            "prebuffering": true,
            "forcePrebuffering": true,
            "prebufferLength": 4,
            "hksvConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "vcodec": "libx264",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "videoConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "subSource": "-i rtsp://XXX@IP/stream2",
                "stillImageSource": "-i rtsp://XXX@IP/stream1",
                "readRate": true,
                "rtspTransport": "tcp",
                "maxStreams": 8,
                "vcodec": "copy",
                "acodec": "libfdk_aac",
                "audio": true,
                "debug": false
            },
            "smtp": {
                "email": "Bejárat"
            },
            "videoanalysis": {
                "active": true
            },
            "mqtt": {}
        },
        {
            "name": "Terasz",
            "manufacturer": "TP-Link",
            "model": "C520WS",
            "serialNumber": "XXX@IP",
            "privacySwitch": true,
            "motion": true,
            "motionTimeout": 15,
            "unbridge": true,
            "hsv": true,
            "prebuffering": true,
            "forcePrebuffering": true,
            "prebufferLength": 4,
            "hksvConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "vcodec": "libx264",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "videoConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "subSource": "-i rtsp://XXX@IP/stream2",
                "stillImageSource": "-i rtsp://XXX@IP/stream1",
                "rtspTransport": "tcp",
                "maxStreams": 8,
                "vcodec": "libx264",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "smtp": {
                "email": "Terasz"
            },
            "videoanalysis": {
                "active": true
            },
            "mqtt": {}
        },
        {
            "name": "Boni 2",
            "manufacturer": "TP-Link",
            "model": "C220",
            "serialNumber": "XXX@IP,
            "privacySwitch": true,
            "motion": true,
            "motionTimeout": 15,
            "unbridge": true,
            "hsv": true,
            "prebuffering": true,
            "forcePrebuffering": true,
            "prebufferLength": 4,
            "hksvConfig": {
                "source": "-i rtsp://XXX@IPstream1",
                "vcodec": "libx264",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "videoConfig": {
                "source": "-i rtsp://XXX@IP/stream1",
                "subSource": "-i rtsp://XXX@IP/stream2",
                "stillImageSource": "-i rtsp://XXX@IP/stream1",
                "rtspTransport": "tcp",
                "maxStreams": 8,
                "vcodec": "libx264",
                "acodec": "libfdk_aac",
                "audio": true
            },
            "smtp": {
                "email": "Boni 2"
            },
            "videoanalysis": {
                "active": true
            },
            "mqtt": {}
        }
    ],
    "_bridge": {
        "username": "XXX@IP",
        "port": 50611
    },
    "platform": "CameraUI"
}

