From 2a9ae8278881ceb8a06fcbefd18dc95a34d47228 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Wed, 27 Apr 2022 06:22:06 -0600 Subject: [PATCH] Make off delay configurable. --- frigate/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/config.py b/frigate/config.py index 58b064214..863538504 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -134,6 +134,10 @@ class MotionConfig(FrigateBaseModel): mask: Union[str, List[str]] = Field( default="", title="Coordinates polygon for the motion mask." ) + mqtt_off_delay: int = Field( + default=30, + title="Delay for updating MQTT with no motion detected.", + ) class RuntimeMotionConfig(MotionConfig):