From 851b0ebd6b47486cdacc79ffcf3e98a375cbe9c2 Mon Sep 17 00:00:00 2001 From: Gabriel Grant Date: Sat, 15 Feb 2025 16:08:23 -0500 Subject: [PATCH] add per-camera configuration --- frigate/config/camera/camera.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/config/camera/camera.py b/frigate/config/camera/camera.py index 50f61f33c..be794ce0c 100644 --- a/frigate/config/camera/camera.py +++ b/frigate/config/camera/camera.py @@ -24,6 +24,7 @@ from .ffmpeg import CameraFfmpegConfig, CameraInput from .genai import GenAICameraConfig from .live import CameraLiveConfig from .motion import MotionConfig +from .motion_path import MotionPathConfig from .mqtt import CameraMqttConfig from .notification import NotificationConfig from .objects import ObjectConfig @@ -62,6 +63,9 @@ class CameraConfig(FrigateBaseModel): motion: Optional[MotionConfig] = Field( None, title="Motion detection configuration." ) + motion_paths: Optional[MotionPathConfig] = Field( + None, title="Enable motion paths." + ) objects: ObjectConfig = Field( default_factory=ObjectConfig, title="Object configuration." )