FlightAware Discussions

I think I did it?! Can anyone help me confirm if

I’m actually feeding data into the system?

I think this is the page for my stats?

Thanks!

p.s. How hard is it to also simultaneously feed data to adsbexchange?

yes, your feeder is working.

Feeding a second (or third, fourth, fifth) site is very simple. You can follow their guide using the script method, described on their site:

The ADSBx image is for people who want to start with an alternative image instead of Piaware. But you have it already running, so the script is the one you need.

1 Like

Thx very much! I’ll give this a read. The FA instructions were great.

@speedmaster70

How to Install Feeders of Other Sites on Piaware SD card image

The piaware sd card image already has dump1090-fa and piaware data feeder pre-installed.

If you want, you can add other sites data feeders to feed dump1090-fa’s data to other sites as well. Follow the steps below:

 

(1) Adsbexchange feeder

sudo bash -c "$(wget -nv -O - https://raw.githubusercontent.com/adsbxchange/adsb-exchange/master/install.sh)"  

OPTIONAL: Stats Package – adsbexchange-stats
After installing Adsbexchange feeder, run following commands to install stats package which will allow you to see your feed directly on the site.

cd /home/pi  
git clone https://github.com/adsbxchange/adsbexchange-stats.git  
cd adsbexchange-stats  
chmod +x install.sh  
sudo ./install.sh  

 

(2) FR24 feeder

$ sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"  

## Caution: During configuration of fr24feed, never choose “Receiver DVBT”. 
## Choose Receiver: ModeS Beast(TCP), host/port: 127.0.0.1:30005

 

(3) Planefinder feeder

$ wget http://client.planefinder.net/pfclient_4.1.1_armhf.deb  
$ sudo dpkg -i pfclient_4.1.1_armhf.deb 

## Go to page IP-of-PI:30053 to complete configuration

 

(4) RadarBox24 feeder

$ sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"  

$ sudo rbfeeder --setkey xxxxxxxxxx --no-start   
## Replace xxxxx by your actual key
## Press Ctrl+C to break log output.

$ sudo systemctl restart rbfeeder  

 

(5) System Monitoring Tools

Performance Graphs by @wiedehopf

$ sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"  

 

 

2 Likes

Great thread, thanks!

How about a script for Flight Aware installation?

Flight Aware? Never heard of it… :laughing:

1 Like

It is so simple, it does not need a script, however just to comply to your request, do following:

NOTE:
This script is NOT for Piaware SD card image.
It is for Raspbian Image (Raspbery Pi OS 32-bit).

 

STEP-1
Create installation script file

sudo nano install-piaware.sh  

 

STEP-2
Copy-paste following code in newly created blank file install-piaware.sh
Save (Ctrl+o) and Close (Ctrl+x) he file

#!/bin/bash
wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.1_all.deb   
sudo dpkg -i piaware-repository_3.8.1_all.deb  
sudo apt-get update 
sudo apt-get install piaware  
sudo piaware-config allow-auto-updates yes  
sudo piaware-config allow-manual-updates yes  
sudo apt-get install dump1090-fa  

GET_UUID(){
echo -e "\e[32mCopy-paste your Flightaware feeder-id and press Enter key \e[39m"
echo -e "\e[33mIf you dont have feeder id, press (Ctrl+C)keys to end \e[39m"

read UUID

UUID_CHAR=[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]
UUID_FORMAT=${UUID_CHAR}${UUID_CHAR}-${UUID_CHAR}-${UUID_CHAR}-${UUID_CHAR}-${UUID_CHAR}${UUID_CHAR}${UUID_CHAR}


if [[ ${UUID} =~ ^${UUID_FORMAT} ]]
then
   echo -e "\e[32mfeeder-id accepted \e[39m";
else
   echo -e "\e[31mfeeder-id incorrect format \e[39m";
   GET_UUID
fi
}

GET_UUID
echo "setting feeder-id"
sudo piaware-config feeder-id ${UUID}
echo "restarting piaware"
sudo systemctl restart piaware

echo -e "\e[32m=================================================== \e[39m"
echo -e "\e[32mInstallation of Piaware and dump1090-fa completed \e[39m"
echo -e "\e[32m=================================================== \e[39m"
echo -e "\e[31mRESTART YOUR Pi \e[39m"
echo -e "\e[31mRESTART YOUR Pi \e[39m"
echo -e "\e[31mRESTART YOUR Pi \e[39m"

 

STEP-3:
Make the script file executable and run the script

sudo chmod +x install-piaware.sh 
./install-piaware.sh  
2 Likes