-
Plug in SDR into the Pi, and connect it to your 1090MHz antenna.
-
Update and Upgrade Pi. This may take some time.
sudo apt update && sudo apt upgrade
- Add piaware repository
Credit to Wiedehopf for this script
wget -O piaware.deb http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.0_all.deb
- DPKG piaware repo
sudo dpkg -i piaware.deb
-
add Buster to your repo sources list
sudo nano /etc/apt/sources.list- paste this on a new line in the sources.list file
deb http://deb.debian.org/debian buster main contrib non-free -
update your repos
sudo apt update
-
Install dump1090-fa
sudo apt install dump1090-fa -
IMPORTANT: REBOOT THE PI
sudo reboot
- After reboot, install tar1090
sudo bash -c "$(wget -nv -O - https://github.com/wiedehopf/tar1090/raw/master/install.sh)"
- it should now be installed. Test by going to http://YOUR_PI's_LOCAL_IP_ADDR/tar1090. You should see the aircraft map.
-
ensure that dependencies are installed on your raspberry pi:
- This may appear to freeze or stop at times. More than likely it is working, it just takes a while to install.
sudo apt install git python3-pip python3-full python-is-python3 && pip install meshtastic --break-system-packages -
install the base repository that includes the program, the aircraft database, and configuration.
cd ~ git clone https://github.com/usefulcoder/adsbMilTracker.git -
setup the configuration file:
- navigate to the new adsbMilTracker directory
cd adsbMilTracker - Edit the configuration.py
sudo nano configuration.py
-
IF you are planning on using discord webhooks and your pi will remain connected to the internet, follow the below:
- Set the Discord Variables
discord_webhook = "ENTER_YOUR_FULL_WEBHOOK_URL_HERE" discord_error_webhook = "ENTER_YOUR_FULL_ERROR_WEBHOOK_HERE"
- Set the Discord Variables
-
Set meshtastic channel
meshtastic_channel_index = ENTER_CHANNEL_INDEX_NUMBER_HERE #ex -> meshastic_channel_index = 2
- navigate to the new adsbMilTracker directory
-
navigate to install base directory
cd ~/adsbMilTracker -
Give folder edit permissions and Create service file
sudo chmod -R 777 ../adsbMilTracker && python createServiceFile.py -
Move service file into systemd
sudo mv ./adsbMilTracker.service /etc/systemd/system/adsbMilTracker.service -
Reload the service daemon
sudo systemctl daemon-reload -
Enable the service
sudo systemctl enable adsbMilTracker.service && sudo systemctl start adsbMilTracker && sudo systemctl status adsbMilTracker -
The output of the above command should show the status of the service and it should say active(running)
ALL SET! If you followed the above, you should be good to go and should be actively listening for mil aircraft. The below is only for convenience on any future installs.
sudo apt update && sudo apt upgrade && wget -O piaware.deb http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.0_all.deb && sudo dpkg -i piaware.deb && sudo nano /etc/apt/sources.list
- Paste this into the file that pulls up on a new line:
deb http://deb.debian.org/debian buster main contrib non-free
sudo apt update && sudo apt install dump1090-fa && sudo reboot
sudo bash -c "$(wget -nv -O - https://github.com/wiedehopf/tar1090/raw/master/install.sh)" && sudo apt install git python3-pip python3-full python-is-python3 && pip install meshtastic --break-system-packages && cd ~ && git clone https://github.com/usefulcoder/adsbMilTracker.git && cd adsbMilTracker
- Add your configs as stated inthe format in the explanations above
sudo nano configuration.py
cd ~/adsbMilTracker && sudo chmod -R 777 ../adsbMilTracker && python createServiceFile.py && sudo mv ./adsbMilTracker.service /etc/systemd/system/adsbMilTracker.service && sudo systemctl daemon-reload && sudo systemctl enable adsbMilTracker.service && sudo systemctl start adsbMilTracker && sudo systemctl status adsbMilTracker