I've just finished a new project where I combined the Transport for London API schedule data and an Arduino controlled LEGO train track switch. Automation is fun!
It was really an exercise in using IoT technology, where Node-RED is my master controller. I use a Raspberry Pi for the local brain and control the OLED board and track servo with Arduinos. The schedule data is handled via MQTT and the remote control is via PubNub.
http://www.internetoflego.com/train-scheduled-automation-2/