Sonoff rf bridge on Tasmota Firmware can not send RF signals

Hello,

I just flahsed Tasmota Firmware with the latest version v9.2.0.
Everything is working fine with MQTT. I am able to receive data like
tele/rfbridge/RESULT = {"RfReceived":{"Sync":10610,"Low":330,"High":1030,"Data":"5DFA03","RfKey":"None"}}

Home assistant is able to dectect light’s on or light’s off.
However, the frustrating issue that I am facing is unable to use command or MQTT to turn on or off the light.

mosquitto_pub -h 192.168.1.123 -t "cmnd/tele/rfbridge/RfSync" -m "10610"
mosquitto_pub -h 192.168.1.123 -t "cmnd/tele/rfbridge/RfLow" -m "330"
mosquitto_pub -h 192.168.1.123 -t "cmnd/tele/rfbridge/RfHigh" -m "1030"
mosquitto_pub -h 192.168.1.123 -t "cmnd/tele/rfbridge/RESULT" -m "#5DFA03"

(no password)

I can see mqtt broker got the commands but the light didn’t react.

Then I tried the virutal keys from webUI.
I went to Console -> Rfkey1 2 -> key Learnt
Then I press key 1
I saw in console stat/rfbridge/RESULT = {"RfKey1":"Learned sent"}
However, the light didn’t react.
Then I verified the Key 1

Rfkey1 5

I saw stat/rfbridge/RESULT = {"RfKey1":{"Sync":10610,"Low":340,"High":830,"Data":"5DFA03"}} in console. Still no reaction iof the light.

I am out of ideas what went wrong.
Could someone please suggest how to debug deeper or if that is the faulty from the hardware?
Thanks

What’s your actual MQTT code like?

it should be something like:

light:
  - platform: mqtt
    name: "Livingroom Light"
    command_topic: cmnd/rfbridge/backlog
    availability_topic: "tele/rfbridge/LWT"
    payload_available: "Online"
    payload_not_available: "Offline"
    payload_on: "#5DFA03"
    payload_off: "#5DFA04"
    optimistic: true

If you are sending codes from HA you don’t need to “learn” them. You just need to know what they are.

Many thanks for your reply.
I tried the code above.

command_topic: cmnd/rfbridge/backlog doesn’t do anything, and no out from console
so I changed to command_topic: cmnd/rfbridge/rfcode

I see the output from mqtt console.

stat/rfbridge/RESULT = {"RfCode":"#5DFA03"}

However, the light is still no reaction.

So if I make the question simpler, if i made virtual key 1 (from webUI) learnt and it is still not triggering the light, does it mean that is a hardware issue as it is not sending RF signals. If it is a hardware issue, then even the config in HA setup correctly, it won’t do anything still.

Have you looked into the Portisch Firmware?

The built in firmware only supports limited RF Code formats, on my curtain controllers I needed to use the Portisch Firmware so I could send RAW B0 codes to them.

Might be worth having a read https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/ and seeing if https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki helps. Perhaps you can find reference to your lights somewhere on what mode they require.

Here is an example how I have to communicate with my curtain controllers

cover:
  - platform: mqtt
    device_class: curtain
    name: "Master Bedroom Curtains"
    command_topic: "cmnd/sonoffBridge/backlog"
    payload_open: "rfraw AA B0 35 05 08 12AC 05E6 1234 1234 1234 481A3A3A3B2B2B2B2A3B2A3A3B2A3A3A3B2B2B2B2A3A3B2B2A3A3A3A3A3A3B2A3B2A3A3B2B2A3A3B2B 55;rfraw off"
    payload_close: "rfraw AA B0 35 05 08 12B6 05E6 1234 1234 1234 481A3A3A3B2B2B2B2A3B2A3A3B2A3A3A3B2B2B2B2A3A3B2B2A3A3A3A3A3A3B2A3B2A3A3A3B2A3A3A3B 55;rfraw off"
    payload_stop: "rfraw AA B0 35 05 08 12AC 05E6 1234 1234 1234 481A3A3A3B2B2B2B2A3B2A3A3B2A3A3A3B2B2B2B2A3A3B2B2A3A3A3A3A3A3B2A3B2A3B2A3B2A3B2A3B 55;rfraw off"
    position_topic: "433/Master_Bedroom_Curtain"

The “;rfraw off” turns the RF RAW mode off so you can recieve other RF commands the normal way. I just use RF RAW to trigger the curtain controllers, as I have my normal sensors that just report as value_template: '{{ trigger.payload_json.RfReceived.Data == "1234EE" }}' etc

2 Likes

Many thanks for your reply and information.
It is helpful I will take a look and try Portisch.

Just reporting back that I flashed Portisch Firmware, most devices are working now.
Thank you!

1 Like

Glad you are mostly sorted.