Skip to content

Configure broker connection settings (host, port, credentials, TLS)

Set up the MQTT broker address, authentication, and TLS options that AetherSDR uses to connect to your station's MQTT broker.

Before you start

  • The MQTT applet must be visible in the right sidebar. If hidden, click the MQTT tray button to show it.
  • You need your broker's hostname or IP address, port, and any required username and password.

Steps

  1. Open Settings > MQTT... to display the MQTT Settings dialog.
  2. In the Broker Connection tab, enter the following:
  3. Host β€” your broker's hostname or IP address.
  4. Port β€” the TCP port (default depends on your broker; common values are 1883 for plain TCP or 8883 for TLS).
  5. Username β€” optional; leave blank if your broker does not require authentication.
  6. Password β€” optional; stored in your system keychain when you first enable the connection (not in plain text).
  7. To enable TLS:
  8. Check Use TLS.
  9. If your broker uses a custom CA certificate, enter its file path in CA Certificate File (or click Browse... to locate it).
  10. Click OK to save the settings and close the dialog.
  11. In the MQTT applet, click Off to toggle it to On. AetherSDR connects using the new settings. The status label changes to Connected (green) on success, or shows an error message if connection fails.

What each control does

Control Default Notes
Username (empty) Authentication user name
Password (empty) Stored in system keychain when first used
Use TLS unchecked Toggle TLS encryption
CA Certificate File (empty) Path to custom CA certificate for TLS
Settings... Opens the MQTT Settings dialog (MqttSettingsDialog) for broker connection, subscriptions, and publish button configuration. New in v26.5.3. Replaces the inline Host/Port/User/Pass/TLS/Topics fields.
Enable (Off/On) Off Connects or disconnects from the broker using settings from MqttSettings. Emits connectRequested / disconnectRequested and saves connection enabled state. Password is loaded from system keychain on first enable. If keychain password is not yet loaded, shows 'Waiting for keychain' status.
Publish buttons Click publishes the configured payload to the configured topic via MqttClient::publish. Buttons are configured in the MQTT Settings dialog. Only active while connected. Configured via MqttSettingsDialog Publish Buttons tab.
Message log Displays received messages as 'topic: value' lines and transmitted messages as 'TX topic: payload' lines. Also processes antenna alias updates from MQTT. Capped to 50 entries.
Status label Disconnected Shows "Connected" (green) on success, "Disconnected" (grey) when off or failed, or an error message (default color).

Tips

  • The password is migrated to your system keychain the first time you enable the MQTT connection. If the migration fails, AetherSDR logs a warning and preserves the plain-text entry for retry.
  • If you enable the connection ("On") but the password hasn't been loaded from keychain yet, the status shows Waiting for keychain until the keychain read completes.
  • v26.6.1: The MQTT applet now uses theme-aware colors for all UI elements, adapting to both light and dark themes automatically.
  • v26.6.3: The message log now also shows transmitted messages as TX topic: payload lines, helping you confirm that publish buttons send the correct data.
  • Antenna alias topics are subscribed automatically.

Troubleshooting

  • Status shows "Disconnected" after toggling On β€” Check the host and port are correct and reachable from your machine. If using TLS, verify the CA certificate path is valid.
  • Status shows an error message β€” The broker rejected the connection. Confirm the username and password, and that TLS settings match your broker's configuration.
  • "Waiting for keychain" never resolves β€” The system keychain may be locked or unavailable. Unlock your keychain and toggle the connection Off then On again.
  • Published messages not appearing in log β€” Verify the publish button's topic and payload are configured correctly in the MQTT Settings dialog. The log only shows transmissions from AetherSDR, not from other MQTT clients.
⚑ Athena AetherSDR Assistant
Hi! I'm Athena, the AetherSDR AI assistant. Ask me anything about installation, configuration, or troubleshooting.