The Home Assistant MQTT App for iPhone and iPad

MQTT Commander is a native iOS and iPadOS app for your Home Assistant broker. Connect to the Mosquitto add-on, browse the homeassistant/# discovery tree, decode JSON payloads on the spot, and publish commands to check that an entity responds, all from your iPhone or iPad.

Free · Pro unlock $4.99, one-time

The Home Assistant MQTT App for iPhone and iPad
Free
free download, optional $4.99 one-time Pro unlock
MQTT 5.0
and MQTT 3.1.1 supported
iOS 17+
iPhone and iPad, native SwiftUI
QoS 0/1/2
with retained message support

Who it's for

  • Home Assistant users who want to inspect MQTT discovery and entity state from their phone
  • Makers integrating Zigbee2MQTT, Z-Wave JS, or custom ESPHome devices via MQTT
  • Anyone troubleshooting a Mosquitto add-on connection or stale retained payloads
  • Developers writing custom MQTT automations who need a fast publish-and-verify loop
  • Power users who want full QoS 0/1/2 control and TLS/mTLS security on the go

Watch homeassistant/# Entities Arrive

When you connect, Safe Scan subscribes to the homeassistant/# discovery prefix on its own, along with Zigbee2MQTT, Tasmota, ESPHome and Shelly roots. The topic tree updates in real time: watch homeassistant/switch/porch_light/config appear the moment a device announces itself, then open the topic to read the JSON discovery document field by field. The same view works on state topics like homeassistant/sensor/temperature/state, so you can confirm your sensors publish the values Home Assistant receives. The Pro unlock adds a JSON diff against the previous message and raw hex and Base64 views. Learn more in our Home Assistant guide.

Publish Test Commands Without Leaving Your Phone

The publish composer lets you draft a message before it goes anywhere. Type or paste a JSON payload, set the topic, choose QoS, and toggle the retain flag. Use it to send ON or OFF to a homeassistant/switch/.../command topic and watch Home Assistant react in the companion app side-by-side. Publishing {"brightness": 128, "state": "ON"} to a light entity, or a JSON command to a climate device, works the same way from the iOS app. Manual publishing is free and has no limit. If the broker refuses the write, the app says so and points you to the ACL.

Fix Mosquitto Add-on Connection Issues with Connection Doctor

Connecting to the Mosquitto add-on from outside your home network, or from the same Wi-Fi with an IP typo, can be frustrating. The profile form flags common mistakes first, such as port 8123, which serves the Home Assistant web interface. Connection Doctor then runs staged diagnostics: it checks DNS resolution, TCP reachability on port 1883 (or your custom port), the TLS handshake, MQTT CONNACK reason codes and write permission, and explains in plain language where the connection broke down. Certificate Manager imports a CA or a client certificate for mTLS, and the app keeps all credentials in the iOS Keychain, never in a plain-text config file. WebSocket and WSS transports work alongside raw TCP and TLS, so you can reach Mosquitto through an NGINX reverse proxy.

Spot and Clear Stale Retained Discovery Payloads

A retained homeassistant/# discovery message that lingers after you remove a device will cause a ghost entity to keep reappearing in Home Assistant. MQTT Commander marks retained messages in the topic tree and has a Retained filter, so stale payloads stand out. Once you find the culprit, the Pro unlock clears it from the publish screen with an explicit confirmation, so you can't wipe a live config by mistake. Safe Scan also covers zigbee2mqtt/#, so you can audit device announces and bridge logs in the same session.

Privacy-First: Your Broker Data Never Leaves Your Device

MQTT Commander connects from your iPhone straight to your broker. There is no cloud relay, no message proxy, and no account sign-up. The app processes broker hostnames, credentials, and message payloads on-device, and stores them in the iOS Keychain or local app storage. The only data that leaves your phone is anonymous, opt-out crash diagnostics via Sentry and anonymous usage counts via Aptabase, neither of which contains any broker or payload information. That makes the app suitable for home-lab setups that handle personal sensor data, energy monitoring, or security devices.

Frequently asked questions

Can MQTT Commander connect to the Mosquitto add-on in Home Assistant?

Yes. Enter the local IP address or hostname of your Home Assistant instance, port 1883 for plain TCP or 8883 for TLS, and the credentials you set up for the Mosquitto add-on. If you expose Mosquitto through an NGINX reverse proxy or use WebSocket transport on port 9001, those transports are supported too. Connection Doctor will tell you which step fails if the connection does not succeed.

Does the app support the homeassistant/# wildcard subscription?

Yes. Safe Scan subscribes to homeassistant/# on its own when you connect, and all matching messages appear in a live topic tree organized by hierarchy. The app picks its subscriptions for you and has no field for typing your own topic filter. Whole-broker discovery with # comes with Pro.

How do I view and decode the JSON payloads that Home Assistant sends over MQTT?

Tap a topic in the tree to see its latest value and each JSON field. Tap a message in the log for formatted JSON and JSONPath queries that extract a specific field from a complex discovery or state payload. The Pro unlock adds a diff between messages and raw hex or Base64 views.

Can I publish commands to Home Assistant entities from my iPhone?

Yes. Open the publish composer, enter the command topic (for example homeassistant/switch/porch_light/command), type your payload such as ON or a JSON object, choose QoS, and send. Nothing goes out until you tap Publish.

What do I do if Home Assistant shows a ghost entity that keeps coming back?

In most cases a retained discovery payload is still sitting on the broker for a device you have already removed. In MQTT Commander, find topics marked as retained in the tree. With Pro, open Delivery options on the publish screen and delete the retained value for that exact topic. That clears the broker's stored message, and the ghost entity disappears from Home Assistant after the next restart.

Is MQTT Commander a one-time purchase or a subscription?

MQTT Commander is free to download on the App Store, with no subscription, no ads and no account required. You get MQTT 3.1.1 and 5.0, QoS 0/1/2, TLS and WebSocket transports, the topic tree, manual publishing, Connection Doctor and the Certificate Manager. A one-time $4.99 Pro unlock adds Lock Screen and graph widgets, unlimited broker profiles and log export and unlimited pinned topics, and you keep it across future updates.

Get MQTT Commander

Native for iPhone & iPad. Free · Pro unlock $4.99, one-time.

Free · Pro unlock $4.99, one-time