On this page
Running a MeshCore observer#
An observer is a node that reports every packet it hears to one or more MQTT servers. Maps and analysis tools use those reports to show which nodes hear each other and how traffic moves.
Not a bridge
Unlike Meshtastic's MQTT gateways, an observer doesn't carry messages between nodes over the internet. It only reports what it hears.
Routes only appear on a map if someone nearby is observing them, so every observer adds to the picture. There are three ways to run one:
| Setup | Node | Software |
|---|---|---|
| Standalone | Repeater or room server with Wi-Fi | MQTT observer firmware |
| On a computer | Companion | meshcore-packet-capture |
| On a computer | Repeater or room server | meshcoretomqtt, with custom firmware |
Standalone observer firmware#
The MQTT observer firmware is a version of MeshCore's repeater with Wi-Fi uploading built in. It needs a board with Wi-Fi, such as an ESP32-S3 board.
- Flash it from the MeshCore Observer Flasher. Pick MQTT Observer Firmware and your device.
- Connect to its console over USB, or log in as admin from the companion app, and set it up:
set radio 910.525,62.5,7,5
set name MyObserver
set mqtt.iata SEA
set wifi.ssid YourWiFiNetwork
set wifi.pwd YourWiFiPassword
reboot
The radio settings are frequency, bandwidth, spreading factor and coding rate, and they must
match your mesh. mqtt.iata is a three-letter location code, usually your nearest airport. The
Wi-Fi values take the rest of the line, so don't add quotes.
After it reboots, check that it joined Wi-Fi and connected:
get link.status
get mqtt.status
To make it receive-only, so it observes without also repeating, add set repeat off.
Choosing servers#
The firmware can report to up to six servers, one per slot. Slots 1 and 2 default to Let's Mesh US and EU. Many regional meshes have their own server built in as a preset:
get mqtt.presets
set mqtt3.preset meshmapper
If your local mesh runs its own server and it isn't a preset, set up a custom slot with the details they give you:
set mqtt3.preset custom
set mqtt3.server mqtt.example.net
set mqtt3.port 1883
Servers that use the same login scheme as the built-in presets also need
set mqtt3.audience <server>. Others need set mqtt3.username and set mqtt3.password. Ask
whoever runs the server which one applies.
The full command list is in the observer firmware's MQTT guide.
Observing from a computer#
If your node stays plugged into a computer that runs all the time, a program on the computer can do the uploading instead.
Companions work with meshcore-packet-capture, over Bluetooth, USB or TCP. It needs no special firmware.
Repeaters and room servers work with
meshcoretomqtt over USB. The repeater needs firmware
built with packet logging turned on (the MESH_PACKET_LOGGING=1 build flag), which the standard
flasher doesn't offer. You'll need to build it yourself, or use a prebuilt image from your local
mesh.