Repository navigation
How to run several nodes
Exercise: multi-node perimeter. One node sees a corner. Several nodes on one encrypted channel cover the whole site, each run the scans you plan for them, and show up together on one map.
| Players | Operator: commands the fleet from one node or the Command Center. Red cell: walks the perimeter carrying a Bluetooth tag they own. |
| Kit | Two or more flashed nodes with the LoRa region set (Meshtastic radio setup). Three or more with GPS to locate a device. For the map, the Command Center with a Meshtastic radio on its USB port |
| Time | 90 minutes |
- Every node answers on a private channel under its own ID.
- Each node runs its own planned scan.
- The red cell's tag is located from the nodes' combined readings.
Steps 1 to 8 set this up. The injects and debrief follow.
Meshtastic starts on a public channel with a well-known key. Anyone in range running stock firmware can read your commands, detections, and coordinates on it.
- In the Meshtastic app, create a new channel with a generated key and a name of your own.
- Make it the primary channel.
- Turn off the public default channel.
- Share the channel to every node's radio and to your phone by QR code or channel URL. Every node must carry the same channel.
Nodes between you and a distant node relay your messages, 3 hops by default. Run one firmware version across the mesh, because message formats can differ between versions.
A node picks a random ID from AH10 to AH99 the first time it starts, so two nodes can share one. Set each ID yourself. An ID is 2 to 5 letters or digits.
- Web UI: System tab → Settings → Node & mesh → Node ID → Update.
-
Over mesh:
@AH41 CONFIG_NODEID:AH02. The node repliesCONFIG_ACK:NODE_ID:OK.
Address the command to one node by its current ID. @ALL CONFIG_NODEID:AH02 would give every node the same ID. Do not give a Meshtastic radio a short name that matches a node ID, because the node ignores a message whose sender name equals its own ID.
Send @ALL STATUS. Each node replies with its own ID, as in AH01: STATUS: Mode:WiFi+BLE Scan:IDLE Hits:0 ....
On a Full node, System tab → Fleet lists the nodes heard on the channel. Ping Nodes sends @ALL STATUS for you.
On a Full or Headless node, type FLEET in a USB serial monitor. The node prints one JSON line listing itself, then each node it has heard on the channel and each other radio heard in the last 15 minutes, up to 48. Nodes stay listed after they go quiet and after a reboot. An entry heard in the last 2 minutes shows "alive":true.
A laptop plugged into one node, Full or Headless, can start, stop, and check scans on the other nodes. The node puts your command on the mesh, and the radios carry it to the node you name, or to every node with ALL.
- Open a USB serial monitor on the node at
115200. - Type
FLEET_SEND:<node> <command>, with a space between the node and the command:
FLEET_SEND:AH02 STATUS
FLEET_SEND:ALL DEVICE_SCAN_START:2:300
FLEET_SEND:ALL STOP
- The node replies
FLEET_SEND:200 Sent to AH02. The other nodes' answers then appear on the same serial monitor, as in[MESH RX] AH02: STATUS: ....
| Part | What it is |
|---|---|
<node> |
A node ID of 2 to 5 letters or digits, or ALL. It cannot be this node's own ID |
<command> |
One of STATUS, STOP, DEVICE_SCAN_START:, SCAN_START:, SCHED_ADD:, SCHED_LIST, SCHED_DEL:, CAMPAIGN_START:, CAMPAIGN_STOP, CAMPAIGN_STATUS, BLE_CLASSIFY:, CALIBRATE:, or CALIBRATE_RESET
|
The node refuses every other command, including erase and settings commands, with FLEET_SEND:400 Command not allowed. It replies 409 when mesh is off, 413 when the line is too long for one mesh message, and 503 when the mesh is busy.
On a Full node, the web UI sends through the same path: Fleet plan, the scheduler's node picker, the Status, Stop and Schedules buttons on each node in Fleet, campaigns on several nodes, and remote calibration. Scripts can call it at /api/fleet/send. See the API reference.
Nodes out of range. Every node keeps the commands it hears for other nodes. If the node a command is for doesn't answer within 8 to 16 seconds, a node that heard the command sends it on, up to 3 hops. The answer comes back the same way. A node runs each command once, however many copies reach it. This works the same with Meshtastic and MeshCore radios.
Nodes that missed a command. A node that is on but hears two others answer a command it never got asks one of them for it, and runs it. A scan comes with the time it has left. A node that was off does not get commands it missed while off.
- Plug a Meshtastic radio into the Command Center computer. Close every other program that holds the port.
- Config → Serial Connection → Device Path → Select detected port. Leave the baud at
115200and Send Mode atprotobuf. - Open Console and send
@ALL STATUS. Each node replies. - Open Map for the live nodes, and Nodes for each node's status, site, last seen, location, and temperature.
One Command Center install has one local radio. Its radio must be on the same channel as the nodes.
On a Full node: Scan tab → Schedule → Fleet plan. Each row puts one scan on one node's schedule.
- Click Ping Nodes on the System tab → Fleet first. The node list holds every node heard so far, with the ones heard recently first.
- Set each row:
| Field | What it sets |
|---|---|
| Node | The node that runs the scan. This node is first. Type a node ID adds a Node ID box for a node not heard yet (2 to 5 letters or digits) |
| Scan | Device discovery, Target scan, or Drone RID |
| Radio | Wi-Fi, Bluetooth, or both. Not shown for Drone RID |
| Wi-Fi channels | Device discovery only. For example 1,6,11, for this scan only. Blank uses the node's own setting |
| Start (node time) | First start, in that node's local time |
| Duration (min) | 1 to 1440 |
| Repeat | Once, hourly, every 6 or 12 hours, daily, or weekly |
- Click Add row for the next node or scan, then Send plan.
- Each row shows On AH02's schedule when the node answers, or why it refused.
To see or delete another node's schedule, pick it under Schedules on another node and click Show. A node out of range gets its row through the nodes in between.
Over the mesh, send each node its own SCHED_ADD. This runs a daily 10-minute Wi-Fi device scan on AH02 and Drone RID on AH03:
@AH02 SCHED_ADD:2026-10-07T21:00|86400|/sniffer|detection=device-scan&deviceScanMode=0&secs=600
@AH03 SCHED_ADD:2026-10-07T21:00|86400|/drone|secs=600
See Scheduled scans for every field. The same SCHED_ADD sent twice adds one entry.
Triangulation needs three or more nodes with a GPS fix. With fewer than three GPS nodes the coordinating node sends no final fix. Use the same antenna and mount height on every node. Send the hunt to one node, which runs it with every other node:
@AH01 TRIANGULATE_START:AA:BB:CC:DD:EE:FF:60
@AH01 TRIANGULATE_RESULTS
In the Command Center, open Targets, find the target, and click Triangulate. Set Duration (seconds) (20 to 300), RF Environment, and the WiFi Power Multiplier and BLE Power Multiplier, then click Start Triangulation. Track runs a coordinated tracking session of 10 to 600 seconds. See Locate a device and Triangulation.
Each Command Center install needs its own SITE_ID. The Command Center uses it to tell which site an event came from. The default is default.
- Set
SITE_ID(and optionallySITE_NAME) before the first start, for exampleSITE_ID=alphaon one install andSITE_ID=bravoon the other. For Docker, use the.envin the repository root. For a native install, useapps/backend/.env. - Restart the backend after you change it.
- To share data between the sites, open Config → MQTT Federation on each one. Give each its own Client ID and the same Broker URL. The default Client ID is
command-center-<siteId>.
The Command Center README covers the broker settings under "MQTT Configuration Cheat Sheet".
| Time | Inject | What the nodes send | Operator decision |
|---|---|---|---|
| T+0 | The operator sends @ALL STATUS. |
One STATUS reply per node, each under its own ID |
Is any node missing or sharing an ID? |
| T+5 min | The operator sends a Fleet plan: a device scan on each node at its corner. | Each node answers SCHED_ACK:OK, then scans at the planned time. Device discovery ends with SCAN_DONE: W=<n> B=<n> U=<n> ...
|
Did every row show On ...'s schedule? |
| T+10 min | The operator plans a scan on the node farthest away, out of the operator's radio range. | A nearer node passes the row on as FLEET_CMD. The far node answers SCHED_ACK:OK, and the nearer node passes the answer back |
Did the far node's row show On ...'s schedule? Which node passed it on? |
| T+20 min | The red cell stops near one edge of the site with a Bluetooth tag they own. | The tag appears in that node's Bluetooth results | Which node heard it first, and how strongly? |
| T+25 min | The operator hunts the tag: @AH01 TRIANGULATE_START:AA:BB:CC:DD:EE:FF:60
|
T_D readings from each node, then T_C with a map link |
Does the map put the tag where the red cell stands? |
| Tabletop | One node goes silent mid-exercise. | No reply to @ALL STATUS from that node |
Lost power, lost radio, or taken? Who goes to check? |
- Could anyone outside your channel read the exercise traffic? If the nodes were on the public default channel, yes.
- Did a busy node refuse a command with
BUSY? Send@ALL STOPbefore a new scan. - Where were the blind spots between nodes?
If a node is missing:
- If it does not answer
@ALL STATUS, check that its radio has a LoRa region and carries the same channel and key as the others. - If two nodes both answer
@AH01, they share an ID. Change one over USB serial or from its web UI. - If Fleet plan lists no other node, click Ping Nodes, or pick Type a node ID.
- If a row says No answer from AH02 yet, no answer came within 3 minutes. Check its schedule later with Show.
Start
- Choose your hardware
- Hardware and BOM
- Full or Headless
- Flash a node
- Meshtastic radio setup
- MeshCore radio setup
- First setup
- Web UI tour
Documents (PDF)
- Operator's Guide
- Assembly Manual
- Tier 1 Assembled
- Tier 2 Parts Kit
- Tier 3 Populated PCB
- Tier 4 Bare PCB
Nodes
Find devices
- Target scan
- Device discovery
- Device classifier
- Probe requests
- Randomized MAC tracer
- Drone Remote ID
- Triangulation
Watch an area
Detect attacks
Capture and respond
Field exercises
- Vehicle tripwire
- Locate a device
- Overnight watch
- Drone overwatch
- Defend your Wi-Fi
- Multi-node perimeter
- Alerts on your phone
Reference
Build