Skip to content

Console

Doug Snitker edited this page Dec 4, 2026 · 3 revisions

Console

The console is a page in a browser on the node's own computer where you run the node. It shows:

  • every channel on the radio (Public and any others), with the node's own alert and test posts;
  • the direct messages people send the node, with its replies;
  • every contact on the radio;
  • where radios last checked in, on a map of your counties.

From it you send messages as the node, run the node's commands, and change the radio's settings, so you don't need the MeshCore app on a phone.

It came back in 1.3.0, read-only. 1.5.0 added sending, contacts and favorites; 1.6.0 added the command bar, the radio panel, contact actions, room servers, and check-ins on a map.

Turn it on

It's off unless config.toml says otherwise. Add:

[console]
enabled = true
port = 8737    # on 127.0.0.1 only

Then restart the node:

systemctl --user restart mesh-contingency

The log should say Console on http://127.0.0.1:8737.

Open it

On the node's computer, as the user the node runs as:

~/mesh-contingency/.venv/bin/mesh-contingency-console

It checks the bot answers, then opens the page in your browser. --print shows the link instead, to paste into a browser yourself.

The page has three tabs on the left, Channels, Contacts and Map, and shows what you pick on the right: a conversation, with who sent each message, when, how many hops it came over and its signal (SNR), or the map. It refreshes every few seconds. Each tab, and each conversation, shows how many new messages or check-ins it has. On a narrow window it shows the list first, then the chat.

Send a message

Pick a channel, or a contact on the Contacts tab, type, and press Send. It goes out from the node as one message:

  • On a channel it goes out as <node name>: <text>, the way the node's alerts do, so it has room for a little less than a direct message; the counter beside the box shows how much fits. It shows sent, or not sent if the radio refused it. Channel messages aren't acknowledged, so sent means the radio sent it, not that anyone heard it.
  • To a contact it's retried until the radio hears an acknowledgement. It shows delivered, or not delivered if none came back. Companion radios and room servers can be messaged (see Room servers); repeaters and sensors are listed but can't be.

Try it on a test channel before Public, which everyone in range sees.

Chatting. Once you've messaged someone from the console, what they send back is chat: it shows in the console, and the node doesn't answer it with unrecognized user or function. Commands they're allowed, like wx, still get an answer. This lasts until the bot restarts.

Contacts

The Contacts tab lists your direct messages first, then every contact on the radio. Each contact shows its kind, when its last advert was heard and how many hops away it is. Above the list:

  • Find a name or key searches by name, or by the start of the key.
  • Show lists only favorites, or one kind: companions, repeaters, room servers or sensors.
  • Sort puts the most recently heard first, or the most recent message, or sorts by name.

The page remembers what you picked to show and sort by, in that browser. The list catches up with contacts the radio learns about roughly once a minute.

Favorites. Pick a contact of any kind and press ☆ Favorite. Favorites get a ★ and come first in the list, whatever the sort. The star is kept on the radio, in the contact's favorite flag, not in the browser, so it lasts through restarts. Press it again to remove it.

The command bar

A bar under the header runs the node's commands, as an admin's direct message would, and shows the reply just below it. Nothing goes over the mesh except what the command itself sends.

Button What it does
Advert A flood advert, so radios across the mesh find the node. Asks for a second click.
Zero-hop advert An advert only radios in direct range hear.
Status How the node is doing, as status answers.
Test alert Posts the weekly test now, as testalert does. Asks for a second click.
Weather… Type a zipcode, or a county and state, for the wx reply.
Radio… Opens the radio panel.

A command that [commands] in config.toml turns off has no button. Admin rights and rate limits don't apply: whoever has the console has the node's computer. The log says which command ran, never its reply or which place you asked about.

The radio panel

Radio… opens the radio's settings in place of the chat; × closes it. Each change shows how it went in the reply panel below the bar.

Settings

  • Name, TX power and position (latitude and longitude), and whether adverts share the position. Other radios see a new name after the node's next advert.
  • Manual add: new nodes wait under Heard, not added until you add them; the admins' radios are still added. Below it, on firmware that has it, pick which kinds the radio still adds by itself (companions, repeaters, room servers, sensors), and whether a full contact list makes room by replacing its oldest non-favorite.
  • Telemetry sharing: who may ask the node for its battery, location and sensor readings: no one, contacts allowed it, or anyone.
  • Statistics (uptime, battery, signal, airtime, packets, whether the clock is right), Set the clock, This node's card (a meshcore:// link others can add it from), Nearby nodes, and Reboot (asks for a second click; the bot restarts with the radio).
  • Nearby nodes asks every node in direct range to answer, then lists them, with how well each hears this node and how well it's heard, and which aren't in the contacts yet. It waits up to 15 seconds for answers.

Frequency. Pick one of MeshCore's regional presets (those with the same settings are listed together, like Canada / USA), or Other settings… for the frequency, bandwidth, spreading factor and coding rate. Change… asks for a second click, then the radio reboots to use them and the bot restarts with it: open the console again in a minute. Every radio on a mesh uses the same settings, so a node on others hears no one.

Channels. The radio's channels, by slot. Add one:

  • a hashtag channel (#name): its key comes from its name, so anyone who knows the name can join;
  • a private channel: paste its 32-hex-digit key, or leave the key empty and a new one is made and shown, to give whoever should join.

Remove takes one off, except Public and the alert channel.

Contacts. The nodes the radio heard but didn't add (in manual-add mode), each with Add, and adding a contact from its card (meshcore://...).

Left out on purpose: a factory reset, and exporting or importing the radio's private key. From a browser page, one can't be undone and the other would hand over the node's identity.

Contact actions

Pick a contact, and Actions in its header has:

  • Find a path, Trace the path (the SNR at each repeater on the way) and Reset the path (the next message floods to find a new one);
  • Share nearby (sends it to radios in direct range), Contact card, and Remove from the radio (asks for a second click);
  • Telemetry, if the contact shares it.

For a repeater, room server or sensor, log in first: type its password, or leave it empty for guest access, and press Log in. The password goes to the radio and nowhere else. Then:

  • Status, Telemetry, and for a repeater Neighbours;
  • as admin, the Access list, and a command line: type a command such as get tx or set af 2 and press Send the command; its reply shows below the bar. The log never has the command, since one may carry a password;
  • Log out.

Requests over the mesh wait up to a minute for an answer. No answer most often means the node is out of range, or the login has lapsed.

Room servers

Log in to a room server from Actions, and the room's posts come to the node: they show in the room's conversation, each with who wrote it (their name, or the start of their key if they aren't a contact). Type to post in the room. Since 1.6.0 the bot never treats a room's posts as commands, so nothing posted there gets an answer from the node.

Map and check-ins

Radios check in on one channel. Set it in config.toml, then restart:

[checkins]
channel = "#contingency-comm"  # a hashtag channel (added to the radio if it isn't there), or "Public"

The log says Check-ins on the #contingency-comm channel (slot 2). Check-ins need the console on.

  • Checking in. A radio posts its position on that channel: 32.35008, -99.77465 (many radios send theirs with a button). The node answers on the channel, @[Dana] checked in, at most every 5 minutes for each radio.
  • Checking out. The radio posts checkout; the node answers @[Dana] checked out.
  • A position anywhere else, in a direct message or on another channel, isn't a check-in.

The Map tab lists each radio's latest check-in, newest first, with where it is in words, from the map's roads: S 14th St & Sayles Blvd, Co Rd 150, 0.6 mi N of FM 89, or 0.4 mi W of US Hwy 83 & FM 707 when it's off the road. Pick one to find it on the map. The map shows the counties in [alerts] counties, their towns and highways, and streets and county roads as you zoom in; drag to move, scroll or pinch to zoom.

Check-ins are kept in checkins.json, next to config.toml, through restarts, until the radio checks out or you Clear it in the list (it asks for a second click). The log says who checked in, never where.

The map works offline. It's made once, from the Census Bureau's TIGERweb, the first time the bot starts with a network, and kept in basemap.json (a few MB; about a minute for 20 counties). It's made again only when the counties change. Nothing is fetched while you look at it. Without counties there's no map, but check-ins still show in the list.

What to know

  • It starts empty. It holds what the radio hears from when the bot starts: the newest 200 messages of each conversation, in memory only. A restart forgets them. Nothing is written to disk or the log.
  • Only this computer. The bot listens on 127.0.0.1 only. Each start makes a new key, and the link with it is in console.url next to config.toml, readable only by you.
  • The log says where each message went and how many characters it had, never what it said, and which contacts were made favorites.
  • After a restart, open it again. The old key stops working, and the page says Signed out: the bot restarted. Run mesh-contingency-console again.
  • Only the radio's channels. The radio hands over channel messages only for the channels in its slots. Add one in the radio panel to see it.

If it doesn't open

What you see What to do
The console is off: add [console] enabled = true to … Add it as above, then restart.
No …/console.url: the bot isn't running or Nothing answers at … The bot isn't running, or started before you turned the console on. Restart it and check the log.
… didn't take the key in console.url Restart the bot, then run it again.
Warning: the console couldn't listen on 127.0.0.1:8737 Something else has that port. Set another port in [console] and restart.
Signed out: the bot restarted Run mesh-contingency-console again.
not delivered on a message to a contact No acknowledgement came back. They may be out of range, or the path to them changed; try again later.
not sent on a channel message The radio refused it, often because it was busy. Send it again.
Two contacts on the radio share that key Two contacts' keys start the same. Message that one from your radio.
… is already running. That command or request hasn't finished; wait for its reply.
Log in to … as admin first. The command line needs an admin login: log in from Actions with the admin password.
no answer; log in first, or it may be out of range Log in from Actions, or try again when it's in range.
This radio's firmware can't add by type The adding-by-kind choices need newer radio firmware.
The Map tab says Making the map of the counties It's being made; this needs the network once.
The Map tab says Couldn't make the map (…) No network, or TIGERweb didn't answer. It's tried again every 10 minutes.
Warning: [checkins] channel is set, but check-ins are taken only with the console on Turn the console on, as above.
No check-ins: set [checkins] channel … Add [checkins] channel if you want check-ins, then restart.