Repository navigation
Install
One file, no Python needed.
macOS — paste these into Terminal. Use curl, not your browser: a browser
flags the download and macOS then refuses to open it at all, and on Sequoia and
later right-click → Open no longer gets you past it. curl flags nothing, so it
simply runs.
curl -fL -o meshterm https://github.com/jpmartineau/MeshTerm/releases/download/v1.0.0/meshterm-1.0.0-macos-arm64
chmod +x meshterm
./meshtermThat is the build for Apple silicon Macs (M1 and later). On an Intel Mac, swap
arm64 for x64.
Linux — the same three lines with linux-x64, or linux-arm64 on a uConsole
or another 64-bit ARM handheld.
curl -fL -o meshterm https://github.com/jpmartineau/MeshTerm/releases/download/v1.0.0/meshterm-1.0.0-linux-x64
chmod +x meshterm
./meshtermWindows — download meshterm-1.0.0-windows-x64.exe, then run it from Windows
Terminal or PowerShell rather than by double-clicking, so you can read anything it
says on the way up.
.\meshterm-1.0.0-windows-x64.exeCardputer Zero — install MeshTerm from M5Stack's app store on the device. The
same package is attached below as meshterm_1.0.0-1_arm64.deb.
Every binary below is listed in SHA256SUMS. The version-less copies —
meshterm-macos-arm64 and its four siblings — are the same binaries under a name
that never changes, for anything that wants whichever release is newest without
being told its number. Installing with pip or pipx, and the rest of the
detail.
What changed
MeshTerm reaches 1.0. The command line, its --json answers, the configuration keys,
and the preference names are promises from now on. A change that breaks one of them waits
for 2.0. This release also gives MeshTerm sounds for the messages that you want to know
about, a device page that reports everything the companion knows, the neighbours that a
repeater hears, a relay mark on each channel message that you send, and the older LoRa Cap
of the Cardputer Zero.
Added
-
Device info says everything that the companion reports. The status panel grew from
nine rows to twenty-six, in four groups. What the node is: its role, its public key
with the routed bytes lit, its model, its firmware with the companion protocol version,
and the place where it says it is. What MeshTerm does with it: the default flood
scope and the transport key of that scope, the active site with the outbound paths and
the kept device routes that apply here, and the name of the radio preset that the four
radio settings match. How it is doing: the battery, the storage, the sensor readings
of the node itself, the clock with its drift as a readable duration, the uptime, the
contacts and the channels against the capacities of the device, the packets that wait to
go out, and the firmware error count. What it heard and sent: the noise floor with
the last RSSI and SNR, the airtime, and the packet counts, now split into flood and
direct for both directions. A node with no scope says that its floods reach everyone. A
node that stores a scope key that its own scope name does not give says so, which
nothing else in MeshTerm could show. Each value wraps under its own column, so a long
reading never goes back to the left edge, and a 64-digit key stays whole. -
meshterm infoanswers with the settings too. It gives three parts: the status, the
sensor readings as a listing, and every setting of the device. The settings come from
the one definition thatconfig showanswers with, under the keys thatconfig getand
config settake. Thus the scripted face says the same about a device as the page does,
and no setting is spelled two ways.--jsongives the status at the top level, the
readings undertelemetry, and the settings undersettings. -
A channel message that you send shows whether a repeater relayed it. A channel has
no acknowledgement, but your radio hears each repeater that relays your message. The
end of your message shows a spinner, then✓and the number of repeaters that sent a
copy back, or✗when none did. A copy that comes late changes the mark, the same as a
late acknowledgement of a direct message. Select the message to see the names of the
repeaters. The wait is the new Relay wait preference (heard_wait_s, 30 s). MeshTerm
sees only the repeaters that your radio hears, and only while it is connected.
meshterm chat history --channelshows the same count in aHEARDcolumn, and
--jsongivesheardandheard_by(#38). -
MeshTerm plays sounds for the messages that you want to know about. A DM, a mention
of your node, a channel message, a room post, and a low battery each have their own
sound, from Android's set (the Android Open Source Project, under the same licence as
MeshTerm). Each event has its own switch, all on except the packet tick, and a muted
channel is silent. A mention plays always by default, also on a muted channel. It can
also follow the rules of other messages, or count as a regular message. A mention in a
DM plays the DM sound. On-screen chat (on by default) decides whether the open
conversation plays its sounds.
Ctrl+S mutes or unmutes the sounds from any screen, and the header shows 🔊 or 🔇. The
new Sound group of preferences has the theme (Android, terminal bell, or no sound), a
volume slider of ten steps that plays each step, a short tick for each packet heard (off
by default), and a flash of the title for a notification that plays no sound. The
PicoCalc has no sound, so there each notification flashes. The idea came from the
MeshTerm Discord. -
MeshTerm drives the older LoRa Cap of the Cardputer Zero. M5Stack made two LoRa
Caps. The newer Cap LoRa-1262 has an antenna switch, and a small chip that turns the
switch on. The older Cap LoRa868 has the same SX1262 radio on the same pins, and no such
chip, because it has no switch. MeshTerm asked for that chip on every Cardputer Zero, so
an owner of the older Cap read "nothing answers at 0x43 on /dev/i2c-1" and could not
connect at all. Now MeshTerm looks for the chip, and where none answers it asks the radio
what it is. An SX1262 that gives its name is the older Cap. The device screen calls the
row Cap LoRa before you connect, because nothing can know which Cap is attached until
the node runs, and after that it names the Cap that answered. A Cardputer Zero with no Cap
at all still says that no radio answered. Found on the MeshTerm Discord. -
A repeater's admin page lists the neighbours that it hears. A repeater keeps a table
of the nodes that it receives directly. Until now the only way to that table was three
steps into the trace path composer, and the answer dissolved into the evidence of a route.
The admin page has a Neighbours row, and the list it opens is a full screen with the
lanes, the sort, and the type-to-filter of the Contacts list. Two of its lanes belong to
the remote node: SNR is what that node measured, and HEARD is how long ago that node
received from the neighbour. Enter opens the node page of a neighbour, also one that
nothing can name, which then shows what the stored history knows about a node that your
own radio never heard. -
A radio with no channel gets the standard Public channel at startup. A radio that
arrives with no channel cannot send anywhere, because each send needs a slot. The empty
Chat picker read as "nobody is here". MeshTerm now writes the Public channel that MeshCore
itself ships, on slot 0, and says so on the splash. The new Public on empty device
preference (public_on_empty_device) turns it off.
Changed
- Ctrl+E shows or hides the pairing PIN. It was Ctrl+S, which now mutes the sounds.
Fixed
- A filter never hides what a page does. Find-as-you-type searches the data of a list:
the contacts, the settings, the channel slots, the queued messages, the records. A row
that acts on the page is not data. A typed query used to take the Apply and Back pair of
an editor, the Actions sections of Device config and of the repeater admin, the Add rows
of Channels and Outbound paths, the archive rows of the Contacts list, and the actions of
eight other pages. Apply has no key of its own, so a filter that hid it left it reachable
only by an Esc that nothing on the screen named. Those rows now stay while you type. - The name "Public" no longer makes a channel that nobody hears.
#Publicis not the
standard Public channel. Its key comes from its name, so its hash is different and no
other node is on it. The two add rows sit side by side, and Public is the obvious word to
type into "Public channel name:". The name now asks again and offers the standard channel,
without refusing the name. - Two channel messages with the same text no longer share their copies. The paths
dialog matched a copy of your channel message by its text in a window of 15 minutes. Two
"test" messages a few minutes apart then showed the copies of both. Now a copy of your
own message must also carry the time of that send.
You ❤️ MeshTerm? Please give the repository a ⭐. It helps other MeshCore users find it, because GitHub ranks projects by stars in its search and topic pages. 🙏