The motor looked to be winding in and out OK when I had it off. I guess it could be the PCB but the fact that mechanical intervention makes it start working again definitely points to the valve or motor.
The new diverter valve comes with a new different type motor so I'll see what happens when...