Skip to content

About

Ultimate MeshCore (UMC): all-in-one MeshCore firmware for Heltec V3/V4 with full WiFi web UI, setup wizard, OTA and display cycle

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3,844 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ultimate MeshCore (UMC)

All-in-one mesh radio firmware with a complete WiFi web interface, a feature-packed client, a touch client for the T-Deck, an Android app and a Windows / Linux desktop app. Set up, manage and update every node from any browser, phone or computer.

By Daren Loxley 2E0LXY

⚡ Install with the USB web flasher · 📖 User manual (A–Z) · ⬇ Latest firmware · 📱 Android app · 🖥 Windows / Linux app

Status: 0.1.43 (early). The Heltec V3 / V3.2 repeater, the Ultimate MeshCore Client and the T-Deck touch client run on hardware. Heltec V4 (OLED/TFT/R8) builds are published but not yet tested on that hardware. Room server and the T-TWR are in progress; see the roadmap.

Part Current version Download
Firmware (repeater, client, T-Deck) 0.1.43 web flasher · releases
Desktop app (Windows / Linux) 0.1.23 desktop-latest
Android app 0.1.13 app-latest
UMC Net server dashboard 2.1 server/umcnet

Repeater dashboard


Contents


Supported hardware

Board Repeater Client Room server
Heltec WiFi LoRa 32 V3 / V3.2 ✅ ✅ planned
Heltec V4 OLED / TFT / R8 ✅ build (hardware test pending) ✅ build (hardware test pending) planned
LilyGo T-Deck / T-Deck Plus — ✅ touch UI, maps and GPS (running on hardware) —
LilyGo T-TWR + SX1262 add-on planned planned —

Quick start

  1. Open the web flasher in Chrome or Edge. Choose your board and Repeater or Ultimate MeshCore Client.
  2. Optionally enter WiFi, radio-area, region, identity and security settings on the flasher page, then press Install. Choose No at “Erase device?” to keep an existing node's identity.
  3. When installation finishes, use Configure the installed device over USB and select the same serial port. ESP Web Tools writes a fixed firmware image, so personal settings are deliberately sent afterwards through the restarted device's MeshCore USB CLI. Passwords are cleared from the page afterwards.
  4. If you skipped USB setup, join UMC-Setup-XXXX and use the device's setup wizard. Then open http://umc-<name>.local/, or the IP address shown on the display.

Installation and updates

The web flasher: pick the board and the firmware type, then Install

  • USB web flasher (Chrome/Edge). It always installs the newest build. It can update (keeping identity and settings) or do a fresh install, then securely provision WiFi, the complete MeshCore radio-preset list, UK region scopes, name, passwords, location, timezone, PIN, hostname, TX and airtime limits over the same USB cable.
  • USB Web Client on the same page connects to any installed UMC repeater or client. It identifies the device, completes setup without reconnecting, provides common actions and exposes every firmware function through the full CLI, with command history, secret redaction and confirmation for disruptive commands.
  • Update through the browser: your browser fetches the latest build for this exact board and firmware type and sends it to the device. The device itself needs no internet access.
  • Internet updates on the device: checks and installs over verified HTTPS, with optional daily automatic checks or installs. The Heltec V3 client restarts into a short update mode with Bluetooth off, then returns to normal by itself.
  • Upload a firmware file in the browser. Images are validated: merged or wrong-chip images are rejected, and a wrong board or firmware type gets a warning.
  • Automatic rollback: an update must run healthily for 60 s, or the device returns to the previous firmware. ota rollback rolls back on demand.
  • Loop watchdog: a hung device restarts itself, and the reset reason is shown on the dashboard.
  • Legacy start ota hotspot, esptool, and automatic CI builds of every target on each push.

Firmware and maintenance page

First-time setup

  • Open setup hotspot UMC-Setup-XXXX with a captive portal: join it and the setup page opens.
  • Setup wizard covers:
    • radio preset, TX power and duty cycle (suggests 10 % in the UK/EU 869.4–869.65 MHz band);
    • name, and location picked from a map (rounded to ~100 m);
    • admin and guest passwords;
    • WiFi with a network scan, and telnet;
    • MQTT location code;
    • clock set from the browser.
  • Existing settings are kept, and only what you change is applied. Re-run the wizard at any time.

Setup wizard


Repeater web interface

Every setting is available from the browser. The pages work on phones and support light and dark themes.

Help everywhere: a ? beside every setting, card, dial and panel explains what it is, how to use it and why it matters, and every page has a short description under its title.

The help for one setting: what it is, how to use it, why it matters and how it works

Dashboard

A live control-room view (screenshot above), refreshed every 15 seconds:

  • Cards for packets received and sent, airtime, neighbours, uptime and battery, each with its trend against the previous hour.
  • Charts of traffic and airtime per minute (1 h / 6 h / 24 h), and of noise floor and signal. The history is kept in your browser, one reading a minute.
  • Dials for battery, last signal (SNR), channel busy, noise floor, WiFi signal and free memory.
  • Data flow: the radio, this node and its WiFi, apps, MQTT and bridge links; a line moves only while its link is up.
  • Connections with a light each: green working, amber trying, grey off or not set up, red a fault. WiFi (station) and the hotspot are separate.
  • Neighbours: repeaters heard directly, repeaters in radio range (the last hop of what was received), and the nearest known nodes.
  • Recent activity says who each packet is from (an advert's name, or a code matched to a known node) and which repeater passed it on.

Radio

  • Regional presets and frequency/BW/SF/CR, applied without a reboot.
  • TX power, duty cycle and RX gain.
  • AGC reset, CAD and interference threshold.
  • Temporary radio test.

Radio settings

Mesh & routing

  • Repeat, loop detection and path hash size.
  • Hop limits for flood, unscoped, advert and channel traffic.
  • Extra ACKs, and TX/direct/RX delays.
  • Advert intervals, send adverts, and discover neighbours.
  • Neighbours list with age and SNR, forget and discover.

Mesh and routing settings

Identity & access

Identity & access page

- Name, location (map picker) and owner info. - Admin and guest passwords. - Public key, and private key export/import. - ACL permissions.

Regions and LocalMesh presets

  • Tree view of regions. Each region has a flooding switch, set home and remove (sub-regions are removed first).
  • LocalMesh region conventions for Great Britain (gb plus gb-*) and the separate island-of-Ireland hierarchy (ioi plus province codes). Presets add broad and local entries, enable both, and set the local entry as home.
  • Strict public identifiers: 1–29 lowercase letters, digits or hyphens; up to 32 regions. Unscoped traffic remains enabled through * for compatibility.
  • Yorkshire mesh recommended settings in one click: flood limits, advert intervals and duty cycle from the Yorkshire suggested repeater commands, with gb → gb-yor region configuration.

Regions

Network

  • 3 saved WiFi networks with scan.
  • Static IP or DHCP, hostname and .local name.
  • Hotspot mode (auto/on/off), rescue delay, and hotspot password/PIN.
  • Session timeout, telnet, NTP servers and time zone.

Network settings

MQTT, bridge, power

Bridge page

- **MQTT observer**: location code, identity and what to publish. Choose a preset broker or a custom TCP/WSS broker (JWT supported), with two broker slots and a status view. - **UMC Net**: join your repeaters over the internet through your own broker. The bridge hands packets other repeaters heard to the local mesh (rate limited, off by default), and **remote control** lets the [UMC Net dashboard](#umc-net-network-dashboard-remote-control-and-approvals) run the complete signed administrator CLI on the repeater (off by default). - **ESP-NOW bridge** between nearby LoRa segments (channel, secret, delay, source), and RS-232 settings. - **Power & hardware**: power saving, battery calibration, GPS, display cycle settings and board info.

Routes & trace

  • Route table learned from adverts, showing the hop chain with repeater names.
  • Find a route, and add or pin a route.
  • Trace a path out and back, with SNR for each hop.
  • Forget a route.

Routes and trace

Live traffic

Packet list with type, route, who it is from and which repeater passed it on, hops, RSSI and SNR, plus filters and per-minute counts.

Live traffic

Map

Every node that shares a location, on an OpenStreetMap map, with a line from this device to each node coloured by hops: green direct, blue one hop, purple two, amber three, orange more.

Map

Console, maintenance, backup

Console Backup & restore
  • Console: the full command line, with history.
  • Firmware & maintenance: browser update, internet update, file update, clock sync, reboot, stats/log controls, legacy OTA, re-run setup, power off and factory reset.
  • Backup & restore: JSON backup with a preview before restoring. Passwords are excluded, and the private key is optional.
  • Sign-in with session timeout and lockout.
  • A “device not reachable” screen that reconnects automatically.
  • Optional HTTPS stats panel with history.

WiFi and networking

  • Up to three networks, tried in order, with a gateway watchdog and automatic reconnect.
  • Rescue hotspot when no saved network is reachable (PIN protected). It can also be set to always on or never.
  • Static IP, custom hostname, mDNS (http://umc-<name>.local/), network scan and captive portal.
  • Telnet command line on port 23. It is password protected and off by default.
  • App connection on TCP port 5000: companion apps and Home Assistant connect over WiFi. On a repeater, log in to its (console) contact to get status, telemetry, neighbours and the command line.
  • Time sync from NTP (UK servers by default). Mesh time stays UTC.

Display

  • Screen cycle: flashing IP address → radio → mesh → WiFi → status → live packet traffic.
  • All timings are adjustable. Modes are cycle, status or off, with a blank-after timeout.
  • The button steps through screens, and a long press powers off.
  • The start screen shows Ultimate MeshCore, the version, and By Daren Loxley 2E0LXY.
  • Setup and rescue screens show the hotspot name and whether it has a password.

Ultimate MeshCore Client

A companion radio with every app link and a complete messenger built into its web page.

  • Every app link at once:
    • Bluetooth (PIN pairing);
    • USB;
    • WiFi TCP port 5000 (up to 3 apps);
    • the browser.

Messages

  • Channels and direct messages.
  • Delivery ticks with round-trip time, plus hops/SNR and retry.
  • Search and unread counts.
  • History kept on the device and in the browser.
  • Room-server login.

Channel messages

Direct message

Contacts and repeater tools

  • Contact details: type, path, advert age and map position.
  • Contact actions: favourites, remove, reset path and share.
  • meshcore:// export/import, and a list of adverts waiting to be added.
  • Over the mesh: login, status, telemetry (Cayenne LPP decoded) and a remote admin console.
  • Set route… to define the path to a contact by hand.
  • Trace path with SNR for each hop, Trace custom path…, and discover path.

Contacts with repeater status

Routes & trace

  • Every known route, shown with repeater names.
  • Define or reset a route.
  • Trace any hop list, with SNR for each hop.

Client routes and trace

Channels and region scope

  • Channel types: hashtag, private (random secret), shared secret, and Public.
  • Share, remove, and export/import channels.
  • Region scope for each channel, so sends reach only that region's repeaters.
  • Region page with all documented Great Britain and island-of-Ireland scopes, plus a validated default scope for all sends. GB and Ireland conventions are clearly separated.

Channels

Region and scope

Map

Your node and every contact that shares a location.

Client map

Client settings and app links

  • Messaging: extra ACKs, path hash size, location sharing and client repeat.
  • Contacts: auto-add rules and hop limit.
  • Telemetry permissions.
  • Radio: airtime factor and RX delay.
  • App links: Bluetooth PIN, app connections, and live status of each app link.
  • Dashboard and display WiFi page: network, IP, .local name, hotspot and connected apps. The pairing PIN shows until an app connects.
  • The client has the same web interface, WiFi, updates, rollback and watchdog as the repeater.

Client dashboard

Messaging settings

App connections

The messenger also works on a phone browser:

Client on a phone browser


T-Deck / T-Deck Plus touch client

  • Touch interface on the 320x240 screen, with the keyboard and trackball. Tabs for home, messages, contacts, map, GPS, radio, setup and info.
  • GPS screen: fix, satellites used and seen, position, altitude and the receiver found, with a sky view plotting each satellite where it is in the sky, coloured by signal strength.
  • Home dashboard: clock and date, sunrise and sunset from your position, channel-busy, and cards for battery, GPS, nodes, messages, last signal and links. Tap a card to open its tab.
  • Repeater tools: tap a repeater in People to log in, read its status, trace its route hop by hop, set or reset the route, and run any of its commands.
  • Radio tab: live radio settings, airtime per packet, NOW / FLOOR / PEAK / MARGIN meters and a two-minute RSSI spectrum.
  • Offline maps from the SD card, with your position and contacts plotted. Build the tiles in your browser with the map builder (one zip, unzip onto the card and the folders are right first time), or with scripts/umc_make_map_tiles.py. See docs/umc/MAPS.md.
  • Without tiles, contacts are plotted by range and bearing, with distance rings.
  • Heard line: the signal screen names who the last packet came from and which repeater passed it on.
  • GPS auto-detection for both receivers used on the T-Deck Plus (u-blox at 38400 baud, L76K at 9600). The Info tab names the one that answered.
  • Setup tab: sets the radio up on the device itself, in sections — Device (name, restart, factory reset), Radio (nine bands and TX power 2–22 dBm), WiFi (scan for networks, pick one, type the password, connect), Bluetooth (on/off, pairing PIN), Region scope, GPS, and Firmware (version, update check). No computer or phone needed.
  • Info tab also shows how long it has been running and why it last restarted.
  • Start screen with the Ultimate MeshCore artwork.
  • The same Bluetooth, USB and WiFi app links, web interface and updates as the other client builds.

T-Deck start screen


Ultimate MeshCore App (Android)

  • Connects over Bluetooth or WiFi (TCP 5000) to the Ultimate MeshCore Client and other compatible companion radios.
  • Messages: queued, pending, delivered, replied and failed states; ACK round-trip time; reply return-path hops; failure diagnosis; same-route retry and automatic recovery through a recently ACKed route, live path discovery or flood fallback.
  • Contacts:
    • login, status, telemetry, trace and path discovery;
    • set route;
    • a remote admin console.
  • Channels, including a validated per-channel region scope, plus LocalMesh GB and island-of-Ireland scope shortcuts.
  • A map of everyone who shares a location.
  • Radio settings: presets, frequency, power, name, location, confirmations and Bluetooth PIN.
  • Dashboard: cards with trends, traffic and airtime charts, six dials, an animated data-flow diagram, connections, traffic mix, repeaters heard and recent activity naming each sender (history kept on the phone).
  • Device tab: opens the full web interface of any UMC repeater or client on your network, including firmware updates.
  • Source is in android/. CI builds it into an installable APK (download).
Messages Contacts Channels
Radio Map

Ultimate MeshCore Desktop (Windows / Linux)

The complete interface on your computer, for any radio you can reach, including ones without WiFi.

  • USB:
    • repeaters, room servers and client radios, with every page of the web interface;
    • firmware updates over USB, keeping identity and settings.
  • Bluetooth and WiFi app link (TCP 5000): client radios, with messages, contacts, channels, routes and trace, map, region scope and settings.
  • On your network:
    • any Ultimate MeshCore repeater or client, with its own web interface;
    • Search this network finds them.
  • Other MeshCore companion radios: messages, contacts, channels, map and the common settings.
  • Chat page: an IRC-style live feed of the channels (hops, SNR and path per message), an optional clearly labelled test-reply bot, a 24-hour dashboard and a repeater monitor.
  • Everyday use: recent connections, automatic reconnect after a restart, and its own window.
  • Downloads: a single .exe for Windows, and a .tar.gz with an installer for Linux (download). Source is in desktop/.
Connection page Messages

UMC Net: network dashboard, remote control and approvals

UMC Net joins repeaters over the internet through a broker you run yourself (setup in server/umcnet). The dashboard at https://net.<your domain>/ (behind a login) shows and controls everything on that network.

UMC Net dashboard

Tab What it gives you
Overview Repeaters and clients online, packets and messages a minute, dials for CPU, memory, disk, load, certificate and logins, a live data-flow diagram, the checks, per-repeater and bandwidth charts, latest events
Messages Every channel message your repeaters hear, live, with channel, region, sender and which repeaters heard it; send and reply into a channel or region
Network A map of every node the repeaters hear, with a link for each pair coloured by hops (green direct, blue 1 hop, purple 2, amber 3, orange 4+), filters, a table of links and the journey of each packet
Repeaters One card per repeater (device id, model, firmware, battery, noise floor, airtime, clock offset, packet types) and which repeaters hear the same packets
Control Automatically preload and change repeater settings, run the complete signed CLI, update or roll back firmware, restart and label it; actions are confirmed and recorded
Clients, Accounts Everything connected; accounts with approve, block, new password and remove
Traffic, Diagnostics, Broker, System, Log Live packets with senders, the checks and refused logins, every broker statistic, the server, the broker's log
Users A login for each person: administrator, owner (controls only their own repeaters, sees everything) or viewer
Settings Limits for every check, history length, confirmation of risky commands, alerts to a web address or ntfy, the dashboard password, downloads, service restarts

Network map: online repeaters are green with a yellow edge; click one for its details

Messages. Every group message your repeaters hear appears live on the Messages tab: the channel, the region it was sent into, who sent it and which of your repeaters heard it, how many hops away. Pick a channel or region to narrow it, and Reply or send into any channel or region; your repeaters transmit it. The dashboard reads the channels you list in Settings (a #hashtag channel needs only its name).

Messages

Data flow. The overview shows both directions: what each repeater hears and publishes (green), and what the broker hands back for its radio to send out for the bridge (amber), so you can see one repeater's traffic reaching the others.

Data flow in both directions

A login for each person. The administrator adds people on the Users tab. An owner sees the whole network and every message but controls and updates only the repeaters ticked for them; a viewer only looks. Each person changes their own password, and messages they send go out under their own name.

Users (administrator) What an owner sees on Control

Remote administration, safely. A repeater obeys nothing until you set a control key and turn mqtt.control on. Each command is signed (HMAC-SHA-256 over the device id, the time, a counter and the command), must be recent, newer than the repeater's last restart and in order, and is rate limited to 60 a minute. The signed administrator gets the complete device CLI, including WiFi, broker and firmware commands. A wrong signature gets no answer at all. Commands that change the device ask for confirmation, every action goes in the audit log, and secret commands and replies are redacted there.

Public viewer. /public/ is a separate read-only dashboard with live repeater, network and traffic details. It has no write endpoints and never returns accounts, client addresses, control keys, configuration, logs, private owner information or repeater coordinates learned through private control commands.

Joining with one switch (firmware 0.1.27). Switch UMC Net on in a repeater's MQTT page (or set mqtt.umcnet on). The repeater asks the dashboard to let it in: a bell bar appears on every dashboard page and the Accounts tab lists the request. Press Approve and the repeater gets its own account, remote control and the bridge, sent to it encrypted so only it can read them, and connects. Nothing is typed. The manual settings and the join code stay under Advanced on the repeater's page. How it works and why it is safe: docs/umc/ENROL.md.

Joining with one line. On the Accounts tab, add a repeater (or press Join code on its row) and copy the line it shows: set mqtt.join UMC1.…. Paste it into the repeater's Console (or the Join code box on its MQTT page) and press Enter. The repeater applies the broker, its account, the area code, raw packets on, transmitted off, the bridge and (if the repeater is approved) the remote-control key, then connects. A damaged or incomplete code is refused instead of half-applied. set mqtt.umcnet on|off is the on/off switch afterwards, and get mqtt.umcnet shows where it stands. The broker address is built into the firmware, or carried in the code for another operator's server.

Approving new repeaters. A new repeater account waits as pending: it can connect and listen, but cannot publish or be controlled. The dashboard shows who connected, from where and the start of its device id; you paste its full id (it must match the one that connected) and approve. Block shuts an account out at once, and the dashboard warns if a different device uses an approved account.

Control (settings, firmware and neighbours with names, read when you open it) Accounts and approval

Install on your server with one command (see server/umcnet/README.md for the details): curl -fsSL https://raw.githubusercontent.com/2E0LXY/ultimate-meshcore/main/server/umcnet/dash/install-dash.sh | sudo bash. The dashboard runs unprivileged (Python standard library only, about 20 MB); a small root helper on a Unix socket does account changes and the login password.


Command line

Every setting in the web interface is also a command. Commands work over USB serial, telnet, the web console, or remote admin over the mesh.

wifi.ssid, wifi.pwd, wifi.ssid2/3, wifi.pwd2/3, wifi clear, wifi scan, get wifi.scan, wifi.enabled, get wifi.networks, wifi.status, wifi reconnect
net.ip, net.hostname, net.mdns, get net.status
ap.mode, ap.password, ap.rescue, get ap.status, pin
http, http.timeout, telnet, timezone, app.tcp, get app.status
display.mode, display.ip, display.page, display.traffic, display.timeout
region preset <gb|gb-*|ioi|province>, get traffic, group.hops.max, advert.hops.max
routes, route <node>, route find|pin|unpin|forget, trace <path>, trace route <node>, get trace
update check, update install, get update.status, update.auto, update.interval, update.url, get build
get ota.state, ota rollback
get setup, setup start, setup done, get umc.version, factory reset confirm

client: name, lat/lon, radio, tx, radio.rxgain, af, rxdelay, repeat, path.hash.mode, multi.acks,
        advert, advert.flood, advert.loc, contacts.manual, autoadd.*, telemetry.*, scope,
        get contacts.count, ble, ble.pin, get ble.activepin, get app.links, gps, clock, stats, memory

The full list with explanations is in the manual's command reference.


Building

git clone https://github.com/2E0LXY/ultimate-meshcore
cd ultimate-meshcore
pio run -e umc_heltec_v3_repeater            # repeater
pio run -e umc_heltec_v3_repeater -t upload  # build and flash over USB
pio run -e umc_heltec_v3_client              # Ultimate MeshCore Client
pio run -e umc_lilygo_tdeck_client           # T-Deck / T-Deck Plus client
  • Targets: variants/umc/platformio.ini
  • Web UI source: web/umc/index.html, gzipped into the firmware at build time.
    • To try it against a simulated device, serve web/umc/ locally and open one of:
      • index.html?mock (repeater)
      • index.html?mock=setup (setup wizard)
      • index.html?mock=client (client)
    • scripts/umc_screenshots.py regenerates the screenshots in this README.
  • Web flasher: flasher/, published by .github/workflows/umc-firmware.yml
  • Android app: cd android && ./gradlew assembleDebug
  • Desktop app: cd desktop && pip install -r requirements.txt && python -m umc_desktop (build with python build.py)

Documentation

Document Contents
MANUAL.md Complete user guide: installation, every setting, troubleshooting, command reference and glossary
ROADMAP.md What's coming next
UPGRADE-PLAN.md Feature gaps against upstream and the apps, and the phased plan to close them
SPEC.md Design specification
server/umcnet/README.md UMC Net: broker, dashboard, remote control and approvals
android/README.md The Ultimate MeshCore App for Android
desktop/README.md Ultimate MeshCore Desktop for Windows and Linux

Author

Daren Loxley 2E0LXY · umc@2e0lxy.uk

License

MIT — see license.txt.

About

Ultimate MeshCore (UMC): all-in-one MeshCore firmware for Heltec V3/V4 with full WiFi web UI, setup wizard, OTA and display cycle

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages