Skip to content

MQTT Traffic

The MQTT Traffic section appears on each device’s diagnostics page. It shows MQTT messages for that device in real time.

Connection Status

The viewer shows the current MQTT connection state at the top of the panel:

  • Connecting
  • Connected
  • Reconnecting
  • Retrying
  • Disconnected

When a connection drops unexpectedly, the viewer automatically retries in the background.

How It Works

When the MQTT Traffic section is selected, the app subscribes to this topic pattern for the current device:

  • mrs/d/{deviceId}/#

Each received packet is appended to the viewer with:

  • Local receive time
  • Whether the packet is retained or live
  • MQTT topic
  • Payload text

The timeline is shown in a read-only text viewer.

Live Data

Use the Start Live Data and Stop Live Data toolbar button to control live traffic on the device.

When enabled, diagnostics publishes 1 to:

  • mrs/d/{deviceId}/resp/enable_mqtt

and then re-publishes 1 every 10 seconds to keep live data enabled.

When disabled, diagnostics publishes 0 to the same topic.

Scroll Behavior

The viewer auto-scrolls while new messages arrive. If you manually scroll up, auto-scroll is paused.

Use Scroll to Bottom to jump to the latest message and re-enable auto-scroll.