Raspberry Pi

How to Install and Set Up FlightAware on a Raspberry Pi

Introduction

FlightAware is a popular flight tracking service that allows users to track aircraft in real-time. By setting up a Raspberry Pi with an ADS-B receiver, you can contribute flight data to FlightAware while also accessing local tracking information. This guide will walk you through installing and setting up FlightAware’s PiAware software on a Raspberry Pi.

Prerequisites

Before starting, you’ll need the following:

  • Raspberry Pi (any model with internet connectivity, preferably Raspberry Pi 3 or later)
  • MicroSD Card (at least 8GB, Class 10 recommended)
  • ADS-B USB Receiver (RTL-SDR dongle)
  • Antenna (ideally an external ADS-B antenna for better reception)
  • Power Supply (5V, 2.5A minimum for Raspberry Pi 3 and later)
  • Internet Connection (Wi-Fi or Ethernet)
  • Computer with SD card reader (for writing the image)

Step 1: Download and Flash the PiAware Image

FlightAware provides a pre-built image called PiAware, which simplifies installation.

  1. Download PiAware Image
  2. Flash the Image to the MicroSD Card
    • Use a tool like Raspberry Pi Imager or balenaEtcher to write the image to the SD card.
    • Insert the microSD card into the computer and select the PiAware image.
    • Click “Flash” and wait for the process to complete.

Step 2: Configure Wi-Fi and SSH (Optional)

If you plan to connect via Wi-Fi, follow these steps:

  1. Open the boot partition of the SD card on your computer.
  2. Create a file named piaware-config.txt
  3. add the following lines:
  1. To enable SSH access, create an empty file named ssh in the boot partition.

Step 3: Boot the Raspberry Pi

  1. Insert the microSD card into the Raspberry Pi.
  2. Connect the ADS-B USB receiver.
  3. Power on the Raspberry Pi.
  4. Allow a few minutes for the system to boot.

Step 4: Claim Your PiAware Receiver

  1. Connect to the Raspberry Pi via SSH (if needed):ssh [email protected]Default username: pi, password: flightaware
  2. Find the IP address of your Pi (if piaware.local doesn’t work):
  1. Visit https://flightaware.com/adsb/piaware/claim in your web browser.
  2. Log in and enter your Raspberry Pi’s unique identifier.
  3. Your receiver should now be linked to your FlightAware account.

Step 5: Check Status and Update Software

To check that PiAware is running, use:

To update the software:

Step 6: Configure PiAware for Optimal Performance

  1. Open the configuration file:
  1. Modify settings as needed. For example, to enable MLAT (Multilateration), ensure this line is present: allow-mlat yes
  2. Save and exit (CTRL + X, then Y to confirm changes).
  3. Restart PiAware:

Step 7: Accessing Your Local Flight Data

Once PiAware is running, you can view real-time aircraft data locally:

  1. Open a web browser and go to:http://piaware.local:8080
  2. This displays SkyAware, an interactive map showing live aircraft in range of your receiver.

Conclusion

You have successfully installed and configured FlightAware on your Raspberry Pi! Your receiver is now contributing to the global flight tracking network while allowing you to monitor air traffic in your area. For further customization and troubleshooting, refer to the official FlightAware documentation.

Happy tracking!

FlightAware
Lost Malaysia Flight Found on Rooftop Antennas”. Bloomberg. “Collins Aerospace advances connected aviation with FlightAware“. flightaware.com. Retrieved

raspberry pi ads-b aircraft tracking
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x