Hello Dwalt ! thanks for your quick answer !
My remote is an old style Chacon with 8 buttons
[This remote has a 4 positions dip switch on the back (group 1 2 3 4) so i plan to put my 4 wall plugs on group 1 and my remote on group 2; with that, the plugs will be commuted by the mysensors rf433 emitter and the remote will send codes to my receiver mysensors without communicating directly with plugs]
And my receiver is a "cheap" one but i will have a sperheterodyne in a few days (according yours tests)
To receive my codes i use RCswitch library and this code:
#include <RCSwitch.h>
* RCSwitch mySwitch = RCSwitch();
void setup() {
Serial.begin(9600);
mySwitch.enableReceive(0); // Receiver on inerrupt 0 => that is pin #2
}
void loop() {
if (mySwitch.available()) {
output(mySwitch.getReceivedValue(), mySwitch.getReceivedBitlength(), mySwitch.getReceivedDelay(), mySwitch.getReceivedRawdata(),mySwitch.getReceivedProtocol());
mySwitch.resetAvailable();
}
}
With this i can read rf433 codes on serial but it don't send in mysensors..
thanks for your help, i wil try to understand how to modify your code