Run your own node

Set up a node

A Linux computer, a MeshCore radio on its USB port, and about 15 minutes. One command installs everything as your normal account, and another checks it. Weather comes from the National Weather Service, free, with no sign-up.

You’ll need

  • A Linux computer that stays on, with the internet: a Raspberry Pi will do
  • A MeshCore radio with the USB companion firmware, for the node
  • Your own radio with the MeshCore app, to be the admin’s
  1. 1

    Install it

    Run one command on the node’s computer, as your normal account. It asks two questions: the counties to watch, and your radio’s key, so you’re the first admin. Then it installs everything and sets the node to start whenever the computer does.

    If a one-time step needs the computer’s admin, such as letting your account use the radio, it tells you exactly what to run.

    install
    curl -fsSL https://raw.githubusercontent.com/DJSnitker/mesh-contingency/main/install.sh | bash
    
    Counties for weather alerts, e.g. Taylor, TX; Jones, TX: Taylor, TX; Jones, TX
    Your radio's public key, to be its admin (Enter to skip): a1b2c3...
  2. 2

    Check it

    With the radio plugged in, one more command checks everything: the radio, your settings and your counties. Then it starts the node and waits until it’s listening, and says plainly what to fix if something’s wrong.

    check
    ~/mesh-contingency/install.sh --check
    
    Running, with no warnings.
    The node is listening. Next: send it help from an
    admin radio, and test a reboot.
  3. 3

    Meet it from your radio

    Two radios can message each other once each has heard the other announce itself. The node announces itself when it starts; do the same from your radio (an advert, in the MeshCore app), then send the node help. Send testalert last: the test message and the counties watched should show on Public.

    from your radio
    help
    → commands: help, alert, testalert, advert, status, wx. Send help <command> for usage
    testalert
    → testalert: posted to Public; next weekly test Wed 5:00PM CST

Day to day

Update, watch, remove

Once it’s running, the node looks after itself. The wiki has the commands for each of these.

  • Update by running the install command again. It moves to the newest release and never asks questions or touches your settings.
  • Watch what the node does in its records, with names and command names but never anyone’s words.
  • Remove it by turning off its service and deleting its folder.
Mesh Contingency

Weather alerts over MeshCore.

Want more information? Email information@meshcontingency.com