@C.r.a.z.y.
I'm sure there's a way to use it without the MySensors stuff, but that's a little bit out of my scope. I'd imagine it would just involve writing up an Arduino sketch for a device with a 433Mhz transmitter and receiver and have it listen for serial commands. OpenHAB can send whatever you want to serial.
As for transmitting, it seems to work with the arduino sketch I posted earlier, but I still need to put some kind of protection in place to prevent a feedback loop since it also listens for codes. When I make it transmit, it gets stuck sending and receiving the same code to itself.
A basic example of testing the transmit (I'd unplug the receiver if you haven't fixed the loop issue) would be:
rule "two-outlet ON update"
when Item two_outlet_ON received update
if(two_outlet_ON.state==ON) {
sendCommand(Arduino, "105;0;1;0;24;" + CodeToItemsMap.get("two_Outlet_ON") + "\n")
OUTLET1.state = ON
}
end
This isn't as clean as I'd like, since I'm still basically defining the command with the exception of the code itself. But it does work!