I successfully used my 433 mhz transmitter (running Uno here) to toggle my ac socket using this sketch:
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
void setup() {
Serial.begin(9600);
// Transmitter is connected to Arduino Pin #10
mySwitch.enableTransmit(10);
mySwitch.setPulseLength(165);
}
void loop() {
mySwitch.send(13456849, 24);
delay(1000);
mySwitch.send(13456849, 24);
delay(10000);
}
// note: using 24 bit, pulse length 165