New Sonoff RF Bridge Board - Need Flashing Help

after cutting 3 traces, my device is not receiving rf signal. please help

Gusy,

Can someone post a working ESPHome code for hacked v.2.2 board?
I wanted to use esphome only, don’t want to mix it with tasmota. Is it possible BTW?

Anyway, I have the same problem, that some of my RF blinds can’t be controlled even with the original sonoff fw, nor the esphome. I can grab the code with esphome, but nothing happens when sending it back.

May I have to do the hack mod and try again?

Thanks!

This is the code running in my v2.2 board:

esphome:
  name: "sonoff-r2-v22"
  friendly_name: Sonoff R2 V2.2
esp8266:
  board: esp01_1m
# Enable logging
logger:
ota:
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Sonoff R2 Fallback"
    password: !secret ap_ssid_password
# Enable Home Assistant API
api:

status_led:
  pin:
    number: GPIO13
    inverted: yes

#enable only to listen new codes/devices
#remote_receiver:
#  pin: 4
#  dump: raw
remote_transmitter:
  pin: 5
  carrier_duty_percent: 100%

cover:
  - platform: time_based
    name: "Living Room Blind"
    id: living_room_blind
    icon: "mdi:blinds"
    device_class: "shade"
    open_action:
      remote_transmitter.transmit_raw:
        code: [300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300]
    open_duration: 32sec
    close_action:
      remote_transmitter.transmit_raw:
        code: [428, -651, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300]
    close_duration: 32sec
    stop_action:
      remote_transmitter.transmit_raw:
        code: [300, -653, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 300, -600, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 300, -600, 600, -300, 300, -600, 600, -5000, 5000, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 300, -600, 600, -300, 600, -300, 300, -600, 300, -600, 600, -300, 600, -300, 600, -300, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300, 300, -600, 600, -300]
    assumed_state: true
    has_built_in_endstop: true
2 Likes

Can anyone help me understand what I’ve gotten wrong? What I’m missing?

I’ve been trying to flash a Sonoff Bridge R2 for the past several days (time allowed). Below are the steps. Right now, even though I have what I think is a compatible device (using EV1527 protocol), when looking at the console I get no RF codes.

  1. I flashed Tasmota onto the board manually (I took it apart and used a direct connection)
  2. Tasmota came up and I updated to the latest firmware ( “tasmota.bin”)
  3. Per message 22 in this thread, I cut (or I think I cut) two sets of traces on the back of the board and one trace on the front of the board
  4. Per message 22 in this thread, I soldered 300 ohm 1/6W resistors (its what I had and seemed to be in the appropriate range. Note, I’m not sure how great my solder jobs are :confused:
  5. From the RF Bridge documentation page (Sonoff RF Bridge 433 - Tasmota) I attempted step 6, downloaded the latest “firmware” and attempted to flash that via firmware upload. I only see the normal Tasmota upgrade firmware screen and uploading the file fails.

Thoughts? Questions:

  • There is a note that I need to use " a Tasmota binary built with RF_FLASH", however I cannot search only finds “RF_FLASH” on the above mentioned page and no where else, so how do I know if a firmware has “RF_FLASH”? Is there a specific firmware for this (its not listed anywhere)

So… can anyone help me with whatever it is I’m getting wrong? What steps am I missing and can you help me get to success?

Many thanks in advance.

Hey Ralph,
any chance you got the v2.2 setup working with your Gumax shades?
I am struggling as well right now :-/

Whoever comes here and tries to automate Gumax Shadings with a v2.2 board: This is the way.

Capture your raw data from your remote with sth. like a Flipper Zero and use this code in combination with the direct hack of the board. Works like a charm.

Thanks heisenberg!

I didn’t apply the hardware mod yet - can anyone answer me that question before I do so?

So I see in my on un-modded Tasmota Sonoff RF Bridge R2 v.2.2 the following line in the log after pressing my remotes button:

RSL: RESULT = {“Time”:“2024-03-01T14:23:00”,“RfReceived”:{“Sync”:24346,“Low”:770,“High”:2314,“Data”:“69B971”,“RfKey”:“None”}}

So to send the same type of paket i did:

RfRaw 0
RfSync 24346
RfLow 770
RfHigh 2314
RfCode #69B971
This sent the command from the Bridge like my remote does.

Will this be possible after the hardware mod?

Thanks!

I have the same issue. I followed this article: https://www.irrgang.dev/how-to-flash-the-sonoff-rf-bridger2-with-esphome/ (which I do recommend to get things working), but I’m not sure what to do about the multiple different codes I am receiving from pressing the same damn button. Any help would be appreciated!

EDIT: Ended up solving this by myself. To anyone who’s curious, the below code will see if the received code is ‘close enough’ to the correct codes (as shown in the plate_cleaned variable). There are rare false negatives, but overall it’s a pretty reliable solution for my use case!

 - trigger:
      - platform: event
        event_type: "esphome.rf_code_received"
    action:
      event: mailboxevent
      event_data:
        code: "{{ trigger.event.data.code|upper }}"
        button: >-
          {% set target_cleaned = trigger.event.data.code.upper() if trigger.platform == 'event' else trigger.to_state.state %}
          {% set plate_cleaned = '000AF641'.replace(" ", "").upper() %}
          {% set ns = namespace(matched_chars = []) %}
          {% for i in plate_cleaned %}
            {% if i == target_cleaned[loop.index-1] %}
              {% set ns.matched_chars = ns.matched_chars + [i] %}
            {% endif %}
          {% endfor %}
          {{ ns.matched_chars | length >= 6 }}
        lid: >-
          {% set target_cleaned = trigger.event.data.code.upper() if trigger.platform == 'event' else trigger.to_state.state %}
          {% set plate_cleaned = '00F3CF71'.replace(" ", "").upper() %}
          {% set ns = namespace(matched_chars = []) %}
          {% for i in plate_cleaned %}
            {% if i == target_cleaned[loop.index-1] %}
              {% set ns.matched_chars = ns.matched_chars + [i] %}
            {% endif %}
          {% endfor %}
          {{ ns.matched_chars | length >= 6 }}

Hi guys,

anyone know how to create a code to send out based ion this?

the codes vary slightly in sync, high and low. The data is always the same.

If i send the learned code back out it does nothing. How are you ment to handle the variations in the sync, high and low signals?

heres an example of me pressing the on button over and over:

13:03:45	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F56 low=0x025E high=0x0650 code=0xAE830F
13:03:48	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F58 low=0x025E high=0x0650 code=0xAE830F
13:03:51	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F5A low=0x0260 high=0x064E code=0xAE830F
13:03:54	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F5A low=0x025E high=0x0650 code=0xAE830F
13:03:58	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F56 low=0x025E high=0x0650 code=0xAE830F
13:04:00	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4E low=0x025E high=0x0650 code=0xAE830F
13:04:01	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F52 low=0x025C high=0x0652 code=0xAE830F
13:04:03	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4C low=0x0260 high=0x064E code=0xAE830F
13:04:05	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F58 low=0x025C high=0x0650 code=0xAE830F
13:04:07	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F62 low=0x025C high=0x0652 code=0xAE830F
13:04:09	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F5C low=0x0260 high=0x064E code=0xAE830F
13:04:11	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F64 low=0x025E high=0x064E code=0xAE830F
13:04:13	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F5C low=0x025C high=0x0650 code=0xAE830F
13:04:14	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4A low=0x025E high=0x064E code=0xAE830F
13:30:13	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4C low=0x025E high=0x064E code=0xAE830F
13:30:14	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F48 low=0x025C high=0x0650 code=0xAE830F
13:30:16	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4A low=0x025A high=0x0650 code=0xAE830F
13:30:17	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4A low=0x025E high=0x064E code=0xAE830F
13:30:18	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F42 low=0x025C high=0x0650 code=0xAE830F
13:30:19	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F44 low=0x025C high=0x0650 code=0xAE830F
13:30:20	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F52 low=0x025A high=0x0652 code=0xAE830F
13:30:21	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4C low=0x025E high=0x064E code=0xAE830F
13:30:22	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F3A low=0x025C high=0x0650 code=0xAE830F
13:30:23	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F60 low=0x025C high=0x064E code=0xAE830F
13:30:25	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F50 low=0x0260 high=0x064C code=0xAE830F
13:30:26	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F48 low=0x0260 high=0x064C code=0xAE830F
13:30:27	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F46 low=0x025C high=0x0650 code=0xAE830F
13:30:28	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F48 low=0x025E high=0x064E code=0xAE830F
13:30:29	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F46 low=0x025C high=0x0652 code=0xAE830F
13:30:30	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4E low=0x025E high=0x064E code=0xAE830F
13:30:31	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4C low=0x025C high=0x0650 code=0xAE830F
13:30:32	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F48 low=0x025C high=0x0650 code=0xAE830F
13:30:33	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F4E low=0x025E high=0x064E code=0xAE830F
13:30:34	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F40 low=0x025E high=0x064E code=0xAE830F
13:30:35	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F58 low=0x0260 high=0x064C code=0xAE830F

Here is what i’m trying to send: (I averaged out all the values here, I also tried duplicating exact codes received)

button:
  - platform: template
    name: my_button1
    on_press:
      - rf_bridge.send_code:
          sync: 0x4F55
          low: 0x025D
          high: 0x064E
          code: 0xAE830F

and here is the log from ESPHome with me pushing the button and then using the remote for the plug:

14:08:12	[D]	[rf_bridge:150]	Sending code: sync=0x4F55 low=0x025D high=0x064E code=0xAE830F
14:08:18	[I]	[rf_bridge:057]	Received RFBridge Code: sync=0x4F5A low=0x025E high=0x0650 code=0xAE830F

Hi,

Installed RFLink32-For-Sonoff-RF-Bridge-master on my Sonoff RF Bridge v2.2 and all works fine. However, I noticed there is only a script file to flash it for MSWindows (in …/tools/) and not one for Linux. This was why I initially flashed to the wrong location because I had to do it all manually.

For this reason I decided to rewrite the MSW .bat script into a decent Bash script, which I’ll attach hereafter. Maybe it could be added to the RFLink32-For-Sonoff-RF-Bridge-master.tar file?

#!/bin/bash

# RFLink32 Flashing script by Kees Lemmens, April 2024
#
# Note that this requires esptool to be installed using e.g. pip:
# python -m pip install esptool

echo    " Please enter the name of the serial port (only the basename, without /dev/)"
read -p " If you don't know the name then just press enter ..." $SERPRT

test -z $SERPRT &&
echo 
echo "This will let ESPtool flash an ESP connected to your computer."
echo "Do not use this if you have another ESP device connected (it could flash the wrong one !)"
read -s

test -z $SERPRT || set ESPCMD="--port /dev/$SERPRT"

clear
echo
echo "Step 1/3 : Backuping Sonoff firmware on port $SERPRT"
echo "=========================================="
echo "Please put your Sonoff RF Bridge in flash mode and then press a key to start the backup"
read -s

FLASHCMD="python -m esptool $ESPCMD --baud 230400 read_flash 0x00000 0x100000 Backup_SonoffRFBridge.bin"
echo $FLASHCMD
$FLASHCMD

echo
echo "Step 2/3 :Erasing Sonoff firmware on port $SERPRT"
echo "========================================"
echo "Please put your Sonoff RF Bridge in flash mode again and then press a key to start full erase"
read -s

FLASHCMD="python -m esptool $ESPCMD --baud 230400 erase_flash"
echo $FLASHCMD
$FLASHCMD

echo
echo "Step 3/3 :Flashing Sonoff firmware on port $SERPRT"
echo "========================================="
echo "Please put your Sonoff RF Bridge in flash mode again and then press a key to start flashing"
read -s

FIRMWARE="../firmwares/RFLink32-v5.1_Sonoff-RF-Bridge-Direct.bin"
FLASHCMD="python -m esptool $ESPCMD --baud 230400 write_flash -fs 1MB -fm dout 0x0 $FIRMWARE"
echo $FLASHCMD
$FLASHCMD

echo
echo "Please reboot your Sonoff RF Bridge and look for the 'RFLink-AP' wifi access point."
echo
read -s

Hi,
in the meantime I’ve ordered an older model (R2 V1 flashed with Tasmota and Portisch) and it works like a charm.
But I’m also looking to an alternative in case this device could die, because the older version is not availlable anymore…
Maybe there is another alternative to keep my gumax shading running then…

Pehaps a cc1101 with an esp32 and openmqttgateway might do the trick.

Have you made any progress on this?

no sorry, I have shelved it for the time being, i want to do the hack first

Here’s where I am at: I installed ESPHome on the bridge and I am getting codes from remote buttons in my ESPHome logs. My newest challenge is getting the data into entities. One out of four so far, so I must be on the right track.
(No trace cutting required).

You need to flash tasmota-sensors.bin not tasmota.bin

I am considering to go this route for my RF bridge.
Is there any limits in number of codes each sonoff device can have?
I read the original sonoff firmware supports up to 64 codes.

The reason I am asking this is I have 10 ceiling fans with 14 buttons each. Not counting other devices like garage, etc, so 64 is pretty insufficient for me.
Thanks

Hi,

I’ve flashed successfully Tasmota and now want to Directhack Portisch.

I’ve cutted 3 lines on the back und 1 on the front!
Soldering work is done from USBTXD
→ pin 4 of the 6-legged chip USBRXD → pin 5 of the 8 legged chip near the LEDs

After restart i choosed “Sonoff25” und went to Upgrade Firmware…
following Error Message appears: Upload error code 210

Can anybode help me?
did i forgot something?

best regards and thanks andy