Meshtastic MQTT Configuration Guide

This guide explains how to configure a Meshtastic node to send data to an MQTT broker hosted on the SandBox environment.

Services Used

  • EMQX Broker – MQTT message broker

Data sent to MQTT broker is decoded using Decoding Meshtastic Messages

Device Setup

  1. Power on the Meshtastic device by pressing the button.

    pressing btn
  2. Install the Meshtastic mobile app.

  3. In the app:

    • Tap the + button.

    • Connect to the BLE device (default pairing code: 123456).

Radio Configuration

Channels

channels config
  • Select LongFast

  • Tap regenerate

  • Enable all options except precise location

  • Tap Save, then Send

LoRa

  • Enable OK to MQTT

MQTT

mqtt config
  • Enable MQTT

  • Address: mqtt.<instance>.sandbox.engineering

  • Username: user

  • Password: ***

  • Decryption: Disable

  • TLS: Enable

  • Proxy Client: Enable

  • Map Reporting: Enable

  • Map Reporting Interval: 60 seconds

Position

position config
  • Position broadcast interval (seconds): 60

Final Step

The device will reboot and begin sending data to the configured EMQX broker.