Skip to content

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

Latest

Choose a tag to compare

@DJSnitker DJSnitker released this 04 Dec 15:11
· 8 commits to main since this release
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.