MQTT Test Console
← backConnect with your broker account to check it works, then publish and subscribe live.
devices/<you>/status your board publishes on connect.
devices/<you>/nodered/status presence.
Subscribe
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 host | mqtt.mariffb.my |
|---|---|
| Port | 8883 · MQTT over TLS |
| WebSocket | wss://mqtt.mariffb.my/mqtt |
| Username | enter username above |
| Your topics | devices/<username>/# |
| ESP32 presence | devices/<username>/status |
| Node-RED presence | devices/<username>/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.
| Name | MariffB MQTT |
|---|---|
| Server | mqtt.mariffb.my |
| Port | 8883 |
| TLS | Enabled · verify server certificate |
| Protocol | MQTT 3.1.1 |
| Username | enter username above |
| Password | your registered MQTT password |
| Client ID | nodered-<username> |
| Keep alive | 60 seconds |
| Clean session | Enabled |
| MQTT In topic | devices/<username>/# |
| Birth | devices/<username>/nodered/status → online, retained |
| Close / Will | devices/<username>/nodered/status → offline, retained |
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.