I am trying to use my pi as an alarm clock, I would like it to wake me up by switching my ceiling fan light on (I have some really bright LED lights on it which Should wake me up

). What I have done so far is disassembled a TX module from a working RF remote for the fan. The TX module has the usual three pins VCC, Data, and Ground. I hooked up the remote to my mic and used Audacity to record the key presses to have an idea of the signal before it hits the TX module. I believe I have digital signal for each button press. I also found some documentation for these remotes on the FCC website (
https://apps.fcc.gov/eas/GetApplication ... ?id=142347) Using the signal I recorded in audacity and the data on the FCC website I believe the decoded the lights on keypress to be 011111110000. Now how do I build that signal using the RPis GPIO so that I can replay it from the RPi? The signal has to have certain specs (a 0 is .21ms low and .42 high and a 1 is the opposite).
light on 011111110000
fan 0 011111111001
fan 1 011111110001
fan 2 011110000000
fan 3 011111110100
I know the basics of using the GPIO using python, setting/checking a pin high/low, but I don't know how to proceed.
Documentation for the Hunter remote (See Operation Diagram and Schematics):
https://apps.fcc.gov/oetcf/eas/reports/ ... id=IN2TX13
I have the recorded key presses as .wavs also if that helps
Any and all help will be greatly appreciated! And I will do my best to document it all so that it may serve others in the future
