Can sonoff 433 rf bridge control any 433 rf device as mqtt?

I’m considering to buy sonoff 433 bridge for 433 motion sensors.
I know sonoff has motion sensor, but it’s too big and ugly to my purpose.

I watched ‘https://www.youtube.com/watch?v=OfSbIFIJPuc

Can I flash rf bridge with tasmota like in this vedio and
connect other 433 rf motion sensors like KERUI P817(https://goo.gl/LQJ7rQ), KERUI P829(https://goo.gl/uavYcJ) in the same way?

I assume it’s possible but can not sure about it.
Please, let me know is it work or is there better way to connect motion sensors.

I would like to do the same too, receive RF signals in Sonoff RF Bridge and trigger automations. Thinking of purchasing a couple of these KERUI P819 433Mhz Wireless Motion Sensors to trigger the bathroom lights and exhaust fan.

Thanks!!

Hi. did you buy these P819 sensors? And how did you connect them to Home Assistant?

I am trying with an RFXTRX bridge. I can see the device but cannot get is to work.

Hi Conradh,

Yes, I bought the sensors. Two of them.
I’m not using them right now but I tried them to trigger sonoff(non RF) switches through mqtt and they worked perfectly!!
I’m using Sonoff RF Bridge to get the RF signal. As soon as RF Bridge receives the code (F92581) from motion sensor it sends a mqtt message to HA and an automation is triggered.

I made the binary sensor with this entry in binary_sensors.yaml

- platform: mqtt
  state_topic: "tele/RF_Bridge/RESULT"
  value_template: '{{value_json.RfReceived.Data}}'
  payload_on: 'F92581'
  payload_off: 'F92581off'
  name: "Button_B"
  alias: "Button_B"
  off_delay: 1

And triggered it with this automation:

- id: BathroomLights_RF_Switch
  alias: "Bathroom Lights RF Switch"
  trigger:
    platform: state
    entity_id: binary_sensor.Button_A
    to: 'on'
  action:
   - service: switch.toggle
     data:
      entity_id: switch.bathroom_lights

Hope it helped.

Thanks!

1 Like

Thank you. This is helpful. I will order a RF bridge.

One more thing, the RF bridge is running tasmota firmware.

1 Like

I’m also using the Sonoff RF bridge flashed with Tasmota software. I’m using a number of different RF sensor (motion detectors and door switches), as well as receiving the signals from a 433MHz wireless doorbell switch.

You might also look at this other thread: Integrating RF devices with sonoff rf bridge on Tasmota Firmware

If of interest, I’m using a bunch of these wireless sensors: https://www.banggood.com/SONOFF-PIR2-Wireless-Infrared-Detector-Dual-Infrared-Motion-Sensor-For-Smart-Home-Security-Alarm-Sy-p-1227759.html and https://www.banggood.com/GS-WDS07-Wireless-Door-Magnetic-Strip-433MHz-for-Security-Alarm-Home-System-p-1174915.html The door sensor is nice as it transmits both OPEN and CLOSED codes.

Thanks. As soon as I will have the RF device I will flash the Tasmota firmware.
Maybe I need to come back for help with the communication.

I like what you’ve done there, matching the payload code that’s extracted with the value_template. But don’t you get a bunch of warning messages in the log for stuff published to that topic where neither the on or off payload matches? I think this code: https://github.com/home-assistant/home-assistant/blob/d39784906b26d4322c9ed72f073eb0967f8f6470/homeassistant/components/mqtt/binary_sensor.py#L143-L148

    else:  # Payload is not for this entity
        _LOGGER.warning('No matching payload found'
                        ' for entity: %s with state_topic: %s',
                        self._config.get(CONF_NAME),
                        self._config.get(CONF_STATE_TOPIC))
        return

is going to puke out a warning (which I think is a bug, not a feature…)

As long they send a on command and a off command and they are 433mhz sonoff 433 should pick it with tasmota on it

Go for it Just Flash mine with tasmota its alsum so easy to add the Sensor to HA

only problem I had was these ones

only sends the on ( im leaking LOL) command
but have a script That flasher the the room lights until I reset set it.

so make shore that what every you get send a ON/OFF or Open/Closed command it make wasy to work with in HA