Simplest solution, perhaps not 'smart' enough for this application, is measuring voltage at the cigarette lighter, excuse me accessory, socket.
When the voltage goes from 12 or less to 13 or more, the engine has started, and chances are the car will move soon.
When the voltage goes back down to 12 or less, the engine has stopped, and chances are the car is not moving.
Mike Halloran
Pembroke Pines, FL, USA