diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.py index bd3ba674f1..7036d38835 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -298,6 +298,8 @@ def _autotracker_setup(self, camera_config, camera): if camera_config.onvif.autotracking.calibrate_on_startup: self._calibrate_camera(camera) + self.ptz_metrics[camera]["ptz_tracking_active"].clear() + self.dispatcher.publish(f"{camera}/ptz_autotracker/active", "OFF", retain=False) self.autotracker_init[camera] = True def _write_config(self, camera):