From 8c31e7f9d0eb9c9d79d731e76c34dff336d01445 Mon Sep 17 00:00:00 2001 From: James Smith Date: Tue, 23 Dec 2025 22:35:18 +0000 Subject: [PATCH] Add support for FlightAware dump1090-fa binary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Users building dump1090-fa from source (e.g., on Debian Trixie where dump1090-mutability is unavailable) can now use it with ADS-B tracking. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- routes/adsb.py | 4 ++-- utils/dependencies.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/adsb.py b/routes/adsb.py index f80b4e4..cbde819 100644 --- a/routes/adsb.py +++ b/routes/adsb.py @@ -154,7 +154,7 @@ def parse_sbs_stream(service_addr): def check_adsb_tools(): """Check for ADS-B decoding tools.""" return jsonify({ - 'dump1090': shutil.which('dump1090') is not None or shutil.which('dump1090-mutability') is not None, + 'dump1090': shutil.which('dump1090') is not None or shutil.which('dump1090-mutability') is not None or shutil.which('dump1090-fa') is not None, 'rtl_adsb': shutil.which('rtl_adsb') is not None }) @@ -174,7 +174,7 @@ def start_adsb(): gain = data.get('gain', '40') device = data.get('device', '0') - dump1090_path = shutil.which('dump1090') or shutil.which('dump1090-mutability') + dump1090_path = shutil.which('dump1090') or shutil.which('dump1090-mutability') or shutil.which('dump1090-fa') if not dump1090_path: return jsonify({'status': 'error', 'message': 'dump1090 not found.'}) diff --git a/utils/dependencies.py b/utils/dependencies.py index 8ddea96..456e060 100644 --- a/utils/dependencies.py +++ b/utils/dependencies.py @@ -158,7 +158,7 @@ TOOL_DEPENDENCIES = { 'required': False, 'description': 'Mode S / ADS-B decoder (preferred)', 'install': { - 'apt': 'sudo apt install dump1090-mutability', + 'apt': 'sudo apt install dump1090-mutability (or build dump1090-fa from source)', 'brew': 'brew install dump1090-mutability', 'manual': 'https://github.com/flightaware/dump1090' },