Dump1090-fa stops sending messages after some time

If you want a bandaid that will automatically restart dump1090-fa you can try the following script:

#!/bin/bash
exec &>>/tmp/wedge                                                                                                                     
sleep 20

journalctl -b -0 -f -n0 | grep 'No data received from the SDR for a long time' --line-buffered | { 
        while read line
        do
                date
                systemctl kill -s 9 dump1090-fa
                sleep .3
                systemctl restart dump1090-fa
        done
}

First you open a new textfile with an editor, paste the above script, save and exit

nano /home/pi/wedge.sh
COPY/PASTE
CTRL-O
CTRL-X
sudo crontab -e

Add the following line

@reboot              /bin/bash /home/pi/wedge.sh

save and exit.

After the next reboot dump1090-fa will be automatically killed and restarted after wedging.

1 Like