- Connect/Disconnect (+ progress + status) moves from Home to the Settings tab, so
the recently-heard list moves up — Home stays a pure monitor.
- The app opens on Settings (where Connect lives) until a companion is connected,
then jumps to Home; the live monitor is shown only when there's something to watch.
- Last reception shows the resolved node name when available, upgrading from the raw
ID once names.js resolves it (label derived live each tick).
SW cache v8→v9.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Home becomes a pure monitor and a new Settings tab holds config/diagnostics.
- Discover now runs automatically while connected with a 15 s traffic backoff
(an overheard 2-byte forwarder/advert means a busy channel — don't poll on top
of it); standstill still suspends it. The Flood probe is removed entirely.
- New Settings tab: CoreScope broker status + "Push pending now", companion info,
diagnostics (verbose, debug log, share/mail the log via Web Share API).
- Home enriched: nodes/hex/rx counters, status strip (GPS accuracy, pending,
upload health + last-upload age, capture rate), last-reception SNR peak-hold
meter, discover status line.
- Fix the +60-pending-on-WiFi bug: publish() now times out instead of hanging on
a dead socket, drainLoop re-arms in finally so it can never die, MQTT keepalive
lowered, and a drain is kicked on broker reconnect / window online.
Pure logic in src/monitor.js + src/sharelog.js with tests. SW cache v7→v8.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Wake lock held for the whole session (native Screen Wake Lock where available,
hidden muted loop video fallback for Bluefy/WKWebView), acquired in the Connect
user-gesture so iOS allows video.play(), released on disconnect. Shows a notice
when Web Bluetooth is missing (iOS Safari → Bluefy). SW cache → v7.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Feed each GPS fix into the idle gate; while paused, skip queueing/counting/
mapping new receptions (recent-heard list still updates as liveness) and
suspend the Discover loop. Adds an amber status chip; bumps SW cache to v6.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Per review: deployment config is a runtime config.json fetched at startup (MQTT
url/account/password + optional resolveUrl), not build-time VITE_*/.env. Sysops
host the static build and drop in config.json — no source edits, no rebuild to
change config. config.json (with the publish password) is gitignored; a
config.example.json is committed. Updates the howto, AGENTS rules, and the
pre-public secret scan accordingly.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Design for making corescope-rx a public, self-hostable companion app: keep the
build-time VITE_* config model, move the one hardcoded endpoint (names.js BASE)
to VITE_RESOLVE_URL, rewrite the README with a sysop self-host howto, add
AGENTS.md + a GPLv3 LICENSE, scan git history for secrets, then flip to public.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A direct-routed packet consumes the next hop from the FRONT of the path
(firmware Mesh.cpp removeSelfFromPath), so path[last] is the route's
destination-side end, not the node we physically heard — crediting SNR/RSSI to
the wrong (often far-away) node. Flood forwarders append at the end, so there
path[last] is correct. deriveHeardKey now skips DIRECT (2/3) multi-hop packets
via a new isFloodRoute() guard; the debug log calls them out explicitly. Also
covers TRACE (always DIRECT). bump 0.8.0 -> 0.8.1, sw cache v3 -> v4.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Discover button now sends a zero-hop node-discover request (CONTROL/DISCOVER_REQ,
cmd 0x37) every 30s with an in-button countdown; meshpacket parses DISCOVER_RESP
into a heard_key (src=discover). Wire format verified against meshcore_py + firmware docs.
- replace Ping with a one-shot Flood probe (mesh-wide advert, 60s cooldown) that maps
repeaters beyond direct range via overheard re-broadcasts.
- meshpacket: guard TRACE packets (header path bytes are per-hop SNR, not hop hashes)
so they can't yield a bogus heard_key.
- debug log: green reserved for captures, orange for our own sends, explicit grey
notice for 1-byte path-hash packets, and a Verbose toggle for raw 0x88 bytes +
unattributable frames.
- bump version 0.7.0 -> 0.8.0, sw cache v2 -> v3.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Green = forwarded/sent (heard/attributed, published, discover/ping sent),
red = held back/failed (not attributable, no GPS, publish/send errors),
grey = status. (No version bump — v0.7.0.)
On connect, query DEVICE_INFO (CMD_DEVICE_QUERY) and read path_hash_mode (byte
81, fw v10+). If it's 0 (1-byte, collision-prone → our rule rejects it), set it
to 1 (2-byte) via CMD_SET_PATH_HASH_MODE and report it below the Connect button.
Discover sends one zero-hop self-advert (CMD_SEND_SELF_ADVERT=7, byte1=0) to
wake/probe only the directly-surrounding nodes (NOT flood). Ping is a toggle:
the same zero-hop advert every 15s, auto-reset whenever a multibyte packet is
heard. Buttons enabled only while a companion is connected.
- 📍 follow button: override the app's global button padding/margin so the icon
sits centred in the box
- service worker: bump cache name + purge old caches on activate
- (nginx on rx.on8ar.eu now sends no-cache for index.html/sw, immutable for
hashed assets, so new versions actually reach clients)
The map's position marker only moved when a packet arrived, so it appeared to
hang and jump. GPS fixes (watchPosition) now feed the map directly via
setPosition; hexes are still added only on a real RX.