Library for RF remote switches

Its not at all clear to me what the protocol is, I wonder if fuzzilogic can say more about it.

I don't know about wireless X10 (is it standardized?), but these remotes use chips like the LP801B, HX2262, PT2262 and M3E. The datasheet of the PT2262 explains the underlaying protocol.