Mimic a 315MHZ Fan remote - looking for advice.

I found a library called RCSwitch that will decode these type of devices.

Did you try it, and does it actually work? If so, that is quite surprising!