diff --git a/counter_service.py b/counter_service.py index 6ea13ab..4494a8e 100644 --- a/counter_service.py +++ b/counter_service.py @@ -33,7 +33,7 @@ class FrigateCounterService: # Telenan Batch Label self.ignore_batch_label = False self.ignore_batch_label_timer = None - self.sleep_after_batch_label_detected = 10 + self.sleep_after_batch_label_detected = 15 # 20260525 21:33 # ------------------------------------------------------------------ # # Setup & Config # ------------------------------------------------------------------ # @@ -442,6 +442,13 @@ class FrigateCounterService: payload = json.loads(msg.payload.decode("utf-8")) after = payload.get("after", {}) + + """ Start - 20260530 for ignore stationary object """ + stationary = after.get("stationary") + if stationary: + return + """ End - 20260530 for ignore stationary object """ + """ 20260514 For Telenan """ label = after.get("label") camera = after.get("camera") diff --git a/frigate_counter.db b/frigate_counter.db index c113801..0b7a31b 100644 Binary files a/frigate_counter.db and b/frigate_counter.db differ