Ignore Stationary Object

This commit is contained in:
2026-05-30 20:51:49 +07:00
parent b3d162450d
commit 591e355384
2 changed files with 8 additions and 1 deletions
+8 -1
View File
@@ -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")
Binary file not shown.