Subscribe to rotator / antenna switch topics¶
Use the MQTT applet to subscribe to topics published by your rotator controller or antenna switch. Incoming values appear in the message log and, if you prefix a topic with *, as an overlay on the panadapter.
Before you start¶
- The MQTT applet must be visible. If you do not see it, click the MQTT tray button on the right sidebar to show it.
- Your station MQTT broker must be running and reachable from the machine running AetherSDR.
- If you have not yet configured broker credentials, complete Connect to a station MQTT broker first.
Steps¶
- Open the MQTT applet by clicking the MQTT tray button on the right sidebar.
- In the Host field, confirm the broker hostname or IP address. Default:
localhost. - In the Port field, confirm the broker port. Default:
1883. - If your broker requires authentication, enter values in the User and Pass fields.
- In the Topics field, enter a comma-separated list of the topics you want to subscribe to. To also show a topic's value as a panadapter overlay, prefix it with
*. Example: - If your broker uses TLS, check TLS. The port switches automatically to
8883. If you need a custom CA certificate, enter the file path in CA cert; leave it blank to use the system CA bundle. - Click Enable to connect. The button label changes to On and the status label reads Connected in green. All settings are saved at this point.
What each control does¶
| Control | Default | Valid range / notes | Setting key |
|---|---|---|---|
| Host | localhost |
Broker hostname or IP | MqttHost |
| Port | 1883 |
1β65535; auto-switches to 8883 when TLS is enabled |
MqttPort |
| User | (empty) | Optional broker username | MqttUser |
| Pass | (empty) | Optional broker password; masked | MqttPass |
| Topics | (empty) | Comma-separated topic list; prefix with * to overlay on panadapter |
MqttTopics |
| TLS | Off | Shows/hides CA cert row; auto-flips port between 1883 and 8883 |
MqttTls |
| CA cert | (empty) | Path to CA certificate file; blank uses system CA bundle; visible only when TLS is checked | MqttCaFile |
| Enable | Off | Connects (On) or disconnects (Off); saves all settings on connect | β |
| Message log | β | Displays up to the last 50 received messages as topic: value lines |
β |
Tips¶
- A topic must be entered without the
*prefix to be subscribed to; the*only controls whether the value appears on the panadapter overlay. The subscription itself is always active once you click Enable. - The message log shows only the last segment of the topic path (after the final
/) next to the value, sorotator/posappears aspos: 180. - Settings are written to disk only when you click Enable to connect. If you edit the fields and close the applet without connecting, your changes are not saved.
Troubleshooting¶
- Status label shows an error message instead of "Connected" β The broker is unreachable or credentials are incorrect. Verify the Host, Port, User, and Pass values, then click Enable again.
- Topics field accepts your entries but no messages appear in the log β Confirm that the broker is publishing on exactly those topic strings. MQTT topic matching is case-sensitive.
- TLS checkbox is checked but the CA cert row is not visible β Toggle TLS off and on again to force the row to refresh.
- Port did not switch to 8883 when I checked TLS β The auto-switch only applies when the current port value is exactly
1883. If you entered a custom port, it is preserved.