186 Commits
Author SHA1 Message Date
MrAlders0n 23fcdadf2e feat(routes): crossings between two groups of areas and repeater reach, as endpoints and MCP tools 2026-12-04 14:19:57 -05:00
MrAlders0n ec1984dda3 feat(routes): relays that carry traffic between two areas, as an endpoint and an MCP tool 2026-12-03 06:23:49 -05:00
MrAlders0n abfd353189 feat(meshmapper): import measured repeater range 2026-12-02 21:03:27 -05:00
MrAlders0n a62c652e05 feat(polling): store what a signed reading says of requested
The poller view returns it as latestReadingRequested, null when the reading does not say.
2026-12-02 14:07:38 -05:00
MrAlders0n 8a194e337e chore: bump version to 2.3.4 2026-11-29 22:50:43 -05:00
MrAlders0n a7c36e8e76 feat(polling): decode sensor channels from LPP and serve them with node telemetry
Humidity, pressure, gas and power monitor channels are decoded when a reading is stored. Positions and altitude are never decoded. Fixes the humidity size, which is one byte on the wire.
2026-11-29 21:09:23 -05:00
MrAlders0n 1ddd1e862f feat(alerts): telemetry alerts for any repeater with fresh readings, and a telemetry stopped alert
A repeater read by a poller this server does not assign now counts as polled while a trusted reading is under 36 hours old. gone_quiet takes 3 and 6 hours on every radio.
2026-11-29 20:51:32 -05:00
MrAlders0n 9820de5398 feat(api): say when an outside observer on a repeater has no claim at all
claimed is false for a stale claim too, so it cannot tell a local mode
observer from a foreign poller that went quiet.
2026-11-29 20:08:05 -05:00
MrAlders0n 455532288d chore: bump version to 2.3.3 2026-11-29 18:03:05 -05:00
MrAlders0n 2e88323a9a feat(api): tag an observer that sends readings and no claim a local poller
isLocalPoller on nodes, and its poller view lists the repeaters it sent
readings for in the last day.
2026-11-29 14:48:00 -05:00
MrAlders0n d9158125fb chore: bump version to 2.3.2 2026-11-29 13:28:21 -05:00
MrAlders0n f738b024f1 feat(api): a foreign polling claim tags the node a poller
isPoller and the poller filter now count foreign claims; isForeignPoller says which kind.
2026-11-29 09:01:50 -05:00
MrAlders0n 7c8ec6dbd6 feat(api): poller view reports the latest reading's rssi and signature 2026-11-29 05:56:20 -05:00
MrAlders0n 93e884f7eb chore: bump version to 2.3.1 2026-11-28 22:42:02 -05:00
MrAlders0n ff8637b4ab feat(polling): tell this server's observers from foreign ones
polling.foreign_claims: check takes a claim as this server's own only
when its signed poll_url names DOMAIN, or, for firmware that sends
none, when a rebroadcaster says it arrived on one of polling.mqtt_hosts.
Any other claim is foreign, and one that can be placed neither way is
dropped. The default, off, treats every claim as its own, as before.

A foreign observer is kept out of polling_claims, so it is never a
poller or standby, gets no owners answer and takes no request. Its
readings are stored, marked foreign and trusted on the same advert
evidence. A reading with no claim behind it is kept as foreign too.

Claims that carry a signature are verified with the observer's key in
every mode; a wrong one is dropped. Asking for telemetry on a repeater
a foreign observer already checks needs acknowledgeForeign.
2026-11-28 20:32:20 -05:00
MrAlders0n f360fbe8db feat(ingest): read source brokers from a rebroadcaster over MQTT 5
MQTT_BROKER_n_REBROADCAST=true marks a broker that forwards from other
brokers and names each message's source in the source-broker and
source-host user properties. The worker then connects with MQTT 5 and
records packets, observations and observer brokers under the source
name. Without it the connection is 3.1.1 as before.

Each packet keeps the set of brokers it arrived through (brokers on
packet detail). Observer broker lists and the broker filter cover the
last 30 days, and GET /brokers/sources lists the names for the filter.
2026-11-28 20:15:44 -05:00
MrAlders0n 2ae10ca1a5 revert: foreign polling claims, until the design is settled 2026-11-28 16:54:58 -05:00
MrAlders0n 306128a4bd feat(polling): rank observers that follow another server behind our own
A claim can reach a server its observer does not ask for policy. Tell
them apart by the claim's poll_url, or by whether the observer asked
this server lately, and keep such observers out of requests.
2026-11-28 16:26:43 -05:00
MrAlders0n 54ea8bdfdf feat(polling): store a claim's max_slots and poll_interval
The slot limit now follows the claim instead of a fixed 8 (default 8, ceiling 32), in the poller view and in the seat math. The poller view also reports pollIntervalMinutes.
2026-11-28 11:08:50 -05:00
MrAlders0n 4dc582938f docs(api): say what interval=1h returns and what a free seat is 2026-11-27 20:05:21 -05:00
MrAlders0n 705564b384 feat(atlas): accept the poller view on pins 2026-11-27 09:59:42 -05:00
MrAlders0n 47e6783ce7 feat(polling): trust self-configured readings without adverts, evidence_window setting
Readings of a repeater an observer polls on its own were hidden unless it heard a zero-hop advert in the last 24h. They are now trusted while no assignee of that repeater has advert evidence. The window is polling.evidence_window, default 7d.
2026-11-27 08:02:29 -05:00
MrAlders0n 5295b59440 feat(api): add the poller read for a node 2026-11-27 06:49:07 -05:00
MrAlders0n 564e904c3d feat(api): flag pollers on nodes and filter by them 2026-11-24 23:02:03 -05:00
MrAlders0n 4fdb3f75dd feat(atlas): accept a 7d range 2026-11-22 22:58:09 -05:00
MrAlders0n 50850f5314 feat: refuse telemetry requests on observers 2026-11-22 21:48:23 -05:00
n30nex 16e2a2a72b feat(api): send a TRACE observation's on-air path bytes as wirePathBytes (#307)
pathBytes keeps the payload's hop hashes for a TRACE, so the raw frame could not be rebuilt from it.
2026-11-19 20:32:42 -05:00
n30nex f3ec988d0b fix(api): keep a route evidence cursor on the path representation its first page matched (#304) 2026-11-19 09:35:00 -05:00
n30nex 2484fd4599 fix(api): refuse a node activity range shorter than an hour (#312) 2026-11-19 09:29:37 -05:00
n30nex a85ada267e fix(api): accept an Atlas body of up to 256 KiB so a full 100-pin Atlas fits (#341) 2026-11-19 09:29:10 -05:00
MrAlders0n c89c1e924c Let the app name its own session on sign-in 2026-11-18 23:30:10 -05:00
MrAlders0n 90c2ece473 feat(alerts): email and push channels through the push server
Alerts go out by email, by push or both, as each user chooses. Push is
sent through the push server with the operator's Push ID and secret and
sealed per device, so this server no longer holds a Firebase key. The
outbox tracks each channel, so a retry of one never repeats the other.
2026-11-17 20:22:51 -05:00
MrAlders0n cf14a67c04 chore: bump version to 2.3.0 2026-11-17 03:01:50 -05:00
MrAlders0n cdb581e9da feat(config): make the Atlas cap configurable, default 20, and raise requests per user to 6 2026-11-16 21:23:30 -05:00
MrAlders0n eb913d6cce Add a route for the latest reading of every polled node 2026-11-15 20:15:58 -05:00
MrAlders0n 2819d60ca2 Accept a telemetry view and tiles on Atlas pins, add a 72h telemetry range and the atlasTelemetry flag 2026-11-15 19:41:23 -05:00
MrAlders0n cf9b690e03 Report the poller's own state on a telemetry request 2026-11-15 17:21:44 -05:00
MrAlders0n e666b9c896 Stop telemetry alerts when polling stops 2026-11-15 03:34:41 -05:00
MrAlders0n c8f53c9d23 Add ids, a polled flag and reason codes to alert targets 2026-11-15 02:23:18 -05:00
MrAlders0n 26ccf6d4db Add alert rules and device registration 2026-11-15 01:48:15 -05:00
MrAlders0n 35468cc7cc Add sign-in through the MeshMapper portal 2026-11-15 01:40:24 -05:00
MrAlders0n ab6c4e6686 Give telemetry request reasons a stable code 2026-11-15 01:34:40 -05:00
MrAlders0n c34a20f2a5 Assign requested repeaters to observers 2026-11-15 00:56:28 -05:00
MrAlders0n 1c51a6b77d Add telemetry request storage and routes 2026-11-15 00:41:16 -05:00
MrAlders0n 49ea5e04e8 Add account Atlas storage and routes 2026-11-14 23:52:28 -05:00
MrAlders0n 81e7950705 Wire accounts into startup and add operator user management 2026-11-14 23:41:56 -05:00
MrAlders0n 2af2c5bad1 Add sign-in, account and session routes 2026-11-14 23:36:29 -05:00
MrAlders0n b58634d791 Add accounts config, mail sender and feature flags 2026-11-14 22:41:23 -05:00
MrAlders0n 82f9064252 Answer node telemetry as unpolled when polling is off 2026-11-14 22:34:54 -05:00
MrAlders0n 959e8318b0 Report the time span telemetry counters cover 2026-11-14 22:09:58 -05:00