Giter Site home page Giter Site logo

rtphokie / adsb-fi-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adsbfi/adsb-fi-scripts

0.0 0.0 0.0 258 KB

Feed adsb.fi using an existing receiver running readsb / dump1090 / piaware / Raspbian / Linux

License: MIT License

Shell 100.00%

adsb-fi-scripts's Introduction

adsb.fi feed client

  • These scripts aid in setting up your current ADS-B receiver to feed adsb.fi.
  • They will not disrupt any existing feed clients already present.

1: Find coordinates and elevation

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

2: Install the feed client

curl -L -o /tmp/feed.sh https://adsb.fi/feed.sh
sudo bash /tmp/feed.sh

3: Use netstat to check that your feed is working

The feed IP for adsb.fi is 103.196.37.90

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

Expected Output:

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

4: Optional: Install local interface for your data

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

Install / Update:

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

Remove:

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

Update the feed client without reconfiguring

curl -L -o /tmp/update.sh https://raw.githubusercontent.com/adsbfi/adsb-fi-scripts/master/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 adsbfi-feed --no-pager
sudo journalctl -u adsbfi-mlat --no-pager

Display the configuration

cat /etc/default/adsbfi

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/adsbfi/adsb-fi-scripts/master/install.sh
sudo bash /tmp/feed.sh

Disable / Enable adsb.fi 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/adsbfi
sudo systemctl restart adsbfi-mlat
  • Enable:
sudo sed --follow-symlinks -i -e 's/RESULTS=.*/RESULTS="--results beast,connect,127.0.0.1:30104"/' /etc/default/adsbfi
sudo systemctl restart adsbfi-mlat

Restart the feed client

sudo systemctl restart adsbfi-feed
sudo systemctl restart adsbfi-mlat

Show status

sudo systemctl status adsbfi-feed
sudo systemctl status adsbfi-mlat

Removal / disabling the services

sudo bash /usr/local/share/adsbfi/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 adsbfi-feed
sudo systemctl disable --now adsbfi-mlat

adsb-fi-scripts's People

Contributors

wiedehopf avatar adsb-related-code avatar jprochazka avatar d4rken avatar tmantti avatar dschaper avatar makrsmark avatar johna777 avatar zevlag avatar rmitchellscott avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.