Sonoff RF Bridge with ESPHOME?

I moved off my hardware hacked Sonoff RF Bridge and onto these connected to an ESP32 after I hit up against limits in number of codes I could watch/send.

Very happy with it so far. I also hooked up and LED and an RTTL buzzer to it. I have it beep when I hit buttons on my 433mhz remotes so that I know it’s “been sent and heard”…

I tried a few ESp32’s I had and it became really solid when I used a Quinled.

I left it kind of exposed deliberately - it’s my “RF bug”…

substitutions:
  devicename: rf-transmitter-reciever-quinled
  friendly_name: rf Transmitter Reciever QuinLed
  device_description: DIY 433MHZ Transmitter Reciever
 
esphome:
  name: $devicename
  comment: ${device_description}
esp32:
  board: mhetesp32devkit
    
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect: true
  manual_ip:
      static_ip: xxx
      gateway: yyy
      subnet: zzz

api:
ota:

deep_sleep:
  run_duration: 24h
  sleep_duration: 1s

logger:
  # hardware_uart: UART1
  # level: VERY_VERBOSE
  # baud_rate: 0 
  
text_sensor:
# Reports the ESPHome Version with compile date
  - platform: version
    name: ${friendly_name} ESPHome Version
    #Tracks last movement direction to help with the one-touch sit/stand toggle button.
sensor:
  - platform: uptime
    name: ${friendly_name} Uptime Sensor
    update_interval: 60s
    accuracy_decimals: 1
    unit_of_measurement: hrs
    filters:
      - lambda: return x/60/60; 

######################
#Buzzer
######################    
rtttl:
  output: rtttl_out
  on_finished_playback:
    - logger.log: 'Song ended!'

output:
#Rttl buzzer
  - platform: ledc
    pin: GPIO27 #Yellow wire
    id: rtttl_out
    # frequency: 50
    
######################
#LED
######################   
  #Green
  - platform: ledc
    id: green_led
    pin: GPIO26 #Green wire
    # frequency: 50

light:
  - platform: monochromatic
    name: "Green LED"
    output: green_led
    id: rf_green_led
    internal: false
    
button:
  - platform: template
    name: rf Single Beep
    id: rf_single_beep
    on_press:
      then:
        - rtttl.play:
            rtttl: 'beep:d=4,o=7,b=100:32a' 

  - platform: template
    name: rf Single Beep
    id: rf_single_high_beep
    on_press:
      then:
        - rtttl.play:
            rtttl: 'beep:d=4,o=4,b=100:32a'
            
  - platform: template
    name: rf Double Beep
    id: rf_double_beep
    on_press:
      then:
        - rtttl.play:
            rtttl: 'beep:d=4,o=7,b=100:32a'  
        - delay: 200ms
        - rtttl.play:
            rtttl: 'beep:d=4,o=7,b=100:32a'  
  - platform: template
    name: rf Single LED Flash
    id: rf_single_led_flash
    on_press:
      then:
        - light.turn_on:
              id: rf_green_led
              brightness: 50%
        - delay: 500ms
        - light.turn_off: rf_green_led
  - platform: template
    name: rf Double LED Flash
    id: rf_double_led_flash
    on_press:
      then:
        - light.turn_on:
              id: rf_green_led
              brightness: 50%
        - delay: 500ms
        - light.turn_off: rf_green_led
        - delay: 500ms
        - light.turn_on:
              id: rf_green_led
              brightness: 50%
        - delay: 500ms
        - light.turn_off: rf_green_led
        
remote_receiver:
  pin:
    number: GPIO25 #Blue wire
    inverted: true
  dump:
    - rc_switch
  tolerance: 60%
  filter: 4us
  idle: 4ms    
    # - raw
  # filter: 50us
  # tolerance: 50%
  # idle: 2ms

  # filter: 100us
  # tolerance: 50%
  # idle: 2ms  
  
remote_transmitter:
  pin: 
    number: GPIO33 #Green wire
    # inverted: True
  carrier_duty_percent: 100%

switch:
###############################################
#Control Shed Door
###############################################
  - platform: template
    name: Release Shed Door
    turn_on_action:
      - remote_transmitter.transmit_rc_switch_raw:
          code: '010000000101000101010001'
          protocol: 
            pulse_length: 320
          repeat:
            times: 10
            wait_time: 0s
  - platform: template
    name: Reset Shed Door
    turn_on_action:
      - remote_transmitter.transmit_rc_switch_raw:
          code: '010000000101000101010100'
          protocol: 
            pulse_length: 320
          repeat:
            times: 10
            wait_time: 0s
  - platform: template
    name: Stop Release Shed Door dev
    turn_on_action:
      - remote_transmitter.transmit_rc_switch_raw:
          code: '010000000101000101010101'
          protocol: 
            pulse_length: 320
          repeat:
            times: 10
            wait_time: 0s
       
binary_sensor:
# #remote 1) top left meute
  # - platform: remote_receiver
    # id: remote1topleft_togglednd
    # name: "Toggle DND"
    # rc_switch_raw:
      # code: '111111110101111101110001'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
# #remote 1) top right togglemusic
  # - platform: remote_receiver
    # id: remote1topright_togglemusic
    # name: "Toggle Music"
    # rc_switch_raw:
      # code: '101000110100101111000001'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
# #remote 1) bottom left toggle blinds
  # - platform: remote_receiver
    # id: remote1bottomleft_toggleblinds
    # name: "Toggle Blinds"
    # rc_switch_raw:
      # code: '111111110101111101110010'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
# #remote 1) bottom right toggle blinds
  # - platform: remote_receiver
    # id: remote1bottomright_toggleblinds
    # name: "Toggle Light"
    # rc_switch_raw:
      # code: '111111110101111101111000'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
      
############################################      
#bedroom thermostat remote
############################################
  - platform: remote_receiver
    id: bedremotewarmer
    name: "Bedroom Remote Warmer"
    rc_switch_raw:
      code: '000000011011000001010010'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: bedremotetoggleclimate
    name: "Bedroom Remote Toggle Climate"
    rc_switch_raw:
      code: '000000011011000001010100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: bedremotecooler
    name: "Bedroom Remote Cooler"
    rc_switch_raw:
      code: '000000011011000001011000'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
      
      
########################################################################################
#10 button remotes
########################################################################################
############################################
#Start Desk Remote
############################################
#remote R1C1 - Temp Increase
  - platform: remote_receiver
    id: desk_r1c1_temp_increase
    name: "DeskRemote_TempIncrease"
    rc_switch_raw:
      code: '010011001011010101100100'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C2 - AC Toggle
  - platform: remote_receiver
    id: desk_r1c2_ac_toggle
    name: "DeskRemote_ac_toogle"
    rc_switch_raw:
      code: '010011001011010101100010'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C3 - Temp Decrease
  - platform: remote_receiver
    id: desk_r1c3_temp_decrease
    name: "DeskRemote_TempDecrease"
    rc_switch_raw:
      code: '010011001011010101100110'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C4 - Toggle DND
  - platform: remote_receiver
    id: desk_r1c4_dnd_toggle
    name: "DeskRemote_ToggleDND"
    rc_switch_raw:
      code: '010011001011010101100001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C5 - Toggle Vac
  - platform: remote_receiver
    id: desk_r1c5_vac_toggle
    name: "DeskRemote_ToggleVAC"
    rc_switch_raw:
      code: '010011001011010101100101'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C1 - Toggle Vac
  - platform: remote_receiver
    id: desk_r2c1_music_vol_increase
    name: "DeskRemote_Music_VolIncrease"
    rc_switch_raw:
      code: '010011001011010101101000'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C2 - Toggle Music
  - platform: remote_receiver
    id: desk_r2c2_music_toggle
    name: "DeskRemote_Music_Toggle"
    rc_switch_raw:
      code: '010011001011010101101100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C3 - Music Vol Down
  - platform: remote_receiver
    id: desk_r2c3_music_vol_decrease
    name: "DeskRemote_Music_VolDecrease"
    rc_switch_raw:
      code: '010011001011010101101010'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Blinds
  - platform: remote_receiver
    id: desk_r2c4_blind_toggle
    name: "DeskRemote_Blinds_Toggle"
    rc_switch_raw:
      code: '010011001011010101101110'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Lights
  - platform: remote_receiver
    id: desk_r2c5_lights_toggle
    name: "DeskRemote_Lights_Toggle"
    rc_switch_raw:
      code: '010011001011010101101001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep

############################################
#End Desk Remote
############################################

# ############################################
# #Start Dining Remote
# ############################################

#remote R1C1 - Temp Increase
  - platform: remote_receiver
    id: dining_r1c1_temp_increase
    name: "diningRemote_TempIncrease"
    rc_switch_raw:
      code: '101101000111010100100100'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C2 - AC Toggle
  - platform: remote_receiver
    id: dining_r1c2_ac_toggle
    name: "diningRemote_ac_toogle"
    rc_switch_raw:
      code: '101101000111010100100010'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C3 - Temp Decrease
  - platform: remote_receiver
    id: dining_r1c3_temp_decrease
    name: "diningRemote_TempDecrease"
    rc_switch_raw:
      code: '101101000111010100100110'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C4 - Toggle DND
  - platform: remote_receiver
    id: dining_r1c4_dnd_toggle
    name: "diningRemote_ToggleDND"
    rc_switch_raw:
      code: '101101000111010100100001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C5 - Toggle Vac
  - platform: remote_receiver
    id: dining_r1c5_vac_toggle
    name: "diningRemote_ToggleVAC"
    rc_switch_raw:
      code: '101101000111010100100101'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C1 - Toggle Vac
  - platform: remote_receiver
    id: dining_r2c1_music_vol_increase
    name: "diningRemote_Music_VolIncrease"
    rc_switch_raw:
      code: '101101000111010100101000'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C2 - Toggle Music
  - platform: remote_receiver
    id: dining_r2c2_music_toggle
    name: "diningRemote_Music_Toggle"
    rc_switch_raw:
      code: '101101000111010100101100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C3 - Music Vol Down
  - platform: remote_receiver
    id: dining_r2c3_music_vol_decrease
    name: "diningRemote_Music_VolDecrease"
    rc_switch_raw:
      code: '101101000111010100101010'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Blinds
  - platform: remote_receiver
    id: dining_r2c4_blind_toggle
    name: "diningRemote_Blinds_Toggle"
    rc_switch_raw:
      code: '101101000111010100101110'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Lights
  - platform: remote_receiver
    id: dining_r2c5_lights_toggle
    name: "diningRemote_Lights_Toggle"
    rc_switch_raw:
      code: '101101000111010100101001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep

############################################
#End Dining Remote
############################################

############################################
#Start kitchen Remote
############################################

#remote R1C1 - Temp Increase
  - platform: remote_receiver
    id: kitchen_r1c1_temp_increase
    name: "kitchenRemote_TempIncrease"
    rc_switch_raw:
      code: '001110110110110010100100'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C2 - AC Toggle
  - platform: remote_receiver
    id: kitchen_r1c2_ac_toggle
    name: "kitchenRemote_ac_toogle"
    rc_switch_raw:
      code: '001110110110110010100010'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C3 - Temp Decrease
  - platform: remote_receiver
    id: kitchen_r1c3_temp_decrease
    name: "kitchenRemote_TempDecrease"
    rc_switch_raw:
      code: '001110110110110010100110'
      protocol: 6
    filters:
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C4 - Toggle DND
  - platform: remote_receiver
    id: kitchen_r1c4_dnd_toggle
    name: "kitchenRemote_ToggleDND"
    rc_switch_raw:
      code: '001110110110110010100001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C5 - Toggle Vac
  - platform: remote_receiver
    id: kitchen_r1c5_vac_toggle
    name: "kitchenRemote_ToggleVAC"
    rc_switch_raw:
      code: '001110110110110010100101'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
      
  - platform: remote_receiver
    id: kitchen_r2c1_music_vol_increase
    name: "kitchenRemote_Music_VolIncrease"
    rc_switch_raw:
      code: '001110110110110010101000'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C2 - Toggle Music
  - platform: remote_receiver
    id: kitchen_r2c2_music_toggle
    name: "kitchenRemote_Music_Toggle"
    rc_switch_raw:
      code: '001110110110110010101100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C3 - Music Vol Down
  - platform: remote_receiver
    id: kitchen_r2c3_music_vol_decrease
    name: "kitchenRemote_Music_VolDecrease"
    rc_switch_raw:
      code: '001110110110110010101010'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Blinds
  - platform: remote_receiver
    id: kitchen_r2c4_blind_toggle
    name: "kitchenRemote_Blinds_Toggle"
    rc_switch_raw:
      code: '001110110110110010101110'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Lights
  - platform: remote_receiver
    id: kitchen_r2c5_lights_toggle
    name: "kitchenRemote_Lights_Toggle"
    rc_switch_raw:
      code: '001110110110110010101001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep

############################################
#End kitchen Remote
############################################

############################################
#Start couch Remote
############################################

#remote R1C1 - Temp Increase
  - platform: remote_receiver
    id: couch_r1c1_temp_increase
    name: "couchRemote_TempIncrease"
    rc_switch_raw:
      code: '001100001000010000100100'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C2 - AC Toggle
  - platform: remote_receiver
    id: couch_r1c2_ac_toggle
    name: "couchRemote_ac_toogle"
    rc_switch_raw:
      code: '001100001000010000100010'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C3 - Temp Decrease
  - platform: remote_receiver
    id: couch_r1c3_temp_decrease
    name: "couchRemote_TempDecrease"
    rc_switch_raw:
      code: '001100001000010000100110'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C4 - Toggle DND
  - platform: remote_receiver
    id: couch_r1c4_dnd_toggle
    name: "couchRemote_ToggleDND"
    rc_switch_raw:
      code: '001100001000010000100001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R1C5 - Toggle Vac
  - platform: remote_receiver
    id: couch_r1c5_vac_toggle
    name: "couchRemote_ToggleVAC"
    rc_switch_raw:
      code: '001100001000010000100101'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C1 - Toggle Vac
  - platform: remote_receiver
    id: couch_r2c1_music_vol_increase
    name: "couchRemote_Music_VolIncrease"
    rc_switch_raw:
      code: '001100001000010000101000'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C2 - Toggle Music
  - platform: remote_receiver
    id: couch_r2c2_music_toggle
    name: "couchRemote_Music_Toggle"
    rc_switch_raw:
      code: '001100001000010000101100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C3 - Music Vol Down
  - platform: remote_receiver
    id: couch_r2c3_music_vol_decrease
    name: "couchRemote_Music_VolDecrease"
    rc_switch_raw:
      code: '001100001000010000101010'
      protocol: 6
    filters:
      - delayed_off: 200ms
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Blinds
  - platform: remote_receiver
    id: couch_r2c4_blind_toggle
    name: "couchRemote_Blinds_Toggle"
    rc_switch_raw:
      code: '001100001000010000101110'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#remote R2C4 - Toggle Lights
  - platform: remote_receiver
    id: couch_r2c5_lights_toggle
    name: "couchRemote_Lights_Toggle"
    rc_switch_raw:
      code: '001100001000010000101001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep

############################################
#End couch Remote
###########################################

###########################################
#H Remote
###########################################
  - platform: remote_receiver
    id: hdooropen
    name: "H Door Open"
    rc_switch_raw:
      code: '000000000010110000100010'
      protocol: 6
    filters:
      - delayed_off: 5s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: hdoorclose
    name: "H Door Close"
    rc_switch_raw:
      code: '000000000010110000101000'
      protocol: 6
    filters:
      - delayed_off: 5s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: hspecialheat
    name: "H likes it hot"
    rc_switch_raw:
      code: '000000000010110000100100'
      protocol: 6
    filters:
      - delayed_off: 5s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: bigbattle44
    name: "Big Battle"
    rc_switch_raw:
      code: '010001001010100101100001'
      protocol: 6
    filters:
      - delayed_off: 5s
    on_press:
      then:
        - button.press: rf_single_high_beep
  # - platform: remote_receiver
    # id: flossboss
    # name: "Floss Boss"
    # rc_switch_raw:
      # code: '101010000001110010101000'
      # protocol: 6
    # filters:
      # - delayed_off: 5s
  # - platform: remote_receiver
    # id: brushboss
    # name: "Brush Boss"
    # rc_switch_raw:
      # code: '101010000001110010100010'
      # protocol: 6
    # filters:
      # - delayed_off: 5s

  - platform: remote_receiver
    id: closesheddoor
    name: "Close Shed Door Button"
    rc_switch_raw:
      code: '111111001010110100101000'
      protocol: 6
    filters:
      - delayed_off: 2s
    on_press:
      then:
        - button.press: rf_single_high_beep
  # - platform: remote_receiver
    # id: resetsheddoor
    # name: "Reset Shed Door Button"
    # rc_switch_raw:
      # code: '111111001010110100100010'
      # protocol: 6
    # filters:
      # - delayed_off: 2s

  - platform: remote_receiver
    id: couchpir1 
    device_class: motion
    name: "Couch PIR 1"
    rc_switch_raw:
      code: '110101000010001001100110'
      protocol: 6
    filters:
      # - delayed_on: 500ms
      - delayed_off: 10s
      # - delayed_on_off: 500ms
  # - platform: remote_receiver
    # id: dunnypir
    # device_class: motion
    # name: "Dunny PIR"
    # rc_switch_raw:
      # code: '100011000101011001100110'
      # protocol: 6
    # filters:
      # - delayed_off: 5s
  # - platform: remote_receiver
    # id: pir3
    # device_class: motion
    # name: "PIR3"
    # rc_switch_raw:
      # code: '110010001110010001100110'
      # protocol: 6
    # filters:
      # - delayed_off: 600s
      
# ################################################################
# #Sonoff Remote - Balcony
# ################################################################
#Row 1
  - platform: remote_receiver
    id: sonoffrmc1r3_togglediscolight
    name: "Sonoff Remote Toggle Disco Light"
    # id: sonoffrmc1r3_togglefrontdoorlock
    # name: "Sonoff Remote Toggle Front Door Lock"
    rc_switch_raw:
      code: '001001110111001001101000'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: sonoffrmc1r2_toggleblinds
    name: "Sonoff Remote Toggle Blinds"
    rc_switch_raw:
      code: '001001110111001001101100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#Row 2
  - platform: remote_receiver
    id: sonoffrmc1r1_lighttoggle
    name: "Sonoff Remote Toggle Light"
    rc_switch_raw: 
      code: '001001110111001001100100'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: sonoffrmc2r2_togglevacuum
    name: "Sonoff Remote Toggle Vacuum"
    rc_switch_raw:
      code: '001001110111001001101001'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#Row 3
  - platform: remote_receiver
    id: sonoffrmc2r3_togglethermostat
    name: "Sonoff Remote Toggle Thermostat"
    rc_switch_raw:
      code: '001001110111001001100010'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: sonoffrmc2r1_togglemusic
    name: "Sonoff Remote Toggle Music"
    rc_switch_raw:
      code: '001001110111001001100101'
      protocol: 6
    filters:
      - delayed_off: 1s
    on_press:
      then:
        - button.press: rf_single_high_beep
#Row 4
  - platform: remote_receiver
    id: sonoffrmc1r4_musicvoldown
    name: "Sonoff Remote Music Vol Down"
    rc_switch_raw:
      code: '001001110111001001100001'
      protocol: 6
    filters:
      - delayed_off: 300ms
    on_press:
      then:
        - button.press: rf_single_high_beep
  - platform: remote_receiver
    id: sonoffrmc2r4_musicvolup
    name: "Sonoff Remote Music Vol Up"
    rc_switch_raw:
      code: '001001110111001001100011'
      protocol: 6
    filters:
      - delayed_off: 300ms
    on_press:
      then:
        - button.press: rf_single_high_beep

  # - platform: remote_receiver
    # id: sonoffrmc1r1_lighttoggle
    # name: "Sonoff Remote Toggle Light"
    # rc_switch_raw:
      # code: '001001110111001001101000'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
  # - platform: remote_receiver
    # id: sonoffrmc2r1_togglemusic
    # name: "Sonoff Remote Toggle Music"
    # rc_switch_raw:
      # code: '001001110111001001101100'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
  # - platform: remote_receiver
    # id: sonoffrmc1r2_toggleblinds
    # name: "Sonoff Remote Toggle Blinds"
    # rc_switch_raw: 
      # code: '001001110111001001100100'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
  # - platform: remote_receiver
    # id: sonoffrmc2r2_togglevacuum
    # name: "Sonoff Remote Toggle Vacuum"
    # rc_switch_raw:
      # code: '001001110111001001101001'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
  # - platform: remote_receiver
    # id: sonoffrmc1r3_togglefrontdoorlock
    # name: "Sonoff Remote Toggle Front Door Lock"
    # rc_switch_raw:
      # code: '001001110111001001100010'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
  # - platform: remote_receiver
    # id: sonoffrmc2r3_togglethermostat
    # name: "Sonoff Remote Toggle Thermostat"
    # rc_switch_raw:
      # code: '001001110111001001100101'
      # protocol: 6
    # filters:
      # - delayed_off: 1s
  # - platform: remote_receiver
    # id: sonoffrmc1r4_musicvoldown
    # name: "Sonoff Remote Music Vol Down"
    # rc_switch_raw:
      # code: '001001110111001001100001'
      # protocol: 6
  # - platform: remote_receiver
    # id: sonoffrmc2r4_musicvolup
    # name: "Sonoff Remote Music Vol Up"
    # rc_switch_raw:
      # code: '001001110111001001100011'
      # protocol: 6    
5 Likes