-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RF Bridge Saving Codes... struggling #1181
Comments
Same problem here, can not put the RF Bridge in learning mode.
When typing in the console I get the message:
Program Version | 5.9.0a |
Where does the : come from? Try |
Now i can go to learning mode (input from console)
Works too, signal is received and confirmed with a beep.
New Version deployed:
|
Every time you select option 2 it goes in learning mode waiting for a key press or times out after a minute. rfkey is equal to rfkey1. As the bridge is still in learning mode (Learning active) you cannot select other commands. |
Thanks for this information, but the learning mode never ends, only when i restart the device..
|
This should have happened:
|
Hi,
Learning will never stop.. |
|
No i can see more, but strange messages
|
As your seriallog was set to 4 the RF chip was overcrowded with rubish data. No restart one more time and try again. BTW the correct command is |
Restarted but nothing has changed...
|
At 16:28:34 Tasmota is waiting for you to press a key on your physical remote control to be learned by Tasmota. At 16:29:34 Tasmota receives a signal back from the rf chip apparently containing the code to learn. The rf chip should have replied immediatly after you pressed the remote control button and also signaled the end of learn mode. It looks to me the software of the rf chip has changed and does not really posses a learn mode anymore. As a side track I managed to get the same kind of error as you did. Apparently the RF chip does not recognize a received signal and fails to send the end of learn code after 1 minute but does send the unrecognized signal. As tasmota is still waiting for the end of learn mode signal it seems to hang. I just made a fix which will let tasmota timeout after 60 seconds if no end of learn mode is received from the rf chip. This will solve your endless Learning Active message but still won't recognize your remote control code. From your logging I may have to rewrite the learn process completely... |
Hi,
Could be, because the device is brand new and has the new board. Thanks for your help. |
5.9.1e * Add + (plus) and - (minus) to command color to select 1 out of 12 preset colors * Add + (plus) and - (minus) to command ct to control ColdWarm led ColorTemperature (+34/-34) * Tune Arilux RF code * Fix possible iram1_0_seg compile error by shrinking ICACHE_RAM_ATTR code * Update core_esp8266_wiring_digital.c to latest (staged) level * Workaround Sonoff Bridge Learn Mode hang caused by unrecognised RF code (#1181) * Fix blank console log window by using XML character encoding (#1187)
mines still doing the same, beeps and then the red light flashes and just hangs 1:39:39 CMD: RfKey1 2 i'll try and upgrade the software to the newer version and see what that does |
Hi Theo, Is there any way to register the RFKeys with a MQTT command ?
I also do not know how I can execute a command with MQTT:
More about "Sonoff 433 RF Bridge won't pair" problem: Thanks |
Found time for my (also new platine) Sonoff RF Bridge 433 - I am experiencing the same thing (v5.9.1e):
Is there something I can do to provide more info?edit: I managed to get a response in step 6 (after two times, I think) and I could save it. I couldn't reproduce that, though. |
@zibous You can save values to rfkeys using the individual commands like:
The above sequence of commands saves it's code for rfkey2 @binderth First get to know the functions of the option numbers behind the rfkey command as documented in the wiki:
See above answer regarding use of option 4. For debugging purposes it is good to know if your remote control is able to control your 433MHz SONOFF device directly; Not all remotes are recognised by the Sonoff Bridge RF hardware. Tasmota is NOT decoding the remote control codes but a seperate chip inside the bridge is doing this and if it cannot decode the code it just fails to send the valid learn status to Tasmota. |
@arendst: thanks for the heads up! Now after some tries I could learn a remote button to RfKey4:
again: i pressed the button 4times, so I guess you have to press it at least two times for the learning. After learning |
Hi Theo, Now with Program Version | 5.9.1h i can learn RfKey1 and this will work. RfKey1 2 works |
No problem at all:
|
Try to register rfkey1 and rfkey2:
Unfortunately does not work with the backlog command:
When I use the remote control and control this with an ESP8266 (RCSwitch Lib) then
Anpro 4x 433 MHz Empfänger und Funk Sende Modul Superregeneration Modellbezeichnung: Arendo - Funksteckdosen-Set (4+1) für den Außenbereich (Outdoor) It's a pity, because I really like the Sonoff device. |
5.10.0 20171201 * Upgrade library ArduinoJson to 5.11.2 * Upgrade library IRRemoteEsp8266 to 2.2.1 + 2 commits but disabled some protocols (code size reduction) * Upgrade library NeoPixelBus to 2.2.9 * Upgrade library OneWire to 2.3.3 + 6 commits and disabled CRC lookup-table (#define ONEWIRE_CRC8_TABLE 0) (code size reduction) * Update library PubSubClient to 2.6 + 9 commits and additional delay (#790) * Update core_esp8266_wiring_digital.c to latest (staged) level * Patch library I2Cdevlib-Core for esp8266-core 2.4.0-rc2 compatibility * Remove command EnergyReset 1..3 now replaced by ENergyReset1 to EnergyReset3 * Remove spaces in JSON messages (code size reduction) * Renamed xsns_05_ds18x20.ino to xsns_05_ds18x20_legacy.ino still using library OneWire and providing dynamic sensor scan * Fix possible iram1_0_seg compile error by shrinking ICACHE_RAM_ATTR code usage * Fix PWM watchdog timeout if Dimmer is set to 100 or Color set to 0xFF (#1146) * Fix Sonoff Bridge Learn Mode hang caused by unrecognised RF code (#1181) * Fix blank console log window by using XML character encoding (#1187) * Fix wrong response name for command HlwISet (#1214) * Fix DHT type sensor timeout recognition by distinguish "signal already there" from "timeout" (#1233) * Add fixed color options 1..12 to command Color * Add + (plus) and - (minus) to commands Dimmer (+10/-10), Speed and Scheme * Add + (plus) and - (minus) to command Color to select 1 out of 12 preset colors * Add + (plus) and - (minus) to command Ct to control ColdWarm led ColorTemperature (+34/-34) * Add commands EnergyReset1 0..42500, EnergyReset2 0..42500 and EnergyReset3 0..42500000 * to (Re)set Energy Today, Yesterday or Total respectively in Wh (#406, #685, #1202) * Add optional ADS1115 driver as alternative for unsupported I2Cdevlib in esp8266-core 2.4.0-rc2 * Add support for INA219 Voltage and Current sensor to be enabled in user_config.h with define USE_INA219 * Add support for Arilux LC11 (Clearing RF home code when selecting no Arilux module) * Add support for WS2812 RGBW ledstrips to be enabled in user_config.h with define USE_WS2812_CTYPE (#1156) * Add SettingsSaveAll routine to command SaveData to be used before controlled power down (#1202) * Add option PUSHBUTTON_TOGGLE (SwitchMode 7) to allow toggling on any switch change (#1221) * Add new xdrv_05_ds18x20.ino free from library OneWire and add the following features: * Add support for DS1822 * Add forced setting of 12-bit resolution for selected device types (#1222) * Add read temperature retry counter (#1215) * Fix lost sensors by performing sensor probe at restart only thereby removing dynamic sensor probe (#1215) * Fix sensor address sorting using ascending sort on sensor type followed by sensor address * Rewrite JSON resulting in shorter message allowing more sensors in default firmware image: * "DS18B20-1":{"Id":"00000483C23A","Temperature":19.5},"DS18B20-2":{"Id":"0000048EC44C","Temperature":19.6} * Add additional define in user_config.h to select either single sensor (defines disabled), new multi sensor (USE_DS18X20) or legacy multi sensor (USE_DS18X20_LEGACY) * Add clock support for more different pixel counts (#1226) * Add support for Sonoff Dual R2 (#1249) * Add FriendlyName to web page tab and add program information to web page footer (#1275)
Hello everyone! Sorry to bother you: I just received my RF Bridge from ITEAD and successfully flashed with TASMOTA latest version (5.10). I was unable to learn any of my 433 codes that I currently use with my Broadlink RM PRO. It is very strange, my device does not beep when command It hangs like this:
There is no beep and nothing happens when I press the controller button. I've noticed that the board does not seems to be the same as the ones used on the Wiki pages. Here it is: https://photos.app.goo.gl/Vn7Di5bsDRSvOdKu2 Can someone help me? Thanks! |
Hello I have rf bridge and wanted to use the door contact magnet to receive the status on openhab. |
Hello there! My Sonoff also has problems to learn the code of my 433 MHz remote. My settings
Log output |
For those that have problems learning codes with Sonoff RF Bridge because of "No beep" and "Timeout" there seems to be a problem with the firmware on the EFM8 chip. You will need to upgrade the firmware using something like: https://github.com/rhx/RF-Bridge-EFM8BB1 |
Sorry, to bother everyone, but I would like to add my contribute to this issue: a DW1 not working with a Tasmota 12.0 (upgraded last bin) flashed RF Bridge 433, but it does work OK added with ewlink to a brand new RF BRIDGE 433 running the original ITEAD firmware. Here under is the story: Here is the log of trying to learn the not learned DW1 (let's call it NLDW1): ------------------- tried to flash NLDW1 using the option 4, but still unsuccesful -------------- Unsuccesfully tried on NLDW1 to replace 12V battery A27 (fully loaded, small suitable for remote commands) to 12V 23AE one (fully loaded higher capacity). Succesfully I learned a 433 remote command of the same slot "7" on the same RF Bridge 433 : Finally I went to add the NLDW1 to another RF BRIDGE 433 standard ITEAD firmware using ewelink at evething worked perfectly. Conclusion: a Tasmota flashad RFBRIDGE 433 learns PIR, remote commands and DW1 but NOT this specific NLDW1, which on the contrary is learned by ITEAD firwmware on anothe RF BRIDGE 433 |
Hello, |
continue my previous comment: |
I'm having trouble to learn the RF codes of my remote as well. I started the learning by entering rfkey1 2 but it doesn't pick up any codes after I repeatedly press my remote. 16:54:50 CMD: rfkey1 2 My sonoff bridge is different from the model in the wiki, could this be the reason? |
I've been able to store keys on both the one new RF Bridge 433 with 4 screws in the bottom (under rubber taps) and the green sonoff light on the top and the old one with no screws in the bottom and no top green light. Have you any alarm 433 Mhz running in the area (also consider devices . reporting temp from ouside). Switch off all of them if any and retry. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
zeliant did you solve your learning RF code issue? I posted here #3025 with issues and now have the "Start Learning" and "Learning Failed" issue. What Tasmota firmware were you using? |
This code |
@Jason2866 struggling with my RF Bridge and Pairing Sonoff T433 86 Buttons. Any ideas ? thx |
@mc1271 |
No, I’m still with the Orginal Version. |
I dont know the device Sonoff T433 86 Buttons? |
Flashing RF Bridge EFM (scroll down) |
As I’m new to RF I might be thinking wrong. All I’m trying to do is assigning the T433 86 as Key 1 in order the use the RFKey in OpenHAB to trigger Events. |
The keys in the bridge are predefined with working rf codes. |
Isn’t that the same as entering: |
No. Rfkey1 1 will send predefined code!! |
Hi Jason, there might be a missunderstanding. |
Yes i missundrrstood you. You dont have to learn the rfbridge the T433! |
Rfbridge.items Switch WohnFluter "Wohnz. Fluter" (LR,gLight) [ "Lighting" ] |
Rfbridge.rules |
Dear Jason, PS.: Grüße aus Hamburg |
5.9.1e * Add + (plus) and - (minus) to command color to select 1 out of 12 preset colors * Add + (plus) and - (minus) to command ct to control ColdWarm led ColorTemperature (+34/-34) * Tune Arilux RF code * Fix possible iram1_0_seg compile error by shrinking ICACHE_RAM_ATTR code * Update core_esp8266_wiring_digital.c to latest (staged) level * Workaround Sonoff Bridge Learn Mode hang caused by unrecognised RF code (arendst#1181) * Fix blank console log window by using XML character encoding (arendst#1187)
Did you ever solve this issue? I too have a sonoff 433 MHz bridge and all I get is 155F as the rfcode data |
This looks like Intertechno code (false decoded). This happens with orig. EFM firmware. |
Hi all, Here is the console log:
Once I enter rfkey2 2, the bridge beeps, but there is no red LED on, which I thought should be on? I was able to sniff the codes of the remote with the the Anybody got any ideas? |
Can any one help me with saving codes on the rf bridge please i'm struggling with getting them to save.
I can get the device to see the codes when i press the button but i have no idea on assigning it to a key. every time i press a key or do one of the rfkey commands i just always get a console line "stat/sonoff/RESULT = {"RfKey1":"Learning active"}"
The text was updated successfully, but these errors were encountered: