MQTT not subscribing on topics
**Describe the bug**
I'm currently a Xiaofang camera hacked with custom Dafang Hacks firmware and it works well with Camera FFmpeg plugin. I also use a dummy switch to trigger the motion sensor enabled from the plugin. From the web UI, the camera itself can detect motion with MQTT server enabled.

However, with camera-UI I couldn't get the motion to detect anything. I've enabled the MQTT server in the plugin and the recording options does show up in Home app, but its not detecting anything and no timeline appear on the livefeed like a typical HKSV camera. It will only streams despite I've enabled Stream and Allow Recording with my existing 200GB iCloud plan. I've tried turning off/on my HomeKit hubs as well. Tried turning on debug for logs but its not even showing "Initializing HomeKit Secure Video" nor "Adding Motion sensor service" in the log.

Tried following the thread https://github.com/seydx/homebridge-camera-ui/issues/336 as Xiaofang cameras is simply a chinese variant of Wyze cam but I'm not sure what else to trigger the recording.

Here's my config for two cameras:

        {
            "name": "CameraUI",
            "port": 8081,
            "atHomeSwitch": false,
            "debug": false,
            "mqtt": {
                "active": true,
                "tls": false,
                "host": "127.0.0.1",
                "port": 1883,
                "username": "mqtt-user",
                "password": "mqtt-password"
            },
            "http": {
                "active": true,
                "port": 8082,
                "localhttp": true
            },
            "smtp": {
                "active": false,
                "port": 2727,
                "space_replace": "+"
            },
            "ftp": {
                "active": false,
                "useFile": false,
                "port": 5050
            },
            "ssl": {
                "active": false
            },
            "options": {
                "videoProcessor": "/usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
            },
            "cameras": [
                {
                    "name": "TEST",
                    "motion": true,
                    "motionTimeout": 15,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-i rtsp://192.168.1.227:8554/unicast",
                        "subSource": "-i rtsp://192.168.1.227:8554/unicast",
                        "stillImageSource": "-i https://root:ismart12@192.168.1.227/cgi-bin/currentpic.cgi",
                        "rtspTransport": "tcp",
                        "maxStreams": 3,
                        "maxFPS": 30,
                        "forceMax": true,
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "audio": true
                    },
                    "mqtt": {
                        "motionTopic": "XiaoMod2/Xiaofang2",
                        "motionMessage": "ON",
                        "motionResetTopic": "XiaoMod2/Xiaofang2",
                        "motionResetMessage": "OFF"
                    },
                    "smtp": {
                        "email": "TEST"
                    },
                    "videoanalysis": {
                        "active": true
                    }
                },
                {
                    "name": "TEST2",
                    "motion": true,
                    "motionTimeout": 15,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-fflags +discardcorrupt -i rtsp://192.168.1.206:8554/unicast",
                        "subSource": "-fflags +discardcorrupt -i rtsp://192.168.1.206:8554/unicast",
                        "stillImageSource": "-i https://root:ismart12@192.168.1.206/cgi-bin/currentpic.cgi",
                        "maxStreams": 3,
                        "maxFPS": 30,
                        "forceMax": false,
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "audio": true
                    },
                    "mqtt": {
                        "motionTopic": "DafangMod1/Dafang1",
                        "motionMessage": "ON",
                        "motionResetTopic": "DafangMod1/Dafang1",
                        "motionResetMessage": "OFF"
                    },
                    "smtp": {
                        "email": "TEST2"
                    },
                    "videoanalysis": {
                        "active": true
                    }
                }
            ],
            "platform": "CameraUI"
        }


**Logs**
[24/01/2022, 12:52:20] [CameraUI] TEST: Setting up camera, please be patient...
[24/01/2022, 12:52:20] [CameraUI] TEST2: Setting up camera, please be patient...
[24/01/2022, 12:52:21] [Google Smart Home] Finished instance discovery
[24/01/2022, 12:52:26] [CameraUI] TEST2: Prebuffering scheduled for restart at 2AM: 788 minutes
[24/01/2022, 12:52:26] [CameraUI] TEST: Prebuffering scheduled for restart at 2AM: 788 minutes
[24/01/2022, 12:52:26] [CameraUI] TEST2: Videoanalysis scheduled for restart at 4AM: 908 minutes
[24/01/2022, 12:52:27] [CameraUI] TEST: Videoanalysis scheduled for restart at 4AM: 908 minutes
[24/01/2022, 12:52:27] [CameraUI] camera.ui v5.0.14 is listening on port 8081 (http)
[24/01/2022, 12:52:36] [Google Smart Home] Sending Sync Request
[24/01/2022, 12:52:36] [Google Smart Home] Received SYNC intent
[24/01/2022, 12:52:40] [Google Smart Home] Received QUERY intent
[24/01/2022, 12:53:36] [Video Doorbell] Snapshot from Doorbell at 1280x720
[24/01/2022, 12:53:39] [CameraUI] TEST: Starting video stream: native

**Screenshots**
![IMG_1990](https://user-images.githubusercontent.com/66505845/150722632-d5182fac-7a6d-4b14-9b9d-86710e39a5c7.jpg)


**Environment**
- Node.js Version: v16.13.2
- Homebridge Version: v1.4.0
- Camera UI Version: v5.0.14
- Operating System: Raspberry Pi 4b
- Browser: XXX
