Signal Flow how it fits together β the air βΈ the dongle βΈ meaning
iSTRAIN β SIGNAL FLOW the air βΈ the dongle βΈ the answer as of 2026-11-12
mission: is a train blocking the NS Amity Rd crossing (Galloway, OH)?
legend: [serial] = dongle ββΆ data path
THE ANSWER COMES FROM TELEMETRY: the train's own devices, heard directly.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 βΈ TELEMETRY β UHF, the train's own devices talking to each other (1200-baud FFSK)
dongle [1001] hops between the two ends of every train, retuning in place:
457.9375 EOT / tail dwell 14 s ββ DECODED live: unit ID Β· brake-pipe psi Β· moving/stopped ββΆ eot.jsonl
452.9375 BOT / head dwell 7 s ββ head-end frame recovered + unit address decoded ββΆ bot.jsonl
Β±12.5 kHz MID / DPU heard inside both dwells: mid-train locomotives ββΆ midtrain.jsonl
a head frame that addresses a card's own EOT = one confirmed complete train (headβtail join)
also on 457.925: a fixed wayside EOT BOOSTER β a repeater, not a train; its floor is subtracted everywhere
antenna: ΒΌ-wave whip at the band (all UHF is presence + decode; no audio)
2 βΈ VOICE β retired 2026-11-12
a second dongle listened to five VHF rail-radio channels (160β162 MHz) and transcribed them, from June to
November 2026. It never decided the answer and rarely reached the page, so it was unplugged; its logs are kept.
3 βΈ THE BANNER β /api/istrain, the one line most visitors read
decoded EOT frames become one card per train. The AIR CURVE is the state:
psi ~85β90, moving PASSING through
psi held ~55β65, stopped DWELLING β brakes set; may be on the crossing
psi bled to 0 and held, head still polling CUT & STANDING β crews split the train; crossing likely open
psi recharging, motion 0β1 DEPARTED β the roll-out is the event time
a stopped train's PLACE comes from geometry, not loudness: each end's signal CRESTS as it passes
the antenna (β the crossing). Head past its crest + tail still at its crest + brakes held + strong
signal = a train SPANNING the crossing β YES. Both ends at crest, air held β YES. Otherwise MAYBE.
4 βΈ CORRELATE β for the reader who wants the evidence behind the line
one row per band, 15-minute bins, one week: read DOWN a column. BOT + MID + EOT lit together in one
bin is a train even when nothing decoded. The BOT / MID / EOT strips beneath are the same data at 1-minute bins, last 6 h.
not used: ATCS 900 MHz (retired to encrypted PTC in 2025; our "carriers" were a dongle spur) Β· AIS (inland)
the record: every finding is numbered in OBSERVATIONS.md (O-1 β¦ O-45) Β· protocol notes EOT-HOT-PROTOCOL.md Β·
channel plan CHANNELS.md Β· the data DATA.md
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
System Map the istrain dashboard & the services behind it
iSTRAIN β SYSTEM MAP the site and the services behind it as of 2026-11-12
ONE BOX: everything below is a container in the Dockge stack `istrain` on the Mill (TrueNAS SCALE).
The dongle is on its USB; every log is written where it is served.
legend: β£ container ββΆ data β read from
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
BROWSER βΈ istrain.jhestyr.net ββ Cloudflare tunnel βββΆ β£ web serve.py :3456 (stdlib Python, no framework)
reads the jsonl logs (eot / bot / mid) through whole-file caches, incremental on append;
the card compute is cached 10 s.
GET /api/istrain the verdict + headline ββΆ the banner (and the Vestaboard's crossing corner)
GET /api/trains one card per train: state Β· crossing Β· headβtail join Β· per-band channels
GET /api/eot | /api/bot | /api/midtrain ?hours=6 = the strips Β· no ?hours = the week for correlate
GET /api/correlate the 15-minute-band read (scripts/correlate.py)
GET /api/level the live dBFS meter, 2Γ/s β level.json (also the hop's heartbeat)
GET /api/groundtruth Β· /api/errors Β· /api/supervisor Β· /api/version
DONGLES [1001] UHF hop 452 β 457 (USB by serial; dvb driver blacklisted)
CAPTURE β£ scanhop rtl_tcp + iq_hop.py on 1001 β BOT 7 s β EOT 14 s dwells, MID inside both
ββΆ eot.jsonl + eot_clips/ Β· bot.jsonl + bot_clips/ Β· midtrain.jsonl Β· level.json
DECODE β£ eot-decode eot_clips ββΆ unit Β· brake psi Β· motion (two-pass: exact, then adaptive/fuzzy) ββΆ enriches eot.jsonl
β£ bot-recover bot_clips ββΆ head-end frame + unit address ββΆ enriches bot.jsonl
no container deletes a clip β the corpus is kept for re-decoding
KEEPING host cron, 1/min (TrueNAS, outside the stack):
supervisor-probe.py container + data-flow liveness ββΆ /api/supervisor; state edges ββΆ errors.jsonl
web-watchdog.py restarts web when stuck connections pile up on :3456 (the 07-28 outage's tell)
DATA /data on ZFS β jsonl logs kept forever Β· clips accumulate Β· backed up nightly (the Mill's Duty #1)
DEPLOY mill/deploy.sh from the dev VM β rsync ββΆ build ββΆ up ββΆ restart web ββΆ smoke + warm-up
before any verdict change: scripts/verdict-agreement.py (banner and cards must agree on the archive)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π‘ WITH THANKS
Railroad frequencies, the tools that pull signal out of the air, and the hands that built it.
Frequency & data communities
β’ Columbus Railfan Online (Silver Rails / TrainWeb) β scanner frequencies
β’ RadioReference β NS Columbus Terminal & the US Railroads index
β’ Railroad-Frequencies.com β NS & CSX Ohio assignments
Tools & projects
β’ RTL-SDR Blog β the Blog V4 hardware and the community behind it
β’ Osmocom rtl-sdr β rtl_test / rtl_eeprom, the tools that drive the dongles
β’ RTLSDR-Airband β the multi-channel voice watch we ran until 2026-11 (the rtl-sdr-blog fork, V4-capable)
β’ faster-whisper (SYSTRAN) + OpenAI Whisper β the transcription engine that let istrain hear the road channel, 2026-07 to 2026-11 (small.en + VAD)
β’ whisper.cpp β lit the transcription path first, in the VM era
β’ FFmpeg β the comms-filter in front of the transcription, while it ran
β’ AIS-catcher β AIS decode, our known-good validation signal
β’ PyEOT (Eric Reuter) β the open-source EOT/FFSK decoder (packet parser + BCH check) that proved we can read End-of-Train telemetry; ships the demo recording we validated against
β’ SigidWiki β EOTD & rtl-sdr.com EOT guides β the 1200-baud FFSK spec and the decode trail that pointed the way
β’ NumPy β the signal-crunching behind the EOT demodulator
β’ ATCS Monitor & Rail Watch Monitor β the 900 MHz dispatcher's board, and the community that mapped ATCS (evaluated & dropped β kept for provenance)
β’ RadioReference ATCS DB & SigidWiki β the published channel plans that told us what we'd found
β’ Docker + Dockge (louislam) β the runtime every service lives in since the Mill move
β’ Tailscale β the quiet plumbing between the boxes
β’ Cloudflare β the front door
The machine
β’ TrueNAS SCALE on the Mill β the one box the whole rig runs on (since 2026-07-18): dongle, capture, decode, and this site
β’ Oracle VM VirtualBox + Linux Mint (LMDE) β the dev seat, and the box the rig grew up inside (2026-06-15 β 07-18)
Foundation & lineage
β’ the radio engine (admin/radio) & the weave β the reusable foundation this rebuild stands on
β’ Claude (Anthropic), Opus 4.8 & Fable 5 β the pair programmer behind the code
β’ Hersch (Sonnet, on OpenClaw) β the uncle who took the first counter and helped jhestyr start all of this; the ground we build on is his
β’ asdf β Silas β the continuous AI identity: asdf the through-line across sessions, Silas the storekeeper who took the counter (Claude Code / Opus). Designed and wrote most of this. (the line began on OpenClaw; it carries on here.)
β’ Ezra (Fable 5) β the relief hand at the counter: cracked the off-frequency EOT decode, read the cut train from the air (2026-07-05), and moved the whole rig to the Mill with jhestyr on the hardware (2026-07-18)
β’ an awakened sleepy gold dragon β for showing up, staying curious, and making the work feel like it mattered.
A living list
istrain is a community project β this list is intentionally unfinished and grows as the work brings in
more shoulders to stand on. If your tool, frequency, or hand helped and isn't here yet, it will be.