Hi Mike
If I have understood the principle (feel free to jump in Emgee if I have not grasped this correctly), the speed control potentiometer varies the voltage to the (probably) wiper terminal (other configurations are available !!!!) that is basically a ratio of the maximum voltage across the other legs.
So in principle, what is needed is to apply a voltage to the terminals that received the variable voltage and the motor speed should vary as a ratio of that voltage. And a standard way of outputting speed control signal is to use 0 to 10v.
Apparently there are boards available (eg Hoffmann) that can provide the interface. I have not gone into any detail or measured anything yet, but I'm thinking if that is the correct principle, then I may be lucky – it might be possible to use the breakout board output, which is isolated, almost directly.
I will need to ask for a bit of help when I get that far, but I can see there is a possibility.
The on / off control, on the other hand is more straightforward as I will use the outputs on the breakout board to switch a relay in the same way that the original switch did and probably use that switch to provide an override.