Feed Planefinder from Alarm Pi (armv7/armv8)

ab cd

Senior Member
Ads-b on Alarm Pi
(Arch linux arm for Pi)

armv7/armv8

Following steps are required:
(1) Install OS Alarm on microSD card of a Pi
(2) Install Decoder dump1090-fa on Alarm Pi.
(3) Install Planefinder data-feeder on Alarm Pi
(4) Install data-feeders of other sites on Alarm Pi

STEP 1 of 4:
Install OS Alarm on microSD card of a Pi.

Please see next post for details

STEP 2 of 4:
Install dump1090-fa


The method below builds dump1090-fa from source code, using ArchLinux's PKGBUILD and foo.install scripts.
Code:
sudo pacman -S --needed git

git clone https://github.com/abcd567a/dump1090-fa-arch.git

cd dump1090-fa-arch

makepkg -si
At end you will be asked if you want to install the built package [Y/n].
If you chose Y, the dump1090-fa will be installed immediately.
If you chose not to install the build package immediately, you can install it later by following command
Code:
cd dump1090-fa-arch

sudo pacman -U dump1090-fa-*.pkg.tar.xz
THINGS TO DO AFTER INSTALLATION OF dump1090-fa IS COMPLETED

(1) IMPORTANT:
Reboot computer
otherwise dump1090-fa will fail to start, and either the Syview web page wont show (Not Found), or a rotating wheel will show.

(2) To make SkyView Map show range rings, do following:
  1. Open file "dump1090-fa" for editing
    Code:
    sudo nano /etc/default/dump1090-fa
  2. In the opened file, go to following line: RECEIVER_OPTIONS="--device-index 0 --gain -10 --ppm 0 --net-bo-port 30005"
  3. In above line, add your latitude and longitude, so the line becomes like below:
    RECEIVER_OPTIONS="--device-index 0 --gain -10 --lat xx.xxxx --lon yy.yyyy --ppm 0 --net-bo-port 30005"
    NOTE: Repalce xx.xxxx and yy.yyyy by your actual latitude and Longitude
  4. Restart dump1090-fa

    Code:
    sudo systemctl restart dump1090-fa
  5. Clear browser cache and reload browse


STEP 3 of 4:
Install Planefider data-feeder

Code:
sudo pacman -S --needed wget

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/Alarmpi-adsb/master/Alarmpi-install-pfclient_4.1.1_armhf.sh)"

SIGNUP:
In your browser, go to web interface at

http ://ip-of-pi:30053

Fill necessary details to sign up / sign in
Use IP Address 127.0.0.1 and Port number 30005 when asked for these

If it fails to save settings when you hit button [Complete Configuration], then restart pfclient by following command, and again hit [Complete Configuration] button

sudo systemctl restart pfclient

To see status:
sudo systemctl status pfclient
To restart:
sudo systemctl restart pfclient
To stop:
sudo systemctl stop pfclient


To uninstall pfclient:
Code:
sudo systemctl stop pfclient
sudo systemctl disable pfclient
sudo rm /lib/systemd/system/pfclient.service
sudo rm -rf /usr/share/pfclient
sudo rm /usr/bin/pfclient
sudo rm /etc/pfclient-config.json
sudo rm -rf /var/log/pfclient

STEP 4 of 4:
Install data-feeders of other sites


4.1 - Install FR24 data-feeder

Code:
sudo pacman -S --needed wget

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/Alarmpi-adsb/master/Alarmpi-install-fr24feed_1.0.24-7_arm.sh)"
(1) SIGNUP:
(a) If you already have a feeder key,
open file fr24feed.ini by following command and add fr24key:
sudo nano /etc/fr24feed.ini
Save (Ctrl+o) and Close (Ctrl+x) file fr24feed.ini
then restart fr24feed by following command:
sudo systemctl restart fr24feed

(b) Alternatively signup using following command
sudo fr24feed --signup

(2) In your browser, go to web interface at
http://localhost:8754


To see status:
sudo systemctl status fr24feed

To restart:
sudo systemctl restart fr24feed

To stop:
sudo systemctl stop fr24feed

To uninstall fr24feed:
Code:
sudo systemctl stop fr24feed
sudo systemctl disable fr24feed
sudo rm /lib/systemd/system/fr24feed.service
sudo rm -rf /usr/share/fr24
sudo rm /usr/bin/fr24feed
sudo rm /etc/fr24feed.ini
sudo rm -rf /var/log/fr24feed
 
Last edited:
Top