From 5a4072b7c26551d97f0387a89f39a63e5ef3586b Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 7 Apr 2024 20:13:32 +1200 Subject: [PATCH] show altitude --- src/public/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/public/index.html b/src/public/index.html index c1e6ee7..9091b54 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -2874,6 +2874,11 @@ tooltip += `
Air Util: ${Number(node.air_util_tx).toFixed(2)}%`; } + // ignore alt above 42949000 due to https://github.com/meshtastic/firmware/issues/3109 + if(node.altitude && node.altitude < 42949000){ + tooltip += `
Altitude: ${node.altitude}m`; + } + // bottom info tooltip += `

ID: ${node.node_id}`; tooltip += `
Hex ID: ${node.node_id_hex}`;