as a suggestion, can you leave the ceiling fan on and simply control the power to it via IR? You can buy IR power points that come with a remote that can be learned. Of course you would be limited to 1 speed.
I guarantee I'll tell you the truth and I guarantee I'll tell you what you need to know but I can't guarantee that I'll be telling you anything you want to hear.