mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-24 23:00:11 +00:00
add param to disabled adsbx stats
This commit is contained in:
parent
ae0afc5291
commit
fb0fbf7769
2 changed files with 11 additions and 2 deletions
|
@ -333,6 +333,8 @@ There are several aggregators, both non-profit and commercial, that can directly
|
|||
| RadarPlane | N | Run by a few volunteers in Canada and Portugal | adsb: `feed.radarplane.com` port `30001`<br/>mlat: `feed.radarplane.com` port `31090` |
|
||||
| Fly Italy ADSB | N | Run by a few ADSB enthusiasts in Italy | adsb: `dati.flyitalyadsb.com` port `4905`<br/>mlat: `dati.flyitalyadsb.com` port `30100` |
|
||||
|
||||
When feeding AdsbExchange, Ultrafeeder will send statistics to adsbexchange.com by default. See the description of the `ADSBX_STATS` parameter on how to disable this.
|
||||
|
||||
##### Alternate Configuration Method with `READSB_NET_CONNECTOR`
|
||||
|
||||
Instead of (or in addition to) using `BEASTHOST`, you can also define ADSB data ingests using the `READSB_NET_CONNECTOR` parameter. This is the preferred way if you have multiple sources or destinations for your ADSB data. This variable allows you to configure incoming and outgoing connections. The variable takes a semicolon (`;`) separated list of `host,port,protocol[,uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX]`, see the section [All-in-One Configuration using `ULTRAFEEDER_CONFIG`](#all-in-one-configuration-using-ultrafeeder_config) for explanation of these parameters.
|
||||
|
@ -375,7 +377,8 @@ There are many optional parameters relating to the ingestion of data and the gen
|
|||
| `READSB_JSON_INTERVAL` | Update interval for the webinterface in seconds / interval between aircraft.json writes | `--write-json-every=<sec>` | `1.0` |
|
||||
| `READSB_JSON_TRACE_INTERVAL` | Per plane interval for json position output and trace interval for globe history | `--json-trace-interval=<sec>` | `15` |
|
||||
| `READSB_FORWARD_MLAT_SBS` | If set to anything, it will include MLAT results in the SBS/BaseStation output. This may be desirable if you feed SBS data to applications like [VRS](https://github.com/sdr-enthusiasts/docker-virtualradarserver) or [PlaneFence](https://github.com/kx1t/docker-planefence) | Unset |
|
||||
| `UUID` | Sets the UUID that is sent on the `beast_reduce_plus` port if no individual UUIDs have been defined with the `READSB_NET_CONNECTOR` parameter. Similarly, it's also used with `mlat-client` (see below) if no individual UUIDs have been set with the `MLAT_CONFIG` parameter. | | unset |
|
||||
| `UUID` | Sets the UUID that is sent on the `beast_reduce_plus` port if no individual UUIDs have been defined with the `READSB_NET_CONNECTOR` parameter. Similarly, it's also used with `mlat-client` (see below) if no individual UUIDs have been set with the `MLAT_CONFIG` parameter. | | Unset |
|
||||
| ÀDSBX_STATS | Unset | | If set to `disabled`/`off`/`0`/`no`, and feeding to adsbexchange has been configured, no special statistics will be shared with AdsbExchange | Unset (on) |
|
||||
|
||||
#### MLAT configuration
|
||||
|
||||
|
|
|
@ -11,6 +11,12 @@ if ! grep -i adsbexchange.com <<< "$ULTRAFEEDER_CONFIG" >/dev/null 2>&1; then
|
|||
sleep infinity & wait $!
|
||||
fi
|
||||
|
||||
# Check if ADSBExchange stats are disabled
|
||||
if chk_disabled "$ADSBX_STATS" ; then
|
||||
"${s6wrap[@]}" echo "AdsbExchange stats disabled"
|
||||
sleep infinity & wait $!
|
||||
fi
|
||||
|
||||
# prep work:
|
||||
mkdir -p /run/adsbexchange-stats
|
||||
|
||||
|
|
Loading…
Reference in a new issue