mirror of
https://github.com/meshtastic/python.git
synced 2026-01-18 04:37:59 -05:00
use new lastHeard field
This commit is contained in:
@@ -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