From d9ab1b88c13bfa4e04e0423d0f1be8007037d097 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 24 Sep 2025 15:10:26 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/system.py b/modules/system.py index bf83336..42ca569 100644 --- a/modules/system.py +++ b/modules/system.py @@ -1056,6 +1056,11 @@ def consumeMetadata(packet, rxNode=0): if debugMetadata: print(f"DEBUG DETECTION_SENSOR_APP: {packet}\n\n") # get the detection sensor data detection_data = packet['decoded'] + detction_text = detection_data.get('text', '') + if detction_text != '': + logger.info(f"System: Detection Sensor Data from NodeID:{nodeID} Text:{detction_text}") + #send_message(f"📡Detection Sensor Data from NodeID:{nodeID} Text:{detction_text}", detection_sensor_channel, 0, detection_sensor_interface) + #time.sleep(responseDelay) # PAXCOUNTER_APP if packet_type == 'PAXCOUNTER_APP':