MQTT Test Console

← back

Connect with your broker account to check it works, then publish and subscribe live.

disconnected
Your ESP32 device: — connect above to check — based on the retained devices/<you>/status your board publishes on connect.
Your Node-RED dashboard: — connect above to check — based on retained devices/<you>/nodered/status presence.

Subscribe

Messages will appear here…

Publish

Tip: subscribe to devices/<you>/#, then publish to devices/<you>/test — you should see it arrive. That proves your MQTT is up.

Your MQTT settings

Keep these details visible while configuring your ESP32 and Node-RED. Your password is the one you chose during registration.

Broker hostmqtt.mariffb.my
Port8883  ·  MQTT over TLS
WebSocketwss://mqtt.mariffb.my/mqtt
Usernameenter username above
Your topicsdevices/&lt;username&gt;/#
ESP32 presencedevices/&lt;username&gt;/status
Node-RED presencedevices/&lt;username&gt;/nodered/status

Your Node-RED settings

Use these values in the shared MQTT broker configuration used by your Node-RED MQTT In and MQTT Out nodes.

NameMariffB MQTT
Servermqtt.mariffb.my
Port8883
TLSEnabled  ·  verify server certificate
ProtocolMQTT 3.1.1
Usernameenter username above
Passwordyour registered MQTT password
Client IDnodered-&lt;username&gt;
Keep alive60 seconds
Clean sessionEnabled
MQTT In topicdevices/&lt;username&gt;/#
Birthdevices/&lt;username&gt;/nodered/status → online, retained
Close / Willdevices/&lt;username&gt;/nodered/status → offline, retained
Node-RED online indicator setup

In Node-RED's MQTT broker configuration, set a retained birth message of online and retained close/will message of offline, both on the Node-RED presence topic above.

Open this page from your registration result, or enter your username above, to fill in your personal topic settings. The complete Arduino sketch is shown immediately after registration.