Giter VIP home page Giter VIP logo

aprs2mysql's Introduction

aprs2mysql

APRS-IS to MySQL Script inspired by FaradayRF/aprs2influxdb

Supported APRS Packet Formats:

  • uncompressed
  • mic-e
  • object
  • compressed
  • status
  • wx
  • beacon
  • bulletin
  • message

Getting started

For Using the the tool and connection to the APRS-IS service you need a valid amateur radio license for login you need your callsign.

Prerequisites

You have to install and configure an MySQL or MariDB database.

WARNING: this will drop an existing database by name aprs and all data will be lost

mysql -u root -p < schema.sql

Installing

Navigate to the source directory and run:

pip install .

You also have to copy the DB schema into the Database.

Running aprs2mysql

The program uses the default APRS-IS servers (rotate.aprs.net) on the default Port (10152).

Command Line Options

  • --callsign Set APRS-IS login callsign (default = nocall)
  • --dbhost Set MySQL host (default = localhost)
  • --dbuser Set MySQL user (default = root)
  • --dbpass Set MySQL password (default = )
  • --db Set MySQL database (default = aprs)
  • --dbtable Set MySQL table (default = packets)
  • --host Set APRS-IS host (default = rotate.aprs.net)
  • --port Set APRS-IS port (default = 10152)
  • --filter Set APRS-IS filter (default = "")
  • --interval Set APRS-IS heartbeat interval in minutes (default = 15)
  • --logfile set Logfile (default = /var/log/aprs2db.log)
  • --debug Set logging level to DEBUG (default = False)

Example

aprs2mysql --callsign nocall --dbhost 127.0.0.1 --dbuser root --dbpass '********' --db aprs --dbtable packets --host 127.0.0.1 --port 14580 --filter 'p/DL' > /dev/null 2>1 &

Deployment

This have been tested on a CentOS/RHEL7 environment.

Thanks to

  • Bryce Salmi - Initial work on aprs2influxdb - KB1LQC

Ressources

aprs2mysql's People

Contributors

japalie avatar ajbelayer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.