I just bought the Tellstick Duo + a kit with three receivers and a remote controll, to start with, more is coming

Now I'm developing my own little program for controlling it all, using c.
I'm a bit confused as to how the self-learning system actually works.
It seems that I've learned against both the duo and the remote control, but the codes does not seem match between the two systems.
I dont quite know how that could be?
Are the receivers capable of memorizing several transmitter codes?
I came to this conclusion after trying to fetch the device events using tdRegisterDeviceEvent, nothing happened when I pressed the remote control (as I would have expected).
So I called tdRegisterRawDeviceEvent and printed out what it got called with:
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111011011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111011011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111011011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111011011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:arctech;model:selflearning;house:7462818;unit:1;group:0;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:sartano;model:codeswitch;code:1111011011;method:turnon;, -1, 2, 0x9d2250
raw_device_event: class:command;protocol:everflourish;model:selflearning;house:7674;unit:1;method:turnoff;, -1, 2, 0x9d2250
First of all it seems the remote is implementing every protocol out there?

And this is my tellstick.conf
user = "nobody"
group = "plugdev"
ignoreControllerConfirmation = "false"
device {
id = 1
name = "Example device"
protocol = "arctech"
model = "codeswitch"
parameters {
house = "A"
unit = "1"
}
}
device {
id = 2
name = "Sovrummets Fonsterlampa"
protocol = "arctech"
model = "selflearning-switch"
parameters {
house = "123123"
unit = "1"
}
}
device {
id = 3
name = "Traningsrumslampan"
protocol = "arctech"
model = "selflearning-switch"
parameters {
house = "324323"
unit = "1"
}
}
device {
id = 4
name = "Hallampan - Rod liten rackare"
protocol = "arctech"
model = "selflearning-switch"
parameters {
house = "38223"
unit = "1"
}
}
And as you can see, the house-id is not quite the same as the remote sends out.
But I can turnon/off the lights using both the remote and the duo (with the tellstick.conf)
If I wanted them to work together, would it be more wise of me to perhaps sniff out the house/unit from the remote
and copy the values into my tellstick.conf?
And how many transmitters can use the same receiver with differing ids?
I might have misunderstood everything completely, in that case please tell me so
