User guide
iPhone & iPadConnect to a broker
Connect to a broker
- Open the broker list and choose Add Broker (+).
- Give the connection a Name. Enter its Host and Port, and use a unique Client ID. Add a username and password if your broker requires them.
- In Advanced, select the broker’s Transport (TCP or WebSocket) and MQTT Version. For a WebSocket connection, enter the broker’s WebSocket path.
- Enable TLS when your broker expects an encrypted connection. For client-certificate authentication, follow the mutual TLS guide.
- Tap Test to check the settings, then Connect.
To receive a message, subscribe to its topic before publishing.
iPhone & iPadChart a JSON value with JSONPath
Chart a JSON value with JSONPath
A chart data source combines a topic with a JSONPath expression. For home/living-room/climate, use $.temperature to plot the temperature from each message.
{
"temperature": 22.4,
"humidity": 46,
"sensor": {
"battery": 87
}
}- Connect to the broker publishing your sensor data. Open Live Charts and choose Add Chart (+), or Create Chart if this is your first chart.
- Enter a Chart Name and choose a chart type. On iPhone, select the broker in the editor. On iPad, the chart uses the selected broker.
- Enter the topic, JSONPath and unit for the temperature series.
- Name
- Temperature
- Topic
home/living-room/climate- JSON Path
$.temperature- Unit
- °C
- Choose a color and whether to Fill below line. Tap Save. As numeric readings arrive, they appear in the chart.
- To compare humidity, choose Add Data Source, use the same topic and
$.humidity, and select the humidity unit. One chart supports up to two different units.
Nested values
$.sensor.battery selects 87. Keep the value numeric in the payload. Set its display unit in the data source.

Inspect and export
Scrub across the chart to inspect values. Tap a data point to open its message details. To export the chart, open its ellipsis menu and choose Export PDF…. To compare the latest reading with the average or median, open Value Analysis.
If the chart is empty, check the connection, topic and numeric JSONPath result. For a new subscription without a retained message, publish a reading.
For more JSONPath examples, visit jsonpath.com ↗.
Mac, iPhone & iPadConfigure a dashboard
Configure a dashboard
- Open Dashboard, create or select a dashboard, then choose the add button.
- Choose Single Value to display the latest reading, or a chart to see how it changes over time. Choose Topic Activity to track message frequency or Bandwidth Usage to track traffic in bytes. Broker Status shows the connection state.
- For a sensor value, select its broker and enter an exact topic such as
home/living-room/climate. Use$.temperaturefor the JSON Path and choose °C as the unit. - Choose a name, icon and color. To show when the last message arrived, enable the timestamp. You can also show the topic. Select Save.
- Drag items to reorder them. Open an item’s context menu to edit, rename or duplicate it.
Single Value items require an exact topic. A saved Single Value or Chart item can also become a native Home Screen widget.
iPhone & iPadAdd a Home Screen widget
Add a Home Screen widget
- For a value widget, save a Single Value dashboard item. For a chart widget, save a Chart dashboard item with an exact topic and JSONPath. For an action widget, create a saved MQTT shortcut.
- On your Home Screen, touch and hold an empty area, then open the widget gallery through Edit → Add Widget.
- Search for MQTT Pro. Choose MQTT Value, MQTT Chart or MQTT Shortcuts, select a size and add it.
- Touch and hold the new widget and choose Edit Widget. Select the dashboard item or shortcut you created.
The system schedules widget updates. If the sensor publishes a retained message, the widget can read it as soon as it connects. Open the chart in MQTT Pro to follow incoming readings live.
See Apple’s guide to adding and editing Home Screen widgets.
iPhone & iPadRun an MQTT shortcut based on a condition
Run an MQTT shortcut based on a condition
This shortcut turns on a fan when the room temperature exceeds 25 °C.
In MQTT Pro
- Create a Single Value dashboard item named “Living Room”. Use the climate topic and
$.temperature. - Create an MQTT shortcut named “Fan On”. Select your fan’s broker, then enter its command topic and payload. For this example, use
home/fan/setwith{"state":"on"}.
In Apple Shortcuts
- Open Apple’s Shortcuts app and create a new shortcut.
- Search for MQTT Pro’s Get Dashboard Value action. Choose the “Living Room” dashboard item.
- The action returns text without a unit. Add Get Numbers from Input to convert that output for comparison. If it returns a list, add Get Item from List → First Item to select the single number.
- Add an If action. Use the resulting number and set the condition to is greater than 25.
- Inside the If branch, add MQTT Pro’s Run MQTT Shortcut action and select “Fan On”. Leave Otherwise empty if nothing should happen below the threshold.
- Name and run the shortcut. Confirm that the value can be read and that your device receives the command.
To schedule the shortcut, add a personal automation in Shortcuts.
The shortcut checks the condition each time it runs. Get Dashboard Value waits up to eight seconds for a retained or new reading before reporting a timeout.
Apple’s guides explain If conditions and personal automations in more detail.
Mac, iPhone & iPadConfigure mutual TLS and MQTT 5
Configure mutual TLS and MQTT 5
With mutual TLS, the client verifies the broker’s certificate and the broker verifies the client’s certificate.
- Enter the broker’s hostname and TLS port, for example
8883for MQTT over TLS. - Enable TLS. Under Certificates, choose how to verify the broker. If a trusted certificate authority signed its certificate, select CA signed server certificate.
- Under Client Certificate, choose Select and import your client certificate. Under Client Key, import the matching private key.
- Choose Test, then Connect when the test succeeds. If it fails, check the hostname, certificate validity, matching key and the broker’s client-certificate requirements.
Enable MQTT 5
In Advanced, set MQTT Version to 5.0. Configure session expiry, receive maximum, packet size or topic aliases as needed.
In the send view, set publish properties such as Content Type, Message Expiry, Response Topic and Correlation Data. Shortcuts using an MQTT 5 broker have the same properties.
Session expiry controls how long the broker keeps a disconnected session. Message expiry controls how long an individual publication remains available for delivery.
Set a Last Will message
In the broker settings, expand Last Will Message. Enter a topic such as home/console/status and a message such as offline. Choose the QoS and enable Retain Message if new subscribers should receive the last status. Connect with these settings. If this client disconnects unexpectedly, the broker publishes the Will to that topic.
iPhone & iPadSend a message with the code editor
Send a message with the code editor
- Connect to your broker and open Messages.
- Enter the destination topic. To reuse a message’s topic, choose Send Message to Topic in its detail menu.
- Choose JSON, XML, YAML, Base64, hexadecimal or plain text. Enter your payload in the editor.
- Choose the quality of service (QoS) and whether to retain the message. For MQTT 5, set any publish properties you need.
- Tap the send arrow.
{
"scene": "Evening",
"lights": {
"state": "on",
"brightness": 65
},
"transition": 2
}With retain enabled, the broker stores the latest retained message for the topic and delivers it to new matching subscribers.
iPhone & iPadOrganize subscriptions as folders
Organize subscriptions as folders
- Open the active subscriptions for your broker and tap Add Topic Subscription (+).
- Enter a topic filter and choose a color for the subscription.
- Select the folder view. Topic levels separated by
/appear as an expandable hierarchy. - Open the relevant branch to select a topic and view its messages. Use the search field to narrow the subscription list.
- One topic
home/kitchen/temperature- One level
home/+/temperature- A whole branch
home/#
+ matches one topic level. A final # matches the remaining levels. Open the topic tree to see topics from received messages.
iPhone & iPadInspect structured payloads and images
Inspect structured payloads and images
- Select a message, or tap a data point in a live chart. On iPhone, the message opens in a new view. On iPad, selecting a chart point opens its message in the side pane.
- In Topic & Payload, select the formatted view for JSON or XML.
- Select a chevron to expand a nested object.
- Choose Raw to open the original payload in the read-only editor. The editor detects the format.
- Tap an image preview to open it.
Use the message’s ellipsis menu to find actions such as subscribing to its topic, sending a message to the same topic and exporting messages.
Mac, iPhone & iPadSync settings with iCloud
Sync settings with iCloud
- Sign in to the same Apple Account on each Mac, iPhone or iPad you want to sync and make sure iCloud is available on each device.
- Open MQTT Pro’s settings and choose iCloud Synchronization.
- Turn on Synchronize, then choose the configuration categories you want to share, such as brokers, subscriptions, dashboards, live charts and shortcuts.
- Open MQTT Pro on the other device. When the broker appears, connect to it to start receiving messages.
Message history and historical chart readings stay on each device.
Credentials and imported certificates are stored in Keychain. If you want to synchronize them too, review the separate Credentials & Security option in iCloud settings.
Mac, iPhone & iPadTroubleshoot connections and messages
Troubleshoot connections and messages
Connection failed
Use Test in the broker settings. Check the host, port, transport, WebSocket path and TLS configuration against your broker’s settings. Verify your credentials and use a unique client ID. Check the broker log for the connection error. On Mac, select the broker in the main window and press ⌘L to open its log in a separate window.
Connected without messages
Compare the subscription filter with the publisher’s topic. MQTT topics are case-sensitive. Publish a test message to the topic. Unless the broker has a matching retained message, subscribing does not retrieve old messages.
Empty chart
Open a received message and confirm its JSON structure. Check that your JSONPath selects a number and that its topic matches the data source. Use $.temperature only when “temperature” is a top-level property.
Missing widget or shortcut item
Create and save the item in MQTT Pro first, then select it again in Edit Widget or the Shortcuts action. Value actions need a Single Value dashboard item; chart widgets need a Chart item.
Get Dashboard Value timeout
Get Dashboard Value needs a retained or newly published message. Ensure the broker is reachable from this device and that a reading arrives during the action’s wait period.
Mac & iPadInspect messages in a table
Inspect messages in a table
- In Messages, select a subscription. On Mac, click Message Table at the bottom of the send area. On iPad, use Show Message Table in the toolbar.
- Open Table Columns and choose the fields you want side by side. For MQTT 5 requests and replies, try Response Topic and Correlation Data.
- For a wildcard subscription, enable Color Rows by Topic to distinguish topics as messages arrive. Select a row to open its message details.

Mac, iPhone & iPadAnalyze a chart’s stored readings
Analyze a chart’s stored readings
- Open a chart in Live Charts. In its ellipsis menu, choose Value Analysis. If the chart has multiple data sources, use Source to choose one.
- Under Stored Readings, compare the latest value with the minimum, maximum, average and median for that data source.
- Check Recent Trend for the direction of the latest readings. It uses up to 20 values and their timestamps. Choose Refresh to include newly received readings.
On Mac, choose Open in New Window in the chart header to keep the live chart visible alongside its analysis.
