Re: Variable Speed Switch Wiring Question
If you only have two wires to the switch one is hot and one is return. The type of control device may require proper connection of power and load wires. You will need to see which wire is hot all the time and which is switched. Connect the always hot wire to the hot side of the control and the switched side to the load side on the control.
The easiest way to test this is to connect a circuit tester between each the wires and ground, one wire will only be hot when the switch is turned on, that is the return to the fan the other will be hot with the switch on or off that is the power wire.
If you have 3 wires connected to the switch, usually 2 on top and one on the bottom, excluding ground, then it is most likely a 3-way switch and a special control for 3-way applications would be required.
Hope that helps.
Be sure you live your life, because you are a long time dead.-Scottish Proverb