[Bug]: Doorbell ring event not being sent to HK during a motion event
### What happened?

With a Wired Dual Camera Doorbell, the doorbell ring event is not triggered in homekit when the button is pressed if there is a current motion event or recording happening. The doorbell makes a chime and I receive a doorbell ring notification from the Eufy app, but nothing from HK. The battery Dual Doorbell seems to trigger a doorbell ring event in HK when pressed, regardless if there is a motion event or recording happening.

This can be a problem when someone arrives at the door and a motion event recording is triggered. Then, a few seconds later that person rings the doorbell. I don't receive a doorbell ring event and no doorbell chime from the homepod (the homepod is my only doorbell chime). I do receive a motion alert, but I may not check my phone and not know that this person rang the doorbell. The person ends up standing at the door waiting for me to answer.

### Device Type

Doorbell (Supported)

### Plugin Version

beta (Best Effort)

### HomeBridge Version

v1.4.x (Supported)

### NodeJS Version

v16 (Supported)

### Operating System

Ubuntu 20.04.4 (Supported)

### Relevant log output

```shell
Ring button pressed several times during these times:

[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: handleSnapshotRequest
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Snapshot requested: 1280 x 720 Front Doorbell Camera undefined
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera trying to get snapshot from camera with balanced method.
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Locked refresh process.
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Fetching new snapshot from camera.
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera RTSP rtspStream:true
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera RTSP cameraConfig: false
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Looks like RTSP is not enabled on camera config
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera New instance requests livestream. There were 0 instance(s) using the livestream until now.
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Start new station livestream (P2P Session)...
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] INFO:  Front Doorbell Camera station livestream (P2P session) for Front Doorbell Camera has started.
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Stream metadata: {"videoCodec":0,"videoFPS":15,"videoHeight":1200,"videoWidth":1600,"audioCodec":1}
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera New livestream started. Proxy stream has id: 19.
[9/19/2022, 12:30:23 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Process] Process command: /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level+verbose -i tcp://127.0.0.1:18929 -frames:v 1 -f image2 pipe:1 -progress tcp://127.0.0.1:12387
[9/19/2022, 12:30:24 AM] [EufySecurity-2.2.0-beta.5] WARN:  Front Doorbell Camera Second livestream was started from station. Ignore.
[9/19/2022, 12:30:24 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Resize Process] Process command: /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level+verbose -i pipe: -frames:v 1 -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale='trunc(iw/2)*2:trunc(ih/2)*2' -f image2 pipe:1 -progress tcp://127.0.0.1:12685
[9/19/2022, 12:30:24 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Resize Process] process started. Getting the first response took 0.1 seconds.
[9/19/2022, 12:30:24 AM] [EufySecurity-2.2.0-beta.5] DEBUG: snapshot byte lenght: 73207
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Process] process started. Getting the first response took 5.34 seconds.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Audiostream was stopped after transmission of 0 data chunks.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Videostream was stopped after transmission of 81 data chunks.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera One stream instance (id: 19) released livestream. There are now 0 instance(s) using the livestream.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera All proxy instances to the livestream have terminated.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Stopping station livestream.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] INFO:  Front Doorbell Camera station livestream for Front Doorbell Camera has stopped.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Unlocked refresh process.
[9/19/2022, 12:30:28 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera store new snapshot from camera in memory. Using this for future use.
[9/19/2022, 12:30:34 AM] [EufySecurity-2.2.0-beta.5] DEBUG: handleSnapshotRequest
[9/19/2022, 12:30:34 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Snapshot requested: 1280 x 720 Front Doorbell Camera undefined
[9/19/2022, 12:30:34 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera returning snapshot that is just 11.241 seconds old.
[9/19/2022, 12:30:34 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Resize Process] Process command: /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level+verbose -i pipe: -frames:v 1 -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale='trunc(iw/2)*2:trunc(ih/2)*2' -f image2 pipe:1 -progress tcp://127.0.0.1:12189
[9/19/2022, 12:30:34 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Resize Process] process started. Getting the first response took 0.099 seconds.
[9/19/2022, 12:30:34 AM] [EufySecurity-2.2.0-beta.5] DEBUG: snapshot byte lenght: 72480
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Property Changes: personName Unknown
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Property Changes: personDetected true
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera ON DeviceMotionDetected: true
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Snapshot handler detected event.
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] INFO:  Front Doorbell Camera requesting recording for HomeKit Secure Video.
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: HKSV and plugin are set to record audio.
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera RTSP rtspStream:true
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera RTSP cameraConfig: false
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Looks like RTSP is not enabled on camera config
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera New instance requests livestream. There were 0 instance(s) using the livestream until now.
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Start new station livestream (P2P Session)...
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] INFO:  Front Doorbell Camera station livestream (P2P session) for Front Doorbell Camera has started.
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Stream metadata: {"videoCodec":0,"videoFPS":15,"videoHeight":1200,"videoWidth":1600,"audioCodec":1}
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera New livestream started. Proxy stream has id: 20.
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [HSV Recording Process] Stream command: /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level+verbose -use_wallclock_as_timestamps 1 -i tcp://127.0.0.1:19806 -i tcp://127.0.0.1:17724 -sn -dn -vcodec copy -force_key_frames expr:gte(t,n_forced*4) -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_eld -flags +global_header -b:a 32k -ar 24k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 -f mp4 tcp://127.0.0.1:11552 -progress tcp://127.0.0.1:10977
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] INFO:  [Front Doorbell Camera] [HSV Recording Process] Starting video stream: native
[9/19/2022, 12:30:37 AM] [EufySecurity-2.2.0-beta.5] INFO:  [Front Doorbell Camera] [HSV Recording Process] Starting audio stream: 24 kHz, 32 kbps, codec: libfdk_aac
[9/19/2022, 12:30:40 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [HSV Recording Process] process started. Getting the first response took 3.042 seconds.
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: handleSnapshotRequest
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Snapshot requested: 1280 x 720 Front Doorbell Camera undefined
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera trying to get snapshot from camera with balanced method.
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Locked refresh process.
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Fetching new snapshot from camera.
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera RTSP rtspStream:true
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera RTSP cameraConfig: false
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Looks like RTSP is not enabled on camera config
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera New instance requests livestream. There were 1 instance(s) using the livestream until now.
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Waiting on cloud or camera snapshot...
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Using livestream that was started 6.756 seconds ago. The proxy stream has id: 21.
[9/19/2022, 12:30:44 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Process] Process command: /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level+verbose -i tcp://127.0.0.1:15502 -frames:v 1 -f image2 pipe:1 -progress tcp://127.0.0.1:14800
[9/19/2022, 12:30:45 AM] [EufySecurity-2.2.0-beta.5] ERROR: [Front Doorbell Camera] [Snapshot Process] ffmpeg log message:
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] non-existing PPS 0 referenced
[h264 @ 0xaaaae35441f0] [error] decode_slice_header error
[h264 @ 0xaaaae35441f0] [error] no frame!

[9/19/2022, 12:30:47 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Property Changes: personName 
[9/19/2022, 12:30:47 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Property Changes: personDetected false
[9/19/2022, 12:30:47 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera ignore change of motion detected state, since HKSV is still recording.The recording controller will reset the motion state afterwards.
[Front Doorbell Camera 9D62] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Process] process started. Getting the first response took 6.401 seconds.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Audiostream was stopped after transmission of 0 data chunks.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Videostream was stopped after transmission of 93 data chunks.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera One stream instance (id: 21) released livestream. There are now 1 instance(s) using the livestream.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera Unlocked refresh process.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: Front Doorbell Camera store new snapshot from camera in memory. Using this for future use.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Resize Process] Process command: /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level+verbose -i pipe: -frames:v 1 -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale='trunc(iw/2)*2:trunc(ih/2)*2' -f image2 pipe:1 -progress tcp://127.0.0.1:10975
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: [Front Doorbell Camera] [Snapshot Resize Process] process started. Getting the first response took 0.105 seconds.
[9/19/2022, 12:30:51 AM] [EufySecurity-2.2.0-beta.5] DEBUG: snapshot byte lenght: 77524
```


### config

```shell
{
    "bridge": {
        "name": "Homebridge 8D89",
        "username": "0E:84:16:B3:8D:89",
        "port": 51116,
        "pin": "872-79-627",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "platform": "EufySecurity",
            "username": "******",
            "password": "******",
            "country": "US",
            "ignoreStations": [
                "T8010P13194610B0",
                "T8410P2020240785"
            ],
            "ignoreDevices": [
                "T8410P2020240785",
                "T8213P1122242CA4"
            ],
            "cameras": [
                {
                    "serialNumber": "T8213P1122242CA4",
                    "enableCamera": true,
                    "enableButton": true,
                    "motionButton": true,
                    "rtsp": false,
                    "unbridge": true,
                    "forcerefreshsnap": true,
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true,
                        "vcodec": "copy",
                        "useSeparateProcesses": true
                    },
                    "talkback": true,
                    "hsv": true,
                    "snapshotHandlingMethod": 2,
                    "refreshSnapshotIntervalMinutes": 5
                },
                {
                    "serialNumber": "T8203P1122290007",
                    "enableCamera": true,
                    "videoConfig": {
                        "audio": true,
                        "vcodec": "copy",
                        "useSeparateProcesses": true
                    },
                    "talkback": true,
                    "hsv": true,
                    "unbridge": true,
                    "snapshotHandlingMethod": 2,
                    "refreshSnapshotIntervalMinutes": 15,
                    "immediateRingNotificationWithoutSnapshot": true,
                    "experimentalRTSP": false,
                    "rtsp": false
                }
            ],
            "pollingIntervalMinutes": 10,
            "hkHome": 1,
            "hkAway": 0,
            "hkNight": 3,
            "hkOff": 63,
            "enableDetailedLogging": true,
            "CameraMaxLivestreamDuration": 60,
            "cleanCache": true,
            "preferLocalConnection": true,
            "omitLogFiles": false,
            "experimentalMode": true,
            "stations": [
                {
                    "serialNumber": "T8203P1122290007",
                    "manualTriggerModes": []
                }
            ]
        }
    ]
}
```
