Fix radiosonde false 'missing' report at end of setup

check_tools() was using cmd_exists on 'auto_rx.py' which fails because
it's never in PATH — installed to /opt/radiosonde_auto_rx/. Now uses
the same file-based check as tool_is_installed(), consistent with
health check and status view.
This commit is contained in:
James Smith
2026-03-20 13:53:50 +00:00
parent 34e1d25069
commit 2d65c4efbf

View File

@@ -438,7 +438,11 @@ check_tools() {
check_optional "dumpvdl2" "VDL2 decoder" dumpvdl2
check_required "AIS-catcher" "AIS vessel decoder" AIS-catcher aiscatcher
check_optional "satdump" "Weather satellite decoder (NOAA/Meteor)" satdump
check_optional "auto_rx.py" "Radiosonde weather balloon decoder" auto_rx.py
if [[ -f /opt/radiosonde_auto_rx/auto_rx/auto_rx.py ]] && [[ -f /opt/radiosonde_auto_rx/auto_rx/dft_detect ]]; then
ok "auto_rx.py - Radiosonde weather balloon decoder"
else
warn "auto_rx.py - Radiosonde weather balloon decoder (missing, optional)"
fi
echo
info "GPS:"
check_required "gpsd" "GPS daemon" gpsd