From c76379230b6c1c89f1e28f3ec2ba7003b608ae2e Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Sun, 23 Aug 2026 09:27:44 +0200 Subject: [PATCH] Remove false positives --- orchestrateur/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestrateur/main.py b/orchestrateur/main.py index eda3dbb..6cfaf8b 100644 --- a/orchestrateur/main.py +++ b/orchestrateur/main.py @@ -250,7 +250,7 @@ async def rfid_listener_task(): tag_id = await asyncio.to_thread(rfid.read_tag) current_time = time.time() - if tag_id: + if tag_id and tag_id != "0000000000": # Debounce same tag within 3 seconds to avoid spamming the API if tag_id == last_scanned_tag and (current_time - last_scan_time) < 3.0: await asyncio.sleep(0.1)