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 "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< ---
Obligatory screenshot, taken from Ivory for iOS:
- 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.
- kevinabrandon/AboveTustin
- shbisson/OverPutney
- ladewig/OverPutney
- 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.