HowTo: Tasmota – Configuring the Sonoff 433Mhz RF Bridge and teaching Sockets

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

Hints for our lovely english readers: Basically, many of the articles on Nerdiy.de are translations from the original german articles. Therefore, it may happen here and there that some illustrations are not available in english and that some translations are weird/strange/full of mistakes or generally totaly wrong. So if you find some obvious (or also not obvious) mistakes don't hesitate to leave us a hint about that in the comment section. 
Also please don't get confused, that instead of a "dot" often a "comma" is used as decimal separator. 🙂


Safety instructions

I know the following hints are always a bit annoying and seem unnecessary. But unfortunately, many people who knew it "better" from carelessness lost their eyes, fingers or other things or hurt themselves. In comparison, a loss of data is almost not worth mentioning, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Even the coolest project is worth no injury or other annoyance. https://www.nerdiy.de/en/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 shop via this link, Nerdiy.de receives a commission from the online shop or provider concerned. The price doesn't change for you. If you do your purchases via these links, you will support Nerdiy.de in being able to offer further useful projects in the future. 🙂


Requirements

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

Required tools:
-none-

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 Web page

In order to configure your Sonoff RF Bridge you must first open the configuration interface.
You can access this with your web browser at the IP address of your Sonoff RF Bridge.

How to 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 be configured as an RF Bridge.

To do this, open the main menu and click on “Configuration” …
…and “Configure Module”.
Here you select the “25 Sonoff Bridge” at “Module Type” and click on “Save”. The Sonoff Bridge saves the configuration and restarts. Then you have to reload the page (This works in most browsers by pressing the “F5” key).
After restarting, you can see that the user interface has changed. Now there are 16 buttons. As soon as one of them is activated, a previously switching signal can be sent by radio to the corresponding socket. How this switching signal is configured will be explained below. For the sake of simplicity, we first baptize these buttons with the name “FunkButtons”.

Teach in radio-controlled socket/remote control

In order to be able to control a radio-controlled socket via the Sonoff RF Bridge, you should already be able to control the radio-controlled socket using the radio remote control, which is often supplied.
Then the Sonoff RF Bridge can simply “listen” to the signal of the radio remote control. The intercepted radio remote control signal can then be used later to control the desired power outlet with the Sonoff RF Bridge.

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

Click on “Console” in the main menu of the configuration view of your Sonoff RF Bridge.
This will bring 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 with FunkButton 1, you must first switch it to learning mode. This is done with the following command:

Rfkey1 2

The “1” stands for the FunkButton 1 and the “2” stands for the fact that this will be switched to learning mode.

For example, if you want to switch FunkButton 5 to learn mode, the command would look like this:

Rfkey5 2
Enter now the command “Rfkey1 2” into the text field under the console text field and confirm the command with a press on “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 waiting in learning mode to receive a valid radio signal. Now you should press the button on the radio remote control which turns on the power socket, which you now want to learn at the Sonoff RF Bridge.

Do you have the button pressed (sometimes you have to hold it down a bit until the RF bridge recognizes the signal). Your Sonoff RF Bridge beeps twice, to confirm that the radio signal has been detected and saved. A message in the console window also confirms that the signal has been learned.

The output of the console of your Sonoff RF Bridge confirms that a matching radio signal has been detected and stored.

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

As you probably have noticed with the 16 FunkButtons a maximum of 8 sockets can be switched on or off.

A different/easier way to train the radio-controlled sockets is described in the article NodeRed – Embed and use Sonoff 433Mhz RF Bridge.


Additional information

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


I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂

Fab

P.S. 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 appreciate it that I share these information with you, I would be happy about a small donation to the coffee box. 🙂

Buy Me a Coffee at ko-fi.com

Leave a Reply

Your email address will not be published. Required fields are marked *