Thanks again vanepp, that looks simple enough. A great solution. I have some 1N5404 or 1N5400 here so hopefully they should work.
I have used a current sensor in another project to sense a stalled motor. Might be overkill but would catch a limit switch failure.
Thanks very much for this.