I’ve tried both the latest from development and 0.9.12 - I also tried the pre-compiled 0.9.12 bin
I’ve used the standard as included for sonoff-rfbridge-direct
I’ve just tested with
[env:sonoff-rfbridge-direct]
platform = espressif8266@^2
board = esp8285
lib_deps =
${com-esp.lib_deps}
${libraries.wifimanager8266}
${libraries.esppilight}
${libraries.rc-switch}
build_flags =
${com-esp.build_flags}
'-DZgatewayRF="RF"'
'-DRF_RECEIVER_GPIO=4'
'-DRF_EMITTER_GPIO=5'
'-DLED_INFO=13'
'-DLED_INFO_ON=0'
'-DZsensorGPIOInput="GPIOInput"'
'-DINPUT_GPIO=0'
'-DGateway_Name="OpenMQTTGateway_SRFB_Direct"'
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m64.ld ;this frees more space for firmware uplad via OTA.
;extra_scripts = scripts/compressFirmware.py ;uncomment this to compress the firmware. This helps updating e.g. Sonoff RF Bridge via OTA flash by saving space for the uploaded firmware.
This is showing and publishing to MQTT when I press the buttons on my remote -
rfbridge/OpenMQTTGateway_SRFB_Direct/433toMQTT {"value":2818513,"protocol":1,"length":24,"delay":400,"tre_state":"-","binary":"001010110000000111010001","raw":"12455,420,1149,456,1149,1260,354,450,1156,1250,360,441,1167,1244,365,1239,371,432,1175,434,1172,434,1172,437,1169,437,1171,433,1177,429,1175,1230,382,1217,409,1192,419,383,1221,1188,425,378,1228,378,1227,382,1224,1180,444,"}
N: Send on /433toMQTT msg {"value":2818513,"protocol":1,"length":24,"delay":400,"tre_state":"-","binary":"001010110000000111010001","raw":"12455,420,1149,456,1149,1260,354,450,1156,1250,360,441,1167,1244,365,1239,371,432,1175,434,1172,434,1172,437,1169,437,1171,433,1177,429,1175,1230,382,1217,409,1192,419,383,1221,1188,425,378,1228,378,1227,382,1224,1180,444,"}
T: jsonPubl - ON
T: [ OMG->MQTT ] topic: rfbridge/OpenMQTTGateway_SRFB_Direct/433toMQTT msg: {"value":2818513,"protocol":1,"length":24,"delay":400,"tre_state":"-","binary":"001010110000000111010001","raw":"12455,420,1149,456,1149,1260,354,450,1156,1250,360,441,1167,1244,365,1239,371,432,1175,434,1172,434,1172,437,1169,437,1171,433,1177,429,1175,1230,382,1217,409,1192,419,383,1221,1188,425,378,1228,378,1227,382,1224,1180,444,"}
So it looks as though the RF bit is working…