hjdhjd / homebridge-unifi-protect

:video_camera: Complete HomeKit integration for all UniFi Protect device types with full support for most features including HomeKit Secure Video, and more. https://homebridge.io
Other
1.39k stars 83 forks source link

Migrated to new Homebridge Hardware and now seeing a lot of HSV errors in the logs #1038

Closed marvagabi closed 5 months ago

marvagabi commented 5 months ago

Homebridge UniFi Protect Version

v6.16.0

Homebridge Platform and OS

Raspberry Pi 5

Homebridge Version

v1.7.0

Node Version

v20.11.0

UniFi OS Version

v3.2.9

UniFi Protect Controller Version

v2.10.11

Describe the problem

I migrated from running Homebridge in a docker container on my NAS that runs several other dockers to a Raspberry Pi 5 that only runs Homebridge using the official Pi Homebridge image. Since then I've seen a lot of HSV and snapshot errors in the logs.

Otherwise the plugin continues to work fine, I can live stream and I can go back and see motion detections etc within HomeKit. Just not sure what's causing these errors in the logs. I've done a packet capture and see no issues network wise. I've also gone through the troubleshooting steps but none of those match what I'm seeing. So I'm kind of at a loss at this point.

Homebridge HBUP JSON configuration

{
    "controllers": [
        {
            "address": "10.0.0.2",
            "password": "REDACTED",
            "username": "REDACTED"
        }
    ],
    "platform": "UniFi Protect",
    "_bridge": {
        "username": "REDACTED",
        "port": 30045
    }
}

Relevant log output

[HDS ::ffff:10.0.0.199] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 South Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Porch [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Lanai [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:33] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 South Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Porch [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Lanai [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:30:35] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[HDS ::ffff:10.0.0.96] Delegate yielded fragment after stream 1 was already closed!
[HDS ::ffff:10.0.0.96] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[HDS ::ffff:10.0.0.115] Delegate yielded fragment after stream 1 was already closed!
[HDS ::ffff:10.0.0.115] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[24/01/2024, 09:40:52] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to access the Protect livestream API. This is typically due to the Protect controller or camera rebooting. Will retry again on the next detected motion event.
[24/01/2024, 09:40:53] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to access the Protect livestream API. This is typically due to the Protect controller or camera rebooting. Will retry again on the next detected motion event.
[24/01/2024, 09:40:53] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to access the Protect livestream API. This is typically due to the Protect controller or camera rebooting. Will retry again on the next detected motion event.
[24/01/2024, 09:40:53] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: Unable to access the Protect livestream API. This is typically due to the Protect controller or camera rebooting. Will retry again on the next detected motion event.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: HomeKit Secure Video recording event ended early: The request timed out.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: FFmpeg ended unexpectedly due to issues processing the media stream provided by the UniFi Protect livestream API. This error can be safely ignored - they will occur occasionally.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: HomeKit Secure Video recording event ended early: The request timed out.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: FFmpeg ended unexpectedly due to issues processing the media stream provided by the UniFi Protect livestream API. This error can be safely ignored - they will occur occasionally.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: HomeKit Secure Video recording event ended early: The request timed out.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2: Reconnecting to the Protect controller after 3 consecutive HomeKit Secure Video event recording errors. These issues typically occur when the controller is exhibiting unusual behavior and resetting the connection to the controller can address the issue. If these issues persist, you might want to consider restarting the Protect controller.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: HomeKit Secure Video recording event ended early: The request timed out.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: FFmpeg ended unexpectedly due to issues processing the media stream provided by the UniFi Protect livestream API. This error can be safely ignored - they will occur occasionally.
[24/01/2024, 09:41:01] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: FFmpeg ended unexpectedly due to issues processing the media stream provided by the UniFi Protect livestream API. This error can be safely ignored - they will occur occasionally.
[HDS ::ffff:10.0.0.199] Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.
[HDS ::ffff:10.0.0.115] Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.
[HDS ::ffff:10.0.0.115] Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.
[HDS ::ffff:10.0.0.115] Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:42:57] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:10] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:10] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:10] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:10] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:10] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:10] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:20] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:20] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:20] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:20] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:20] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:20] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:40] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:40] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:40] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:40] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:40] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:43:40] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:10] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:10] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:10] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:10] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:10] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:10] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:50] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:50] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:50] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:50] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:50] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:44:50] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:45:44] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:45:44] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:45:44] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:45:44] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:45:44] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:45:44] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:46:44] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:46:44] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:46:44] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:46:44] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:46:44] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:46:44] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:47:54] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:47:54] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:47:54] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:47:54] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:47:54] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:47:54] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:49:14] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:49:14] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:49:14] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:49:14] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:49:14] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:49:14] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:50:29] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Streaming request from 10.0.0.5: 1280x720@30fps, 299 kbps. Using 1280x720@24fps (Medium), 2,000 kbps.
[24/01/2024, 09:50:39] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:50:40] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:50:40] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:50:40] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:50:40] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:50:40] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Stopped video streaming session.
[24/01/2024, 09:50:40] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:41] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Streaming request from 10.0.0.5: 1280x720@30fps, 299 kbps. Using 1280x720@15fps (Medium), 1,200 kbps.
[24/01/2024, 09:50:43] [homebridge-unifi-protect] Batcave UNVR Pro [UNVR-PRO] Front Yard North [G4 Pro]: The FFmpeg process ended unexpectedly due to issues with the media stream provided by the UniFi Protect livestream API. Adjusting the settings we use for FFmpeg temporarily to use safer values at the expense of some additional streaming startup latency.
[24/01/2024, 09:50:43] [homebridge-unifi-protect] Batcave UNVR Pro [UNVR-PRO] Front Yard North [G4 Pro]: Stopped video streaming session.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 South Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Porch [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Lanai [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:50:47] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[HDS ::ffff:10.0.0.115] Delegate yielded fragment after stream 1 was already closed!
[HDS ::ffff:10.0.0.115] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[24/01/2024, 09:51:11] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:11] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:11] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:11] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:11] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:12] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:22] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:22] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:22] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:22] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:22] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:22] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:42] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:42] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:42] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:51:42] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:12] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:12] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:12] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:12] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:12] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:12] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:52] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:52] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:52] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:52] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:52] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:52:52] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:53:42] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:53:42] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:53:42] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:53:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:53:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:53:42] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:54:42] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:54:42] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:54:42] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:54:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:54:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:54:42] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:55:52] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:55:52] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:55:52] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:55:52] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:55:52] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:55:52] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:21] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Streaming request from 10.0.0.5: 1280x720@30fps, 299 kbps. Using 1280x720@15fps (Medium), 1,200 kbps.
[24/01/2024, 09:56:30] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:30] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:31] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:31] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:31] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:31] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Stopped video streaming session.
[24/01/2024, 09:56:31] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:56:34] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Streaming request from 10.0.0.5: 1280x720@30fps, 299 kbps. Using 1280x720@15fps (Medium), 1,200 kbps.
[24/01/2024, 09:56:38] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:38] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:38] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:38] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:39] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Stopped video streaming session.
[24/01/2024, 09:56:39] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 09:56:42] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:48] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:48] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:48] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:48] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:49] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:52] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:56:59] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:57:08] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:57:08] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:57:08] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to retrieve a snapshot.
[24/01/2024, 09:57:08] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to retrieve a snapshot.
[24/01/2024, 09:57:12] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 09:57:19] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to retrieve a snapshot.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 North Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Back Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Front Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 South Side [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Front Yard South [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Back Yard North [G4 Pro]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Porch [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Garage [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Lanai [G4 Bullet]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[24/01/2024, 10:00:53] [homebridge-unifi-protect] 10.0.0.2 Doorbell [G4 Doorbell]: Unable to configure HomeKit Secure Video event recording support: unable to connect to the livestream API on the Protect controller.
[HDS ::ffff:10.0.0.199] Delegate yielded fragment after stream 1 was already closed!
[HDS ::ffff:10.0.0.199] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.

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

hjdhjd commented 5 months ago

Hi there - I suspect you might have two problems here…the first…if you’ve got any sort of firewalling / VLANs / etc…might want to check your setup, because those issues connecting to the livestream API all relate to network connectivity.

The second: Pi 5…you will need to roll your own version of FFmpeg to make things work. The current ffmpeg-for-homebridge seems to have issues with Pi 5 hardware, given its newness and I need to spend some time to address Pi 5 specifically.

marvagabi commented 5 months ago

Hi there - I suspect you might have two problems here…the first…if you’ve got any sort of firewalling / VLANs / etc…might want to check your setup, because those issues connecting to the livestream API all relate to network connectivity.

The second: Pi 5…you will need to roll your own version of FFmpeg to make things work. The current ffmpeg-for-homebridge seems to have issues with Pi 5 hardware, given its newness and I need to spend some time to address Pi 5 specifically.

Thanks for getting back to me so quickly.

In terms of networking my camara's are on a separate subnet and vlan, however that configuration existed before I migrated. The Pi 5 is on the same subnet and vlan as my NAS was and all the same rules are still in place. From my packet captures I'm not seeing any issues with them talking to each other, but I will triple check just in case.

I was unaware that the Pi 5 had any issues with FFmpeg so this might be where I need to start looking. Do you have any recommendations or links for me to start digging into?

Again, thank you for an awesome plugin and for responding so quickly it is truly appreciated!

ryndshn commented 5 months ago

@hjdhjd u rock, thanks for your quick support on these threads

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 5 months ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.