Skip to content

Live packet map

The existing Map panel has a Live traffic view for MeshCore, Meshtastic, and MeshCom (local sniffer only). Reticulum keeps its existing map. The standalone development preview is /live-traffic-preview.html on the Vite server; it uses the same panel, starts without packet observations, and can connect explicitly to a real regional feed. There is no generated or simulated traffic in either entry point.

For setup and day-to-day use, see the Live traffic map user guide.

Sources and regions

Local traffic uses the client's existing packet logs and node positions. MeshCore's Traffic source dropdown selects Local radio, Regional Beacon, or Regional CoreScope. Choose a regional preset or enter a custom map URL and click Connect; connection is read-only, never automatic, and sends no local radio packets, node directory, messages, or location. Each provider's URL is saved separately. Within the running app, each protocol retains its Overview/Live traffic choice, source, connection, feed region, filters, map viewport, and floating feed state when navigating to other panels or protocols. Overview also suspends the live drawing without disconnecting a regional session. Explicit Disconnect/Cancel, changing the source, disabling the protocol, or closing the app ends that session; reopening the app still requires Connect. These public feeds need no API key; this implementation does not accept administrator keys or authenticated private feeds. Meshtastic and MeshCom retain a local traffic source only (no Beacon/CoreScope) because those regional APIs carry MeshCore observations. MeshCom routes digipeater callsigns via buildMeshcomLiveTrafficEvents; digis without positions leave partial routes.

Beacon region subscriptions come from that server's region directory and also scope node and observer REST requests. CoreScope regions use the server's IATA directory; its global WebSocket stream is filtered locally against explicit observer membership. Unknown membership is excluded when a region is selected. All traffic and Current map area filter the display independently, without hardcoded geographic presets. Local maps initially fit valid node positions, including the configured self position, and fall back to a world view when no position is available. The MeshCore local transport scope filter is separate from geography and is hidden for regional sources.

Colorado's public deployment supports packetObservation and channelMessage. Message bodies are joined to observations by exact packet hash, whether text arrives before or after the observation. Reports with the same packet hash share one feed row and a union of retained directed branches, with CoreScope collision estimates labeled separately. Shared edges draw once; newly observed branches animate without replaying old branches. Separate source sessions never share grouping or animation identities. The popup shows a short excerpt; selection shows the full bounded text and separate branch links. Encrypted or unavailable text is labeled without inventing content. No messages are added to the normal chat store.

Local MeshCore repeats use the full path-independent payload and routing context as their grouping identity, rather than a short CRC alone. Meshtastic grouping also verifies packet identity and exact payload content. Already decoded Meshtastic text can appear in the feed; MeshCore ciphertext is not matched to chat messages using timing heuristics. The configured self position is available to local receiver geometry, including the existing static-location override.

The verified Beacon presets are Colorado Mesh, MeshCore Canada, Palouse Mesh (Pacific Northwest), Meshat (Sweden), Atviras Tinklas (Lithuania), EastMesh (Australia), MeshCore Catalunya (Spain), MeshMapper (worldwide), and BSmesh (Braunschweig, Germany). Older Palouse and EastMesh servers provide resolved paths with fewer observer/repeat fields; missing endpoints remain unknown.

CoreScope presets are Boston (New England), Chicagoland, Rhineland (Germany), Meshat (Sweden), EastMesh (Australia), Atviras Tinklas (Lithuania), and Palouse Mesh (Pacific Northwest). These use separate API endpoints from those communities' Beacon deployments. Selecting a preset does not connect automatically. The catalogs are in src/renderer/lib/map/beaconPresets.ts; public service availability can change.

Beacon uses its public API contract, including /api/v1/ directories and a configured /ws subscription. CoreScope uses /api/nodes, /api/observers, /api/config/regions, and its root WebSocket endpoint. CoreScope broadcasts on connection without Beacon's configuration frames. Public plaintext arrives inside packet observations; no per-channel history is fetched.

Display and route fidelity

Control packets without an identified sender show their purpose: Node discovery request, Node discovery response, or Control packet when the subtype is unavailable or unrecognized. These descriptions do not identify the sender. Sender identity never falls back to a receiver or route hop. The CONTROL category remains unchanged for filtering. Colorado Beacon's current live observations omit control payloads and subtypes, so they use the generic label; subtype data is used when a source supplies it without fetching per-packet detail requests.

Packet motion illustrates observation order, not radio propagation speed. Each observation retains its original contiguous hop runs. Unknown, ambiguous, or unlocated hops break paths, including when the same node occurs on both sides of a missing hop. MeshCore direct paths are not presented as completed traversals. Meshtastic only draws a source-to-client segment for a known direct RF reception; multihop and MQTT observations do not invent intermediate hops or a local receiver.

CoreScope shares transmission raw_hex across observations. Each report's validated path_json supplies its own hop order. Server-resolved candidates must match those on-air prefixes and a located full key in the directory. When the server chooses among colliding prefixes, the route is labeled Server-estimated route; the client does not invent a nearest-node choice. Missing, unlocated, or mismatched candidates remain gaps. Reusing the shared raw packet path for every receiver would erase real branches and draw incorrect routes.

CoreScope's timestamp and first_seen describe the transmission's first appearance, not necessarily this observer's receipt. Live retention uses local feed arrival time so later receiver reports can extend the same packet's graph; the original first-seen timestamp is retained as provenance. Timing is illustrative, including when a server batches reports.

The animation follows CoreScope's packet travel behavior: a 660 ms linear hop, a growing line behind the packet, an outlined leading dot, an arrival pulse, and a short fade after arrival. Shared edges animate once; new branches follow their known predecessors. Normal playback reveals only traveled edges and removes completed trails. Selecting a packet shows its retained graph for inspection. The scheduler and renderer are implemented locally for the client's observation model and bounded canvas. Optional Hop tones (header checkbox after the map-area control, off by default) play a soft Web Audio tone (root + octave partials on one harmonic series) when each hop starts flying for local, Beacon, and CoreScope traffic alike; pitch is quantized from geographic hop distance while note length matches that hop’s 660 ms flight (scaled by playback speed).

The automatic fit over a node directory leaves out a few isolated positions (liveTrafficFitCorePoints in liveTrafficModel.ts): a point is dropped only when it is outside the nearest 95% of points, more than three times that radius from the median, and at least 2 degrees from it. Directories with fewer than 20 located points are framed whole, and Fit traffic frames current packets exactly. On the Colorado Beacon directory of 2026-10-30 the rule left out 3 of 630 located nodes (placeholder positions near the North Pole, in New Hampshire and in New York), which shrank the first view from 37 to 85°N and 109°W to 13°E down to 37 to 42°N and 109 to 96°W.

Scroll zoom uses half-level steps and a lower wheel sensitivity; explicit plus/minus controls remain available. Map details and source configuration expand on demand. The panel and map shrink to their available container height, including at the app's 150% font setting, so expanded controls do not force the feed below the window.

Current map area filtering, markers, and packet motion follow the visible wrapped world. Links across the dateline take the short route instead of drawing across the whole map. Automatic fitting and Fit traffic also use the smallest longitude arc so nearby nodes across the dateline stay together.

Source settings preserve the chosen server region when closed, expose Disconnect or Cancel while a feed is active, and support Escape with focus returning to the settings button. Geographic Map area is independent of the server's Feed region. The fit button uses current traffic when available; incoming packets do not pan the map automatically. Existing Show on map actions return to Overview and use its normal focus controller.

The transparent feed is movable by its grip or arrow keys (Shift increases the step). Its height leaves room for the zoom controls above it, and packet details take at most half of the feed so the list keeps at least one row in a short window. Expansion grows upward from its bottom anchor; collapse restores the compact bar there, including after temporary viewport clamping. Reset restores the default lower-right position. Pause freezes displayed events and inspection geometry and stops animation while new input remains bounded. Resuming does not replay paused traffic.

The dark map uses OpenStreetMap raster tiles with a neutral dark filter applied only to tile images. It requires no CARTO key. See offline maps for tile-provider caching and download restrictions.

Pop-out window

Open in new window moves the live view into a second BrowserWindow, one per protocol, managed by src/main/ipc/live-map-handlers.ts. The page is a second renderer entry, live-map.html with liveMapWindow.tsx and the LiveMapWindow component, beside index.html on whichever origin the main window loaded: the mesh-client://renderer origin, the packaged file:// fallback, or the Vite server in development. It uses the shared preload and the default session, so origin-based IPC checks, localStorage preferences and mesh-tiles: work unchanged, and it never writes preferences. Its CSP must match index.html; index.contract.test.ts asserts that.

Radio state stays in the main window. While a pop-out is open, useLiveMapWindow (through LiveTrafficWindowSlot in the Map panel) publishes snapshots on liveMap:publish, and main forwards them as liveMap:snapshot only after the page has called liveMap:init. A snapshot (liveMapSnapshot.ts) holds the newest LIVE_TRAFFIC_MAX_PACKETS entries of that protocol's packet log, the five node fields traffic geometry reads (LiveTrafficNode), the sniffer public keys and the receiver position. Nodes and keys are sent only when they change or after the pop-out loads, at most four snapshots a second. Main relays instead of a BroadcastChannel because each file:// page has its own opaque origin, so a channel would be silent in the fallback.

Each window owns its regional feed session, since the beacon:* handlers key sessions by sender. The inline panel unmounts while the pop-out is open, so only one session runs. The view (LiveMapView: center, zoom, basemap, source and connected feed) moves with the map both ways: the open request carries it, the pop-out reports changes on liveMap:reportView, and the close event returns the last one. A feed connected in one window reconnects once in the other without refitting the map. A handed-over view, like one restored after navigation, also stays put while nodes or a regional directory load afterwards; automatic fitting resumes after Fit traffic, a new connection, or a Map area change.

Only the main window may open, close, list or publish; only a pop-out may initialize, report a view, select a node, toggle keep-on-top or dock itself. A node click in the pop-out (liveMap:selectNode) focuses the main window and opens the node detail modal, which shows on any panel. Details resolve against the active protocol's nodes (MeshCore nodes resolve from either protocol), so a Meshtastic node clicked while MeshCore is active switches the main window to Meshtastic and selects the node in the same transition. Closing or reloading the main renderer closes the pop-outs. Bounds and keep-on-top persist per protocol in live-map-window-state.json in the user data folder and are ignored when off every display. Reticulum has no live traffic view, so it has no pop-out. The Electron end-to-end test e2e/live-map-window.spec.ts pushes a received ADVERT through the MeshCore fixture radio and checks that it reaches the pop-out.

Resource bounds

  • One animation canvas, at most 64 admitted edge flights, drawing at most 60 times per second while motion is active, device pixel ratio capped at 1.5.
  • Up to 128 displayed edges per selected graph, 400 memoized node markers selected from the viewport, 32 inspector location chips, and 25 feed rows. Truncated inspection lists indicate the remainder. Selected and active endpoints have marker priority. Completed animation trails fade out instead of leaving persistent recent graphs.
  • A pop-out snapshot carries at most 200 packets and is published at most four times a second; node rows are sent only when the node map changes.
  • At most 200 recent observer reports retained; live display expires reports after 60 seconds. This is not a guarantee of 200 distinct packets. Grouping retains the resolved observed and server-estimated edges in those reports, preserving route uncertainty; the canvas applies its own display bound.
  • Regional renderer updates batch at most four times per second. Their publication timer stops while the map is inactive or the document is hidden; the single regional connection continues collecting only its bounded recent reports. Inactive maps unmount Leaflet, markers, the feed list and animation canvas while retaining the lightweight controller and source form. Returning restores the viewport and does not replay retained traffic. Animation stops while paused, hidden, idle, or reduced motion is enabled.
  • Native requests have size/time limits, public-address validation, pinned DNS, no redirects or credentials, bounded WebSocket input, and reconnect backoff. Each snapshot attempt cancels sibling directory requests on failure. Unrelated CoreScope regions do not consume the selected region's forwarding allowance; global parsing limits still apply. Reconnect refreshes directories and, for Beacon, recent public messages; CoreScope fetches no message history. Observations missed during the gap are not replayed.
  • The native client and its beacon:* IPC (src/main/ipc/beacon-handlers.ts with src/main/beacon-feed.ts) ship as the sibling main bundle beacon-handlers.js, outside the measured index.js budget. index.ts loads it before the main window opens and passes in ipcMain and the shared assertIpcSender, so the data-reset sender fence applies. If it fails to load, mcL1524 is logged and Connect shows the map's error state.
  • Directory snapshots cap at 5,000 nodes and 1,000 observers. The UI indicates a limited directory when those bounds are reached. Selecting a Beacon region scopes directory requests; CoreScope keeps a bounded global directory because only observer membership filtering is verified for its live stream.
  • The loopback-only Vite regional bridge reuses the native read-only client for both providers. It exists only during development and preserves the browser's external tile fallback.

These are implementation limits, not a measured performance comparison with CoreScope. MeshCore BLE reception has been exercised in the native app; physical Meshtastic radio behavior still needs a real-device review.