G4 Doorbell Triggers showing "no reponse". After Sometime it makes the doorbell show no response as well
<!-- BUG REPORTS THAT ARE NOT FILLED OUT COMPLETELY WILL BE CLOSED AUTOMATICALLY WITHOUT WARNING AND WILL NOT RECEIVE A RESPONSE. THE FORM IS HERE FOR A REASON. :). -->
<!-- Please ensure you read the documentation before creating a support request, especially the Troubleshooting page. -->
<!-- BUG REPORTS ABOUT BETA VERSIONS OF UNIFI / UBIQUITI FIRMWARE OR EARLY-ACCESS/BETA HARDWARE WILL BE CLOSED WITHOUT A RESPONSE. ALL BETA RELEASES FROM UBIQUITI ARE UNSUPPORTED -->

**Describe The Problem:**
G4 Doorbell Triggers showing "no reponse". After Sometime it makes the doorbell show no response as well

**To Reproduce:**
Ive tried to reinstalled both the Homebridge OS many times and remove and readd the Homebridge Hub from Home while restarting my Iphone in between

**Logs:**



```
Loading logs using native method...
File: /var/lib/homebridge/homebridge.log

[08/07/2022, 09:09:12] [HB Supervisor] Creating default config.json: /var/lib/homebridge/config.json
[08/07/2022, 09:09:12] [HB Supervisor] Restarting process after port number update.
[08/07/2022, 09:09:16] [HB Supervisor] OS: Linux 5.15.32-v7l+ arm
[08/07/2022, 09:09:16] [HB Supervisor] Node.js v16.16.0 /opt/homebridge/bin/node
[08/07/2022, 09:09:16] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[08/07/2022, 09:09:16] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[08/07/2022, 09:09:20] [Homebridge UI] Homebridge Config UI X v4.49.0 is listening on :: port 8581
[08/07/2022, 09:09:21] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[08/07/2022, 09:09:21] [HB Supervisor] Started Homebridge v1.5.0 with PID: 983
[08/07/2022, 09:09:22] Loaded config.json with 0 accessories and 1 platforms.
[08/07/2022, 09:09:22] ---
[08/07/2022, 09:09:22] No plugins found.
[08/07/2022, 09:09:22] Loading 1 platforms...
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[08/07/2022, 09:09:22] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 03:01:28] [Homebridge UI] Added new user: admin
[12/09/2022, 03:01:37] [Homebridge UI] Running Command: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/upgrade-install.sh 4.50.1 /opt/homebridge
[12/09/2022, 03:02:18] [Homebridge UI] Homebridge restart request received
[12/09/2022, 03:02:19] [Homebridge UI] Sending SIGTERM to process...
[12/09/2022, 03:02:19] [HB Supervisor] Stopping services...
[12/09/2022, 03:02:19] Got SIGTERM, shutting down Homebridge...
[12/09/2022, 03:02:24] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[12/09/2022, 03:02:30] [HB Supervisor] OS: Linux 5.15.32-v7l+ arm
[12/09/2022, 03:02:30] [HB Supervisor] Node.js v16.16.0 /opt/homebridge/bin/node
[12/09/2022, 03:02:30] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[12/09/2022, 03:02:30] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[12/09/2022, 03:02:34] [Homebridge UI] Homebridge Config UI X v4.50.1 is listening on :: port 8581
[12/09/2022, 03:02:34] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[12/09/2022, 03:02:35] [HB Supervisor] Started Homebridge v1.5.0 with PID: 1299
[12/09/2022, 03:02:36] Loaded config.json with 0 accessories and 1 platforms.
[12/09/2022, 03:02:36] Loaded 0 cached accessories from cachedAccessories.
[12/09/2022, 03:02:36] ---
[12/09/2022, 03:02:36] No plugins found.
[12/09/2022, 03:02:36] Loading 1 platforms...
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[12/09/2022, 03:02:36] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 03:03:04] [Homebridge UI] Running Command: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/plugin-upgrade-install.sh homebridge-unifi-protect 5.5.4 /var/lib/homebridge/node_modules
[12/09/2022, 03:04:01] [Homebridge UI] Changes to config.json saved.
[12/09/2022, 03:07:18] [Homebridge UI] Changes to config.json saved.
[12/09/2022, 03:07:22] [Homebridge UI] Homebridge restart request received
[12/09/2022, 03:07:22] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[12/09/2022, 03:07:22] [Homebridge UI] Sending SIGTERM to Homebridge
[12/09/2022, 03:07:22] Got SIGTERM, shutting down Homebridge...
[12/09/2022, 03:07:27] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[12/09/2022, 03:07:32] [HB Supervisor] Restarting Homebridge...
[12/09/2022, 03:07:32] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[12/09/2022, 03:07:33] [HB Supervisor] Started Homebridge v1.5.0 with PID: 1490
[12/09/2022, 03:07:34] Loaded config.json with 0 accessories and 2 platforms.
[12/09/2022, 03:07:34] Loaded 0 cached accessories from cachedAccessories.
[12/09/2022, 03:07:34] ---
[12/09/2022, 03:07:34] Loaded plugin: homebridge-unifi-protect@5.5.4
[12/09/2022, 03:07:34] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 03:07:34] ---
[12/09/2022, 03:07:34] Loading 2 platforms...
[12/09/2022, 03:07:34] [UniFi Protect] Initializing UniFi Protect platform...
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[12/09/2022, 03:07:34] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.10.1 mac: D021F961B868).
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Discovered camera: Eye Of Cakes [UVC G4 Doorbell] (address: 192.168.20.242 mac: D021F995CAFF).
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Controller refresh interval set to 10 seconds.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Adding camera to HomeKit.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling motion sensor.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: HomeKit Secure Video support enabled.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: DO NOT DISTURB.
[12/09/2022, 03:07:35] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch (60 seconds): Be Right There.
[12/09/2022, 03:09:54] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:10:13] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:10:21] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:10:24] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:10:33] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:10:38] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:22:20] [Homebridge UI] Changes to config.json saved.
[12/09/2022, 03:22:23] [Homebridge UI] Homebridge restart request received
[12/09/2022, 03:22:23] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[12/09/2022, 03:22:23] [Homebridge UI] Sending SIGTERM to Homebridge
[12/09/2022, 03:22:23] Got SIGTERM, shutting down Homebridge...
[12/09/2022, 03:22:28] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[12/09/2022, 03:22:33] [HB Supervisor] Restarting Homebridge...
[12/09/2022, 03:22:33] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[12/09/2022, 03:22:33] [HB Supervisor] Started Homebridge v1.5.0 with PID: 1665
[12/09/2022, 03:22:34] Loaded config.json with 0 accessories and 2 platforms.
[12/09/2022, 03:22:34] Loaded 1 cached accessories from cachedAccessories.
[12/09/2022, 03:22:35] ---
[12/09/2022, 03:22:35] Loaded plugin: homebridge-unifi-protect@5.5.4
[12/09/2022, 03:22:35] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 03:22:35] ---
[12/09/2022, 03:22:35] Loading 2 platforms...
[12/09/2022, 03:22:35] [UniFi Protect] Initializing UniFi Protect platform...
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[12/09/2022, 03:22:35] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.10.1 mac: D021F961B868).
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Discovered camera: Eye Of Cakes [UVC G4 Doorbell] (address: 192.168.20.242 mac: D021F995CAFF).
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Controller refresh interval set to 10 seconds.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: HomeKit Secure Video support enabled.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling doorbell automation trigger.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: DO NOT DISTURB.
[12/09/2022, 03:22:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch (60 seconds): Be Right There.
[12/09/2022, 03:23:10] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:23:15] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:24:05] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:24:10] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:24:15] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:24:17] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:30:27] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.101: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:30:28] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:30:36] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.101: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:30:38] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:31:13] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.101: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:31:15] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 03:39:42] [Homebridge UI] Homebridge restart request received
[12/09/2022, 03:39:42] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[12/09/2022, 03:39:42] [Homebridge UI] Sending SIGTERM to Homebridge
[12/09/2022, 03:39:42] Got SIGTERM, shutting down Homebridge...
[12/09/2022, 03:39:47] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[12/09/2022, 03:39:52] [HB Supervisor] Restarting Homebridge...
[12/09/2022, 03:39:52] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[12/09/2022, 03:39:52] [HB Supervisor] Started Homebridge v1.5.0 with PID: 2223
[12/09/2022, 03:39:53] Loaded config.json with 0 accessories and 2 platforms.
[12/09/2022, 03:39:54] Loaded 1 cached accessories from cachedAccessories.
[12/09/2022, 03:39:54] ---
[12/09/2022, 03:39:54] Loaded plugin: homebridge-unifi-protect@5.5.4
[12/09/2022, 03:39:54] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 03:39:54] ---
[12/09/2022, 03:39:54] Loading 2 platforms...
[12/09/2022, 03:39:54] [UniFi Protect] Initializing UniFi Protect platform...
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[12/09/2022, 03:39:55] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.10.1 mac: D021F961B868).
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Discovered camera: Eye Of Cakes [UVC G4 Doorbell] (address: 192.168.20.242 mac: D021F995CAFF).
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO]: Controller refresh interval set to 10 seconds.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: HomeKit Secure Video support enabled.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling doorbell automation trigger.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: DO NOT DISTURB.
[12/09/2022, 03:39:55] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch (60 seconds): Be Right There.
[12/09/2022, 03:42:34] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Streaming request from 192.168.10.119: 1280x720@30fps, 299 kbps. Using 1600x1200@30fps (High), 3000 kbps.
[12/09/2022, 03:42:43] [UniFi Protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Stopped video streaming session.
[12/09/2022, 04:04:26] [Homebridge UI] Changes to config.json saved.
[12/09/2022, 04:04:33] [Homebridge UI] Homebridge restart request received
[12/09/2022, 04:04:33] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[12/09/2022, 04:04:33] [Homebridge UI] Sending SIGTERM to Homebridge
[12/09/2022, 04:04:33] Got SIGTERM, shutting down Homebridge...
[12/09/2022, 04:04:38] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[12/09/2022, 04:04:43] [HB Supervisor] Restarting Homebridge...
[12/09/2022, 04:04:43] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[12/09/2022, 04:04:43] [HB Supervisor] Started Homebridge v1.5.0 with PID: 3210
[12/09/2022, 04:04:44] Loaded config.json with 0 accessories and 2 platforms.
[12/09/2022, 04:04:44] Loaded 1 cached accessories from cachedAccessories.
[12/09/2022, 04:04:44] ---
[12/09/2022, 04:04:45] Loaded plugin: homebridge-unifi-protect@5.5.4
[12/09/2022, 04:04:45] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 04:04:45] ---
[12/09/2022, 04:04:45] Loading 2 platforms...
[12/09/2022, 04:04:45] [UniFi Protect] Initializing UniFi Protect platform...
[12/09/2022, 04:04:45] [UniFi Protect] Initializing child bridge 0E:8C:EF:13:0D:B1
[12/09/2022, 04:04:45] Failed to find plugin to handle accessory Eye Of Cakes
[12/09/2022, 04:04:45] Removing orphaned accessory Eye Of Cakes
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[12/09/2022, 04:04:45] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 04:04:46] [homebridge-unifi-protect] Launched child bridge with PID 3229
[12/09/2022, 04:04:46] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 04:04:46] [homebridge-unifi-protect] Loaded homebridge-unifi-protect v5.5.4 child bridge successfully
[12/09/2022, 04:04:47] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-unifi-protect) is running on port 34277.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.10.1 mac: D021F961B868).
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Discovered camera: Eye Of Cakes [UVC G4 Doorbell] (address: 192.168.20.242 mac: D021F995CAFF).
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Controller refresh interval set to 10 seconds.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Adding camera to HomeKit.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling motion sensor.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: HomeKit Secure Video support enabled.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling doorbell automation trigger.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: DO NOT DISTURB.
[12/09/2022, 04:04:47] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch (60 seconds): Be Right There.
[12/09/2022, 04:09:52] [Homebridge UI] Homebridge restart request received
[12/09/2022, 04:09:52] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[12/09/2022, 04:09:52] [Homebridge UI] Sending SIGTERM to Homebridge
[12/09/2022, 04:09:52] Got SIGTERM, shutting down Homebridge...
[12/09/2022, 04:09:52] Got SIGTERM, shutting down child bridge process...
[12/09/2022, 04:09:57] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[12/09/2022, 04:10:02] [HB Supervisor] Restarting Homebridge...
[12/09/2022, 04:10:02] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[12/09/2022, 04:10:02] [HB Supervisor] Started Homebridge v1.5.0 with PID: 3400
[12/09/2022, 04:10:03] Loaded config.json with 0 accessories and 2 platforms.
[12/09/2022, 04:10:03] Loaded 0 cached accessories from cachedAccessories.
[12/09/2022, 04:10:03] ---
[12/09/2022, 04:10:04] Loaded plugin: homebridge-unifi-protect@5.5.4
[12/09/2022, 04:10:04] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 04:10:04] ---
[12/09/2022, 04:10:04] Loading 2 platforms...
[12/09/2022, 04:10:04] [UniFi Protect] Initializing UniFi Protect platform...
[12/09/2022, 04:10:04] [UniFi Protect] Initializing child bridge 0E:8C:EF:13:0D:B1
Setup Payload:
X-HM://00243101DXZ6O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 371-12-177 │     
    └────────────┘     
                       
[12/09/2022, 04:10:04] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6501) is running on port 51389.
[12/09/2022, 04:10:05] [homebridge-unifi-protect] Launched child bridge with PID 3419
[12/09/2022, 04:10:06] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 04:10:06] [homebridge-unifi-protect] Loaded homebridge-unifi-protect v5.5.4 child bridge successfully
[12/09/2022, 04:10:06] Loaded 1 cached accessories from cachedAccessories.0E8CEF130DB1.
[12/09/2022, 04:10:06] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-unifi-protect) is running on port 34277.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.10.1 mac: D021F961B868).
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Discovered camera: Eye Of Cakes [UVC G4 Doorbell] (address: 192.168.20.242 mac: D021F995CAFF).
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Controller refresh interval set to 10 seconds.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: HomeKit Secure Video support enabled.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling doorbell automation trigger.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: DO NOT DISTURB.
[12/09/2022, 04:10:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch (60 seconds): Be Right There.
[12/09/2022, 04:10:24] [homebridge-unifi-protect] Restarting child bridge...
[12/09/2022, 04:10:24] Got SIGTERM, shutting down child bridge process...
[12/09/2022, 04:10:29] [homebridge-unifi-protect] Child bridge process ended
[12/09/2022, 04:10:29] [homebridge-unifi-protect] Process Ended. Code: 143, Signal: null
[12/09/2022, 04:10:36] [homebridge-unifi-protect] Restarting Process...
[12/09/2022, 04:10:37] [homebridge-unifi-protect] Launched child bridge with PID 3436
[12/09/2022, 04:10:37] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/09/2022, 04:10:37] [homebridge-unifi-protect] Loaded homebridge-unifi-protect v5.5.4 child bridge successfully
[12/09/2022, 04:10:37] Loaded 1 cached accessories from cachedAccessories.0E8CEF130DB1.
[12/09/2022, 04:10:38] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-unifi-protect) is running on port 34277.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect controller API (address: 192.168.10.1 mac: D021F961B868).
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Connected to the UniFi Protect realtime update events API.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Discovered camera: Eye Of Cakes [UVC G4 Doorbell] (address: 192.168.20.242 mac: D021F995CAFF).
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO]: Controller refresh interval set to 10 seconds.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: HomeKit Secure Video support enabled.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Enabling doorbell automation trigger.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch: DO NOT DISTURB.
[12/09/2022, 04:10:38] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Discovered doorbell message switch (60 seconds): Be Right There.
[12/09/2022, 04:14:12] [Homebridge UI] [admin] Accessory layout changes saved.
[12/09/2022, 04:14:14] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Doorbell ring event triggered.
[12/09/2022, 04:14:19] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Doorbell message set (60 seconds): LEAVE PACKAGE AT DOOR.
[12/09/2022, 04:15:06] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Doorbell message set (60 seconds): DO NOT DISTURB.
[12/09/2022, 04:15:11] [homebridge-unifi-protect] CakeCommand-UDM [UDM-PRO] Eye Of Cakes [UVC G4 Doorbell]: Doorbell message set (60 seconds): Be Right There.
[12/09/2022, 04:15:18] [Homebridge UI] [admin] Accessory layout changes saved.
```

**Homebridge Configuration:**

```json
{
            "controllers": [
                {
                    "address": "192.168.10.1",
                    "doorbellMessages": [
                        {
                            "duration": 60,
                            "message": "Be Right There"
                        }
                    ],
                    "password": "Shawbino1",
                    "username": "homeassistant"
                }
            ],
            "options": [
                "Enable.Doorbell.Trigger"
            ],
```

**Screenshots:**
![IMG_0430](https://user-images.githubusercontent.com/32173475/189568863-c435683f-1f97-4ca3-9e03-3f34dc9cabbf.PNG)
![IMG_F0001C03A737-1](https://user-images.githubusercontent.com/32173475/189569162-fcdaeeb6-0806-411f-9e9d-d843861bedd8.jpeg)

**Environment:**

* **Homebridge Version:** v1.5.0
* **Node Version:** v16.16.0
* **Homebridge-UniFi-Protect Plugin Version:** homebridge-unifi-protect v5.5.4
* **UniFi Protect Version:** Protect 2.1.2
* **UniFi Protect Controller Type:** UDM PRO
* **UniFi Protect Controller Firmware Version:** 1.12.22
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:** Iphone 12 and 12 pro
* **Operating System and OS Version:** Raspbian GNU/Linux Bullseye (11)

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
