Sonoff RF Bridge + Tasmota - A little confused

2,864 views
Skip to first unread message

WS

unread,
Jan 27, 2018, 8:25:55 AM1/27/18
to SonoffUsers
Im completely new to the Sonoff RF Bridge and generally everything 433Mhz. Ive bought:

- Sonoff RF Bridge
- 3 x 433Mhz Door Sensors
- 2 x PIR sensors
- 2 x Keychain remote controls.

Ive flashed Tasmota 5.x onto the bridge and that bit is all good, the unit works fine and im going to integrate this into OpenHAB. But having never used RF things before, Im a little uncertain of what to do next.

So, the door sensors Ive bought, Ive put a battery in them and when the magnet is put next to the sensor I get a message to my MQTT server, like the following:

"RfReceived":{"Sync":9530,"Low":310,"High":950,"Data":"A8CG27","RfKey":"None"}}

and when I pull the magnet away

"RfReceived":{"Sync":9530,"Low":310,"High":950,"Data":"A8CF29","RfKey":"None"}}

So Ive figured that A8CG27 means door closed... and A8CF29 means door open. Another door sensor works in a similar way, but gives slightly different "Data" codes. All good so far!!

My questions are as follows:

1. In the Tasmota firmware, am I meant to be somehow linking/pairing/authorising door sensor to Device 1, the next sensor to Device 2 etc??? Or does the box just pick up every 433Mhz signal (even if its your neighbours door) and you just use the "Data A8CG27" codes to identify in your software (OpenHAB in my case) that it was your sensor that went off?? (Do you have to pair/approve things like door sensors in the interface of the Tasmota software on the Bridge?)......... and if so... how?

2. With the remotes, which have 4 x buttons on each one, I can find pairing instructions for those on the internet. I see in the main Tasmota interfact I have buttons 1 to 16. I dont understand what happens when I press those buttons in the interface.... are those for pairing? With the remote, am I meant to pair the remote 1 button 1 to the tasmota interface button 1, and then remote 1 button 2 to tasmota interface button 2 etc.... then remote 2 button 1 to tasmota interface button 5 etc........ OR do you pair all the bottons of remote 1 (buttons 1, 2, 3 and 4) to the tasmota interface button 1?

So really, what Im asking..... is.... is what Im doing correct at the moment and its all working the way it should (you pick up signals from every 433Mhz device with no approval/pairing) OR WTF do I do next? Any links to videos/posts or written advice would be greatly appreciated!!

Thanks

Phil

unread,
Jan 30, 2018, 1:49:22 PM1/30/18
to SonoffUsers
Bump..  Lurking in the background with a bridge awaiting a firmware upgrade..

Phil

unread,
Feb 15, 2018, 9:18:15 PM2/15/18
to SonoffUsers
OK Think I can help now..

if you check out the messages you see in the console and compare them against this i just pulled from a bridge i flashed this evening..

 homeassistant/bridge/RESULT = {"RfReceived":{"Sync":9840,"Low":320,"High":950,"Data":"A5F4C9","RfKey":1}}

you will note the RfKey is Now 1,  this is because i have paired that particular alarm with the first slot of 16 available..

you can use the command : RfKeyX 2  
where X is the slot 1..16 you wish to pair an alarm/button with..

the good news as far as i am concerned is that you need ont pair a device to 'hear' it ;)  

so when testing your mqtt payload your paired devices 1-16 will show up with the RfKey data element populated with a number 1-16, otherwise devices will show up but will have a 'None' where the paired id should be.

.  

Don Stefano

unread,
May 3, 2018, 9:23:39 AM5/3/18
to SonoffUsers
In openHAB you can filter responses with regularexpressions. Im'm doing that to avoid all items receive input that are linked to the RF Bridge thing.
Here's an exapmple from my items file for the garden:
Switch Garden_Zaun_Light    "Licht Zaun" <light> (Garden, gLight, Garden_Spots_Light) {mqtt="<[mosquitto:openHAB1_RFBridge1/tele/RESULT:state:OFF:.*\"RfReceived\".*\"550114\".*], <[mosquitto:openHAB1_RFBridge1/stat/RESULT:state:OFF:.*\"RfCode\".*\"#550114\".*], >[mosquitto:openHAB1_RFBridge1/cmnd/RfCode:command:OFF:#550114], <[mosquitto:openHAB1_RFBridge1/tele/RESULT:state:ON:.*\"RfReceived\".*\"550115\".*], <[mosquitto:openHAB1_RFBridge1/stat/RESULT:state:ON:.*\"RfCode\".*\"#550115\".*], >[mosquitto:openHAB1_RFBridge1/cmnd/RfCode:command:ON:#550115]", autoupdate="false"}

I'm having one problem with the format of the response which was in the correct path in V5.12.0 of tasmota but is now different. But you will have to adjust the path either way.

This example is to show how to filter with the regular expression. The light uses two buttons on a remote to be switched ON (RfCode=#550115) or OFF (RfCode=#550114). So there's no need to teach your switches to the RF Bridge, let openHAB do the work and you're not limited to 16 different buttons which have to be teached.

Greetings
Stefan

Able Kaonga

unread,
Aug 19, 2018, 7:29:13 AM8/19/18
to SonoffUsers
Hi,

Am new to the rf bridge and would like to know the brands of sensors you are using. I bought 1byone pir sensors and they are not picked up by the rf bridge, your assistance with the sensor you bought will greatly assist.

Regards,

A.K

Phil

unread,
Aug 19, 2018, 10:08:34 AM8/19/18
to SonoffUsers
which version of tasmota did you load?  i updated my RF bridge OTA last week and noticed yesterday its not picking up ANY rf signals successfully..  not had a chance to delve in and check whats what just now, but i would suggest trying an earlier release.  

Greg from Oz

unread,
Aug 20, 2018, 4:28:44 AM8/20/18
to SonoffUsers
I am running 6.1.1 and no problems. I did OTA from version 5.13

Phil

unread,
Aug 20, 2018, 10:58:33 AM8/20/18
to SonoffUsers
fwiw my glitch with the latest f/w is sorted after reflashing with  6.1.0.a  an ota downgrade failed?  

Phil

unread,
Aug 20, 2018, 11:08:50 AM8/20/18
to SonoffUsers
good to hear Greg..  fwfw my hiccups with the ota upgrade last week led me to attempt an ota downgrade which resulted in an unresponsive RF bridge, today i physically reflashed v6.1.0.a  and she is back to normal ;)  
Reply all
Reply to author
Forward
0 new messages