Skip to content

airplanes-live/feed

Repository files navigation

airplanes.live feed client

  • These scripts aid in setting up your current ADS-B receiver to feed airplanes.live.
  • This will not disrupt any existing feed clients already present.
  • When setting up new feeders, a decoder such as readsb must be installed separately.

1: Find antenna coordinates and elevation

https://www.freemaptools.com/elevation-finder.htm

2: Install the feed client

curl -L -o /tmp/feed.sh https://raw.githubusercontent.com/airplanes-live/feed/main/install.sh
sudo bash /tmp/feed.sh

3: Use netstat to check that your feed is working

The feed IP for airplanes.live is 78.46.234.18

netstat -t -n | grep -E '30004|31090'

Expected Output:

tcp        0    182 localhost:43530     78.46.234.18:31090      ESTABLISHED
tcp        0    410 localhost:47332     78.46.234.18:30004      ESTABLISHED

4: Optional: Install local interface for your data

The interface will be available at http://192.168.X.XX/airplanes
Replace the IP address with the address of your Raspberry Pi.

Install / Update:

sudo bash /usr/local/share/airplanes/git/install-or-update-interface.sh

Remove:

sudo bash /usr/local/share/tar1090/uninstall.sh airplanes

Update the feed client without reconfiguring

curl -L -o /tmp/update.sh https://raw.githubusercontent.com/airplanes-live/feed/main/update.sh
sudo bash /tmp/update.sh

If you encounter issues, please do a reboot and then supply these logs on Discord (last 20 lines for each is sufficient):

sudo journalctl -u airplanes-feed --no-pager
sudo journalctl -u airplanes-mlat --no-pager

Display the configuration

cat /etc/default/airplanes

Changing the configuration

This is the same as the initial installation. If the client is up to date it should not take as long as the original installation, otherwise this will also update the client which will take a moment.

curl -L -o /tmp/feed.sh https://raw.githubusercontent.com/airplanes-live/feed/main/install.sh
sudo bash /tmp/feed.sh

Disable / Enable airplanes.live MLAT-results in your main decoder interface (readsb / dump1090-fa)

This is enabled by default. You probably don't need to change that.

  • Disable:
sudo sed --follow-symlinks -i -e 's/RESULTS=.*/RESULTS=""/' /etc/default/airplanes
sudo systemctl restart airplanes-mlat
  • Enable:
sudo sed --follow-symlinks -i -e 's/RESULTS=.*/RESULTS="--results beast,connect,127.0.0.1:30104"/' /etc/default/airplanes
sudo systemctl restart airplanes-mlat

Restart the feed client

sudo systemctl restart airplanes-feed
sudo systemctl restart airplanes-mlat

Show status

sudo systemctl status airplanes-feed
sudo systemctl status airplanes-mlat

Removal / disabling the services

sudo bash /usr/local/share/airplanes/uninstall.sh

If the above doesn't work, you can just disable the services and the scripts won't run anymore:

sudo systemctl disable --now airplanes-feed
sudo systemctl disable --now airplanes-mlat

About

Feed scripts for airplanes.live

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages