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.46k stars 93 forks source link

Cameras showing up as Off/Cannot Stream in Home.app #888

Closed mattcostell closed 1 year ago

mattcostell commented 1 year ago

Describe The Problem: Setup the unifi-protect plugin on a Synology NAS. Running a UDM-SE with 2 cameras. Log shows it connecting, both cameras are detected, and that HomeKit secure video is available. However in the home app both cameras show up as "This camera is in "Off" mode and cannot stream or record."

Thanks!!!

To Reproduce: Happens every time.

Logs: [3/7/2023, 2:16:20 PM] [HB Supervisor] Starting Homebridge with extra flags: -P /volume1/homebridge/node_modules --strict-plugin-resolution [3/7/2023, 2:16:20 PM] [HB Supervisor] Started Homebridge v1.6.0 with PID: 30401 [3/7/2023, 2:16:21 PM] Loaded config.json with 0 accessories and 8 platforms. [3/7/2023, 2:16:21 PM] Loaded 14 cached accessories from cachedAccessories.

[...]

[3/7/2023, 2:16:24 PM] --- [3/7/2023, 2:16:25 PM] Loaded plugin: homebridge-unifi-protect@5.5.4 [3/7/2023, 2:16:25 PM] Registering platform 'homebridge-unifi-protect.UniFi Protect' [3/7/2023, 2:16:25 PM] --- [3/7/2023, 2:16:25 PM] Loading 8 platforms...

[...]

[3/7/2023, 2:16:25 PM] [UniFi Protect] Initializing UniFi Protect platform... [3/7/2023, 2:16:25 PM] [UniFi Protect] Verbose logging of video streaming sessions enabled. Expect a lot of data.

[...]

[3/7/2023, 2:16:25 PM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge 97B3) is running on port 51845. [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Connected to the UniFi Protect controller API (address: 192.168.1.1 mac: xxxxxx). [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Connected to the UniFi Protect realtime update events API. [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Discovered camera: Side Yard [UVC G5 Pro] (address: 192.168.1.117 mac: xxxxx). [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Discovered camera: Front Yard [UVC G5 Pro] (address: 192.168.1.188 mac: xxxxxx). [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Controller refresh interval set to 10 seconds. [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE] Side Yard [UVC G5 Pro]: HomeKit Secure Video support enabled. [3/7/2023, 2:16:26 PM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE] Front Yard [UVC G5 Pro]: HomeKit Secure Video support enabled.

Homebridge Configuration:

        "controllers": [
            {
                "address": "192.168.1.1",
                "password": "ppppppppp",
                "username": "uuuuuuuuu"
            }
        ],
        "verboseFfmpeg": true,
        "videoProcessor": "/volume1/@appstore/ffmpeg/bin/ffmpeg",
        "platform": "UniFi Protect"

Other Config Notes Running Homebridge as a package on the Synology (i.e. not in a container). Installed Homebridge and the additional modules as discussed in the documentation ([Enable compiling native modules][Install ffmpeg with libfdk_aac][Install git])

Screenshots: image

Environment:

github-actions[bot] commented 1 year 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 1 year 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.