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

"STREAMING DISABLED ACTIVE" message in logs #804

Closed x-magic closed 2 years ago

x-magic commented 2 years ago

Describe The Problem:

When cameras are set to "Detect Activity" (assume the same in "Off" mode), STREAMING DISABLED ACTIVE message will be generated constantly and polluting the Homebridge logs.

To Reproduce:

  1. Confirm Unifi Protect camera is active and streaming in Home app
  2. Go to one of the camera's settings in Home app, change the recording options (either) to "Detect Activity"
  3. Monitor the Homebridge log, and "STREAMING DISABLED ACTIVE" message should show up and repeat (too) many times

Logs:

See screenshot below

Homebridge Configuration:

{
    "controllers": [
        {
            "address": "[REDACTED]",
            "mqttTopic": "unifi/protect",
            "mqttUrl": "mqtt://[REDACTED]@[REDACTED]:1883",
            "password": "[REDACTED]",
            "username": "[REDACTED]"
        }
    ],
    "options": [
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.Stream.High.[REDACTED]",
        "Disable.Video.HKSV.[REDACTED]",
        "Disable.Video.HKSV.[REDACTED]",
        "Disable.Video.HKSV.[REDACTED]",
        "Disable.Video.HKSV.[REDACTED]",
        "Disable.Doorbell.Messages"
    ],
    "platform": "UniFi Protect",
    "_bridge": {
        "username": "[REDACTED]",
        "port": 41565
    }
}

Screenshots:

image

Environment:

x-magic commented 2 years ago

Only a cosmetic issue, won't affect the functionality of the plugin. However this message consumes the majority of the logs, which can be a problem in the long term (logs analytical or such).

hjdhjd commented 2 years ago

I appreciate the report but I don't believe that's a message generated by the plugin actually.

x-magic commented 2 years ago

That's my guess, too. Surprisingly the only valid Google search is on the Blink plugin for Homebridge, but that issue is not really about the message. Where do you think the message is actually generated? Unlike other logs in Homebridge that are always marked with timestamp and source, this one doesn't.

hjdhjd commented 2 years ago

Sorry can't help there. If I come across something I will provide an update here and would appreciate the same if you track it down. I take pride in my logging. 😀

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.