From 2845979497d66769b340413668b78785b968bf5f Mon Sep 17 00:00:00 2001 From: Ashish D'Souza Date: Sun, 13 Aug 2023 19:06:35 -0400 Subject: [PATCH] Increased quiet period for notifications to 3 minutes --- notify/src/frigate_event_notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify/src/frigate_event_notifier.py b/notify/src/frigate_event_notifier.py index 865e72b..1640ec2 100644 --- a/notify/src/frigate_event_notifier.py +++ b/notify/src/frigate_event_notifier.py @@ -8,7 +8,7 @@ import paho.mqtt.client as mqtt class FrigateEventNotifier: - def __init__(self, mqtt_username, mqtt_password, quiet_period=60): + def __init__(self, mqtt_username, mqtt_password, quiet_period=3 * 60): self.mqtt_client = mqtt.Client() self.mqtt_client.username_pw_set(mqtt_username, password=mqtt_password) self.mqtt_client.on_connect = self._on_connect