Skip to main content

inReach Cursor-on-Target Gateway.

Project description

IF YOU HAVE AN URGENT OPERATIONAL NEED: Email ops@undef.net or call/sms +1-415-598-8226

Screenshot of inReach CoT PLI Point in ATAK

The inrcot inReach to Cursor-on-Target Gateway transforms Garmin inReach position messages into Cursor on Target (CoT) Position Location Information (PLI) Points for display on Situational Awareness (SA) applications such as the Android Team Awareness Kit (ATAK), WinTAK, RaptorX, COPERS, et al.

Possible use-cases include tracking Search & Rescue (SAR) operators, or integrating Partner Forces location data into existing SA infrastructure without exposing private network elements.

inrcot can be run as a foreground command line application, but should be run as a service with tools like systemd or supervisor

Usage of this program requires a Garmin inReach device with service.

Support inrcot Development

inrcot has been developed for the Disaster Response, Public Safety and Frontline community at-large. This software is currently provided at no-cost to our end-users. All development is self-funded and all time-spent is entirely voluntary. Any contribution you can make to further these software development efforts, and the mission of inrcot to provide ongoing SA capabilities to our end-users, is greatly appreciated:

Support inrcot development: Buy me a coffee!

Wildland Firefighting

inrcot may also be of use in wildland firefighting, see Section 1114.d of the Dingell Act:

Location Systems for Wildland Firefighters.--
(1) In general.--Not later than 2 years after the date of
    enactment of this Act, subject to the availability of
    appropriations, the Secretaries, in coordination with State
    wildland firefighting agencies, shall jointly develop and
    operate a tracking system (referred to in this subsection as the
    ``system'') to remotely locate the positions of fire resources
    for use by wildland firefighters, including, at a minimum, any
    fire resources assigned to Federal type 1 wildland fire incident
    management teams.

Installation

The Garmin inReach to Cursor on Target Gateway is provided by a command-line tool called inrcot:

Installing as a Debian/Ubuntu Package:

$ wget https://github.com/ampledata/pytak/releases/latest/download/python3-pytak_latest_all.deb
$ sudo apt install -f ./python3-pytak_latest_all.deb
$ wget https://github.com/ampledata/adsbxcot/releases/latest/download/python3-inrcot_latest_all.deb
$ sudo apt install -f ./python3-inrcot_latest_all.deb

Install from the Python Package Index (PyPI):

$ pip install inrcot

Install from this source tree:

$ git clone https://github.com/ampledata/inrcot.git
$ cd inrcot/
$ python setup.py install

Setup

inrcot uses the Garmin Explore “MapShare” feature.

  1. Login to Garmin Explore: https://explore.garmin.com/

  2. Browse to the “MY INFO” page: https://explore.garmin.com/Inbox

  3. Click “Social”.

  4. Under MapShare > Enable MapShare click to enable ‘MapShare: On’.

  5. Click “Feeds” and note the “Raw KML Data” URL, we’ll use this URL.

For more information on inReach KML Feeds see: https://support.garmin.com/en-US/?faq=tdlDCyo1fJ5UxjUbA9rMY8

Usage

The inrcot program has one command-line argument:

$ inrcot -h
usage: inrcot [-h] [-c CONFIG_FILE]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG_FILE, --CONFIG_FILE CONFIG_FILE

You must create a configuration file, see example-config.ini in the source respository.

An example config:

[inrcot]
COT_URL = tcp:takserver.example.com:8088
POLL_INTERVAL = 120

[inrcot_feed_aaa]
FEED_URL = https://share.garmin.com/Feed/Share/aaa

Multiple feeds can be added by creating multiple inrcot_feed sections:

[inrcot]
COT_URL = tcp:takserver.example.com:8088
POLL_INTERVAL = 120

[inrcot_feed_xxx]
FEED_URL = https://share.garmin.com/Feed/Share/xxx

[inrcot_feed_yyy]
FEED_URL = https://share.garmin.com/Feed/Share/yyy

Individual feeds CoT output can be customized as well:

[inrcot]
COT_URL = tcp:takserver.example.com:8088
POLL_INTERVAL = 120

[inrcot_feed_zzz]
FEED_URL = https://share.garmin.com/Feed/Share/zzz
COT_TYPE = a-f-G-U-C
COT_STALE = 600
COT_NAME = Team Lead
COT_ICON = my_package/team_lead.png

Source

Github: https://github.com/ampledata/inrcot

Author

Greg Albrecht W2GMD oss@undef.net

https://ampledata.org/

License

Apache License, Version 2.0. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inrcot-1.0.0b1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inrcot-1.0.0b1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file inrcot-1.0.0b1.tar.gz.

File metadata

  • Download URL: inrcot-1.0.0b1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for inrcot-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 955d79b1f2f24f9f3b12c6343054c2ac162aba4b868d535311fc1ab5ced12333
MD5 7c29b3eb1f9485cf73c0d450d03db590
BLAKE2b-256 602ffa1e3af3a0120f6d85df81217b7d336d797adeba15d6eccee78f22596046

See more details on using hashes here.

File details

Details for the file inrcot-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: inrcot-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for inrcot-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a3e5227b9c9fce3618daafe6aa565e4ecf7a0f2ef5b46d22940ac992a73ba32
MD5 472088e37be58aeb34e3e8dad692950b
BLAKE2b-256 6b037f968c59ceca990579a1ed24fb6a88deb32c1f0fc952c918f0d2846cc7e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page