New Sonoff RF Bridge Board - Need Flashing Help

@mateine thank you so much! I carefully tried all above and did a A/B test because I have one additional unmodified board. On both devices I am unable to flash with tasmotizer nor esptool. On both I get a timeout. I can see that the board is in flash mode. But during flash progress it does not respond.

I bought a new FTDI adapter. That may be my last resort. If someone is selling the RF Bridge with RFLINK Firmware I am more than happy to buy it and donate 20EUR to the coffee cup of @schmurtz

Ok much luck!
You may want to check the tutorials for previous board revisions, maybe you find some extra tips there.
Yeah @schmurtz deserves it. His pics were much superior than mine :slight_smile:

@Expello sometimes a remote sacrifice is a good way to automate something :grinning_face_with_smiling_eyes: I mean you plug an ESP to simulate button press on the original remote (but I admit that the challenge is less interesting).

@robr Do you see something in reception on your FTDI adapter ? Are you sure to press the button during the USB plugin ? The ESP must boot with the button pressed otherwise it is not in programming mode.

Hi Materine, interested by this “small web tool to visualize the raw dumps” :star_struck: !
If you have it somewhere… :wink: Thanks

I wonder why ITEAD thinks it’s a good idea to design their new board so that they loose all of us as future customers ? It seems they’re doing their outmost to try to prevent us from using their products.
Why not instead offer a version with a Portisch like FW already flashed?
I think we should abandon companies who fail to offer non-proprietary products. Everything should be open source.

1 Like

Oh, yes I’ll put convert it to a GitHub page soon and drop a msg here.

Well, there is a global chip shortage. Probably, they had to choose between not selling the rf bridge anymore, or produce a revision with chips they still could buy. Not selling the rf bridge would hurt the sale of their other rf based stuff (door/window sensor, …)

1 Like

@mateine thanks again. I bought the CH430G TTL and it worked instantly.

With the old R1 Version there was an explanation how to solder an external antenna. Have you tried to solder an external antenna to the new R2 V2 board? It seems there are like to antennas onboard soldered to pins R3 and C6? Could one solder two antennas to those points? Thank you for any ideas. I am willing to try it.

Hello,

Thanks for all your hard work guys. I need some help with my RF bridge v2.2. Im completely lost and confused what to use of all the projects - ESPHome, Tasmota or RFLink. I want to use my RF bridge R2 with several Smoke detectors https://a.aliexpress.com/_mrVSsFI for now, using MQTT. I have only used Tasmota before on my Sonoff touch switches. This time im not sure what to flash :slight_smile:

Thanks!

Any would work, it is your preference.
ESPHome is extremely flexible and tasmota is usually easier to get into.
RFLink I haven’t used myself.
You can probably use the RF bridge as is, even with its original firmware, it depends if the protocols are compatible with sonoff’s firmware.
Here’s a tasmota tutorial

Hi all! New member here. Just to say that I tried to flash this sonoff r2 v2.2 following these instructions but bricked it. At the beginning it was very hard to put the device on boot mode, after several attemps I flashed it with tasmota, but then I tried to flash it with the RFlink firmware. I flashed it with NodeMCU flasher, but it didn’t work. It’s died. I’m trying to bring it back to life again with no luck. Do you have any advice?
However, I’ve ordered a new older version one.
Thanks in advance!

Is there any way to use the original firmware with MQTT?

Thanks @schmurtz for the great page for flashing rf bridge 2.2 with rflink32 and the direct hack. Im successfully reading all 3 of my eWelink smoke detectors. They are producing message like this in the topic:
20;04;EV1527;ID=0685c2;SWITCH=06;CMD=ON;

What im not sure is - now there is no such thing as Pairing? Rflink will directly send everything its able to parse to the msg topic? The RF bridge button now is only used for entering in flash mode.

264 / 5.000
Hello everybody. I am a newbie and I was very interested in the project. I managed quite quickly with the hardware part, my problem is that I can set the sonoff through the browser, but I don’t see any data. can you guide me step by step? Thank you all

Maybe you will be able to help me - I can not find anywhere information what to add in the ESPHOME code to add sending data from the sensor (i only found the switch configuration) through the rf 433MHz transmitter so that SONOFF bridge can read it.
Thanks for the help!
My code below

sensor:
  - platform: ultrasonic
    trigger_pin: 33
    echo_pin: 32
    name: "Ultrasonic Sensor"
    update_interval: 5s    
    timeout: 2m
    filters:
    - filter_out: nan

tasmota or esphome?

You’ll need to use a bit of C for that.
See here:

If you only need a threshold you can look into esphome automations and pick some arbitrary codes for “below” and “above” threshold. You could also do some intermediate ranges.
For that, see

2 Likes

solved, thanks. I used Mqtt explorer and found all signal needed.
now, how can i create binary sensor?
Payload is

20;3B;EV1527;ID=013771;SWITCH=06;CMD=ON;

Many thanks

Got the board all working, but having a hard time sniffing my remote for my Hunter Fan.

By chance has anyone used the Hunter Fan remote K6266-02? I see the signal, but just can’t figure how to get it to transmit properly in esphome.

Using URH
it blips the codes 3 times

here is a zoomed in version of the first bit of code.

looks like it sends
10101010101010101010101
then waits about 5 ms and sends
0001101001101101001101101101001101001001101101101001001001001001001001001101101101001101001101101001001101101101101001101101001001001101101001001001001001001001001101101001001101101101101101101101101000

which is over the 64 character limit for raw.

thanks

possibly this is the raw as well…

[10:14:23][D][remote.raw:028]: Received Raw: -653, 817, -440, 4511, -641, 390, -410, 393, -404, 396, -407, 395, -405, 392, -407, 393, -407, 393, -407, 395, -405, 395, -405, 395, -405, 395, -5202, 795, -407, 398, -800, 797, -405, 793, -407, 395, -802, 798, -404, 795, -405, 795, -405,
[10:14:23][D][remote.raw:028]: 393, -804, 798, -405, 395, -804, 396, -804, 796, -404, 795, -407, 793, -407, 393, -805, 395, -805, 395, -804, 398, -803, 397, -804, 396, -802, 400, -800, 397, -803, 795, -407, 795, -405, 795, -405, 395, -804, 793, -407, 395, -805, 795, -405, 795, -405,
[10:14:23][D][remote.raw:028]: 397, -803, 395, -804, 796, -405, 794, -407, 796, -404, 793, -405, 395, -805, 795, -407, 795, -405, 397, -800, 398, -802, 398, -802, 795, -407, 795, -407, 393, -802, 400, -803, 395, -804, 398, -802, 398, -802, 398, -801, 399, -802, 395, -805, 795, -405,
[10:14:23][D][remote.raw:041]: 797, -405, 393, -804, 398, -802, 795, -408, 792, -407, 793, -407, 793, -407, 790, -410, 792, -407, 793, -407, 795, -405, 395
[10:14:23][D][remote.raw:028]: Received Raw: 395, -407, 395, -403, 399, -401, 395, -407, 395, -402, 398, -405, 393, -407, 395, -404, 396, -404, 398, -402, 396, -404, 395, -5203, 799, -402, 396, -804, 795, -406, 792, -408, 394, -805, 795, -407, 793, -404, 796, -404, 398, -802, 793,
[10:14:23][D][remote.raw:028]: -407, 397, -803, 395, -805, 795, -407, 795, -405, 795, -404, 396, -802, 398, -802, 397, -803, 397, -802, 398, -805, 395, -805, 397, -802, 396, -804, 795, -405, 795, -406, 794, -405, 397, -803, 795, -405, 397, -802, 795, -406, 794, -406, 397, -802, 395,
[10:14:23][D][remote.raw:028]: -806, 796, -405, 793, -406, 794, -407, 792, -408, 392, -808, 795, -404, 795, -405, 395, -805, 397, -803, 397, -803, 795, -407, 793, -404, 404, -796, 398, -802, 395, -805, 397, -803, 395, -804, 396, -804, 398, -802, 398, -802, 795, -407, 795, -405, 395,
[10:14:23][D][remote.raw:041]: -802, 396, -804, 798, -405, 792, -407, 793, -407, 793, -407, 795, -405, 793, -407, 793, -407, 792, -407, 396
[10:14:23][D][remote.raw:028]: Received Raw: 395, -407, 395, -404, 394, -407, 398, -402, 395, -405, 395, -405, 395, -405, 395, -405, 395, -405, 397, -403, 397, -402, 398, -5202, 795, -407, 398, -800, 795, -407, 792, -405, 398, -802, 795, -407, 793, -407, 793, -405, 395, -804, 796,
[10:14:23][D][remote.raw:028]: -407, 392, -808, 390, -807, 795, -407, 795, -405, 793, -407, 393, -805, 395, -805, 397, -802, 400, -802, 395, -805, 395, -805, 395, -805, 397, -803, 797, -405, 793, -407, 414, -327, 63, -393, 400, -800, 795, -407, 398, -800, 797, -405, 796, -401, 395,
[10:14:23][D][remote.raw:028]: -805, 395, -805, 797, -405, 795, -405, 793, -407, 793, -407, 395, -802, 798, -404, 796, -404, 395, -803, 400, -806, 394, -802, 793, -409, 793, -404, 398, -802, 396, -805, 397, -802, 390, -810, 397, -803, 397, -803, 397, -802, 393, -807, 798, -404, 793,
[10:14:23][D][remote.raw:041]: -407, 393, -805, 397, -803, 795, -407, 795, -405, 795, -404, 796, -404, 795, -405, 795, -405, 793, -407, 795, -405, 395

Wow! This thread and in particular @mateine and @schmurtz have been amazing and really pushing the boundaries of this!

I’ve successfully managed to flash RFLink onto my Sonoff RF bridge R2 v2.0 using the handy github tools posted here but I seem to be having issues reading the logs?

Device is connected to my MQTT broker - and on the home page it’s showing signals as recieved

but I’m not able to see anything in any of my logs? I presume this is because the “Successfully Decoded” box is completely empty - is that an issue with my settings or is it an issue with the soldering of my resistors?

Thanks!

1 Like

There’s been a slight update - overnight a lot more RF signals have been received and now some have been decoded! Still struggling to get it to decode my RF remote however - am I best just using the raw RF from something like ESPHome or can I tinker to get this to work?