mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-25 18:55:25 -06:00
add per-camera configuration
This commit is contained in:
parent
f387ab2bf2
commit
851b0ebd6b
@ -24,6 +24,7 @@ from .ffmpeg import CameraFfmpegConfig, CameraInput
|
|||||||
from .genai import GenAICameraConfig
|
from .genai import GenAICameraConfig
|
||||||
from .live import CameraLiveConfig
|
from .live import CameraLiveConfig
|
||||||
from .motion import MotionConfig
|
from .motion import MotionConfig
|
||||||
|
from .motion_path import MotionPathConfig
|
||||||
from .mqtt import CameraMqttConfig
|
from .mqtt import CameraMqttConfig
|
||||||
from .notification import NotificationConfig
|
from .notification import NotificationConfig
|
||||||
from .objects import ObjectConfig
|
from .objects import ObjectConfig
|
||||||
@ -62,6 +63,9 @@ class CameraConfig(FrigateBaseModel):
|
|||||||
motion: Optional[MotionConfig] = Field(
|
motion: Optional[MotionConfig] = Field(
|
||||||
None, title="Motion detection configuration."
|
None, title="Motion detection configuration."
|
||||||
)
|
)
|
||||||
|
motion_paths: Optional[MotionPathConfig] = Field(
|
||||||
|
None, title="Enable motion paths."
|
||||||
|
)
|
||||||
objects: ObjectConfig = Field(
|
objects: ObjectConfig = Field(
|
||||||
default_factory=ObjectConfig, title="Object configuration."
|
default_factory=ObjectConfig, title="Object configuration."
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user