I know a guy who built an elevator system single board computer to control it. The big problem was the power to the board - the motor turning on and off and the old electrical system made it very spiky, which would cause the computer to glitch. He built in a lot of self-checking in the computer, but it would still fail once a day or so. He eventually fixed that by having the computer just hardware reset itself regularly.