Configuration
ADSBCOT's configuration parameters can be set two ways:
- In an INI-style configuration file. (ex.
adsbcot -c config.ini) - As environment variables. (ex.
export DEBUG=1;adsbcot)
ADSBCOT has the following built-in configuration parameters:
-
FEED_URL:- Default:
file:///run/dump1090-fa/aircraft.json
ADS-B data source URL. Supported URL types:
file://The absolute local folder path to an ADS-B data file in JSON format.http://The local piaware web server aircraft data JSON URL. (ex.http://piaware.local:8080/data/aircraft.json)tcp://A dump1090 BaseStation (SBS-1, "raw") host & port URL (ex.tcp://sensor.example.com:30003).tcp+raw://A dump1090 BaseStation (SBS-1, "raw") host & port URL (ex.tcp+raw://sensor.example.com:30003).tcp+beast://A dump1090 Beast binary mode host & port URL (ex.tcp+beast://sensor.example.com:30005).
- Default:
-
POLL_INTERVAL:- Default:
3seconds
If the
FEED_URLis of type HTTP, the period, in seconds, to poll this URL. - Default:
-
ALT_UPPER:- Default: unset
Upper Altitude Limit, geometric (GNSS / INS) altitude in feet referenced to the WGS84 ellipsoid.
-
ALT_LOWER:- Default: unset
Lower Altitude Limit, geometric (GNSS / INS) altitude in feet referenced to the WGS84 ellipsoid.
-
KNOWN_CRAFT:- Default: unset
CSV-style aircraft hints file for overriding callsign, icon, COT Type, etc.
-
INCLUDE_ALL_CRAFT:- Default:
False
If
TrueandKNOWN_CRAFTis set, will forward all aircraft, including those transformed by theKNOWN_CRAFTdatabase. - Default:
-
INCLUDE_TISB:- Default:
False
If
True, includes TIS-B tracks. - Default:
-
TISB_ONLY:- Default:
False
If
True, only passes TIS-B tracks (INCLUDE_TISBmust also beTrue). - Default:
Additional configuration parameters, including TAK Server configuration, are included in the PyTAK Configuration documentation.