mirror of
https://github.com/meshtastic/python.git
synced 2026-09-15 23:13:06 -04:00
use new lastHeard field
This commit is contained in:
1 parent
99dc436b49
commit
d80c61c8bd
1 file changed
+1
-1
@@ -151,7 +151,7 @@ def printNodes(nodes, myId):
|
||||
alt = formatFloat(node['position'].get("altitude"), "{:.0f}", " m")
|
||||
batt = formatFloat(node['position'].get("batteryLevel"), "{:.2f}", "%")
|
||||
snr = formatFloat(node.get("snr"), "{:.2f}", " dB")
|
||||
LH = getLH(node['position'].get("time"))
|
||||
LH = getLH(node.get("lastHeard"))
|
||||
timeAgo = getTimeAgo(node['position'].get("time"))
|
||||
tableData.append({"N": 0, "User": node['user']['longName'],
|
||||
"AKA": node['user']['shortName'], "ID": node['user']['id'],
|
||||
|
||||
Reference in new issue
Block a user