Git Product home page Git Product logo

rf-bridge-efm8bb1's Introduction

RF-Bridge-EFM8BB1

RF-Bridge-EFM8BB1

The Sonoff RF Bridge is only supporting one protocol with 24 bits.
The Idea is to write a alternative firmware for the onboard EFM8BB1 chip.

Please take a look in the wiki for more information.

rf-bridge-efm8bb1's People

Contributors

henfri avatar mrvh88 avatar nickjlines avatar portisch avatar rhx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rf-bridge-efm8bb1's Issues

which kind of signal is this and how to replicate it

15:43:02 MQT: tele/TS_00000008/RESULT = {"RfRaw":{"Data":"AA B1 03 0134 023B 137E 110011001010110100101101001010110100110011010011001011001010101010101010101010101100101010101010101011001011001011001100101011001120 55"}}
15:43:02 MQT: tele/TS_00000008/RESULT = {"RfRaw":{"Data":"AA B1 04 13A6 025A 011E 137E 30 55"}}

when i push in the remote control, i get these 2 data, anybody has control some signal like this?

Possible enhancement

There is a issue in ESPURNA where someone is requesting a possibility to make the buzzer beep. I think this can easily added as a command to the firmware like 0xAA 0xBb 0x55 makes the buzzer beep 1sec.

Problem with new Bridge

Hi all, after i discovered that the code works well with my older bridge, i am wondering why it does not work with the new PCB layout. There is a new chip on board and after doing some messuring i noticed, that the SYN115 was replaced with a F115H and the new chip is a 12V "changer" becasue the F115H is working with 12V instead of 3.3 V. The question is now, is it possible to port the code to the new transmitter chip?

Thanks for helping

Add codes for X10 protocol remote control

Hi,
I have managed to get the firmware to turn on and off X10 devices by sending rfraw commands.
Is it possible to have the X10 put into the firmware as a known protocol so it shows up when the remote is used and the results show up in the tasmota console like the other remotes that work with tasmota.
X10 have house codes and device numbers. Below are 2 examples that I have used and they work.
Are they added to the protocols.h?

Here are the codes I managed to get to work:
Code A2 device
ON:
RfRaw AAB02E0501236E116C022A06A69C360122232322222222222322222323232323222222232222222223232322232323232455
OFF:
RfRaw AAB02E050123641180022F069A9C360122232322222222222322222323232323222223232222222223232222232323232455

The code for A9 device
ON:
RfRaw AAB02E05012378116C023006999C360122232322222322222322222323222323222222222222222223232323232323232455
Off:
RfRaw AAB02E0501236E1176021A06B09C360122232322222322222322222323222323222223222222222223232223232323232455

Thanks

How to

Hi

A how to flash the firmware guide would be appreciated. I'm not sure which Connector i should use

Kind regards
c_bb

Intertechno V3 Protocol

Hi,

is there any way to include the Intertechno V3 Protocol?
I've got eight plugs using this protocol and currently I'm switching them via a CUL.
But i would like to replace the CUL by a Sonoff RF Bridge.
The RF Bridge is already flashed with Tasmota and the current version of this RF Bridge firmware.
What should I do?
Who can help?
What do you/we need?

How to learn after flashing?

Hi. Excuse the dumb question, I'm a noob in waaaaay over his head.

I got the rf bridge flashed to tasmota and have gotten Portisch flashed as well....after days of head scratching and googling. Am now completely stuck on how to get the bridge to learn a fan remote I have.

The remote has 8 buttons. I used the rfraw AAB155 command to sniff and got the following for a few random buttons;

16:41:02 CMD: rfraw AAB155
16:41:02 RSL: RESULT = {"RfRaw":"ON"}
16:41:02 RSL: RESULT = {"RfRaw":{"Data":"AAA055"}}
16:41:13 RSL: RESULT = {"RfRaw":{"Data":"AA B1 05 0064 02FA 0177 0150 2274 22121212112211221122121212121122121212112122112214 55"}}
16:41:13 RSL: RESULT = {"RfRaw":{"Data":"AA B1 05 02DF 033D 0184 01D6 299A 22020202002200220022020202020022020202002022002204 55"}}
16:41:13 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0178 02F5 2968 00101010110011001100101010101100101010110100110012 55"}}

As I understand it, I shroud use the bitbucketconvertor tool so I use it on;

{"RfRaw":{"Data":"AA B1 03 017B 02F1 295E 00101010110011001100101010101100101010110100110012 55"}}

and the result I get is;

AA A8 22 7F 00101010110011001100101010101100101010110100110012 017B 295E 5d 02F1 6 0 55

Question is what do I do then? Where do I go from here?

Would appreciate any help on just one of these buttons, I will work out the rest. I'm sure I've goofed up already and would appreciate any guidance. And yeah, I'm an idiot so if you could possibly please help explain to me what I should do like I'm a 5 year old. :))))

Thank you!!!!!

Receive OK, but sending does not work with espurna

Hello, i could manage to load the prebuild hex image to my sonoff rfbridge.
Now i tried to learn a code from my remote and it is working.
But i could not send any learnd command.

I am using pilight with my raspberry pi for sniffering and my bridge does not send out any code.

Any help what i have to do to get it work?

Compiling with simplicity studio 4 and keil not working

Hello!

I have a problem compiling efm8bb1-firmware using studio 4 and keil. It seems the linker is missing parts:

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: PCA0_halt
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: PCA0_run
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _PCA0_writeChannel
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: _PCA0_writeChannel
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 1001137H

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: PCA0_run
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 100001CH

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: PCA0_run
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 1000F7DH

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: PCA0_halt
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 1001176H

Program Size: data=80.2 xdata=205 const=252 code=4649
LX51 RUN COMPLETE. 0 WARNING(S), 7 ERROR(S)
make: *** [RF-Bridge-EFM8BB1.omf] Error 1

Can't write efm8

Hey, sorry to pollute the isues here, but you guys seem to be really knowledgable about writing firmware on this chip. It seems I messed up trying to write some data on the chip and now I can't upload anymore the custom firmware to test myself the behaviour. I've opened this issue:
conorpp/efm8-arduino-programmer#5 on the repo for the uploader, however I am running out of ideas on how to fix it.

I really hope you guys can give me some direction as I'd love to test as well changes to your firmware.

WFDC879 Doorman doorbell

Hey there,

I've been trying to add a new protocol but it doesn't seem to work with the current types of protocol.

Here is the product: https://www.responseelectronics.com/shop/door-bells-and-intercoms/wireless-door-bells/doorman-replacement-wirefree-bell-push-71199204/

Here is the bucket data I've collected and have been working against

09:19:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00E2 0176 1B4E 01010011001010101100101012 55"}}
09:19:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 0177 00E2 1B6C 10101100110101010011010102 55"}}
09:19:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0192 00CC 01C7 1B58 10101100110101010011010103 55"}}
09:19:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A6 00B1 00F0 1B44 10101100110101010011010103 55"}}
09:19:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A9 01CC 1B3A 10101100110101010011010103 55"}}
09:19:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00F2 009F 1B30 10101200120202020012020203 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AA 00AA 01CC 1B58 10101100110101010011010103 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01A9 00A0 01CC 0104 1B4E 10103100110101010011010104 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AC 00A5 05B4 1B4E 10101100110101010011010103 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A4 00B3 01C2 1B44 10101100110101010011010103 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 06 01A4 00A9 00FB 10F4 09BA 1B4E 20101100110101010011010105 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A2 00B5 0096 1B44 10101100110101010011010103 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01C7 1B4E 10101100110101010011010103 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A5 00AD 00DC 1B3A 10101100110101010011010103 55"}}
09:19:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A2 00FA 1B4E 10201100210101010011010103 55"}}
09:19:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A4 00B0 01C2 1B44 10101100110101010011010103 55"}}
09:19:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A3 00F0 1B44 20102100110101010011010103 55"}}
09:19:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A7 01C2 1B4E 10101100110101010011010103 55"}}
09:19:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B2 009E 01B8 0104 1B4E 10103100310101010011010104 55"}}
09:19:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01BB 00AB 1AD6 10101100110101010011010102 55"}}
09:19:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A5 00B9 00FA 1B4E 10101100110101010011010103 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0196 00B8 01C3 1B3A 10101100110101010011010103 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AC 00B5 0082 1B44 10011101010101020011010103 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A5 00E6 1B12 10101100110101010011010103 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01C0 009E 01C2 0109 1B58 10101100110101010011010104 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 0098 00FA 1B3A 10202100210101010011010103 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B7 0190 00A0 00FA 1874 30202200320202020022020204 55"}}
09:19:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01AB 00A4 1B62 10101100110101010011010102 55"}}
09:19:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 06 038E 01B1 00AB 01C2 0096 1B4E 21212211221212121122121215 55"}}
09:19:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01BA 00A6 0082 1B62 10101100110101010011010103 55"}}
09:19:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A4 00B6 01C2 1B4E 10101100110101010011010103 55"}}
09:19:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 019C 00C1 01CC 1B44 10101100110101010011010103 55"}}
09:19:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01AF 009B 01CC 010E 1B58 30303100310101010011010104 55"}}
09:19:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 019C 00AC 00FA 1B44 10101100110101010011010103 55"}}
09:19:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A2 00D2 1B76 10101100110101010011010103 55"}}
09:19:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01AC 01A1 00EC 00A0 1A0E 20202300230303030022020204 55"}}
09:19:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 019D 00B7 00FA 1B44 10101100110101010011010103 55"}}
09:19:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A5 00FA 1B4E 10101100110101010011010103 55"}}
09:19:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B7 009C 00F5 1B44 20201100210101010011010103 55"}}
09:19:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AA 00FA 1B44 10101100110101010011010103 55"}}
09:19:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01BE 008F 01CE 00FA 1B44 30303100310101010031010104 55"}}
09:19:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01A5 00B2 1B4E 10101100110101010011010102 55"}}
18:15:23 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01C3 0090 01EA 012C 1B1C 30303100310101010031010104 55"}}
18:15:23 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A5 00AD 01CC 1B58 10101100110101010011010103 55"}}
18:15:23 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DD 017A 1B80 01010011001010101100101012 55"}}
18:15:23 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01A5 00B0 1B62 10101100110101010011010102 55"}}
18:15:23 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A5 01C2 1B4E 10101100110101010011010103 55"}}
18:15:24 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AC 00A9 01C4 1B58 10101100110101010011010103 55"}}
18:15:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AA 00B2 01C2 1B58 10101100110101010011010103 55"}}
18:15:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00D5 0183 1B8A 01010011001010101100101012 55"}}
18:15:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01AF 00AD 1B58 10101100110101010011010102 55"}}
18:15:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A9 01C4 1B58 10101100110101010011010103 55"}}
18:15:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B5 00A4 01C2 1B4E 10101100110101010011010103 55"}}
18:15:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01CC 1B4E 10101100110101010011010103 55"}}
18:15:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A8 01CC 1B4E 10101100110101010011010103 55"}}
18:15:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A5 01C2 1B58 10101100110101010011010103 55"}}
18:15:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00F0 00A2 1B4E 10101200120202020012020203 55"}}
18:15:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A4 0104 1B58 10101100110101010011010103 55"}}
18:15:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 06 02B2 01B4 009A 01D6 00FA 1996 41414211221212121122121215 55"}}
18:15:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 0187 00C9 1B6C 10101100110101010011010102 55"}}
18:15:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00CC 0190 1B80 01010011001010101100101012 55"}}
18:15:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01A2 00B5 1B6C 10101100110101010011010102 55"}}
18:15:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A9 01C4 1B58 10101100110101010011010103 55"}}
18:15:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00A9 00FA 1B58 10101100110101010011010103 55"}}
18:15:32 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A6 00FA 1B58 10101100110101010011010103 55"}}
18:15:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00AA 01C2 1B58 10101100110101010011010103 55"}}
18:15:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B2 00A1 01CC 00F0 1B58 10303100110101010011010104 55"}}
18:15:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A4 00FA 1B58 10101100110101010011010103 55"}}
18:15:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A7 00FA 1B58 10101100110101010011010103 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B6 009E 00F5 1B4E 10102100110101010011010103 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B2 009F 01C2 00FA 1B58 30101100110101010011010104 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B4E 10101100110101010011010103 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B2 009F 01C2 00FA 1B58 30103100110101010011010104 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AA 0104 1B58 10101100110101010011010103 55"}}
18:15:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B4E 10101100110101010011010103 55"}}
18:15:36 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AB 00FA 1B58 10101100110101010011010103 55"}}
18:15:36 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 009F 00FA 1B58 20201100110101010011010103 55"}}
18:15:36 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}
18:15:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B4 009E 01D6 00F0 1B4E 10101100110101010011010104 55"}}
18:15:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 009F 00FA 1B58 10201100110101010011010103 55"}}
18:15:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01C7 1B58 10101100110101010011010103 55"}}
18:15:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A9 01C7 1B58 10101100110101010011010103 55"}}
18:15:39 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:15:39 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01C7 1B58 10101100110101010011010103 55"}}
18:15:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A6 00FA 1B58 10101100110101010011010103 55"}}
18:15:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B4E 10101100110101010011010103 55"}}
18:15:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AC 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:24 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 009E 00FA 1B3A 10101100110101010011010103 55"}}
18:21:24 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00D6 017D 1B76 01010011001010101100101012 55"}}
18:21:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01A3 00B5 1B62 10101100110101010011010102 55"}}
18:21:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A8 01C2 1B58 10101100110101010011010103 55"}}
18:21:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A8 00FA 1B58 10101100110101010011010103 55"}}
18:21:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:27 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A6 01CC 1B58 10101100110101010011010103 55"}}
18:21:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AA 01C2 1B58 10101100110101010011010103 55"}}
18:21:28 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A4 00FA 1B58 10101100110101010011010103 55"}}
18:21:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A3 00FA 1B58 10201100210101010011010103 55"}}
18:21:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B4E 10101100110101010011010103 55"}}
18:21:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B58 10101100110101010011010103 55"}}
18:21:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B5 00A3 00FA 1B4E 10201100110101010011010103 55"}}
18:21:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B4E 10101100110101010011010103 55"}}
18:21:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01AE 00A3 01C7 00FA 1B58 10301100110101010011010104 55"}}
18:21:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01CC 1B4E 10101100110101010011010103 55"}}
18:21:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AA 01C2 1B58 10101100110101010011010103 55"}}
18:21:32 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B4E 10101100110101010011010103 55"}}
18:21:32 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00A7 01C4 1B58 10101100110101010011010103 55"}}
18:21:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B58 10101100110101010011010103 55"}}
18:21:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}
18:21:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01AD 00A4 01CC 00FA 1B58 10101100110101010011010104 55"}}
18:21:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}
18:21:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00A7 01C2 1B58 10101100110101010011010103 55"}}
18:21:35 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A4 00FA 1B58 10101100110101010011010103 55"}}
18:21:36 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 009E 00FA 1B58 20201100110101010011010103 55"}}
18:21:36 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A9 00FA 1B62 10101100110101010011010103 55"}}
18:21:36 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}
18:21:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AA 01C2 1B58 10101100110101010011010103 55"}}
18:21:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 009E 00F5 1B58 20102100110101010011010103 55"}}
18:21:37 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}
18:21:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B58 10101100110101010011010103 55"}}
18:21:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B58 10101100110101010011010103 55"}}
18:21:39 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:39 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A4 01CC 1B58 10101100110101010011010103 55"}}
18:21:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A9 01C2 1B58 10101100110101010011010103 55"}}
18:21:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B3 009E 01CC 00FA 1B58 30301100110101010011010104 55"}}
18:21:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A9 01CC 1B58 10101100110101010011010103 55"}}
18:21:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B4 009E 01CC 00F0 1B4E 30303100110101010011010104 55"}}
18:21:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A9 00B1 00FA 1B58 10101100110101010011010103 55"}}
18:21:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A4 00FA 1B58 10101100110101010011010103 55"}}
18:21:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B3 009E 01C2 00FA 1B58 30301100110101010011010104 55"}}
18:21:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A9 01CC 1B58 10101100110101010011010103 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B2 009F 01C7 00FA 1B58 30103100110101010011010104 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00AE 01C7 1B58 10101100110101010011010103 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 009F 00FA 1B4E 20101100110101010011010103 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B5 00A4 00FA 1B4E 10101100110101010011010103 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 01CC 1B4E 10101100110101010011010103 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B5 00A3 00FA 1B4E 20201100110101010011010103 55"}}
18:21:42 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B0 00AC 01C2 1B58 10101100110101010011010103 55"}}

The protocol I tried adding

SI_SEGMENT_VARIABLE(DOORMAN, static DUTY_CYLCE_PROTOCOL_DATA, SI_SEG_CODE) =
	{
		250,			// SYNC_HIGH
		430,		// SYNC_LOW
		0,			// SYNC_BIT_COUNT
		460,		// BIT_HIGH_TIME
		162,		// BIT_LOW_TIME
		73,			// BIT_HIGH_DUTY
		26,			// BIT_LOW_DUTY
		0,			// BIT_COUNT
		0			// REPEAT_DELAY
	};

Any help in the right direction would be appreciated, I think I need to read up on RF protocol types more.

Cheers

Troubles sending commands via serial to check firmware install

Hi

I've been trying this out as I have a couple of remotes that the Original firmware doesn't seem to recognise. Ive flashed ESPurna and got it working but noticed I also need to flash the EFM chip too and came here.

I THINK i have successfully flashed your firmware but I am struggling to get a response when connecting to the RS232 header near the EFM chip. TX to RX and RX to TX and 3.3 + GND connected and I can see the usb adapter sending the data but nothing is returned. Switch is in the "off" position too to stop the 8266 from talking to the EFM.

With everything disconnected and only usb plugged in to the bridge when I click "learn" in ESPurna i hear a beep from the buzzer but nothing is still detected but i do also hear the long final beep so I assume something on the EFM chip is still working ?

I've tried using putty and the arduino serial console using 8N1 but I am not sure if what am am sending is correct.

Are there any other settings I need to check and could you explain in more detail how to send the commands?

I tried literally typing "AA FF 55" but i got no data back, not even while typing. Also tried hitting ENTER at the end, and "0xAA 0xFF 0x55" but I am not sure if that is even right .....

Not sure if what I send should be reflected back to the console via the EFM either so not sure if i have damaged it in some way or have a bad connection.

I'm using the Keil 8051 v9.53 - Release version you uploaded 3 days ago. Thanks for you hard work so far, let me know if I need to provide anything else.

Possible to add support for HT-12E?

Hi

I got some of these chips today and was wondering if this firmware would be able to receive data from it.

https://www.farnell.com/datasheets/1899539.pdf

From logic analyzer the output looks pretty straight forward.

The 1's are indicated by short pulses whereas the one bit represented here is pulled low, resulting in a slightly longer impulse.

image

Perhaps its too simplistic to identify, I don't know which is why I am asking ;)

It seems to pretty much just repeat the same 13 bits over and over

image

Is it possible to sniff codes out of an AC123-01 transmitter ?

Hi,

First of all I'd like to thank for the great work you've been doing with this alternative firmware.
I have 3 RF controlled blinds here at home and I'm trying to control
them via my Sonoff RF bridge (flashed with the latest tasmota and portisch firmwares).

The problem is that I can't sniff the transmitted codes. I tried standard, advanced and bucket sniffing but nothing is logged in the console.

The transmitters are labeled AC123-01 (more details here and in the pictures below).

img_20181106_151212384

img_20181106_151240838

Does anyone know how can I find out whether these type of transmitters are compatible with the bridge
or not ? Is it just a matter of adding a new protocol ?

Any help is appreciated (you might have noticed that I'm a total newbie on the subject!!)

RFRaw and RFKey variations in operation

I have a problem with operation of my RF plug-in sockets with the Sonoff RF Bridge, flashed with Tasmota and Portisch firmware. Hopefully someone on here can help or advise.

I've used rfkey 2 to record the RF codes and tested that working fine. Using RfKey 5 to display the associated data, then used BACKLOG to play in the RfSync, RfLow, RfHigh and RfCode data.
This does not have the same effect as triggering the switch using the RfKey command.

Works:

22:04:04 RSL: Group 0, Index 2, Command RFKEY, Data 
22:04:04 MQT: stat/sonoffrfbr/RESULT = {"RfKey2":"Learned sent"}
22:04:05 MQT: tele/sonoffrfbr/RESULT = {"RfRaw":{"Data":"AAA055"}}
22:04:25 CMD: rfkey2 5
22:04:25 SRC: WebConsole from 192.168.1.108
22:04:25 RSL: Group 0, Index 2, Command RFKEY, Data 5
22:04:25 MQT: stat/sonoffrfbr/RESULT = {"RfKey2 {"Sync":10750,"Low":350,"High":1030,"Data":"144015"}}

Doesn't work:

22:05:49 RSL: Group 0, Index 1, Command BACKLOG, Data RfSync 10750; RfLow 350; RfHigh 1050; RfCode 144015
22:05:50 SRC: Backlog
22:05:50 RSL: Group 0, Index 1, Command RFSYNC, Data 10750
22:05:50 MQT: stat/sonoffrfbr/RESULT = {"RfSync":10750}
22:05:50 SRC: Backlog
22:05:50 RSL: Group 0, Index 1, Command RFLOW, Data 350
22:05:50 MQT: stat/sonoffrfbr/RESULT = {"RfLow":350}
22:05:50 SRC: Backlog
22:05:50 RSL: Group 0, Index 1, Command RFHIGH, Data 1050
22:05:50 MQT: stat/sonoffrfbr/RESULT = {"RfHigh":1050}
22:05:50 SRC: Backlog
22:05:50 RSL: Group 0, Index 1, Command RFCODE, Data 144015
22:05:51 MQT: stat/sonoffrfbr/RESULT = {"RfCode":144015}
22:05:51 MQT: tele/sonoffrfbr/RESULT = {"RfRaw":{"Data":"AAA055"}}

Has anyone got this working in this manner? Am I missing something?

HT6P20B Is supported?

Hi,

I have the RF-Bridge with tasmota 6.0.0c and this firmware on the efm8bb1 chip. I'm trying to make my RF Bridge work with a motion sensor and a RF controller which controls my garage door. Both uses the HT6P20B protocol.

According to this link (https://acturcato.wordpress.com/2014/01/04/decoder-for-ht6p20b-encoder-on-arduino-board-english/) it is possible to learn this protocol using a normal receiver on arduino. I believe if this is possible, can we make it work on RF Bridge as well?

On the same pages it describes how the protocol is:

  • The HT6P20B generates a code 28-bit, 22-bit for ADDRESS, 2-bit for DATA and 4-for “ANTI-CODE” (verification code).
  • The ADDRES is fixed for a given Encoder (each HT6P20 has a different address).
  • The DATA changes according to the pressed button.
  • ANTI-CODE is always the same: “0101”.
  • For HT6P20D model there are 20-bit for ADDRESS and 4-bit for DATA.
  • For HT6P20F model there are 19-bit for ADDRESS and 5-bit for DATA.

I tried to use the sniffing mode and all I got from my motion sensor is:

05:21:18 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 04 01FD 03DF 0082 2CB0 0100101010101011010100101001010100110100110101001011001100 55"}}
05:21:27 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 03 01EC 03E3 2CA6 0100101010101011010100101101010100110100110101001011001100 55"}}
05:21:28 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 05 01FA 03DB 006E 0140 2CB0 010100101010101011010100101101010100110100110101001011001100 55"}}
05:21:44 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 04 03D8 01FF 041A 2CB0 1011010101010100101011010010101011001011001010110100110010 55"}}
05:21:45 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 07 01FE 03D9 1621 007F 019A 00FA 2CB0 0100101010101011010100101101010100110100110101001011001100 55"}}
05:21:46 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 03 01F9 03DF 2CBA 0100101010101011010100101101010100110100110101001011001100 55"}}
05:21:50 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 04 03E3 01F1 006E 2C42 1011010101010101001011010010101011001011001010110100110010 55"}}
05:21:51 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 04 01FD 03DA 006E 29D6 0100101010101011010100101001010100110100110101001011001100 55"}}
05:21:52 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 05 01F1 03E3 0140 00DC 2CA6 0100101010101011010100101101010100110100110101001011001100 55"}}
05:21:54 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 03 01FC 03DE 2CBA 0100101010101011010100101101010100110100110101001011001100 55"}}
05:21:54 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 03 0219 03DD 2CBA 0100101010101011010100101101010100110100110101001011001100 55"}}
05:21:57 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 05 0226 03E6 09D8 0104 292C 0100101010101011010100101101010100110100110101001011001100 55"}}
05:22:00 MQT: tele/RF-Bridge1/RESULT = {"RfRaw":{"Data":"AA B1 06 03DD 0407 01FB 017C 00B4 2CA6 2022020202020200202022020020202022002022002020220200220020 55"}}

But sincerly I'm sure what to do with this data. HT6P20B is a very common protocol used for dumb alarm systems and garage doors here. As I already have some dumb alarm sensors and I don't want to mess with wires on my garage door, using my RF Controller and being able to clone it will be wonderful for my automation process.

Receiving codes not ok.

Not only sending RF codes doen't go very well at the moment as reported by @franky29. I have flashed multiple versions found at https://github.com/rhx/RF-Bridge-EFM8BB1 and https://github.com/Portisch/RF-Bridge-EFM8BB1 With both I was still able to receive correct codes from a EV1527 remote but receiving codes from a PT2264 remote completely stopped working.

A other downside effect is that somehow out of nothing my unit seemed to receive over 400 codes in less than 15 min where it only received about 100 codes in the past two months.

RF Bridge Code not recognized by 1 channel code learning relay

Hello,
first great software, now my Intertechno Power Outlets work great with the RF-Bridge!
Now learning this codes works (correct). Everything works as it should :-)
I have bought this learning code relay:
https://www.aliexpress.com/item/Smart-Home-433MHz-220V-1-Channel-Wireless-Remote-Control-Switch-DIY-Receiver-Module-Support-433MHz-RF/32826285319.html?spm=a2g0s.9042311.0.0.27424c4d6WXBKO
If i programm it with the Transmitter from the Poweroutlets. It switches correct.
It doesnt react if i send the codes via RF Bridge.
I have a learning remote too. I can programm this remote with the RF-Bridge with the IT-Codes from the relay. Now when i press the corresponding buttons on it, the relay switches as it should.
So the codes are correct at all.
I tried this with 2262 Code (Intertechno) and 1527 Code. I have a hardcoded transmitter for both.
On both transmitters the relay is programmable and reacts as wanted.
The same picture here, if i learn this code to the bridge i cant switch the relay via the bridge.
I cant learn any code sended from the RF-Bridge to the relay either.
Could it be that the RF-Bridge does not send as often the codes as other devices?

I have a second module (12Volts) which has the same behaviour. I can send this module to you for investigation if you want.

Adding new protocols

Firstly, thank you for your nice work!
I have some RF power outlets at home which don't work together (yet) with my Sonoff RF bridge running ESPurna. It seems the outlets use the Intertechno v3 protocol and I can sniff the signals with an arduino. I have had a look into the RF_Protocols.h but I have no Idea how to get those timings used to specify a new protocol. Those are not the bucket timings, are they? Here is one example of a sniffed code using the compressed.ino example from the pimatic project.

b: 260 2532 1312 10752 0 0 0 0 t:010002000200020200000202000200020000020002000202000200020000020002000200020002000200020002000200020002000200020200000200020002020003
Thank you very much!

B1 to B0 helping tool

After learning how bit bucket works from here #23 I decided to prepare a python script to help calculate the right 'B0' message to send using 'RfRaw' command in Tasmota from the received 'B1' sniffing message (rename file from 'BitBucketConverter.txt' to 'BitBucketConverter.py'.

BitBucketConverter.txt Do not use this version, it's too old already!

In the command line give the 'B1' message string and the retries value (in decimal):
i.e. BitBucketConverter.py "AA B1 04 07EB 0157 00FD 3EBC 010101010101101001010101101010100103 55" 20

Command Line : "AA B1 04 07EB 0157 00FD 3EBC 010101010101101001010101101010100103 55" 20
'RfRaw AAB01C041407EB015700FD3EBC01010101010110100101010110101010010355'

DSC Sensors

This is my first time using RF sensors and I am trying to get 2 DSC sensors working. The 2 sensors I have are EV-DW4975 and WS4904P. I have the latest tasmota on my sonoff rf bridge and successfully flashed this firmware. I haven't been able to sniff out any information from either of these devices using the RfRaw commands. Is it not possible to use these devices or am I just doing something wrong?

Support for Brennenstuhl Devices

Hi there,

is there currently any support for Brennenstuhl devices (remotes). I tried to learn the codes for the power sockets, but I'm not getting any results.

Best regards
Sebastian

Rohrmotor24

Hi,
unfortunately I'm not able to pair the sonoff-rf-bridge running espurna1.12.6a (RAW_RF enabled) with the remote of rohrmotor24. I've tried several things:

  1. Start learning over web-interface -> timeout
  2. tried a different remote (remote for sockets ) -> works
  3. use new learning command A9 over mqtt -> beep sound indicated successful learning, telnet showed:
    [597079] [MQTT] Received sonoff-bridge/rfraw/set => AAA955
    [597086] [RFBRIDGE] Sending RAW MESSAGE 'AAA955'
    [598942] [RFBRIDGE] Received 0xAA
    [598945] [RFBRIDGE] Received 0xAB
    [598947] [RFBRIDGE] Received 0x06
    [598948] [RFBRIDGE] Received 0x02
    [598949] [RFBRIDGE] Received 0x6C
    [598950] [RFBRIDGE] Received 0x0A
    [598952] [RFBRIDGE] Received 0x75
    [598953] [RFBRIDGE] Received 0x31
    [598954] [RFBRIDGE] Received 0x11
    [598955] [RFBRIDGE] Received 0x55

So it seems to know this remote, but only if i use A9. What is the correct approach to pair the rohrmotor24-remote and the sonoff-rf-bridge?
Thanks for help.

Understanding why one RF device not usable after EFM8BB1 upgrade ?

I'm not sure this is an issue. I've looked around here and forums but my trouble seems unique.
It boils down to not being able to receive or mimic the RF codes from my door bell, that I could BEFORE I updated. I had it working well for months into Home Assistant to send me TXT's when I got a delivery.

I don't have a copy of the code that the door bell produced before update, so all I can do now is try rfraw 166 & rfraw 177 commands. 166 does not produce a result (I guess meaning that it's not understood) and 177 gives me a slightly different string each time I push the bell button now.

I'm wondering, is there a timing difference in the way the Sonoff original EFM8BB1 captured data and the Portisch code ?
If so then perhaps the door bell data speed or symbol length is now out of range ?
I have console data, but like I say, it's not consistent now.
Cheers,
Martin

How can you reset EFM8BB1?

@Portisch After using several 'B0' commands (I'm using Tasmota) the EFM8BB1 stops sending 'ACK' (MQT: gvf/cega/bridge1/tele/RESULT = {"RfRaw":{"Data":"AAA055"}}) and I just get "MQT: gvf/cega/bridge1/stat/RESULT = {"RfRaw":"ON"}"
Restarting RF-Bridge-EFM8BB1 has no effect. Only power cycling the device.

I use "gvf/cega/bridge1/cmnd/rfraw aac002c055" to confirm that the EFM8BB1 doesn't work (it stops sending a beep)
I have to check if the problem happens when I send several 'B0' commands in a short period of time.

SilverCrest plug Rolling code

Hello, i scan rolling code for A-button SilverCrest plugs
it have 4 roling sequinces. Then using B1 to B0 tool. And trying send one by one. 4-5 times. And only one code for 5-8 time. Anyway no success to ON plug. What can i try more for success?

11:15:28 {"RfRaw":{"Data":"AA B1 04 03C0 01B8 0BC2 1C70 01011010101001010110101010100110011001011010101023 55"}}
11:15:28 {"RfRaw":{"Data":"AA B1 04 03D4 01CC 0924 1C52 01011010101001101010011001101001101001011010101023 55"}}
11:15:33 {"RfRaw":{"Data":"AA B1 04 0460 01A4 00D2 091A 01012020012020010120012001012001200120202020202023 55"}}
11:15:33 {"RfRaw":{"Data":"AA B1 04 03D4 01C2 0BCC 1C66 01011010011010010110011001011001100110101010101023 55"}}
11:15:37 {"RfRaw":{"Data":"AA B1 04 03CA 01C2 0BC2 1C66 01011010011010100110100110101001100101011010101023 55"}}
11:15:38 {"RfRaw":{"Data":"AA B1 04 03CA 01C2 0BC2 1C66 01011010101001010110101010100110011001011010101023 55"}}
11:15:42 {"RfRaw":{"Data":"AA B1 04 03CA 01C2 0BC2 1C66 01011010101001101010011001101001101001011010101023 55"}}
11:15:44 {"RfRaw":{"Data":"AA B1 04 03CA 01B8 0BB8 1C66 01011010011010010110011001011001100110101010101023 55"}}
11:15:45 {"RfRaw":{"Data":"AA B1 04 03CA 01B8 0BC2 1C66 01011010011010100110100110101001100101011010101023 55"}}
11:15:48 {"RfRaw":{"Data":"AA B1 04 03CA 01C2 07D0 1C66 01011010101001010110101010100110011001011010101023 55"}}
11:15:51 {"RfRaw":{"Data":"AA B1 04 03D4 01C2 0BCC 1C5C 01011010101001101010011001101001101001011010101023 55"}}
11:15:53 {"RfRaw":{"Data":"AA B1 04 03CA 01C2 0BC2 1C66 01011010011010010110011001011001100110101010101023 55"}}
11:15:55 {"RfRaw":{"Data":"AA B1 04 03CA 01B8 0BC2 1C66 01011010011010100110100110101001100101011010101023 55"}}
11:15:57 {"RfRaw":{"Data":"AA B1 04 03C0 01C2 0BC2 1C70 01011010101001010110101010100110011001011010101023 55"}}
11:15:59 {"RfRaw":{"Data":"AA B1 04 03CA 01C2 0BC2 1C66 01011010101001101010011001101001101001011010101023 55"}}
11:16:01 {"RfRaw":{"Data":"AA B1 04 03CA 01B8 0BC2 1C66 01011010011010010110011001011001100110101010101023 55"}}

Original Firmware

Hi,
Can you please include the original firmware (as .hex) for the Sonoff EFM8BB1. I'd like to flash back. Since the new firmware only one remote is recognized by the RF Bridge.

LED Control

Hi,
will you add to control the LED / LEDs to the protocoll so i can switch the LED on and off ?
I think the Blue LED can controled by the efm8.

Sniffing Heidemann HX Gong protokoll

Hi,
i thought it could be possible to sniff door bell info from Heidemann Hx tx using sonoff rfbridge with espurna. I see a lot of traffic on rfin but not when i trigger the door bell. Now i like to understand if it could be a solution to hack the hardware and use your great firmware. I only like to see if someone rings the door bell. Do you think it is possible that way?

Thanks in advance
Tobias

Understanding/mimicing Rfraw 166 & 177 codes (Dooya DC2700 remotes)

Rf Bridge running 6.1.1 with Portisch firmware upgrade. All upgrades successful.

I have a DC2700 Dooya Remote (https://www.aliexpress.com/item/Dooya-Remote-Curtain-Accessories-Remote-Control-Transmitter-DC1600-For-DT52E/32613885486.html ) for a projector screen. It is a simple three button remote UP/STOP/DOWN

I can sniff the button presses using rfraw 166
21:53:57 CMD: rfraw 166
21:53:57 SRC: WebConsole from 192.168.1.137
21:53:57 RSL: Group 0, Index 1, Command RFRAW, Data 166
21:53:57 RSL: RESULT = {"RfRaw":"ON"}
21:53:57 RSL: RESULT = {"RfRaw":{"Data":"AAA055"}}
21:54:01 RSL: RESULT = {"RfRaw":{"Data":"AAA60602B8419AC13C55"}}
21:54:14 RSL: RESULT = {"RfRaw":{"Data":"AAA60602B8419AC155"}}
21:54:19 RSL: RESULT = {"RfRaw":{"Data":"AAA60602B8419AC11E55"}}

This represents three button presses

  • DOWN
  • STOP
  • UP

I can also sniff the code using rfraw 177

21:49:54 CMD: rfraw 177
21:49:54 SRC: WebConsole from 192.168.1.137
21:49:54 RSL: Group 0, Index 1, Command RFRAW, Data 177
21:49:54 RSL: RESULT = {"RfRaw":"ON"}
21:49:54 RSL: RESULT = {"RfRaw":{"Data":"AAA055"}}
21:49:57 RSL: RESULT = {"RfRaw":{"Data":"AA B1 05 12DE 05D2 02CC 0172 23A0 0123322323233232323223323232323223233232232332233223233232323232233232232323233230 55"}}
21:50:31 RSL: RESULT = {"RfRaw":{"Data":"AA B1 06 12D4 05D2 02A4 01D5 0102 226A 0123422323234242424223424242424223234242232342234223234242424242234223422342234220 55"}}
21:50:48 RSL: RESULT = {"RfRaw":{"Data":"AA B1 06 12DE 05C8 028C 0196 00FA 2242 0123322323233232323223323232323223233232232332233223233232323232233223322332233220 55"}}
21:51:15 RSL: RESULT = {"RfRaw":{"Data":"AA B1 05 12DE 05C8 02D5 0172 23A0 0123322323233232323223323232323223233232232332233223233232323232233232322323232330 55"}}

This represents the same three button presses

I can't find the Dooya protocol and having difficulty in sending the code from the bridge and control the screen

I'm also not sure if it is easier to decode/understand the rfraw166 or rfraw 177 result

Any help would be appreciated
Thanks

Getting x: 0x43 in return

Hi,

I'm trying to program the EFM but getting x: 0x43 in my terminal for a really long time.
Am I doing something wrong?

Thanks in advance,

Maikel

Sniffing and sending to CoTech remote sockets

I have some RF sockets that have all previously been working fine with an RMPro through Home Assistant. The RMPro died and I have replaced it with an RF Bridge.

The remote codes for some Status sockets I have were picked up fine using 'SetOption28 1' and worked perfectly with the freshly Tasmota'd Bridge but some CoTech ones aren't. It sniffed codes but the sockets don't do anything when sent back.

I was advised to flash this firmware onto the Bridge which I did and using RfRaw AAB155 I sniffed codes for two pairs of on and off buttons but after running these through BitBucketConverter.py, with the kind help of @gerardovf, none of them would trigger the sockets.

I did find an article online that talks about successfully setting up the same sockets, albeit I have the UK version, up for use with an Arduino if this gives any clues how to get them working with the Bridge and then HA...

https://www.instructables.com/id/Control-CoTech-Remote-Switch-With-Arduino-433Mhz/

I'm not going to pretend I really understand what's going on with this but am perfectly happy just to be told what to do and take the rest on faith so any help would be most appreciated thank you.

I've attached the codes I sniffed but failed to convert to anything useful if they give any clues.

RF raw codes.txt

Controlling PowerGlide Blinds (hpr433a)

Please let me know if I have posted this in the wrong place and I will close/move it.

With Tasmota and Portisch installed on my Sonoff RF Bridge, I’ve been trying to automate my PowerGlide blinds but get no response from them. The remote for the blinds has an HPR433A RF unit.
By pressing the button multiple times, I captured the following data from the web console:
AA B1 05 1572 0654 02D1 015E 4104 01233223322332323232233232323232323230 55
AA B1 05 152C 0654 02D3 0172 40F0 01233223322332323232233232323232323230 55
AA B1 05 1536 0654 02CC 016C 41FE 0123322332233232323223323232323232323230 55
AA B1 05 1522 065E 027B 0181 3E20 0123322332233232323223323232323232323230 55
AA B1 05 1536 064A 0289 0186 3E02 0123322332233232323223323232323232323220 55
AA B1 05 152C 0654 02D7 0181 415E 0123322332233232323223323232323232323230 55
AA B1 05 152C 0654 0280 017F 3EDE 0123322332233232323223323232323232323220 55
AA B1 05 152C 0654 02D8 0195 458C 0123322332233232323223323232323232323230 55
AA B1 05 152C 0654 02A1 0184 3D94 0123322332233232323223323232323232323220 55
AA B1 05 152C 064A 02D8 018E 3FF6 0123322332233232323223323232323232323230 55
AA B1 05 152C 0654 029D 0186 3D58 0123322332233232323223323232323232323220 55
AA B1 05 1536 064A 02DA 0192 3FEC 0123322332233232323223323232323232323230 55
AA B1 06 152C 064A 02D9 017B 010E 3BA0 0123322332233232323223323232323232323220 55
AA B1 05 152C 065E 02DF 014F 3C7C 0123322332233232323223323232323232323220 55
AA B1 05 152C 065E 028B 0172 3E20 0123322332233232323223323232323232323220 55
AA B1 05 152C 0654 02DB 0156 3BA0 0123322332233232323223323232323232323220 55
AA B1 05 152C 065E 02DA 0163 3A4C 0123322332233232323223323232323232323220 55
AA B1 05 152C 0654 02DB 0173 3DF8 012332233223323232322332323232323232322330 55
AA B1 05 1522 065E 02D9 01A5 37CC 01233223322332323232233232323232323232233230 55
AA B1 05 1522 065E 02E2 0156 3AD8 012332233223323232322332323232323232322330 55
AA B1 05 1522 0654 028F 0177 368C 01233223322332323232233232323232323232233230 55
AA B1 05 1518 065E 028F 0174 3678 01233223322332323232233232323232323232233230 55
AA B1 05 1522 0654 02DF 0174 3BFA 01233223322332323232233232323232323232233220 55
AA B1 06 1522 065E 02DD 0174 00F0 36A0 01233223322332323232233232323232323232233220 55
AA B1 06 1522 065E 02E0 0171 00F0 36D2 01233223322332323232233232323232323232233220 55

These lines appeared on the console in the following format:
19:20:16 MQT: tele/sonoff_6.0.0a/RESULT = {"RfRaw":{"Data":"AA B1 05 152C 0654 02DB 0156 3BA0 0123322332233232323223323232323232323220 55"}}

Ignoring the rows with 6 buckets of timing data, I tried:

  1. Field 1: User AA to mark UART Sync Init
  2. Field 2: Replaced the B1 with B0 transmit bucketed RF data
  3. Field 3: Put 28 (i.e. 40 decimal) – guessing this is the number of digits in the RF data to be transmitted
  4. Field 4: Used “05” as this is the number of timing buckets
  5. Field 5: Used “01” as assume repeating it once should be enough (noting original remote only transmits once)
  6. Field 6-10: The average value for each of the five columns of timing data
  7. Field 11: Took the most common value set for the RF data to be sent
  8. Field 12: used 55 to mark UART End Sync

AA B0 28 05 01 152C 0656 02C1 0177 3DDD 0123322332233232323223323232323232323220 55

Hence, I executed the following on the console:
rfraw 0xAAB0280501152C065602C101773DDD012332233223323232322332323232323232322055
Which flashed the red transmit LED and returned the result:
10:10:13 MQT: stat/sonoff_6.0.0a/RESULT = {"RfRaw":"ON"}
10:10:03 MQT: tele/sonoff_6.0.0a/RESULT = {"RfRaw":{"Data":"AAA055"}}
and no response from the blinds. I tried many times from very close to a few meters away with this same result every time.

Any help hugely appreciated and I have run out of ideas!

Linker errors

Tried to import project to Simplicity Studio and build it, got a bunch of L127 and L128 linker errors. How to fix this?

=========================================

16:35:00 **** Incremental Build of configuration Keil 8051 v9.53 - Release for project RF-Bridge-EFM8BB1-master ****
make all
PATH=/c/Prog/SiliconLabs/SimplicityStudio/v4/developer/toolchains/keil_8051/9.53/BIN:/c/Prog/SiliconLabs/SimplicityStudio/v4/support/8051:/bin:/c/Prog/SiliconLabs/SimplicityStudio/v4/features/com.silabs.external.java.windows.x86_64.feature_1.8.0.92/jre/bin/server:/c/Prog/SiliconLabs/SimplicityStudio/v4/features/com.silabs.external.java.windows.x86_64.feature_1.8.0.92/jre/bin:/c/Prog/SiliconLabs/SimplicityStudio/v4/features/com.silabs.external.java.windows.x86_64.feature_1.8.0.92/jre/lib/amd64:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/c/devel/avr8-gnu/bin:/c/devel/Python27/:/c/devel/Python27/Scripts:/c/Program Files (x86)/ZyXEL PLA Series Utility/ZyXEL PLA Series Utility/cml:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Prog/git/bin:/c/Prog/git/usr/bin:/c/Prog/arduino-1.8.2/hardware/tools/avr/bin:/c/Program Files/Intel/WiFi/bin/:/c/Program Files/Common Files/Intel/WirelessCommon/:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/c/devel/Doxygen/bin/Release64:/c/Prog/protoc/bin:/c/Program Files (x86)/ATMEL/FLIP 2.4.6/bin:%USERPROFILE%/AppData/Local/Microsoft/WindowsApps:/c/Program Files (x86)/ZyXEL PLA Series Utility/ZyXEL PLA Series Utility/cml:.:/c/prog/SiliconLabs/SimplicityStudio/v4

Building file: ../src/Globals.c
Invoking: Keil 8051 Compiler
C51 "@src/Globals.__i" || test $? -lt 2

C51 COMPILER V9.53.0.0 - SN: K1RLC-00939Z
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.

C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
Finished building: ../src/Globals.c

Building file: ../src/InitDevice.c
Invoking: Keil 8051 Compiler
C51 "@src/InitDevice.__i" || test $? -lt 2

C51 COMPILER V9.53.0.0 - SN: K1RLC-00939Z
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.

C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
Finished building: ../src/InitDevice.c

Building file: ../src/RF_Bridge_main.c
Invoking: Keil 8051 Compiler
C51 "@src/RF_Bridge_main.__i" || test $? -lt 2

C51 COMPILER V9.53.0.0 - SN: K1RLC-00939Z
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.
*** WARNING C294 IN LINE 70 OF C:\Users\Vugar\SimplicityStudio\v4_workspace\RF-Bridge-EFM8BB1-master\src\RF_Bridge_main.c: unreachable code

C51 COMPILATION COMPLETE. 1 WARNING(S), 0 ERROR(S)
Finished building: ../src/RF_Bridge_main.c

Building file: ../src/RF_Handling.c
Invoking: Keil 8051 Compiler
C51 "@src/RF_Handling.__i" || test $? -lt 2

C51 COMPILER V9.53.0.0 - SN: K1RLC-00939Z
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.

C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
Finished building: ../src/RF_Handling.c

Building file: ../src/SILABS_STARTUP.A51
Invoking: Keil 8051 Assembler
AX51 "@src/SILABS_STARTUP.__ia" || test $? -lt 2

MACRO ASSEMBLER AX51 V3.12.0.0
COPYRIGHT KEIL ELEKTRONIK GmbH 2000 - 2013
"c:\Prog\SiliconLabs\SimplicityStudio\v4\developer\toolchains\keil_8051\9.53\BIN\AX51.exe" "C:\Users\Vugar\SimplicityStudio\v4_workspace\RF-Bridge-EFM8BB1-master\src\SILABS_STARTUP.A51" ERRORPRINT SET (SMALL,SILABS_STARTUP=1) DEBUG MACRO NOMOD51 INCDIR(C:\Users\Vugar\SimplicityStudio\v4_workspace\RF-Bridge-EFM8BB1-master\inc;C:/Prog/SiliconLabs/SimplicityStudio/v4/developer/sdks/8051/v4.1.1//Device/shared/si8051base;C:/Prog/SiliconLabs/SimplicityStudio/v4/developer/sdks/8051/v4.1.1//Device/EFM8BB1/inc;C:/Prog/SiliconLabs/SimplicityStudio/v4/developer/sdks/8051/v4.1.1//Device/EFM8BB1/peripheral_driver/inc) PRINT(.\src\SILABS_STARTUP.lst) COND SYMBOLS PAGEWIDTH (120) PAGELENGTH (65) OBJECT(.\src\SILABS_STARTUP.OBJ)

ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S).

Finished building: ../src/SILABS_STARTUP.A51

Building file: ../src/uart.c
Invoking: Keil 8051 Compiler
C51 "@src/uart.__i" || test $? -lt 2

C51 COMPILER V9.53.0.0 - SN: K1RLC-00939Z
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.
*** WARNING C185 IN LINE 27 OF C:\Users\Vugar\SimplicityStudio\v4_workspace\RF-Bridge-EFM8BB1-master\src\uart.c: 'TX_Finished': different memory space

C51 COMPILATION COMPLETE. 1 WARNING(S), 0 ERROR(S)
Finished building: ../src/uart.c

Building file: ../lib/efm8bb1/peripheralDrivers/src/uart_0.c
Invoking: Keil 8051 Compiler
C51 "@lib/efm8bb1/peripheralDrivers/src/uart_0.__i" || test $? -lt 2

C51 COMPILER V9.53.0.0 - SN: K1RLC-00939Z
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.

C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
Finished building: ../lib/efm8bb1/peripheralDrivers/src/uart_0.c

Building target: RF-Bridge-EFM8BB1-master.omf
Invoking: Keil 8051 Linker
LX51 "@RF-Bridge-EFM8BB1-master.lnp" || test $? -lt 2

LX51 LINKER/LOCATER V4.66.30.0 - SN: K1RLC-00939Z
COPYRIGHT ARM Germany GmbH 1995 - 2014
@RF-Bridge-EFM8BB1-master.lnp "./lib/efm8bb1/peripheralDrivers/src/uart_0.OBJ",
"./src/Globals.OBJ",
"./src/InitDevice.OBJ",
"./src/RF_Bridge_main.OBJ",
"./src/RF_Handling.OBJ",
"./src/SILABS_STARTUP.OBJ",
"./src/uart.OBJ"
TO "RF-BRIDGE-EFM8BB1-MASTER.OMF.CRBUILD" REMOVEUNUSED PRINT(.\RF-Bridge-EFM8BB1-master.m51) PAGEWIDTH (120) PAGELENGTH (65) CLASSES( ECODE(C:0x0 - C:0x1ffe), HCONST(C:0x0 - C:0x1ffe), XDATA(X:0x0 - X:0xff), HDATA(X:0x0 - X:0xff))

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: PCA0_halt
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: PCA0_run
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _PCA0_writeChannel
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: _PCA0_writeChannel
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 1000F47H

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: PCA0_run
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 100001FH

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: PCA0_run
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 1000E6FH

*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: PCA0_halt
MODULE: ./src/RF_Handling.OBJ (RF_HANDLING)
ADDRESS: 1000FADH

Program Size: data=79.2 xdata=199 const=195 code=4162
LX51 RUN COMPLETE. 0 WARNING(S), 7 ERROR(S)
make: *** [RF-Bridge-EFM8BB1-master.omf] Error 1

16:35:02 Build Finished (took 2s.563ms)

B1 and B0 commands

sorry if my question is a bit stupid, but i can find in wiki or doc the right answer.

i´m reading a signal with B1 command
AA B1 03 0134 023B 137E 110011001010110100101101001010110100110011010011001011001010101010101010101010110010101010101010101011001011001010101100101011010120 55

what i have to send to make this works?? and which command i have to use

Intertechno Code is not recognized

I have some IT sockets. The old ones are working. But I have some new devices
https://www.amazon.de/Trust-Funksteckdosen-Funk-Steckdosenschalter-Außenbereich-Fernbedienung/dp/B00HYEQTT6
that are not recognized also with B1 settings. Sometimes after pressing a couple times then I get one "hit". But it is not reproduceable. At the moment I use FHEM and a SIGNALduino and this combination showes the received code and I also can send to code to my socktes. Do you know SIGNALduino? It is only a small Arduino with a receiver/sender. The Arduino make a rudimentary decoding and real decoding works in FHEM.
I used a SonOff Bridge with Tasmota V6.3 and Version 0x02

Action Powerplug (Impuls)

Who can help me with this device? They are powerplug sold by 'action'.
I used to operate them by RFlink, but want to not make them work via the RF bridge Sonoff.
The remote is not recognized by the official software (no red light when I press the remote)
I flashed the Portisch/RF-Bridge-EFM8BB1 into the module.

When I put de device ‘Bucket sniffing using command 0xB1’
Via the command (Tasmota) RfRaw 177
I get the following output. (I pressed the same remote button several times).

17:23:52 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0249 00CF 1734 01010101010101011001100110101001100110011010100110 55"}}
17:23:52 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0247 00F6 0098 17A2 01010101010101012001100120201001100110012010100110 55"}}
17:24:09 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023C 00D3 173E 01010101010101011001100110101001100110011001101010 55"}}
17:24:09 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0257 00BA 0082 1770 01010101010101011001100110101001100110011001101010 55"}}
17:24:17 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 024C 00CA 1734 01010101010101011001100110101001100110011010100110 55"}}
17:24:17 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0245 00FF 0094 1798 01010101010101012001200120102001200120012020200120 55"}}
17:24:21 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023E 00D6 1734 01010101010101011001100110101001100110011001101010 55"}}
17:24:21 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0260 0104 009B 17A2 01010101010101012001200120202001200120012001202020 55"}}
17:24:24 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0246 00D2 1734 01010101010101011001100110101001100110011010100110 55"}}
17:24:24 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0242 00FD 0097 1798 01010101010101012001200120202001200120012010200120 55"}}
17:24:27 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023D 00D6 172A 01010101010101011001100110101001100110011001101010 55"}}
17:24:27 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 025F 0103 0097 17A2 01010101010101012001200120202001200120012001202020 55"}}
17:24:29 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 024C 00CB 1734 01010101010101011001100110101001100110011010100110 55"}}
17:24:29 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0245 00C2 03DE 175C 01010101010101011001100110101001100110011010100110 55"}}
17:24:32 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023A 00D2 173E 01010101010101011001100110101001100110011001101010 55"}}
17:24:34 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 024D 00CC 173E 01010101010101011001100110101001100110011010100110 55"}}
17:24:34 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0246 00FE 0098 17A2 01010101010101012001200120201001200110012010100120 55"}}
17:24:37 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0239 00DB 1734 01010101010101011001100110101001100110011001101010 55"}}
17:24:37 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0266 00FD 0099 17A2 01010101010101012001200120202001200120012001202010 55"}}
17:24:39 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0249 00CB 173E 01010101010101011001100110101001100110011010100110 55"}}
17:24:39 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0243 00F9 009B 17A2 01010101010101012001200120202001200120012010200120 55"}}
17:24:42 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023C 00D6 173E 01010101010101011001100110101001100110011001101010 55"}}
17:24:42 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0263 00FA 009F 1798 01010101010101012001200120202001200120012001202020 55"}}
17:24:45 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0247 00D1 1734 01010101010101011001100110101001100110011010100110 55"}}
17:24:45 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0249 00F6 0094 17A2 01010101010101012001200120101001100120012010100110 55"}}
17:24:47 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0239 00D8 1734 01010101010101011001100110101001100110011001101010 55"}}
17:24:49 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 024B 00CB 173E 01010101010101011001100110101001100110011010100110 55"}}
17:24:49 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0244 00F7 0098 17A2 01010101010101012001200120202001200120012010100110 55"}}
17:24:51 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023C 00D3 172A 01010101010101011001100110101001100110011001101010 55"}}
17:24:51 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0266 00FF 0099 178E 01010101010101012001200120202001200120012001201020 55"}}
17:24:54 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0249 00CF 1734 01010101010101011001100110101001100110011010100110 55"}}
17:24:54 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0244 00FB 0099 17A2 01010101010101012001200120202001200120011010200110 55"}}
17:24:56 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023C 00D7 1734 01010101010101011001100110101001100110011001101010 55"}}
17:24:56 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0264 00FF 0098 17A2 01010101010101012001200120202001200120012001202020 55"}}
17:24:59 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0247 00D0 1734 01010101010101011001100110101001100110011010100110 55"}}
17:24:59 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 02F1 00FE 0099 178E 01010101010101012001200120102001200120012020200120 55"}}
17:25:02 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023B 00D7 173E 01010101010101011001100110101001100110011001101010 55"}}
17:25:02 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0266 00F8 0096 17A2 01010101010101012001200120201001200120012001201020 55"}}
17:25:05 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 023E 00FE 0099 1798 01010101010101012001200120202001200120012020100120 55"}}

Using the method described in several topics, I try to use the ‘BitBucketConverter181002.py’. which gave me result, but they did not work.

Then I took the old RFlink device. And send the command “10;TriState;855a2a;1;ON”
The powerplug goes on (so seam to work).
While sniffing I did the same command again (9 times) with the following result:

17:36:18 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023F 00D0 173E 01010101010101011001100110101001100110011001101010 55"}}
17:36:18 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0261 0103 009B 17A2 01010101010101012001200120202001200120012001202020 55"}}

17:36:28 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023F 00D2 172A 01010101010101011001100110101001100110011001101010 55"}}
17:36:28 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0246 00C7 1766 01010101010101011001100110101001100110011001101010 55"}}

17:36:33 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023C 00D3 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:33 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0262 0107 0097 17A2 01010101010101012001200120202001200120012001202020 55"}}

17:36:36 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023A 00D7 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:36 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0105 0264 0096 1798 10101010101010102110211021212110211021102110212120 55"}}

17:36:38 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023C 00D4 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:38 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0247 00C5 1766 01010101010101011001100110101001100110011001101010 55"}}

17:36:40 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023B 00D6 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:40 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 04 0266 0103 0094 17A2 01010101010101012001200120202001200120012001202020 55"}}

17:36:50 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 0237 00D5 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:50 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 024D 00C1 1766 01010101010101011001100110101001100110011001101010 55"}}

17:36:53 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023F 00D5 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:53 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 05 0266 0106 0097 058C 178E 01010101010101012001200120202001200120012001202020 55"}}

17:36:56 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 03 023E 00D6 1734 01010101010101011001100110101001100110011001101010 55"}}
17:36:56 MQT: tele/sonoff_RF1_B2B117/RESULT = {"RfRaw":{"Data":"AA B1 05 0269 00FD 0099 01AE 1AA4 01010101010101012001200120202001200120012001202010 55"}}

As you can see. Each time I send the command, I get 2 result in the log.

How to continue from here?

Intertechno 32bit Code

Hi,
I use the RF-Bridge 433 to switch Intertechno plugs. With the standard firmware I only can use the old 12bit code. It´s possible to use the newer 32bit Code with this firmware?
Cheers

Boris

Sniffing Dooya DC90 remote control

Looks like Sniffing by command 0xA6 does not work for DC90 remote control

So used Bucket sniffing using command 0xB1 and calculated the command by means of the example of Bucket Transmitting using command 0xB0

Actually got now following commands for UP/DOWN which work instead of my DC90 remote control. My successful commands are:
DOWN
AAB035051A128E061802D1014E1E50012332232323322332323232322332322332232323232323233223322332323223323223232323323455
UP
AAB0370612128E062202AC016001221F9A012332232323322332323232322332322332232323232323233223322332323223323232232323233555

However I face problems finding the command for STOP.

Analyzed dozens of commands and put together new command string - see below - but no success yet:

AAB0330419058C02CB016E1324012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330414059602CA016E131A012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330414059602CD016B131A012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412059602C701721374012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412059602CC016C131A012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058202CA016D1324012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058C02C90170131A012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412059602CA01721310012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412059602CD016C136A012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0350519059602CC017101B8131A012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512059602CE016D01CC1522012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512057802CA017001B8132E012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058202CD016B01B8132E012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02CB016D01AE1392012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058202CA016F01B81392012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02C9017301AE1338012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058202CA016901AE1338012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058202CA016F01B8132E012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02D0016601B81338012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058202C9016F01B814B4012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02CF016801B813BA012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058202C9016F01B8132E012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512057802CF016801B81342012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02C9016D01AE1324012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512059602C9016E01B81338012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02C9016E01AE1310012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0350512058C02CC016D01B8131A012211212122112212121212112212112211212121212121221122112212121122112211221122112455
AAB0370612058202CA016E01B801221374012211212122112212121212112212112211212121212121221122112212121122112211221122112555
AAB0370612058C02CD016F01C2012C1324012211212122112212121212112212112211212121212121221122112212121122112211221122112555
AAB0370612056E02C6017301BD012714F0012411212124112414141414112412112211212121212121241122112212121122112211221122112555
AAB0330412057802C9016E132E012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058C02C9016E1342012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058C02C7016D131A012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058C02CD016B1310012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058202CA016C146E012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412059602C80173137E012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058C02C701721324012211212122112212121212112212112211212121212121221122112212121122112211221122112355
AAB0330412058C02C90171132401221121212211221212121211221211221121212121212122112211221212112211221

Any hints or ideas what I need to do to get the command for my stop button?

strange signal

i have a remote control with 3 buttons, i´m triying to use it with rf-brigde, but when i try to read buttons using RfRaw 166 i get this

first button = {"RfRaw":{"Data":"AAA60602390801011155"}}
= {"RfRaw":{"Data":"AAA60602390801011E55"}}
second button = {"RfRaw":{"Data":"AAA606023908010155"}}
third button = {"RfRaw":{"Data":"AAA60602390801013C55"}}

so, i think i have to send
rfraw AAA80602390801011155 for first button
rfraw AAA806023908010155 for second button
rfraw AAA80602390801013C55 for third button

but only first button is working

if try reading with B1 then i got

for first button, i try 4 reads and get this results
{"RfRaw":{"Data":"AA B1 04 05E6 016C 02D1 12D4 0121221212112122112121212211212121212121212121221121212121212122112121221121212213 55"}}
{"RfRaw":{"Data":"AA B1 07 011B 02C7 12FC 01CC 008C 05E6 1FA4 25010110101001011001010101100101010101010101010110010101010101011001010110010101102501011010100101100101010110010101010101010101011001010101010101100101011001010116 55"}}
{"RfRaw":{"Data":"AA B1 04 05E6 016C 02D1 12CA 0121221212112122112121212211212121212121212121221121212121212122112121221121212213 55"}}
{"RfRaw":{"Data":"AA B1 04 0596 02D3 0165 132E 021211212122121122121212112212121212121212121211221212121212121122112211221122112030 55"}}

for second button try multiples reads, and most don´t work, only once, and get
{"RfRaw":{"Data":"AA B1 06 0550 02D4 016C 01B4 012C 1210 0212112121221211221212121122121212121212121212112212121212121211221122112211221125 55"}}

for third button, try 4 reads and get
{"RfRaw":{"Data":"AA B1 04 05F0 016B 02CF 12CA 0121221212112122112121212211212121212121212121221121212121212122112122121121221213 55"}}
{"RfRaw":{"Data":"AA B1 06 1289 062C 0161 02CA 01B6 1EA0 01232332323223233223232323322323232323232323232332232323232323233323322323323232322325 55"}}
{"RfRaw":{"Data":"AA B1 04 05F0 016D 02D0 12CA 0121221212112122112121212211212121212121212121221121212121212122112122121121221213 55"}}
{"RfRaw":{"Data":"AA B1 06 1284 062C 0164 02C9 01B8 1EAA 01232332323223233223232323322323232323232323232332232323232323233323322323323232322325 55"}}

how can i do to get rf-brigde works?? any idea

thanks, your work is fantastic

upgrade firmware

i´m triying to upgrade your firmaware after upgrade tastoma, in tastoma doc says you can easily upgrade with web gui, uploading file, i go to upgrade section in tastoma device page, and i have the upload bottom there, but ... which file do i have to upload??

EV1527 Remote Issue

I have a remote which contains a EV1527 chip controlling a blind controller (blind genie).

I am using a sonoff bridge with 6.2 tasmota, and this would learn the codes of the remote and correctly activate the blind controller with the stock RF firmware, but unfortunately it is not reliable as the signal sometimes needs to be sent multiple times. I can't just always send the code multiple times as a 2nd code will stop the blind opening if the 1st code was actually received ok.

If I hold the remote button down for a second or two it always works.

I've applied this RF-Bridge-EFM8BB1 firmware to the RF chip in the hope that I could make the RF bridge repeatly send the same data in a single tranmission like holding the remote button down.

So far this hasn't worked - once this RF firmware is applied (tried the hex here and in the tasmota repository) the RF bridge can learn the code, and does so with the same parameters as the stock firmware but when transmitting it no longer activates the blind. I suspect the stock vs custom transmit timings are just not quite right for my receiver of the EV1527 signal, or the code isn't being repeated enough.

I could try and get a rtl sdr capture of the EV1527 remote signal if it helps.

Is there a command to cause the data to be repeated more often than it is by default? And is the repeat count the same as the stock or different for the 0xA5 transmit command?

Thanks!

Problems with Superswitch sockets

Hi,

I have this socket set named Superswitch (Based on EV1527 OTP Encoder)
image

Using rc-switch library with arduino sketch I can capture the codes, and re-transmit them without any issues (it works).
Switch 2 code for example is:
code: 15879412
protocol: 1
bits: 24
delay: 228

I want to achieve the same using Sonoff RF Bridge 433.
I have flashed the Sonoff with Tasmota v 6.2.1 and flashed EFMBB1 with the latest

I tried to capture it with B1

14:31:12 CMD: RfRaw AA A9 55
14:31:12 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
14:31:30 CMD: RfRaw AAA955
14:31:30 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
14:31:51 CMD: RfRaw 177
14:31:52 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
14:32:01 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAAA55"}}
14:32:01 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
14:32:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00F9 02A5 1B76 01101001100101101001100110100101101010100110010102 55"}}
14:32:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DF 02B2 1BA8 01101001100101101001100110100101101010100110010102 55"}}
14:32:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00E8 02AB 00AA 1B9E 01101001100101101001100110100101101010100110010103 55"}}
14:32:12 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DF 02B3 1BB2 01101001100101101001100110100101101010100110010102 55"}}
14:32:12 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00E6 02AD 00C8 1B94 01101001100101101001100110100101101010100110010103 55"}}
14:32:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00ED 02A4 00AA 1B94 01121001100101101001100110100101101010100110010103 55"}}
14:32:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DE 02C2 1BB2 01101001100101101001100110100101101010100110010102 55"}}
14:32:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DB 02B7 1BC6 01101001100101101001100110100101101010100110010102 55"}}
14:32:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00DB 02B6 00B4 1BBC 01101001100101101001100110100101101010100110010103 55"}}
14:32:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00EC 02AC 00B4 1BB2 01101001100101101001100110100101101010100110010103 55"}}
14:32:15 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00F6 029C 1BA8 01101001100101101001100110100101101010100110010102 55"}}
14:32:15 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00FA 02A4 1A18 01101001100101101001100110100101101010100110010102 55"}}
14:32:15 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DC 02BD 1B9E 01101001100101101001100110100101101010100110010102 55"}}
14:32:15 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00E3 02AC 1B94 01101001100101101001100110100101101010100110010102 55"}}
14:32:16 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00EF 02A9 0078 1B80 01101001100101101001100110100101101010100110010103 55"}}
14:32:16 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00D8 02BC 00D7 1BBC 01101001100101101001100110100101101010100110010103 55"}}

Selected the following as best fit
"AA B1 03 00DE 02C2 1BB2 01101001100101101001100110100101101010100110010102 55"

Converted to B0 code using BitBucketConverter.py

'RfRaw AAB021031400DE02C21BB20110100110010110100110011010010110101010011001010255'

Issuing RfRaw AAB021031400DE02C21BB20110100110010110100110011010010110101010011001010255 doesn't do anything.

Looking at the code portion 0110100110010110100110011010010110101010011001010
IT translates to binary: 100101100101001100001011

1  0  0  1  0  1  1  0  0  1  0  1  0  0  1  1  0  0  0  0  1  0  1  1

Which would be Decimal 9851659 which is no where close to what rc-switch decodes 15879412.

It's worth noting that to make Sonoff RF bridge detect any signal from the remote I have to bring the remote right next to the bridge and stay pressed on the button several seconds before I see any code.

Using SDR the captured signal matches exactly what rc-switch decodes to.
This is a screenshot from another set I have.
image

Is this is timing issue? do I need to define a protocol in RF_Protocols.h ? or am I doing something wrong?

I've hit a wall and would appreciate some guidance.

Thanks in advance.
BB

Help decoding SZ Funpower RF 433 DC Fan Controller Remote

Hi there; so I have a successful flashed chip and am trying to figure out my DC Fan controller. Bucket Sniffing results in the following.

The Remote system must 'pair' with the base unit (I do have a second unit which I haven't attempted to setup yet), the one I am trying to sniff however is mounted high and there is little possibility of getting up there at this point.

Here is the dump's

#on/off/1/2/3/4/5/reverse/1/on/off
23:48:31 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0380 012A 163A 01010110101010100110100110011010011010101010010110 55"}}
23:48:31 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0384 012D 164E 01010110101010100110100110011010011010101010010110 55"}}
23:48:32 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0384 012E 164E 01010110101010100110100110011010011010101010010110 55"}}
23:48:38 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0382 0126 164E 01010110101010100110100110011010101010101001100110 55"}}
23:48:39 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0381 012D 163A 01010110101010100110100110011010011010101001100110 55"}}
23:48:40 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 038D 011E 164E 01010110101010100110100110011010101010100110011010 55"}}
23:48:41 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0388 012A 1630 01010110101010100110100110011010011010100110011010 55"}}
23:48:43 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 038F 011E 164E 01010110101010100110100110011010101010101001011010 55"}}
23:48:46 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0381 0122 164E 01010110101010100110100110011010101010100110100110 55"}}
23:48:48 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 038B 0126 1644 01010110101010100110100110011010101010101010011010 55"}}
23:48:53 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0397 0116 164E 01010110101010100110100110011010101010100101101010 55"}}
23:48:54 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 038C 0128 1630 01010110101010100110100110011010011010100101101010 55"}}
23:48:58 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0382 0128 163A 01010110101010100110100110011010011010101001100110 55"}}
23:49:00 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0381 0129 163A 01010110101010100110100110011010011010101010010110 55"}}
23:49:11 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 037C 012C 1644 01010110101010100110100110011010101010101010010110 55"}}
23:49:11 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 0380 012A 163A 01010110101010100110100110011010011010101010010110 55"}}
##on/off bucket sniff
00:03:31 RSL: RESULT = {"RfRaw":{"Data":"AA B1 03 037C 0127 164E 01010110101010100110100110011010101010101010010110 55"}}
00:03:32 RSL: RESULT = {"RfRaw":{"Data":"AA B1 04 0131 038E 016E 132E 10101001010101011001011001100101100101010101101000 55"}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.