Abstract: A method for controlling a model railroad stationary switch machine comprising sensing whether a train occupies a main track section near a track switch that connects between said main track section and at least two diverging track sections. An automatic switch control function for the track switch is inhibited in response to sensing that a train occupies the main track section near the track switch when a train is determined to be approaching the track switch on at least one of the diverging track sections. In addition, a method is provided for controlling a model railroad track switch comprising changing a position of the track switch, and automatically returning the track switch to a home position after expiration of a time interval following the changing of the track switch position.