From 1d699bf3c8d7a7ae4f4ce5a8f4dd30d571e1a42b Mon Sep 17 00:00:00 2001 From: James Smith Date: Mon, 22 Dec 2025 17:13:06 +0000 Subject: [PATCH] Fix ADS-B field name: use 'alt' instead of 'altitude' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dashboard expects 'alt' but backend was sending 'altitude'. Fixed in MSG,3 and MSG,5 parsing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- intercept.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intercept.py b/intercept.py index 7fdff31..a0a4b32 100755 --- a/intercept.py +++ b/intercept.py @@ -12119,7 +12119,7 @@ def parse_sbs_stream(service_addr): if len(parts) > 15: if parts[11]: try: - aircraft['altitude'] = int(float(parts[11])) + aircraft['alt'] = int(float(parts[11])) except: pass if parts[14] and parts[15]: @@ -12153,7 +12153,7 @@ def parse_sbs_stream(service_addr): aircraft['callsign'] = callsign if parts[11]: try: - aircraft['altitude'] = int(float(parts[11])) + aircraft['alt'] = int(float(parts[11])) except: pass