Community MQTT Gateway & Live Map Setup
Meshtastic Armenia operates an official MQTT broker (mqtt.msh.am) that connects community nodes with the Live Mesh Dashboard and real-time network monitors.
๐งญ Overview & Connection Guidelinesโ
Who Should Enable MQTT?โ
- Stationary Home Stations (
CLIENT_BASE): Nodes plugged into mains power with persistent Wi-Fi access. - Rooftop & High-Site Nodes: Gateways positioned to capture broad RF coverage across cities or valleys.
- โ Handheld / Portable Nodes (
CLIENT): Should NOT enable MQTT in everyday use. It wastes battery, consumes cellular data, and creates unnecessary duplicate packet reports when moving.
โ๏ธ Broker Connection Parametersโ
Configure your device using the Meshtastic mobile app (Android / iOS) or the Web Client:
| Setting Parameter | Required Value | Notes |
|---|---|---|
| MQTT Enabled | ON (Enabled) | Master switch in Module Config |
| Server Address | mqtt.msh.am | Public community broker |
| Server Port | 1883 | Default standard MQTT port |
| Username | meshdev | Community access credential |
| Password | large4cats | Standard Meshtastic community password |
| Encryption Enabled | OFF (Disabled) | Do not enable TLS on port 1883 |
| Root Topic | /msh/EU_868/AM/ | Regional topic root (leading slash required) |
| Channel Uplink Enabled | YES | Must be turned on under Channel Settings |
| Downlink Enabled | โ NO (Disabled) | CRITICAL: Never enable on community client nodes |
๐ฑ Mobile App Setup Instructionsโ
- Open the Meshtastic app and connect to your node over Bluetooth.
- Tap Settings (gear icon) -> Module Config -> MQTT.
- Toggle MQTT Enabled to ON.
- In Server Address, enter
mqtt.msh.am. - Enter Username:
meshdevand Password:large4cats. - Ensure Encryption is toggled OFF.
- Set Root Topic to
/msh/EU_868/AM/. - Save settings (the node will restart).
- Next, go to Channels -> select your primary channel (
MediumFast):- Set Uplink Enabled to ON.
- Keep Downlink Enabled set to OFF.
โ ๏ธ The Golden Rule: Downlink MUST Be Disabledโ
- Uplink (RF -> MQTT): Your node hears a radio packet from nearby users and forwards it to the internet dashboard. This is safe and helps map network coverage.
- Downlink (MQTT -> RF): Your node receives internet traffic from the MQTT broker and retransmits it over the local 868 MHz radio frequency.
If casual users enable Downlink, global internet traffic and bot spam will flood the local RF spectrum in Armenia, causing high channel airtime utilization, lost packets, and severe interference for emergency comms. Downlink is reserved exclusively for authorized, rate-limited community gateway bridges managed by network administrators.
๐ Privacy & Public Uplink Controlsโ
The Armenian community respects privacy and individual node operator preferences:
1. Relaying to the Global Map (OkToMQTT)โ
By default, packets sent to mqtt.msh.am power the local Armenian portal (msh.am).
- If you also want your node to be forwarded upstream to the global Meshtastic public map (
mqtt.meshtastic.org), ensureOkToMQTT(lora.config_ok_to_mqtt = true) is checked in your node's LoRa configuration.
2. Complete Internet Opt-Out (ignore_mqtt)โ
If you want to communicate strictly over local LoRa radio and never have your node, location, or telemetry relayed to the internet:
- In the app, navigate to Settings -> Radio Config -> LoRa.
- Turn Ignore MQTT (
lora.ignore_mqtt = true) to ON. - The
api.msh.amgateway inspects this packet flag and strictly drops any packet originating from nodes configured withignore_mqtt = truebefore it reaches public endpoints or databases.
โก Next Stepsโ
- Verify that your node appears on the Live Mesh Dashboard.
- Review Channel Configuration & Encryption to tune your channels.
- Check Mesh Etiquette for guidelines on node roles and broadcast intervals.