Send SMS aircraft alerts based on ADS-B data
Go to file
2023-05-04 19:09:20 -07:00
.gitignore Initial commit 2023-05-04 12:35:25 -07:00
adsms.py split code into functions 2023-05-04 19:09:20 -07:00
example_config.json Add installer 2023-05-04 16:59:23 -07:00
installer.sh Add installer 2023-05-04 16:59:23 -07:00
LICENSE Initial commit 2023-05-03 20:54:29 -07:00
README.md Upload screenshot 2023-05-04 12:56:26 -07:00
requirements.txt Initial commit 2023-05-04 12:35:25 -07:00
screenshot.jpg Upload screenshot 2023-05-04 12:56:26 -07:00

adsms

Send SMS aircraft alerts based on ADS-B data

Screenshot of text sent by adsms

Usage

Copy the configuration file, make any necessary changes, and run:

./adsms.py <configuration_file>

Configuration file

  • textbelt_key: your Textbelt API key
  • data: a URL to a readsb/tar1090 aircraft.json endpoint
  • tracker: a URL to a tar1090 tracker (e.g. https://globe.theairtraffic.com/)
  • database: an SQLite file in which to store subscriptions
  • pid_file: path to which to write the PID (set to empty string to not write a PID file)
  • max_age: maximum age of aircraft pings in seconds; pings older than this will be ignored
  • min_disappearance: the minimum time in seconds for which an aircraft must go "off the radar" before disappearing for new pings to trigger notifications again
  • delay: time to wait after processing all rules before running the loop again