Settings Reference (stratux.conf)

June 6, 2026 · View on GitHub

Every Stratux setting is a field on the settings struct in main/gen_gdl90.go (globalSettings). The struct is serialized as-is to stratux.conf (/boot/firmware/stratux.conf on the Pi, ~/.stratux.conf for non-root desktop dev) and is exposed verbatim over the HTTP API:

  • GET /getSettings returns the whole object.
  • POST /setSettings accepts a partial object — send only the fields you want to change.

Adding a setting in code is just adding a struct field; it then appears automatically in the API and is readable by the web UI by field name. See http-api.md for the endpoints and the integration guide for the output transports that several of these fields configure.

Field names below are the exact JSON keys. Types are the Go types. "Advanced" marks fields that are not surfaced in the standard web UI and are intended to be set via /setSettings or by editing stratux.conf directly.

Receivers / signal sources

FieldTypeDescription
UAT_Enabledbool978 MHz UAT receiver (FIS-B weather + UAT traffic).
ES_Enabledbool1090 MHz ES (ADS-B) receiver via dump1090.
OGN_Enabledbool868 MHz OGN/FLARM receiver via ogn-rx-eu.
APRS_EnabledboolAPRS traffic ingestion (glidernet/OGN path).
AIS_EnabledboolMarine AIS receiver via rtl_ais.
Ping_EnabledbooluAvionix Ping external USB receiver (/dev/ping, /dev/pingusb).
Pong_EnabledboolPong dual-band external USB receiver (/dev/pong). Auto-enables when the device appears.
GPS_EnabledboolGPS/GNSS receiver.
BMP_Sensor_EnabledboolBarometric pressure sensor (BMP280/388/390).
IMU_Sensor_EnabledboolIMU / AHRS sensor (ICM-20948, MPU-9250 family).

See hardware/sdr-and-bands.md, hardware/gps.md, hardware/sensors.md, and hardware/ogn-ais-receivers.md for the hardware each enables.

Outputs / network

FieldTypeDescription
NetworkOutputs[]networkConnectionUDP outputs. Default: :4000 GDL90, :2000 FLARM/NMEA, :49002 X-Plane/FF-sim. Each entry carries a Capability bitmask (see other-transports.md).
SerialOutputsmap[string]serialConnectionSerial output ports (e.g. EFIS over RS-232/USB). Serializes as null when empty.
BleOutputs[]bleConnectionBluetooth LE outputs (FLARM/NMEA over GATT — SoftRF-style FFE0/FFE1 and Nordic UART profiles).
StaticIps[]stringAdditional client IPs to always send GDL90 to (beyond DHCP-lease clients).
DisplayTrafficSourceboolAnnotate traffic with its source (UAT/ES/OGN) for debugging.

Wi-Fi / networking

FieldTypeDescription
WiFiCountrystringRegulatory country code (affects allowed channels/power).
WiFiSSIDstringAccess-point SSID.
WiFiChannelintAccess-point channel.
WiFiSecurityEnabledboolEnable WPA on the AP.
WiFiPassphrasestringAP passphrase (when security enabled).
WiFiModeintWi-Fi mode (access point / client / direct).
WiFiDirectPinstringWi-Fi Direct PIN.
WiFiIPAddressstringStatic AP IP address (default 192.168.10.1).
WiFiClientNetworks[]wifiClientNetworkSaved networks for client mode.
WiFiInternetPassThroughEnabledboolRoute internet from a client-mode uplink to AP clients.

GPS

FieldTypeDescription
GpsManualConfigboolAdvanced. Disable autodetect and use the manual fields below.
GpsManualDevicestringAdvanced. Serial device path. Default /dev/ttyAMA0.
GpsManualChipstringAdvanced. Chip: ublox6, ublox7, ublox8, ublox9, ublox10, or ublox (generic). Other/empty → unconfigured.
GpsManualTargetBaudintAdvanced. Target baud after reconfig. Default 115200.

See hardware/gps.md for autodetection and chip support.

Sensors / AHRS

FieldTypeDescription
IMUMapping[2]intMaps aircraft axes to sensor axes (accelerometer). Set by the orientation wizard.
SensorQuaternion[4]float64Advanced. AHRS calibration quaternion (sensor→aircraft frame). Set by POST /cageAHRS; can be set manually for aircraft-specific alignment.
C[3]float64Advanced. IMU accelerometer zero-bias.
D[3]float64Advanced. IMU gyro zero-bias.
AltitudeOffsetintBarometric pressure-altitude offset.
GLimitsstringG-meter limit configuration.

SDR tuning

FieldTypeDescription
PPMintSDR clock correction in parts-per-million (fallback when not encoded in the dongle serial).
Dump1090Gainfloat64Advanced. RTL gain for the 1090ES dongle. Default 37.2.

Ownship / traffic

FieldTypeDescription
OwnshipModeSstringOwn aircraft Mode S/ICAO hex address — used to filter your own ADS-B returns.
WatchListstringICAO addresses to flag/watch.
EstimateBearinglessDistboolEstimate distance for bearingless targets (FLARM/Mode-S with no position).
RadarLimitsintRadar view altitude limit.
RadarRangeintRadar view range.

OGN tracker (transmit) config

Used when an OGN/FLARM transmitter is attached (I2C TX module or a serial OGN-Tracker / GXAirCom / SoftRF). See hardware/ogn-ais-receivers.md.

FieldTypeDescription
OGNI2CTXEnabledboolEnable the I2C TX module on ogn-rx-eu (omits -t off).
OGNAddrstringTracker address (hex).
OGNAddrTypeintAddress type: 0=random, 1=ICAO, 2=FLARM, 3=OGN.
OGNAcftTypeintAircraft type code.
OGNPilotstringPilot name.
OGNRegstringAircraft registration.
OGNTxPowerintTransmit power.

Logging / diagnostics

FieldTypeDescription
DEBUGboolEnable debug logging.
TraceLogboolAdvanced. Verbose trace logging (beyond DEBUG).
ReplayLogboolWrite replay logs (for -replay).
AHRSLogboolWrite AHRS sensor CSV logs (downloadable via /downloadahrslogs).
PersistentLoggingboolKeep logs across reboots — also makes the filesystem writable (required for dev).
ClearLogOnStartboolAdvanced. Wipe the debug log on each boot.
DeveloperModeboolAdditional SDR diagnostics. Enable via /develmodetoggle (one-way) or by tapping the version number; disable via /setSettings.

Cooling / power / misc

FieldTypeDescription
PWMDutyMinintAdvanced. Minimum fan PWM duty cycle (consumed by the fancontrol binary, fancontrol_main/).
DarkModeboolWeb UI dark theme.
NoSleepboolAdvanced. Disable sleep-mode detection for GDL90 clients. Useful for always-on panel-mount EFIS where the display never sleeps.
RegionSelectedint0=none, 1=US, 2=EU. Drives UAT band selection and some OGN behavior. Prefer POST /setRegion.