From 4aa65dad6acb798829ee4a40adfc3c62b72be4c7 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 21 Oct 2025 09:03:00 -0700 Subject: [PATCH] Update mesh_bot.py https://github.com/SpudGunMan/meshing-around/issues/220 --- mesh_bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesh_bot.py b/mesh_bot.py index ed20536..989ce82 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -1613,6 +1613,9 @@ def onReceive(packet, interface): if ((hop_start == 0 and hop_limit >= 0) or via_mqtt or ("mqtt" in str(transport_mechanism).lower())): hop = "MQTT" + if hop == "" and hop_count ==0 and (snr != 0 or rssi != 0): + hop = "Direct" + if "unknown" in str(transport_mechanism).lower() and (snr == 0 and rssi == 0): hop = "IP-Network"