mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-18 06:55:38 +02:00
Update system.py
reset alerts
This commit is contained in:
@@ -1057,6 +1057,8 @@ def noisyTelemetryCheck():
|
||||
for nodeID, data in top_three:
|
||||
if data.get('packetCount', 0) > noisyTelemetryLimit:
|
||||
logger.warning(f"System: Noisy Telemetry Detected from NodeID:{nodeID} ShortName:{get_name_from_number(nodeID, 'short', 1)} Packets:{data.get('packetCount', 0)}")
|
||||
# reset the packet count for the node
|
||||
positionMetadata[nodeID]['packetCount'] = 0
|
||||
|
||||
def get_sysinfo(nodeID=0, deviceID=1):
|
||||
# Get the system telemetry data for return on the sysinfo command
|
||||
|
||||
Reference in New Issue
Block a user