Giter VIP home page Giter VIP logo

crows_nest's Introduction

Crow's Nest

Monitor, data logger, and alert generator for dump1090-mutability.

Description

Crow's Nest is a Python systemd service for tracking, logging, and parsing the outputs of dump1090-mutability (it may work with other variants of dump1090, but I have not tested this). This package is designed to comapare locally received and decoded ADS-B aircraft tracking data to public aircraft databases and generate alert notifications if/when aircraft of interest are detected within range of your ADS-B receiver.

Package includes utility scripts for updating the Crows Nest internal aircraft database from the FAA aircraft registry and from community aircraft information using tar1090-db.

Purpose

Crow's Nest is envisioned to be a real-time alert system for local ADS-B receiver data. Crow's Nest actively monitors the aircraft detected via dump1090-mutability and compares the ICAO hex codes to a local database. Alerts can be configured for any combination of military aircraft, aircraft registered to government organizations, and/or "special" aircraft designated by the user (ex: notification when a buddy's NXXXXX flies by).

The goal is to provide a flexible and extensible toolbox for automatically filtering and whittling down a cacophony of ADS-B data into actionable snippets.

Technical Approach

Development has a taken a "breadth-first" approach to getting an assortment of features enabled to explore what is possible and what is actually useful. Every attempt has been made to expose as many options as configuration settings as possible to allow tuning the internal algorithms for the individual user's situation.

Crows Nest currently supports two plug-in interfaces for collaborative expansion:

  1. Notifiers - Plug-ins that get called when a new aircraft detection (matching the user's configuration settings) is made.
  2. Trackers - Plug-ins that get called periodically and are provided updated tracking information on previously detected and alerted aircraft.

Current Detection Criteria (details are configurable)

  • Military Aircraft
  • Government (Non-Military) Aircraft
  • Loitering aircraft (determined via track analysis) (filterable by type)
  • ICAO Aircraft Type (ex: Helicopter, Tilt-rotor)
  • By registration
  • By community comment (ex: community identified spy aircraft)
  • Possible "intercept" course within N meters within M seconds (configurable for any number of positions) (filterable by type).

Data Sources

Bash scripts are provided to automatically update and import these databases into Crows Nest. These scripts can be re-run occasionally (ex: via cron job) to refresh the internal database. TODO - Improve import process to provide finer categorization of aircraft (ex: law enforcement organizations vs scientific organizations)

Available Plug-ins

Notifiers

  • pushover_notifier (built-in) - Utilizes pushover cloud-based push notifications. This allows sending push notifications to mobile devices, and is included with Crow's Nest as an example Notifier.
  • tak_notifier - Forwards alert notifications to a TAK server as a geochat message.

chat

  • festival_notifier - Utilizes the FOSS festival library to generate audio notifications via text-to-speech synthesis. Generated audio files can then forwarded to another host for audio playback via loudspeaker or transmitted via radio.

Trackers

  • tak_tracker - Implemented along side tak_notifier. Automatically generates CoT PLI data for tracked alert aircraft and forwards those CoT to a TAK server for distribution.

multiple_friendly multiple_friendly_2

Getting Started

Dependencies

Tested on Ubuntu 22.04.

Requires: mariadb to be preinstalled and configured

Installing and Running

  1. Ensure dump1090-mutability is running
  2. Clone repo however you see fit
  3. sudo ./setup.sh
  4. customize /opt/crows_nest/config.json
  5. sudo systemctl start crows_nest.service
  6. (optional) use crontab -e to call update_aircraft_db.sh and/or update_tar1090-db.sh to refresh reference data

License

This project is licensed under the GNU General Public License v3.0 License - see the LICENSE.md file for details

TODO

  • Sub-categorize government aircraft (federal, state, local)
  • Expand notification options

Acknowledgments

crows_nest's People

Contributors

hfrvbjjtfvnjgfcvnj 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.