I am a long time user of FlightAware and a regular ADS-B Feeder via piaware.
I am in the process of increasing my number of Raspberry Pi’s and sites and have been keen to have an easy way to get from a blank SD card to a running Pi quickly.
Currently running through this process, the amount of work required to set up dump1090, Flightaware piaware, planefinder and flightradar24 on a Raspberry Pi is around 15 minutes. When setting up a new site, there is a little bit of prep work, but I have managed to set up a new site in about 25 minutes.
I have managed to come up with a rapid workflow that allows me to go from blank Pi to full configured extremely quickly.
And because I’ve done most of the leg work, with a single configuration file, you too could have your Pi running in as long as it takes to type a couple of lines and download the images required.
- Raspberry Pi 2
- RTL-SDR Dongle
- A blank micro SD card (16GB preferred, class 10)
- A small amount of time
To quickly install dump1090, planefinder client, flightradar 24 client and flightaware client and be feeding to them in under an hour (thankfully it’s much less).
Firstly a quick thank you
Firstly to Frederik Granna whose blog post sysrun.io/2015/11/12/raspber … r-rtl-sdr/ got me playing
Secondly to the folks at Flightaware who have made their client so easy to install, it almost doesn’t require this guide.
What is Docker and why use it?
Docker is a software that allows me in this particular case, to wrap all the nasty configuration for multiple feed clients and programs into a single file, a few containers and at the end of the day - a single command to get it all going.
It makes the process simple… because I’ve done all the hard work for you.
Furthermore, it allows the very easy deployment of multiple Raspberry Pi’s with slight changing of configuration.
This means you can just change the GPS co-ordinates of the config, the share code and start docker up. No messy re-configuration.
It also allows slight changes to be made to configuration, so that testing slight variations can be done quickly, easily and without ruining all the hard work that has gone into making the previous configuration (because you can simply revert).
More details: docker.com
- Micro SD card in hand, follow the Hypriot OS details via this blog: blog.hypriot.com/getting-started … arm-device
- After logging in as root, blacklist the RLT-SDR driver by adding your specific device to a config file /etc/modprobe.d/rtl-sdr-blacklist.conf with the contents:
blacklist dvb_usb_rtl28xxu blacklist e4000 blacklist rtl2832
- Make a directory to store your Docker files and clone my git repo
$ mkdir Docker $ cd Docker $ git clone https://bitbucket.org/inodes/docker-rtlsdr-pfclient $ cd docker-rtlsdr-pfclient
- Move the example docker-compose.yml_suggestion file to docker-compose.yml
$ mv docker-compose.ml_suggestion ../docker-compose.yml $ cd ..
- and make edits to make it your own changing:
a) Latitude and Longitude (e.g. Sydney, Australia -33.7968 150.7823 - see where-am-i.net)
b) PPM (optional - leave as 1 - more on this later)
c) Username and Password (for Flightaware)
d) MAC Address of container (this can be anything your would like, or an old MAC address or even generated hellion.org.uk/cgi-bin/randmac.pl) - unique required per piaware client
e) FR24 Key - previously sourced or see below for a sign up procedure
f) Planefinder share code - previously sourced or see below for a sign up procedure
- Run docker-compose up to prepare (followed by patience)
$ docker-compose up
- Go and have a rest while step 6 finishes up
- Once finish, press Ctrl + C to stop
- Run docker-compose start to start the docker containers
$ docker-compose start Starting Docker_dump1090-piaware_1 Starting Docker_fr24feed_1 Starting Docker_pfclient_1
You can now access:
IP_of_RPI:30053 - Web interface for Planefinder
IP_of_RPI:8754 - Web interface for Flightradar 24
IP_of_RPI:8080 - Web interface for Dump 1090