HowTo: Tasmota – Configure Sonoff 433Mhz RF-Bridge and teach sockets

After your Sonoff RF Bridge – as in the article Sonoff 433Mhz RF Bridge with Tasmota Firmware flashing described – you have flashed the Tasmota firmware, it is now time to configure the firmware correctly. This is described in the following article.


Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/

Affiliate links/advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂 


Requirements

Helpful articles:
Before you start configuring the Sonoff RF Bridge flashed to the Tasmota firmware, you should have already read the following articles.
Sonoff 433Mhz RF Bridge with Tasmota Firmware flashing

Required material:

In the following list you will find all the parts you need to implement this article.


Open the Sonoff 433Mhz RF Bridge configuration webpage

In order for you to be able to configure your Sonoff RF Bridge, you must first open the configuration interface.
You can reach this with your web browser under the IP address of your Sonoff RF Bridge.

How you can find out the IP addresses of your devices in the network is described in the following article:
Display/find out the IP address of the devices in the network


Configure Sonoff 433Mhz RF Bridge

After flashing the Sonoff 433Mhz RF Bridge with the Tasmota firmware, it must first be configured as an RF bridge.

Once you have opened the main menu, click on “Configuration”…
…and “Configure Modules”.
Here you select the “25 Sonoff Bridge” under “Module Type” and click on “Save”. The Sonoff Bridge then takes over the configuration and restarts. You then have to reload the page (this can be done in most browsers by pressing the “F5” key).
After restarting, you can see that the user interface has changed. There are now 16 buttons. As soon as one of them is activated, a previously set switching signal can be sent via radio. How these switching signals are configured is explained below. For the sake of simplicity, we will first name these buttons “FunkButtons”.

Learn radio socket/remote control

In order to be able to control a radio socket via the Sonoff RF Bridge, you should already be able to control the radio socket using the radio remote control that is often included.
Then you can simply “listen” to the signal from the radio remote control with the Sonoff RF Bridge. The monitored radio remote control signal can then be used later to control the desired socket with the Sonoff RF Bridge.

So that you can “listen” to the signals from the radio remote control, the Sonoff RF Bridge must first be switched to “learning mode”.

To do this, click on “Console” in the main menu of the configuration view of your Sonoff RF Bridge.
This will take you to the console overview of your Sonoff RF Bridge. Events are displayed here and you can also enter commands to control your Sonoff RF Bridge.

For example, if you want to switch on a socket using radio button no. 1, you must first switch it to learning mode. This can be done with the command:

Rfkey1 2

The “1” stands for radio button 1 and the “2” means that it should be switched to learning mode.

For example, if you want to switch radio button number 5 to learning mode, the command would be:

RFkey5 2

are.

Now enter the command “Rfkey1 2” in the text field below the console text field and confirm the command by pressing “Enter”.
Your Sonoff RF Bridge then confirms the command (in this case “RfKey1 2”) with the answer: “{“RfKey1″:”Start learning”}” and beeps once.

Your Sonoff RF Bridge is now “armed” and is waiting in learning mode until it receives a valid radio signal. Now you should press the button on the radio remote control which switches on the socket that you now want to connect to the Sonoff RF Bridge.

Have you pressed the button (sometimes you have to hold it down for a while until the RF Bridge recognizes the signal). Your Sonoff RF Bridge will beep twice, confirming (and a message in the console window) that the radio signal has been detected and saved.

The output from the console of your Sonoff RF Bridge confirms that a suitable radio signal was detected and saved.

If you now press the radio button you just learned on the main page of the configuration interface, your radio socket should switch on.
To switch off the radio socket, you now have to teach another radio button with the switch-off signal.
The same applies to other sockets that you want to control in this way.

As you might. As you have noticed, a maximum of 8 sockets can be switched on or off with the 16 radio buttons.

Another/easier way to learn the radio sockets is in the article NodeRed – Integrate Sonoff 433Mhz RF Bridge described.


More information

https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#sonoff-rf-bridge-433
https://github.com/arendst/Sonoff-Tasmota/issues/1181


Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at ko-fi.com       

5 comments

  1. Great explanation!
    up until then everything worked fine for me.
    I would now like to control 4 radio sockets via Alexa.
    Could you also give instructions on this?
    I think there must now also be settings or codes/rules so that the connection to alexa works.

  2. I also applaud you for your explanation! Flashing worked well even with the R2 V2.2 version. I can also access the Tasmota interface and see the recognized commands. But unfortunately the learning doesn't work for me. The bridge beeps once and after a while failed comes up. Do you have any idea why that is?

    Greetings
    Fabian

    1. Hi Fabian,
      so ad hoc I don't know, sorry. Perhaps the socket/remote control uses a radio protocol that is not supported by the RF bridge? :/
      Best regards
      Fabian

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.