diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.py index 079560fbb..3895689b4 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -234,7 +234,10 @@ class PtzAutoTracker: def autotrack_object(self, camera, obj): camera_config = self.config.cameras[camera] - if camera_config.onvif.autotracking.enabled: + if ( + camera_config.onvif.autotracking.enabled + and self.camera_metrics[camera]["ptz_stopped"].is_set() + ): # either this is a brand new object that's on our camera, has our label, entered the zone, is not a false positive, # and is not initially motionless - or one we're already tracking, which assumes all those things are already true if (