Model train controlled through the rails? - Lame! Why not make it autonomous with an onboard microcontroller? That's just what we did!
A mesh of open devices monitoring railway crossings "open-closed" status.