Catalog PyPI
PACKAGE EXPLORERView in registry

adsms

PyPI

Send SMS aircraft alerts based on ADS-B data

Versions collected1
Direct dependencies1From release 0.5
Last observed20 Oct, 19:53 UTC

README

Version 0.5 documentation

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

Database Schema

adsms uses a SQLite database to store subscriptions and information about tracked aircraft. Currently, the only table is subscriptions.

subscriptions

The subscriptions table has the following columns:

Column NameData TypeDescription
rowidINTEGERUnique identifier for the subscription.
phoneTEXTPhone number to receive notifications for this subscription.
icaoTEXTICAO address of the aircraft to track.
descriptionTEXTDescription of the aircraft being tracked.
last_seenINTEGERTimestamp of the last time this aircraft was seen by the system.

This table stores information about each subscription, including the phone number to send notifications to, the ICAO address of the aircraft to track, a description of the aircraft, and the last time it was seen by the system.

Use of ChatGPT

Portions of both this README and the adsms code have been partially written with ChatGPT.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.58 May 20231

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:53 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:77ce80e457992b5c89c7b92e57df346e78b86e252b8f7385fa5058be0f3cde91