I’m relatively new to Raspberry Pi and Linux, but not afraid to tinker and look things up on the internet. I’ve installed:
- PiAware
- dump1090-fa
- graphs1090
- adsbcompare polar heatmap
- [frequency] heatmap (from “Do I Need a Filter” thread)
- timelapse1090
- dump978-fa
As I continue to tinker with my setup, I find myself needing to pull up the same threads over and over again just to remember the correct command line for what I want to do. Has anyone created a basic menu in a single script that can automate some of the common processes, especially some of the multistep processes? Something like:
- Dump1090-fa Change Config (ie, gain, device)
sudo nano /etc/default/dump1090-fa
sudo systemctl restart dump1090-fa- Dump978-fa Change Config (ie, gain, device)
sudo nano /etc/default/dump978-fa
sudo systemctl restart dump978-fa- ADSBCompare Compile Heatmap From Timelapse1090 data
bash /home/pi/Desktop/PiAware/adsbcompare/polar.sh -1- Do I Need A Filter Frequency Scan (1090)
sudo systemctl stop dump1090-fa
sudo /home/pi/Desktop/PiAware/frequencies/rtl_power -d 00001090 -f 800M:1200M:100k -i 30 -c 50% -e 30m -g 30 -F 9 >scan.csv
sudo systemctl start dump1090-fa
sudo /home/pi/Desktop/PiAware/frequencies/heatmap.py scan.csv $date+$time.png- Do I Need A Filter Frequency Scan (978)
sudo systemctl stop dump978-fa
sudo /home/pi/Desktop/PiAware/frequencies/rtl_power -d 00000978 -f 800M:1200M:100k -i 30 -c 50% -e 30m -g 30 -F 9 >scan.csv
sudo systemctl start dump978-fa
sudo /home/pi/Desktop/PiAware/frequencies/heatmap.py scan.csv $date+$time.png- TimeLapse1090 Change Config (ie, interval, total duration of history)
sudo nano /etc/default/timelapse1090
sudo systemctl restart timelapse1090- Enable Bias-T
sudo service dump1090-fa stop && /home/pi/rtl_biast/build/src/rtl_biast -b 1 -d 00001090 && sudo service dump1090-fa start- Disable Bias-T
sudo service dump1090-fa stop && /home/pi/rtl_biast/build/src/rtl_biast -b 1 -d 00001090 && sudo service dump1090-fa start
Though in compiling this list, I suppose I could just save this as a text file to copy and paste when needed…