Fan energy saving control box