Skip to content

Releases

1.6.0: the console runs the radio, with check-ins and an offline map

Choose a tag to compare

@DJSnitker DJSnitker released this 04 Dec 15:11
56095ca

The console runs the radio: admin buttons, a radio panel, contact actions and room servers. Radios check in on a channel you choose, and the console shows them on an offline map of your counties, with each one's cross streets.

To take check-ins, add to config.toml:

[checkins]
channel = "#contingency-comm"

Added

  • Check-ins and a map in the console. Radios check in on the channel set
    in the new [checkins] channel (e.g. "#contingency-comm"): a post of a
    position (32.35008, -99.77465) checks the radio in, and a post of
    checkout checks it out; the node answers on the channel,
    @[Dana] checked in (at most every 5 minutes per radio). A new Map tab
    lists each radio's latest check-in and shows them on a map of the
    [alerts] counties: outlines, towns and highways, and streets and county
    roads as you zoom in, with drag and zoom. Check-ins are kept in
    checkins.json until the radio checks out or they're cleared, one at a
    time, from the console. Each check-in shows its nearest cross streets
    (S 14th St & Sayles Blvd), worked out from the map with no network. The
    map comes from the Census Bureau's TIGERweb once, is kept in
    basemap.json, and works offline. The log says who checked in, never
    where.
  • Admin buttons in the console: a bar under the header with Advert,
    Status and Test alert, which run those commands on the node and show
    the reply on the page. Advert and Test alert ask for a second click,
    since they reach the whole mesh. A command [commands] doesn't turn on
    has no button.
  • Weather… in the console's bar: type a zipcode or a county and state,
    and the wx reply shows on the page.
  • A zero-hop advert button in the console's bar.
  • The console's radio panel (Radio…): the radio's name, TX power,
    position, frequency settings (MeshCore's presets, or the four values),
    manual-add mode, clock, reboot and statistics; adding and removing
    channels; adding contacts it heard, or from a contact card; this node's
    card.
  • Contact actions in the console: find, trace and reset a path; share a
    contact, show its card, remove it; log in to a repeater, room server or
    sensor for its status, telemetry, neighbours and access list, and as admin
    type commands to its command line.
  • The radio panel also has: which kinds of node to add even in manual-add
    mode (and replacing the oldest when the list is full); who may ask the
    node for its battery, location and sensor telemetry; Nearby nodes, which
    asks the nodes in direct range to answer.
  • Room servers in the console: the room's posts show with who wrote each,
    and you can post in it.

Changed

  • The console's tabs (Channels, Contacts, Map) are easier to read: plain
    labels, equal widths, and the unread count beside each label; the list
    on the left is a little wider.
  • Requires mesh-commands 0.2.1 (in packages/mesh-commands).

Fixed

  • Once logged in to a room server, a post in the room such as help or
    wx 79601 ran as a command, and the reply was posted in the room as the
    node; a post that wasn't a command got unrecognized user or function
    back in the room. The bot now answers only plain direct messages: not a
    room's posts or a repeater's command-line replies.

1.5.0

Choose a tag to compare

@DJSnitker DJSnitker released this 03 Dec 14:54
e1bda2b

The console sends messages as the node, and lists the radio's contacts with
search, filters, sorting and favorites, in Channels and Contacts tabs with the
look of meshcontingency.com.

Added

  • The console can message as the node: pick a channel, or a contact, and
    type. Each message you send shows how it went (delivered or not delivered to a contact, sent or not sent on a channel), and the
    counter shows how much fits in one message.
  • The console lists the radio's contacts, most recently heard first, with
    their kind, when they were last heard and how many hops away they are,
    and a search by name or key. Only companion radios can be messaged.
  • Console contacts can be sorted (recently heard, latest messages, name)
    and shown by kind or favorites only.
  • The console has Channels and Contacts tabs, each with its unread count,
    and the look of meshcontingency.com.
  • Console favorites: star a contact and it comes first in the list. The
    star is kept on the radio, in the contact's favorite flag.
  • The node's replies in the console show whether they were delivered.

Changed

  • Someone you've messaged from the console is chatted with until the bot
    restarts: what they send back that isn't a command they may run gets no
    unrecognized user or function reply. Their commands still work.
  • mesh-commands: MeshLink.send returns whether the message was delivered,
    and Dispatcher takes chatting, which says which senders are being
    chatted with.

1.4.1

Choose a tag to compare

@DJSnitker DJSnitker released this 02 Dec 15:28
8a4fac5

wx tells more: when alerts end, what it feels like, humidity, poor visibility
and the forecast, with alerts most severe first. (There was no 1.4.0.)

Added

  • wx tells more, in the same one message: when each alert ends
    (Tornado Warning til 6:15PM), what it feels like when the heat index or
    wind chill is 3F or more off, the humidity, the visibility when it's
    under 3 miles, and the forecast for the next two periods
    (Today 76F Mostly Sunny | Tonight 58F Rain Showers). The forecast is
    left out first when the message is full. No wind now reads calm. The
    bot's log of a wx also gives the visibility and the forecast's wind.

Changed

  • wx puts alerts most severe first. When their end times would push an
    alert out of the message, the end times are left out, so every alert's
    name is there.

1.3.0

Choose a tag to compare

@DJSnitker DJSnitker released this 01 Dec 18:13
f2c397d

The console is back, as a read-only page of the radio's conversations.

Added

  • The console is back, as a simple read-only page of the radio's
    conversations: every channel on the radio, with the node's own posts, and
    the direct messages people send the node, with its replies.
    mesh-contingency-console opens it in a browser on the node's computer.
    Turn it on with [console] enabled = true (it's off by default). It
    listens on 127.0.0.1 only, behind a key made at each start (in
    console.url). Messages are kept in memory only, the newest 200 per
    conversation; nothing is written to disk or the log. It needs no extra
    packages.

Changed

  • [console] is no longer a removed section: enabled and port work
    again. Its old remote-console settings (remote, remote_port, host,
    cert, key) are ignored, with the warning for removed settings.

1.2.0

Choose a tag to compare

@DJSnitker DJSnitker released this 30 Nov 16:20
1810ad6

The wx weather command is back, for anyone, and a status command for admins.

Added

  • The wx command is back: wx <zipcode>, wx <county, ST> or
    wx <NWS county code> replies with the current conditions, the chance of
    rain in the next 6 hours and any active alerts, in one message. The example
    config lets anyone use it (wx = { permission = "public" }); like any new
    command it starts disabled until config.toml lists it in [commands].
    A config that already lists wx no longer gets the "no longer exist"
    warning.
  • The status admin command: how the node is doing in a message or two —
    the bot's uptime, the radio (model, uptime, battery, contacts), the alert
    channel, the watched counties and when the NWS last answered, the last and
    next weekly test, and the last flood advert. Add
    status = { permission = "admin" } to [commands] to turn it on.

1.1.0

Choose a tag to compare

@DJSnitker DJSnitker released this 23 Nov 21:05
809156a

An admin command to advert the node, and an advert when it starts.

Added

  • The advert admin command: advert makes the node send a flood advert
    now, so radios across the mesh can find it, and advert zero a zero-hop
    one. It counts towards [advert] every_hours, like an advert sent with
    SIGUSR1. Like any new command it starts disabled until config.toml has
    advert = { permission = "admin" } in [commands].

Changed

  • The node adverts when it starts, by default ([advert] at_startup now
    defaults to true; set it to false to stop it). The advert is flood or
    zero-hop as [advert] flood says. It's skipped if one of the same kind
    went out in the last 30 minutes, so a bot that systemd keeps restarting
    doesn't flood the mesh every 30 seconds.

1.0.0

Choose a tag to compare

@DJSnitker DJSnitker released this 23 Nov 20:51
52ae529

Mesh Contingency is cut down to one job: National Weather Service alerts for
your counties, posted to MeshCore's Public channel, with alert,
testalert and help for its admins (plan).
Everything removed is kept on the tag archive/full-system (and the branch
archive/full); the phone app's APK and the desktop installers stay on the
v0.12.0 and earlier GitHub releases. A 0.x config still starts: what no
longer exists is ignored, with one warning naming it.

Removed

  • The web console and the remote console: mesh-contingency-console,
    [console], and the console extra (aiohttp, cryptography).
  • The phone app and the desktop app (app/), and CI's builds of them.
  • Every command but alert, testalert and help:
    • users and joining: join, approve, users, remove, whois, ...
    • the mailbox: msg, inbox, setpass, clearinbox, sealing
    • email: qm, setqm, email, emailall, setemail
    • check-ins: ok, status, checkins, roster
    • weather on request: wx, area, alertmap
    • the rest: comm, verse and the Bible, health, history, backup,
      radio, advert, contact, contacts, reload
  • users.toml, its reloading, and radio names synced into it.
  • The node watch ([watch]: admins told about problems), backups
    ([backup]), new-contact notices and auto-adding by node type
    ([contacts]), and the email caps in [limits].
  • The #contingency-wx and #contingency-comm channels: the bot no longer
    adds or renames any channel.
  • The installer's --console, --alert-channel and --comm-channel.
  • examples/mesh-dice, ENCRYPTION_NOTES.md, requirements.txt, and
    pycryptodome as a dependency.
  • The finished plans in docs/plans (on the archive branch); the roadmap is
    now short.

Changed

  • Alerts go to the Public channel by default, found by its key in
    whatever slot it's in. A radio without Public posts nothing: the bot
    warns at startup, alert and testalert say so, and install.sh --check
    stops on it. The default test message no longer names a channel.
  • [alerts] channel picks another channel for the alerts, alert,
    testalert and the weekly test: "Public", or a hashtag channel such as
    "#wx-test", to try a node out without posting to everyone. A hashtag
    channel the radio doesn't have is added to its first empty slot. A
    channel left in [commands.alert] is ignored with a warning.
  • Admins are in config.toml: [admins] keys = ["<64-hex key>", ...].
    With no [admins], the bot still reads [admin] keys from an old
    users.toml, with a warning to move them.
  • On a radio in manual-add mode, the bot adds only the admins' radios when
    they advert, and never changes that setting itself.
  • The command machinery is its own library, mesh-commands 0.1.0 in
    packages/mesh-commands (import name mesh_commands), with no imports
    from Mesh Contingency and its own README, CHANGELOG and tests, which CI
    runs on their own. mesh_contingency.api, .registry, .limits,
    .running, .output, .testing and the help command moved there;
    commands of your own import from mesh_commands. Installing takes both:
    pip install -e packages/mesh-commands -e ..
  • The installer asks a new node for its counties
    (Taylor, TX; Jones, TX) and, optionally, its first admin's key, and
    writes them into config.toml; --counties and --admin-key answer
    without asking, and a skipped answer stays on the to-do list. It no
    longer makes users.toml, and an update asks nothing. Its version line
    names the release (git describe --match 'v*').
  • install.sh --check reads the config as the bot does. It stops on a
    config mistake or no counties before starting, and on no Public channel
    or an alert watcher that didn't start after; no admins is a note.
  • config.example.toml and the README are cut down to what's left.

Added

  • A filter for the automatic alerts: [alerts] severity (Extreme, Severe,
    Moderate, Minor, Unknown) and [alerts] events (event names, any case).
    An alert is posted if it passes every filter set; with neither, all are.
    A filtered-out alert is remembered as seen, so changing the filter later
    doesn't post old alerts.
  • The one-command install
    (curl -fsSL https://raw.githubusercontent.com/DJSnitker/mesh-contingency/main/install.sh | bash),
    with --check, and the USB port check: with a radio plugged in, it says
    what keeps you from opening it (the group to join, a login that hasn't
    picked up a new group yet). It runs without sudo and refuses root, and
    prints the one-time commands that need an admin's sudo. CI lints it with
    shellcheck and runs a fresh install and an update.

Full system (archived)

Choose a tag to compare

@DJSnitker DJSnitker released this 23 Nov 17:52
344769a

The complete Mesh Contingency system, as it was before it was cut down to weather alerts on the Public channel (plan: docs/plans/simplify.md, #143).

This tag (archive/full-system, commit 344769a) is main after #142: everything in v0.12.0 plus the one-command installer (#139–#142).

It still has everything the simplification removes:

  • all the node's commands: users and join requests, the mailbox, email, check-ins and roster, wx, area, verses, contacts, radio settings, backups and the admin watch
  • the web console and the remote console
  • the phone app and the desktop app

The branch archive/full is the same code plus docs/wiki-archive/, a copy of the wiki as published on 2026-11-23.

For the app installers and the APK, see the v0.12.0 and earlier releases. Nothing is attached here.

0.12.0

Choose a tag to compare

@DJSnitker DJSnitker released this 12 Nov 17:04
841e2bb

The web console from other computers: console users log in over the local network, over HTTPS, from any laptop, tablet or phone, as an operations center needs (roadmap item 20). They're separate from radios: a console user needs no radio, and no radio, even an admin's, logs in to the console. The console on the node's own computer and the app work as before.

Turning it on

.venv/bin/pip install -e ".[console]"              # now needs cryptography
cd console && npm ci && npm run build && cd ..     # the console's new pages
.venv/bin/mesh-contingency-console user add sam    # the first console user
[console]
enabled = true
remote = true    # HTTPS on port 8738, local network only

Restart the bot. It prints the addresses and the certificate's fingerprint; check that against the browser's warning the first time. Steps, firewall and troubleshooting: Admin Guide → Use the console from other computers.

Added

  • Console users, made on the node's computer with mesh-contingency-console user add|password|remove|list, then from the console's Console users page. Passwords are stored as scrypt hashes only.
  • The remote console (remote = true): HTTPS with a certificate the node makes itself (or your own), answering only local-network addresses; an internet address is refused before the login page.
  • Logins: 30 minutes without being used (a page left open doesn't count), 12 hours at most, or a restart. 5 wrong passwords for a name, or 10 from a device, in 15 minutes wait 15 minutes. Each try is in the journal, never a password.
  • Account (change your password) and Log out; the remote console's addresses and fingerprint on the Dashboard.
  • Each console user acts as themselves: history says by sam (console), with their own rate limits and confirmations.
  • The node watch tells every admin radio about a burst of failed console logins ([watch] failed_logins, default 10 in 15 minutes).

Changed

  • radio over the mesh: changes only from the web console (on the node's computer or another one).

Downloads

The app hasn't changed since 0.11.0 beyond its dependencies; its builds are attached as usual.

System File
Android mesh-contingency-0.12.0-debug.apk
Windows mesh-contingency-0.12.0-win-x64.exe
Mac, Apple silicon mesh-contingency-0.12.0-mac-arm64.dmg
Mac, Intel mesh-contingency-0.12.0-mac-x64.dmg
Linux, any mesh-contingency-0.12.0-linux-x86_64.AppImage
Debian, Ubuntu mesh-contingency-0.12.0-linux-amd64.deb
Arch mesh-contingency-0.12.0-linux-x64.pacman

Installing each: as in 0.11.0.

Known gaps

  • No second step to logging in (no TOTP): use long passwords.
  • The certificate is self-signed, so each browser warns once.

Full notes: CHANGELOG.md.

0.11.0

Choose a tag to compare

@DJSnitker DJSnitker released this 26 Oct 03:39
43c4012

The app on a computer: a desktop app for Windows, Mac and Linux, with your MeshCore radio over Bluetooth or a USB cable (roadmap item 18). The bot and the web console are unchanged.

Downloads

System File Installing
Android mesh-contingency-0.11.0-debug.apk Sideload it (a debug build).
Windows mesh-contingency-0.11.0-win-x64.exe Run it. Windows warns about an unknown publisher: More info, then Run anyway.
Mac, Apple silicon mesh-contingency-0.11.0-mac-arm64.dmg Drag the app to Applications. The first time, open it, then allow it in System Settings → Privacy & Security (Open Anyway).
Mac, Intel mesh-contingency-0.11.0-mac-x64.dmg The same.
Linux, any mesh-contingency-0.11.0-linux-x86_64.AppImage chmod +x it and run it. It needs FUSE 2 (fuse2 on Arch, libfuse2t64 on Ubuntu 24.04); without it, run it with --appimage-extract-and-run.
Debian, Ubuntu mesh-contingency-0.11.0-linux-amd64.deb sudo apt install ./mesh-contingency-0.11.0-linux-amd64.deb
Arch mesh-contingency-0.11.0-linux-x64.pacman sudo pacman -U mesh-contingency-0.11.0-linux-x64.pacman

Things to know:

  • None of the builds is signed with a certificate, so each system warns the first time. The Mac builds are signed ad hoc, which Apple silicon needs to run them at all.
  • On Linux, a radio over USB needs your user in the dialout group (uucp on Arch).

Added

  • The app can use a radio on a USB cable, on a computer: the Node screen's Connect over USB. It remembers which way the radio was connected and reconnects to its port without asking. It never opens a radio you didn't pick, even one of the same model, such as a node's radio on the same computer. Phones stay Bluetooth only.
  • The desktop app (Electron): the same app in a window, with its own lists to pick a radio over Bluetooth or a USB port, and a box for the radio's Bluetooth PIN. The screens say "computer" instead of "phone".
  • Desktop installers, built by CI on each system. On the desktop, Open-source licenses lists Electron and Chromium.

Changed

  • The app shows the radio's name only once it's connected: before that it says "Your radio isn't connected", not the name remembered from last time.

Known gaps

  • Bluetooth on a computer hasn't been tried with a real radio yet. USB has been.

Full notes: CHANGELOG.md.