Skip to content
/ AboveGRQ Public

✈️ Above GRQ. Uses dump1090-fa to track airplanes and toots whenever an airplane flies nearby.

License

Notifications You must be signed in to change notification settings

hbokh/AboveGRQ

Repository files navigation

✈️ Above GRQ

An ADS-B Mastodon Bot, derived from AboveTustin (a Twitter bot).

The original Twitter dependencies have been replaced with basic posting via the Mastodon API using Python.

Uses dump1090-fa to track airplanes and toots whenever an airplane flies nearby Groningen Airport Eelde (IATA: GRQ, ICAO: EHGG).

WARNING: this is Frankencode!!
Currently it runs on my MacBook Pro M2 (macOS 14.3.1, with Homebrew packages).

Install

Install "AboveGRQ" in a Python virtualenv.
Copy the file config.sample.ini to config.ini and make all the necessary changes in that file.
Run with python3 tracker.py:

(AboveGRQ) hbokh@rpi4:~/.virtualenvs/AboveGRQ$ python3 tracker.py
Will crop
Map URL: http://rpi3.internal/tar1090/?enablelabels
Getting web page http://rpi3.internal/tar1090/?enablelabels
Waiting for page to load...
Reset map
Zoom in
Now: 2024-02-10 16:27:50.600000
Now: 2024-02-10 16:27:51.600000
Now: 2024-02-10 16:27:52.700000
--- cut --- 8< ---

Screenshot

Obligatory screenshot, taken from Ivory for iOS:

IMG_0189

Dependencies

  • Use Python 3.1x and venv.
  • Use a Chrome based browser (Chromium, Brave).
  • Uses tar1090 for ADSB message decoding, airplane tracking, and webserving.
  • Uses Mastodon API for tooting.
  • Uses selenium for screenshots with Chromedriver.
  • Uses pillow for image processing.
  • Uses requests for API calls.
  • Uses Chromedriver for headless web browsing.
  • Builds on a running PiAware Raspberry Pi-based ADS-B receiver and decoder with MLAT support, with web server and local databases.

Code borrowed from

Todo

  • Replace Twitter with Mastodon.
  • Fix "Loading image..." in screenshots when in headless mode.
  • Replace Google Chrome / Chromedriver.
  • Use latest Python 3.x version.
  • Remove FlightAware API / FlightXML3 code.

About

✈️ Above GRQ. Uses dump1090-fa to track airplanes and toots whenever an airplane flies nearby.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published