From 48963618be675680fef5b6b2ba30ca15f3dbd612 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 23 Jun 2025 15:57:03 -0500 Subject: [PATCH] Additional onvif debug logs in get_camera_status --- frigate/ptz/onvif.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.py index 0277fa083..edba6222f 100644 --- a/frigate/ptz/onvif.py +++ b/frigate/ptz/onvif.py @@ -792,6 +792,10 @@ class OnvifController: ) return + logger.debug( + f"{camera_name}: Pan/tilt status: {pan_tilt_status}, Zoom status: {zoom_status}" + ) + if pan_tilt_status == "IDLE" and (zoom_status is None or zoom_status == "IDLE"): self.cams[camera_name]["active"] = False if not self.ptz_metrics[camera_name].motor_stopped.is_set():