Skip to the content.

dracoling’s quick guide to MQTT in the nyme.sh

MQTT is used by meshview and our other services to collect, collate, and distribute packet information from devices all over the mesh.

In other meshes and in the original Meshtastic design MQTT is used more for relaying between remote sites. On the NYme.sh MQTT services we have disabled the relaying function as our community has shown a strong desire to maintain the mesh via radio only.

For more information feel free to read on!

I don’t care about all the technical details, I just want to show up on the map!

Turn on “OK to MQTT” in your LoRa settings. That’s all you need to do!

Okay, maybe I care a little, how does this work?

If your node has network access (either directly or from a connected mobile client), the Meshtastic firmware has the built-in ability to share packets from the mesh to our collector service at mqtt.nyme.sh.

Various services including meshview and the dashboard can then use this collected information to create a live view of the mesh to be published online.

Yeah, but what are all these settings?

The settings are a bit confusing when you first explore, but really break down into just a few sections.

LoRa settings:

Module Settings (MQTT):

Enabling the MQTT module will tell your local node to relay specific packets to the configured MQTT service. Meshtastic provides one as default, but to contribute to the local community data we recommend you set this to mqtt.nyme.sh instead. To make it easier to enable this we use the same default username and password as Meshtastic.

MQTT Server Info for nyme.sh

Channel Settings:

Each channel has an Uplink and Downlink setting in the edit menu. These tell your local node to send packets (uplink) or download packets (downlink) for that channel from whatever is set up in its MQTT Module settings. Without the MQTT module enabled these settings will not do anything, but they will be shared as part of the channel setup when sharing via QR code or URL.

Please note that mqtt.nyme.sh will not send packets back to your node even if you have Downlink enabled on your channel. If using a different MQTT server you may get packets back, which in large networks could potentially overwhelm your NodeDB or cause your node to get a ton of messages. Please only enable this on other servers if you have checked your topic and other configuration carefully.

I still have more questions