I found some wireless switches at Home Depot that do this. I think they're made by Hunter -- I have two different models -- one uses a wireless switch that you mount into a j-box, and the other uses a portable remote. They both have a wireless receiver that wires into the canopy of the fan. They're not X10, but I've been using them in three bedrooms for YEARS and have never even had to replace a battery.