Hi Gazza
Thanks for the help. I checked the 2 port valve,and when i took the cover off,a small piece of plastic fell out. The switch operated intermittently,keeping the pump running,sometimes all night.
I will replace the valve.
I might change the pcb back to the original,but it looks like it...