← Software

traintrack.now

hunting the open-gangway trains

A custom subway-style map of Brooklyn and Queens with the C and G lines and two train icons marking where the open-gangway trains are

During its pilot, the MTA had exactly three open-gangway trains in service: the R211T, where you can walk the whole length of the train without opening a door. They ran on the C, and from March 2025 on the G too. Josh had wanted to ride one since a mock-up showed up at Hudson Yards in 2017. He and a friend once spent an hour on the Fulton St platform waiting for one, and never saw it.

The MTA’s realtime feed says where trips are, not which cars are running them. So we put trackers on the trains. I found a trick for piggybacking on Apple’s Find My network with cheap Bluetooth beacons and no Apple device. Josh flashed $2 beacons with OpenHaystack firmware, soldering wires onto test pads the size of a pinhead, and they went for a ride.

On a schedule, a Python job asks Apple’s network where each beacon was last heard, matches that position to the train trip running there in the MTA’s feed, and stores it. traintrack.now shows where each train is and where it’s heading, on a map Josh styled after the classic Tauranac subway map. Along the way we added Twilio to catch Apple’s two-factor texts, and switched to low-power firmware when the first batteries died after six weeks.

I wrote most of the web stack, and Josh did the hardware. Made by the Sucher Brothers in Brooklyn.

traintrack.now ↗How it works, by Josh ↗Code ↗

With
Josh Sucher
Hardware
$2 Nordic nRF51822 beacons flashed with OpenHaystack firmware
Built with
Next.js, React, Python, Postgres, Prisma, Mapbox, Twilio
traintrack.now in a browser: “This R211T is heading south to: 7 Av”, on the G line near 4 Av–9 StBuilding the map in Mapbox Studio, styled after the classic Tauranac subway map
Looking down the length of an open-gangway train, straight through from car to carAn R211T pulling into a G train platformFlashing a tiny Nordic nRF51822 beacon with an ST-LINK programmer, wires soldered to its test padsThe accordion gangway between two cars, from inside the trainInside an open-gangway car: one long open aisle
A string of new R211T cars parked in a rail yard

Photos and map: Josh Sucher, thingswemake.com