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' },