So I make the hardware modification on the Sonoff RF Bridge (mine is R2 V1) :
I downloaded the OpenMQTTGateway_sources and the rfbridge-libraries
and I put all 2 in the ArduinoIde “libraries” folder
I uncoment "#define ZgatewayPilight “Pilight” and I change the pin’s in the config_RF.h
RF_RECEIVER_GPIO 4 and RF_EMITTER_GPIO 5
Now I don’t know witch board I must choose from Tools menu cause if I try to compile it give me the error:
Board generic (platform esp8266, package esp8266) is unknown Error compiling for board Generic ESP8266 Module.
Thanks a lot for the help