From 278ca74a70543fd9e02b76d5a5d9f4199d2845ab Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Mon, 8 Apr 2024 11:24:21 -0700 Subject: [PATCH] Show hops away when present in nodeDB (fixes #539) --- meshtastic/mesh_interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meshtastic/mesh_interface.py b/meshtastic/mesh_interface.py index e7533cc7..f476af32 100644 --- a/meshtastic/mesh_interface.py +++ b/meshtastic/mesh_interface.py @@ -208,6 +208,7 @@ def getTimeAgo(ts): row.update( { "SNR": formatFloat(node.get("snr"), 2, " dB"), + "Hops Away": node.get("hopsAway", "unknown"), "Channel": node.get("channel"), "LastHeard": getLH(node.get("lastHeard")), "Since": getTimeAgo(node.get("lastHeard")),