Second SDR: ADS-B (dump1090) / AIS (AIS-catcher) support #10
Open
logan
wants to merge 0 commits from
feat/second-sdr-adsb-ais into main
pull from: feat/second-sdr-adsb-ais
merge into: :main
:main
:feat/45-trunk-recorder
:fix/44-upload-spool
:feat/41-disk-reporting
:fix/41-updater-prune
:fix/discord-voice-join
:fix/updater-safe-directory
:fix/28-amd64-images
:fix/18-install-token-argv
:fix/19-image-tag-skew
:feat/discord-system
:feat/24-p25-conventional
:feat/local-ui-usable
:fix/14-15-provision-ota
:feat/sdr-pins
:feat/secondary-sdr-priority
:feat/second-sdr-adsb-ais
:feat/publish-public-images
:fix/install-rerun-pickup
:pulse-recorder
No Reviewers
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/node-26#10
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes node-26#9 (plumbing + ADS-B + AIS wiring; op25_2 mode and serial-based device binding remain open, see the issue).
Adds
secondary-sdr-container, a new compose service that claims the node's SECOND physical SDR (RTL-SDR index 1 — op25 always claims index 0, no serial binding yet, same limitation op25 itself has). Its control API (mirroring op25_controller.py's start/stop/status shape) runs dump1090 for ADS-B or AIS-catcher for AIS, selected by the newsecondary_sdr_modenode config field (none|adsb|ais|op25_2 — op25_2 not implemented yet). edge-node starts/stops/resumes it based on config and polls its/secondary/dataevery 10s, forwarding non-empty snapshots to the C2 server's new/telemetry/adsband/telemetry/aisendpoints (server-26 PR, separate).UNVERIFIED against real hardware — built from a sandboxed authoring machine with no docker/hardware access. dump1090's
--write-jsonfield names and AIS-catcher's JSON stdout field names are believed correct from published docs, not confirmed against a real capture. The AIS stdout-parsing merge logic (preserving a vessel's name across position-only updates) was unit-verified against a fake stdout stream, not real AIS-catcher output. Build + hardware smoke test before this reaches a real node.Verified: drb-edge-node pytest 185/185, flake8 clean on both drb-edge-node/app and secondary-sdr-container/app.
2026-09-27 review before first hardware test:
--write-json, so ADS-B mode would exit on start. Swapped to wiedehopf/readsb (--device-type rtlsdr --device 1), mapping now readsalt_baro/gs(dump1090-fa names) with old names as fallback.-d 1selects by serial "1"; index selection is-d:1.-o JSONalso unconfirmed. Check on hardware before AIS test.First hardware test of node-26#9/#10 found three blockers: - antirez/dump1090 has no --write-json, so ADS-B mode exited on start. Swapped to wiedehopf/readsb; map alt_baro/gs (old names as fallback). - op25 is not always on RTL-SDR index 0 (radio-box: op25 on 1, 0 free). start() now tries each index and keeps the first decoder that stays up. AIS-catcher index flag fixed to -d:N ("-d N" selects by serial). - status() reported "running" for a decoder that died on startup: the zombie still answered killpg(pgid, 0). Liveness now via Popen.poll(). install.sh blacklists dvb_usb_rtl28xxu, which claimed the second dongle. Verified on radio-box: 831 msgs/min, 6 aircraft (3 with position) on a 9cm whip; op25 unaffected. AIS still untested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.