How to controll a 433 mhz remote power outlet

Hi :slight_smile:

I basically have 3 Ideas:

  1. You get the signal/code of the transmitter by sniffing. A lot of people get it by analyzing the wave patterns on a computer, but Im not sure how to implement this code in the arduino sketch. Say the code is 010101, how would I send this with a 433 mhz transmitter (code wise)?

  2. I could sniff the code using a 433 mhz receiver and use the receiver code from this instructable. This should just print the code sent by the transmitter shouldn't it? Or have I missed something?

  3. If all else fails, could I just hack the button with an optocoupler?

What do you think? Would these approaches work?

Thanks

The outlet may use the same protocol as implemented in the RCSwitch library.