Random Plugin restarts, Perhaps related to Insufficient Privileges
### Homebridge UniFi Protect Version

7.8.2

### Homebridge Platform and OS

PI 4

### Homebridge Version

1.8.5

### Node Version

18.19.0

### UniFi OS Version

4.0.20

### UniFi Protect Controller Version

5.0.51

### Describe the problem

I understand Protect is a moving target.  But for what its worth: 

I’ve been running the Protect plugin without issue for year or two without issue, thanks for the excellent package. 

But, for several months now I’ve been observing Protect sensors being removed from homekit and automations then failing. That was attributed to Protect dropping the ball.  

After spinning my wheels for a while, running the Plugin as a child bridge, and gathering data, I noticed that the plugin seems to be restarting three or four times a day right after an “API error: Insufficient privileges for this user.” sequence.

Sometimes, not always, the Plugin seems to also remove sensors from homekit. 

Without observing the log, I would not notice the plug in restarts except for those random cases where the Plugin removes Protect sensors from homekit and automations stop working.  It may take days of restarts to remove sensors, or hours. Seems to be random.  

### Homebridge HBUP JSON configuration

```json
{
    "controllers": [
        {
            "address": 
            "password": 
            "username": 
        }
    ],
    "name": "UniFi Protect",
    "options": [
        "Disable.Device.NightVision.70A741FD2E79",
        "Disable.Device.StatusLed.70A741FD2E79",
        "Enable.Motion.Duration.70A741FD2E79.10",
        "Disable.Video.HighResSnapshots.70A741FD2E79",
        "Disable.Video.Transcode.Hardware.70A741FD2E79",
        "Enable.Nvr.DelayDeviceRemoval.70A741FD2E79.180"
    ],
    "_bridge": {
        "username": "0E:DF:AE:70:0C:96",
        "port": 52544
    },
    "platform": "UniFi Protect"
}
```

### Relevant log output

```shell
Plugin Log


[12/02/2025, 08:44:23] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: DO NOT DISTURB.
[12/02/2025, 08:44:23] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling hardware-accelerated decoding and transcoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[12/02/2025, 08:49:19] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Unable to retrieve a snapshot: using the most recent cached snapshot instead.
[12/02/2025, 08:51:06] [UniFi Protect] Restarting child bridge...
[12/02/2025, 08:51:06] Got SIGTERM, shutting down child bridge process...
[12/02/2025, 08:51:11] [UniFi Protect] Child bridge process ended
[12/02/2025, 08:51:11] [UniFi Protect] Process Ended. Code: 143, Signal: null
[12/02/2025, 08:51:18] [UniFi Protect] Restarting Process...
[12/02/2025, 08:51:19] [UniFi Protect] Launched child bridge with PID 2429219
[12/02/2025, 08:51:20] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/02/2025, 08:51:20] [UniFi Protect] Loaded homebridge-unifi-protect v7.8.2 child bridge successfully
[12/02/2025, 08:51:20] Loaded 9 cached accessories from cachedAccessories.0EDFAE700C96.
[12/02/2025, 08:51:20] [UniFi Protect] Using FFmpeg version: 7.0.2-homebridge-alpine-aarch64-static.
[12/02/2025, 08:51:20] Homebridge v1.8.5 (HAP v0.12.3) (UniFi Protect) is running on port 52544.
[12/02/2025, 08:51:20] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

(node:2429219) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Connected to 192.168.1.138 (UniFi Protect 5.0.51 running on UniFi OS 4.0.20).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered nvr: CKey [UCK G2 Plus] (address: 192.168.1.138 mac: 70A741FD2E79).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Driveway [G4 Instant] (address: 192.168.1.117 mac: 70A7415F8817).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Doorbell Pro [G4 Doorbell Pro] (address: 192.168.1.12 mac: AC8BA90E07EF).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered light: FloodLight Driveway [UP FloodLight] (address: 192.168.1.118 mac: 245A4CD0E001).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garrage Sam [UP Sense] (mac: E438836AB6FE).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Basement 2 [UP Sense] (mac: F4E2C6F60885).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Back [UP Sense] (mac: F4E2C6F60837).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Front Door [UP Sense] (mac: D8B3709AFD44).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Pat [UP Sense] (mac: F4E2C6EABC90).
[12/02/2025, 08:51:21] [UniFi Protect] Door Garrage Sam [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Door Basement 2 [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Door Garage Back [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Front Door [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Door Garage Pat [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling the use of higher quality snapshots.
[12/02/2025, 08:51:21] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling the use of higher quality snapshots.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: DO NOT DISTURB.
[12/02/2025, 09:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 14:53:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 16:54:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 17:55:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 19:56:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 20:57:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 21:58:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 23:59:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 01:00:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 01:25:04] [UniFi Protect] Initializing UniFi Protect platform...
[13/02/2025, 01:25:04] [UniFi Protect] Initializing child bridge 0E:DF:AE:70:0C:96
[13/02/2025, 01:25:05] [UniFi Protect] Launched child bridge with PID 2448007
[13/02/2025, 01:25:05] [UniFi Protect] Loaded homebridge-unifi-protect v7.8.2 child bridge successfully
[13/02/2025, 01:25:05] Loaded 9 cached accessories from cachedAccessories.0EDFAE700C96.
[13/02/2025, 01:25:06] [UniFi Protect] Using FFmpeg version: 7.0.2-homebridge-alpine-aarch64-static.
[13/02/2025, 01:25:06] Homebridge v1.8.5 (HAP v0.12.3) (UniFi Protect) is running on port 52544.
[13/02/2025, 01:25:06] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

(node:2448007) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Connected to 192.168.1.138 (UniFi Protect 5.0.51 running on UniFi OS 4.0.20).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered nvr: CKey [UCK G2 Plus] (address: 192.168.1.138 mac: 70A741FD2E79).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Driveway [G4 Instant] (address: 192.168.1.117 mac: 70A7415F8817).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Doorbell Pro [G4 Doorbell Pro] (address: 192.168.1.12 mac: AC8BA90E07EF).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered light: FloodLight Driveway [UP FloodLight] (address: 192.168.1.118 mac: 245A4CD0E001).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garrage Sam [UP Sense] (mac: E438836AB6FE).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Basement 2 [UP Sense] (mac: F4E2C6F60885).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Back [UP Sense] (mac: F4E2C6F60837).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Front Door [UP Sense] (mac: D8B3709AFD44).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Pat [UP Sense] (mac: F4E2C6EABC90).
[13/02/2025, 01:25:08] [UniFi Protect] Door Garrage Sam [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Door Basement 2 [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Door Garage Back [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Front Door [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Door Garage Pat [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling the use of higher quality snapshots.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling the use of higher quality snapshots.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: LEAVE PACKAGE AT DOOR.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: DO NOT DISTURB.
[13/02/2025, 02:25:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 09:26:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 10:27:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 10:29:54] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:29:58] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:29:58] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Unable to retrieve the UniFi Protect controller configuration.
[13/02/2025, 10:30:12] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:12] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:12] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:16] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:16] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Unable to retrieve the UniFi Protect controller configuration.
[13/02/2025, 10:30:30] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:34] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:34] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Unable to retrieve the UniFi Protect controller configuration.
[13/02/2025, 10:30:48] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:52] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:31:02] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Throttling API calls due to errors with the 10 previous attempts. Pausing communication with the Protect controller for 5 minutes.
[13/02/2025, 10:36:02] [UniFi Protect] 192.168.1.138: API error: Resuming connectivity to the UniFi Protect API after pausing for 5 minutes.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: User 'HomeBridge' requires the Super Admin role in order to change certain settings like camera RTSP stream availability.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Driveway [G4 Instant]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Doorbell Pro [G4 Doorbell Pro]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: FloodLight Driveway [UP FloodLight]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Basement 2 [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Back [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garrage Sam [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Front Door [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Pat [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:36:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:37:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:37:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:38:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:38:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:39:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:39:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Driveway [G4 Instant]: Removing camera from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Doorbell Pro [G4 Doorbell Pro]: Removing camera from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: FloodLight Driveway [UP FloodLight]: Removing light from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Basement 2 [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Back [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garrage Sam [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Front Door [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Pat [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Doorbell Pro Package Camera: Delaying device removal for at least 180 seconds.


Homebridge Log:++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



[12/02/2025, 08:44:23] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: DO NOT DISTURB.
[12/02/2025, 08:44:23] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling hardware-accelerated decoding and transcoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[12/02/2025, 08:48:42] [Homebridge UI] [homebridge-unifi-protect] Incoming Request: /getOptions
[12/02/2025, 08:48:42] [Homebridge UI] [homebridge-unifi-protect] Incoming Request: /getDevices
[12/02/2025, 08:48:42] [Homebridge UI] [homebridge-unifi-protect] (node:2428478) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
[12/02/2025, 08:49:19] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Unable to retrieve a snapshot: using the most recent cached snapshot instead.
[12/02/2025, 08:50:59] [Homebridge UI] Changes to config.json saved.
[12/02/2025, 08:51:06] [UniFi Protect] Restarting child bridge...
[12/02/2025, 08:51:06] Got SIGTERM, shutting down child bridge process...
[12/02/2025, 08:51:11] [UniFi Protect] Child bridge process ended
[12/02/2025, 08:51:11] [UniFi Protect] Process Ended. Code: 143, Signal: null
[12/02/2025, 08:51:18] [UniFi Protect] Restarting Process...
[12/02/2025, 08:51:19] [UniFi Protect] Launched child bridge with PID 2429219
[12/02/2025, 08:51:20] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[12/02/2025, 08:51:20] [UniFi Protect] Loaded homebridge-unifi-protect v7.8.2 child bridge successfully
[12/02/2025, 08:51:20] Loaded 9 cached accessories from cachedAccessories.0EDFAE700C96.
[12/02/2025, 08:51:20] [UniFi Protect] Using FFmpeg version: 7.0.2-homebridge-alpine-aarch64-static.
[12/02/2025, 08:51:20] Homebridge v1.8.5 (HAP v0.12.3) (UniFi Protect) is running on port 52544.
[12/02/2025, 08:51:20] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

(node:2429219) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Connected to 192.168.1.138 (UniFi Protect 5.0.51 running on UniFi OS 4.0.20).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered nvr: CKey [UCK G2 Plus] (address: 192.168.1.138 mac: 70A741FD2E79).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Driveway [G4 Instant] (address: 192.168.1.117 mac: 70A7415F8817).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Doorbell Pro [G4 Doorbell Pro] (address: 192.168.1.12 mac: AC8BA90E07EF).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered light: FloodLight Driveway [UP FloodLight] (address: 192.168.1.118 mac: 245A4CD0E001).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garrage Sam [UP Sense] (mac: E438836AB6FE).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Basement 2 [UP Sense] (mac: F4E2C6F60885).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Back [UP Sense] (mac: F4E2C6F60837).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Front Door [UP Sense] (mac: D8B3709AFD44).
[12/02/2025, 08:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Pat [UP Sense] (mac: F4E2C6EABC90).
[12/02/2025, 08:51:21] [UniFi Protect] Door Garrage Sam [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Door Basement 2 [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Door Garage Back [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Front Door [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] Door Garage Pat [UP Sense]: Enabled sensors: contact, motion sensor.
[12/02/2025, 08:51:21] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling the use of higher quality snapshots.
[12/02/2025, 08:51:21] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling the use of higher quality snapshots.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: LEAVE PACKAGE AT DOOR.
[12/02/2025, 08:51:22] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: DO NOT DISTURB.
[12/02/2025, 09:51:21] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 14:53:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 16:54:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 17:13:48] [Wemo] [Wemo Smart 920] current state [on].
[12/02/2025, 17:13:48] [Wemo] [Wemo Smart 920] current state [on].
[12/02/2025, 17:55:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 19:15:03] [Wemo] [Wemo Plug 788] current state [off].
[12/02/2025, 19:56:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 20:57:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 21:58:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[12/02/2025, 23:59:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 01:00:22] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 01:10:07] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[13/02/2025, 01:24:51] [AmbientWeatherSensors] ERROR: API response from AWN is not JSON.
          This happens ocasionally due to the fragility of the AWN API
          and is usually resolved by retrying the request in a few minutes.
[13/02/2025, 01:24:51] TypeError: Cannot read properties of undefined (reading 'filter')
    at TemperatureAccessory.updateData (/var/lib/homebridge/node_modules/homebridge-ambient-weather-sensors/src/temperatureAccessory.ts:52:28)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[13/02/2025, 01:24:51] [AmbientWeatherSensors] ERROR: API response from AWN is not JSON.
          This happens ocasionally due to the fragility of the AWN API
          and is usually resolved by retrying the request in a few minutes.
[13/02/2025, 01:24:51] TypeError: Cannot read properties of undefined (reading 'filter')
    at TemperatureAccessory.updateData (/var/lib/homebridge/node_modules/homebridge-ambient-weather-sensors/src/temperatureAccessory.ts:52:28)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[13/02/2025, 01:24:51] Got SIGTERM, shutting down Homebridge...
[13/02/2025, 01:24:51] Got SIGTERM, shutting down child bridge process...
[13/02/2025, 01:24:56] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[13/02/2025, 01:25:01] [HB Supervisor] Restarting Homebridge...
[13/02/2025, 01:25:01] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[13/02/2025, 01:25:01] [HB Supervisor] Started Homebridge v1.8.5 with PID: 2447996
[13/02/2025, 01:25:02] Loaded config.json with 0 accessories and 4 platforms.
[13/02/2025, 01:25:02] Loaded 15 cached accessories from cachedAccessories.
[13/02/2025, 01:25:02] ---
[13/02/2025, 01:25:02] Loaded plugin: homebridge-ambient-weather-sensors@1.3.1
[13/02/2025, 01:25:02] Registering platform 'homebridge-ambient-weather-sensors.AmbientWeatherSensors'
[13/02/2025, 01:25:02] ---
[13/02/2025, 01:25:02] Loaded plugin: homebridge-lutron-caseta-leap@2.6.0
[13/02/2025, 01:25:02] Registering platform 'homebridge-lutron-caseta-leap.LutronCasetaLeap'
[13/02/2025, 01:25:02] ---
[13/02/2025, 01:25:03] Loaded plugin: homebridge-meross@10.3.0
[13/02/2025, 01:25:03] Registering platform 'homebridge-meross.Meross'
[13/02/2025, 01:25:03] ---
[13/02/2025, 01:25:03] Loaded plugin: homebridge-unifi-protect@7.8.2
[13/02/2025, 01:25:03] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[13/02/2025, 01:25:03] ---
[13/02/2025, 01:25:04] Loaded plugin: homebridge-wemo@6.1.2
[13/02/2025, 01:25:04] Registering platform 'homebridge-wemo.Wemo'
[13/02/2025, 01:25:04] ---
[13/02/2025, 01:25:04] Loading 4 platforms...
[13/02/2025, 01:25:04] [UniFi Protect] Initializing UniFi Protect platform...
[13/02/2025, 01:25:04] [UniFi Protect] Initializing child bridge 0E:DF:AE:70:0C:96
[13/02/2025, 01:25:04] [Wemo] Initializing Wemo platform...
[13/02/2025, 01:25:04] [Wemo] Initialising plugin v6.1.2 | System linux | Node v18.19.0 | HB v1.8.5 | HAPNodeJS v0.12.3...
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Initializing AmbientWeatherSensors platform...
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: 50:02:91:E4:0C:9A-tempinf
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: 50:02:91:E4:0C:9A-temp1f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: 50:02:91:E4:0C:9A-temp2f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: 50:02:91:E4:0C:9A-temp4f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: 50:02:91:E4:0C:9A-temp6f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: 50:02:91:E4:0C:9A-temp7f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-tempinf
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-tempf
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-temp1f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-temp2f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-temp4f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-temp6f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Loading accessory from cache: E8:DB:84:E7:31:95-temp7f
[13/02/2025, 01:25:04] [Wemo] Plugin initialised. Setting up accessories....
[13/02/2025, 01:25:04] [Wemo] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!
Setup Payload:
X-HM://00248EUMS2MC3
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 461-56-436 │     
    └────────────┘     
                       
[13/02/2025, 01:25:04] Homebridge v1.8.5 (HAP v0.12.3) (Homebridge 9EEA) is running on port 51820.
[13/02/2025, 01:25:04] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: 50:02:91:E4:0C:9A-tempinf
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: 50:02:91:E4:0C:9A-temp1f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: 50:02:91:E4:0C:9A-temp2f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: 50:02:91:E4:0C:9A-temp4f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: 50:02:91:E4:0C:9A-temp6f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: 50:02:91:E4:0C:9A-temp7f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-tempinf
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-tempf
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-temp1f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-temp2f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-temp4f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-temp6f
[13/02/2025, 01:25:04] [AmbientWeatherSensors] Restoring existing accessory from cache: E8:DB:84:E7:31:95-temp7f
[13/02/2025, 01:25:05] [UniFi Protect] Launched child bridge with PID 2448007
[13/02/2025, 01:25:05] [Wemo] [Wemo Plug 788] initialising with options {"showAs":"outlet"}.
[13/02/2025, 01:25:05] [Wemo] [Wemo Plug 788] initialised with s/n M15AA033D01788 and ip/port 192.168.1.38:49152
[13/02/2025, 01:25:05] [Wemo] [Wemo Plug 788] http has been established.
[13/02/2025, 01:25:05] [Wemo] [Wemo Plug 788] upnp has been established.
[13/02/2025, 01:25:05] [Wemo] [Wemo Smart 920] initialising with options {"showAs":"outlet"}.
[13/02/2025, 01:25:05] [Wemo] [Wemo Smart 920] initialised with s/n M1BAB133D16920 and ip/port 192.168.1.202:49152
[13/02/2025, 01:25:05] [Wemo] [Wemo Smart 920] http has been established.
[13/02/2025, 01:25:05] [Wemo] [Wemo Smart 920] upnp has been established.
[13/02/2025, 01:25:05] [Wemo] [Wemo Plug 788] current state [off].
[13/02/2025, 01:25:05] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[13/02/2025, 01:25:05] [UniFi Protect] Loaded homebridge-unifi-protect v7.8.2 child bridge successfully
[13/02/2025, 01:25:05] Loaded 9 cached accessories from cachedAccessories.0EDFAE700C96.
[13/02/2025, 01:25:06] [Wemo] [Wemo Smart 920] current state [on].
[13/02/2025, 01:25:06] [UniFi Protect] Using FFmpeg version: 7.0.2-homebridge-alpine-aarch64-static.
[13/02/2025, 01:25:06] Homebridge v1.8.5 (HAP v0.12.3) (UniFi Protect) is running on port 52544.
[13/02/2025, 01:25:06] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

(node:2448007) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Connected to 192.168.1.138 (UniFi Protect 5.0.51 running on UniFi OS 4.0.20).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered nvr: CKey [UCK G2 Plus] (address: 192.168.1.138 mac: 70A741FD2E79).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Driveway [G4 Instant] (address: 192.168.1.117 mac: 70A7415F8817).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered camera: G4 Doorbell Pro [G4 Doorbell Pro] (address: 192.168.1.12 mac: AC8BA90E07EF).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered light: FloodLight Driveway [UP FloodLight] (address: 192.168.1.118 mac: 245A4CD0E001).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garrage Sam [UP Sense] (mac: E438836AB6FE).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Basement 2 [UP Sense] (mac: F4E2C6F60885).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Back [UP Sense] (mac: F4E2C6F60837).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Front Door [UP Sense] (mac: D8B3709AFD44).
[13/02/2025, 01:25:07] [UniFi Protect] CKey [UCK-G2-PLUS]: Discovered sensor: Door Garage Pat [UP Sense] (mac: F4E2C6EABC90).
[13/02/2025, 01:25:08] [UniFi Protect] Door Garrage Sam [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Door Basement 2 [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Door Garage Back [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Front Door [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] Door Garage Pat [UP Sense]: Enabled sensors: contact, motion sensor.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling the use of higher quality snapshots.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Driveway [G4 Instant]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling the use of higher quality snapshots.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Disabling hardware-accelerated decoding. Adjust the GPU memory configuration on your Raspberry Pi to at least 128 MB to enable it.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: LEAVE PACKAGE AT DOOR.
[13/02/2025, 01:25:08] [UniFi Protect] G4 Doorbell Pro [G4 Doorbell Pro]: Enabled doorbell message switch: DO NOT DISTURB.
[13/02/2025, 02:25:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 06:16:54] [Homebridge UI] Running scheduled instance backup...
[13/02/2025, 06:16:54] [Homebridge UI] Creating temporary backup archive at /tmp/homebridge-backup-hVfazO/homebridge-backup-0ED3C42F9EEA.1739445414042.tar.gz
[13/02/2025, 06:45:08] [Wemo] [Wemo Smart 920] current state [off].
[13/02/2025, 06:45:08] [Wemo] [Wemo Smart 920] current state [off].
[13/02/2025, 07:15:03] [Wemo] [Wemo Plug 788] current state [on].
[13/02/2025, 09:26:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 10:27:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Connection refused.
[13/02/2025, 10:29:54] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:29:58] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:29:58] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Unable to retrieve the UniFi Protect controller configuration.
[13/02/2025, 10:30:12] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:12] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:12] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:16] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:16] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Unable to retrieve the UniFi Protect controller configuration.
[13/02/2025, 10:30:30] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:34] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:34] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Unable to retrieve the UniFi Protect controller configuration.
[13/02/2025, 10:30:48] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:30:52] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Protect controller is taking too long to respond to a request. This error can usually be safely ignored.
[13/02/2025, 10:31:02] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Throttling API calls due to errors with the 10 previous attempts. Pausing communication with the Protect controller for 5 minutes.
[13/02/2025, 10:36:02] [UniFi Protect] 192.168.1.138: API error: Resuming connectivity to the UniFi Protect API after pausing for 5 minutes.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: User 'HomeBridge' requires the Super Admin role in order to change certain settings like camera RTSP stream availability.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Driveway [G4 Instant]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Doorbell Pro [G4 Doorbell Pro]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: FloodLight Driveway [UP FloodLight]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Basement 2 [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Back [UP Sense]: Delaying device removal for 180 seconds.
[37m[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garrage Sam [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Front Door [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Pat [UP Sense]: Delaying device removal for 180 seconds.
[13/02/2025, 10:36:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:36:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:37:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:37:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:38:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:38:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:39:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:39:08] [UniFi Protect] CKey [UCK-G2-PLUS]: API error: Insufficient privileges for this user. Please check the roles assigned to this user and ensure it has sufficient privileges.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Driveway [G4 Instant]: Removing camera from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Doorbell Pro [G4 Doorbell Pro]: Removing camera from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: FloodLight Driveway [UP FloodLight]: Removing light from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Basement 2 [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Back [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garrage Sam [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Front Door [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: Door Garage Pat [UP Sense]: Removing sensor from HomeKit.
[13/02/2025, 10:40:02] [UniFi Protect] CKey [UCK-G2-PLUS]: G4 Doorbell Pro Package Camera: Delaying device removal for at least 180 seconds.
```

### Acknowledgment that you are only running UniFi OS and UniFi Protect releases from the Ubiquiti Official release channel

- [x] I acknowledge that I am not running any early access / beta firmwares or operating systems from either Ubiquiti or Apple.