Last active
November 5, 2023 03:05
-
-
Save FabienLavocat/c6f4b2572aa2da0ba6cda7332e728f71 to your computer and use it in GitHub Desktop.
Install FlightAware and FlightRadar24 on a Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
sudo apt-get update | |
sudo apt-get -y install dirmngr | |
# Add the package for FlightAware | |
wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_5.0_all.deb | |
sudo dpkg -i piaware-repository_5.0_all.deb | |
# Add the server for FlightRadar24 | |
gpg --keyserver keyserver.ubuntu.com --recv-keys 40C430F5 | |
gpg --armor --export 40C430F5 | sudo apt-key add - | |
sudo sh -c 'echo "deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable" >> /etc/apt/sources.list' | |
# Install Required Packages | |
sudo apt-get update | |
sudo apt-get -y install piaware dump1090-fa fr24feed | |
# Upgrade the system | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y autoremove | |
# FlightAware | |
# This will enable automatic and manual (web-based, via your request) PiAware software updates. | |
sudo piaware-config allow-auto-updates yes | |
sudo piaware-config allow-manual-updates yes | |
### Flight Radar 24 | |
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" | |
fr24feed --signup |
Thanks for this script, both FA and FR24 are working within less then 15 minutes :-).
It is necessary to finish the configuration of PiAware by entering the feeder ID by typing the following in the console
sudo piaware-config feeder-id your-feeder-id-here
I noticed that MLAT is not active on the FL24 installation. Is there a way to activate it ?
@spinko101 for MLAT you will need to provide your coordinates when setting up your account with the command sudo fr24feed --signup
thanks !
…Sent from my Phone
On 20 Jul 2021, at 01:37, Fabien Lavocat ***@***.***> wrote:
***@***.*** commented on this gist.
@spinko101 for MLAT you will need to provide your coordinates when setting up your account with the command sudo fr24feed --signup
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
I am getting trouble when installing both, due to fighting about the dump-connection. I use a fr24-raspberry-image, maybe I should use clean raspberry?
@Flums I haven't touched that script in ages, maybe the installation bits have changed. Try to go over the steps one by one.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dome2048 I updated to the latest piaware version 5.0
@ggeorgiev2001 Thanks, I updated the URL