Repository navigation
feat(server): read what others publish to DutchMeshCore's wardrive topics (#735) - #772
Merged
Merged
Conversation
Merged
Owner
Author
|
@khagele this is live since 25 November 2026, 20:39 UTC: the ingestor subscribes to That fits two explanations I cannot tell apart from our side. Two questions:
|
efiten
pushed a commit
that referenced
this pull request
Nov 26, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>app: 1.33.0</summary> ## [1.33.0](app-v1.32.1...app-v1.33.0) (2026-11-25) ### Features * **server:** read what others publish to DutchMeshCore's wardrive topics ([#735](#735)) ([#772](#772)) ([2bc7530](2bc7530)) </details> <details><summary>server: 1.12.0</summary> ## [1.12.0](server-v1.11.1...server-v1.12.0) (2026-11-25) ### Features * **server:** read what others publish to DutchMeshCore's wardrive topics ([#735](#735)) ([#772](#772)) ([2bc7530](2bc7530)) </details> <details><summary>web: 1.29.0</summary> ## [1.29.0](web-v1.28.1...web-v1.29.0) (2026-11-25) ### Features * **server:** read what others publish to DutchMeshCore's wardrive topics ([#735](#735)) ([#772](#772)) ([2bc7530](2bc7530)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ingestor can now subscribe to extra MQTT brokers that carry wardrive obs (
meshcore/{label}/{PUBKEY}/wardriver/obs), such as DutchMeshCore's, and store what other wardrive apps publish there as receptions on the map. With noextraBrokersentry in the config, nothing changes.Closes #735
Changes in this PR
server/internal/meshpacket/classify.go). An obs carries no sender fields, so the server classifies the frame itself: a Go port of the app'sclassifyReception, including Ed25519 advert verification (signed messagepub_key || timestamp || app_data, firmwareMesh.cpp:255-280). Advert names decode like the app'sTextDecoder.server/internal/store). A newsourcecolumn (TEXT NOT NULL DEFAULT 'site').ParseObschecks the topic shape, requiresorigin_idto equal the pubkey in the topic, needs position, RSSI and SNR, and normalisesrx_atto UTC intoISOString()form. A row from our own broker replaces a copy from an extra broker of the same reception (hunter_pubkey, rx_at, raw), never the other way round, so the app's richer classification (channel name, companion name) wins.server/internal/config,server/cmd/ingestor/main.go).extraBrokers: [{id, url, username, password, topics, format: "wardrive"}]. One MQTT client per entry, subscribing at QoS 1, retrying the first connect every 30 s with a log line./healthzstill reports only the primary broker.AGENTS.md§9,config.example.json, and a changelog entry.Verification
go test ./...andgo vet ./...pass.Classifyis tested on 197 real frames from the live DB (last 14 days, stratified by type), with the expected values produced by the app's owndecode.js/meshpacket.js(testdata/gen-classify.mjs).TextDecoderon 245,410 byte sequences.hunter_pubkeyorraw, so lower-casing both needs no data migration.Not in this PR
hunter_receptionsand no cap onraw_messages. The volume from an extra broker is measured after deploy.origin_iddiffers from the topic pubkey or itsrx_atlies more than 10 minutes ahead of ingest time.