albertodonato / ads-b-snap

Snap package for ADS-B, Mode S, and Mode 3A/3C demodulator and decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snap package for ADS-B, Mode S, and Mode 3A/3C demodulator and decoder

Snap Package

This snap provides the dump1090 ADS-B, Mode S, and Mode 3A/3C demodulator and decoder to receive and decode aircraft transponder messages received via an SDR (software defined radio) USB dongle.

It uses the dump1090-fa fork from FlightAware.

It also includes the tar1090 web interface to display received aircrafts information and positions on map.

The web interface is available by default on port 8080 (see below for config options).

Furthermore, information for received ADB-S messages can be displayed on the console with the adb-s.view too.

The snap can be installed from the store via:

    sudo snap install ads-b

Get it from the Snap Store

Enabling services

Services provided by the snap are disabled by default. After connecting interfaces and the the SDR USB device, they can be started with

    sudo snap start --enable ads-b

Feeding data to ADS-B Exchange

It's possible to feed collected data to ADS-B Exchange.

To enable sharing run

    sudo snap start --enable ads-b.adsbxfeed

Optionally, MLAT data can be reported too. This requires setting the receiver altitude and a MLAT username too.

    sudo snap set ads-b mlat.user=<USERNAME> coord.alt=<ALTITUDE>
    sudo snap start --enable ads-b.adsbxfeed-mlat

By default, this will show the username with the GPS location on the ADS-B Exchange map. To disable this, private mode can be set:

    sudo snap set ads-b mlat.privacy=true

Feeding data to Flightradar24

It's possible to feed collected data to Flightradar24. This requires specifying the sharing key (which can be obtained from the account page).

To enable sharing run

    sudo snap set ads-b fr24.key=<KEY>
    sudo snap start --enable ads-b.fr24feed

Snap configuration options

The snap has a few configuration options:

  • coord.alt, coord.lat, coord.lon: GPS coordinates of the receiver (altitude must be in meters)
  • fr24.key: account key for the Flightradar24 feeder
  • mlat.privacy: whether to set private mode for MLAT reporting (true/false)
  • mlat.user: user for MLAT reporting with ADS-B Exchange
  • web.port: TCP port for the web interface (default: 8080)

Services are automatically restarted on configuration changes.

About

Snap package for ADS-B, Mode S, and Mode 3A/3C demodulator and decoder

License:GNU General Public License v2.0


Languages

Language:Shell 83.8%Language:Makefile 16.2%