If the switch has three wires like in the illustration there and youve already figured out which two are the on/off wires then you should be able to just ground the 3rd wire to the negative wire for however many seconds you have to hold down the button to enter calibration mode and achieve the same effect without the switch.