Comments (30)
AA B1 04 0192 00CC 01C7 1B58 10101100110101010011010103 55:
SI_SEGMENT_VARIABLE(DOORMAN, static DUTY_CYLCE_PROTOCOL_DATA, SI_SEG_CODE) =
{
400, // SYNC_HIGH
7000, // SYNC_LOW
0, // SYNC_BIT_COUNT
400, // BIT_HIGH_TIME
200, // BIT_LOW_TIME
66, // BIT_HIGH_DUTY
33, // BIT_LOW_DUTY
12, // BIT_COUNT
0 // REPEAT_DELAY
};
Or this 0xA8 command:
AAA80E7F01901B5801904200C8210CE84055
from rf-bridge-efm8bb1.
Thank you, building that code didn't seem to make a difference, but I ran rfraw AAA80E7F01901B5801904200C8210CE84055
and the data seems to come out with a more predictable result. I'm not sure whether the build I was on made a difference but will test that.
12:21:06 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C01010055"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C20201155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C20202155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C20101155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C30301155"}}
12:21:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C20101155"}}
12:21:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
12:21:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B5800A0012C10101155"}}
This is probably all I need as I am just hoping to listen for the button press and I should be able to capture that from MQTT using this data. Am I missing something as to why this wouldn't show up like RFReceived
as normal though?
from rf-bridge-efm8bb1.
You can't use command 0xA4!
You have only 12 bit of data, not 40!
You can use 0xA8 with identifier 0x7F (universal transmit) or you define the protocol in the protocols.h and use this identifier.
from rf-bridge-efm8bb1.
I tested on the main release and the steps I took using your help still produce the same result, so I am guessing my rf_protocols.h
change did not work. Just trying to work out if that is OK now.
I'm not really getting how after running the A8 command it gives better result but it does. As I say, I'm not interested in retransmitting / mimicing, I just want to receive the signal.
Thanks again for your help
from rf-bridge-efm8bb1.
Try the new branch: 6a07953
from rf-bridge-efm8bb1.
Similar result, need to run rfraw 177
, then the A8 command to get a result. I changed the A8 command slightly to use the new protocol this time and that worked too.
15:40:51 CMD: rfraw 177
15:40:51 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
15:40:52 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
15:40:58 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B9 009B 01E0 0104 1B44 30303100310101010011010104 55"}}
15:40:58 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AD 00AC 01E0 1B76 10101100110101010011010103 55"}}
15:40:59 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0191 0190 00CB 1B8A 20202200220202020022020203 55"}}
15:40:59 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00D0 018E 1BA8 01010011001010101100101012 55"}}
15:40:59 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01A4 0195 00B6 1B8A 20202200220202020022020203 55"}}
15:40:59 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AB 00B2 01C2 1B76 10101100110101010011010103 55"}}
15:40:59 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A7 00FA 1B6C 10101100110101010011010103 55"}}
15:41:00 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00AB 00FA 1B76 10101100110101010011010103 55"}}
15:41:00 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B5 009F 01CC 00FA 1B6C 10303100110101010011010104 55"}}
15:41:00 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B4 009F 01CC 00FA 1B76 30301100110101010011010104 55"}}
15:41:00 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00AA 01CC 1B76 10101100110101010011010103 55"}}
15:41:01 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A7 00FA 1B8A 10101100110101010011010103 55"}}
15:41:01 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A9 00FA 1B6C 10101100110101010011010103 55"}}
15:41:01 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B5 009F 01CC 00FA 1B76 30303100110101010011010104 55"}}
15:41:01 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A7 00FA 1B6C 10101100110101010011010103 55"}}
15:41:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A8 01CC 1B76 10101100110101010011010103 55"}}
15:41:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00AC 00FA 1B6C 10101100110101010011010103 55"}}
15:41:03 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00AA 01CC 1B76 10101100110101010011010103 55"}}
15:41:03 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B8 00A7 00FA 1B6C 10101100110101010011010103 55"}}
15:41:03 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01B5 009F 01C2 00FA 1B76 10301100110101010011010104 55"}}
15:41:03 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A9 01CC 1B6C 10101100110101010011010103 55"}}
15:41:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00AB 01CC 1B76 10101100110101010011010103 55"}}
15:41:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B5 00A4 01CC 1B6C 10101100110101010011010103 55"}}
15:41:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 01B9 00AD 1B76 20202200220202020022020203 55"}}
15:41:05 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 00A9 01CC 1B6C 10101100110101010011010103 55"}}
15:41:10 CMD: rfraw AAA80E0701901B5801904200C8210CE84055
15:41:10 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
15:41:10 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
15:41:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006430103155"}}
15:41:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006401010055"}}
15:41:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:13 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006420202155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006430103155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006420202155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410201155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410101155"}}
15:41:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA41B58001E006410201155"}}
from rf-bridge-efm8bb1.
To sniff defined protocols you have to switch to the new sniffing: 0xA6
So try: RfRaw 166
from rf-bridge-efm8bb1.
Nothing appears in the console after doing rfraw 166
and pressing the button.
I just noticed that the red led on the bridge is lighting up after doing that on the branch though.
16:49:45 CMD: rfraw 166
16:49:45 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
16:49:45 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
from rf-bridge-efm8bb1.
You are using the new branch?
Try to send: AAA655
from rf-bridge-efm8bb1.
yep, On branch WFDC879
, same with AAA655
. RF led flashes again too after 0xA6
sniffing starts
18:04:03 CMD: rfraw AAA655
18:04:03 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
18:04:03 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
from rf-bridge-efm8bb1.
Looks like another bug in Tasmota:
arendst/Tasmota#4080
Please wait until the pull request got merged. Than you can receive a 0xA6 data again.
from rf-bridge-efm8bb1.
Thank you @Porstich. Your support is very appreciated!
from rf-bridge-efm8bb1.
Tried WFDC879
branch and development
on Tasmota but still no luck using rfraw 166
. Will try rfraw AAA655
now instead. RF LED is still flashing when 0xA6
sniffing and pressing button.
from rf-bridge-efm8bb1.
Try this Tasmota firmware:
I can receive 0xA6 sniffed data with this firmware:
00:00:20 CMD: rfraw aaa655
00:00:20 RSL: RESULT = {"RfRaw":"ON"}
00:00:20 RSL: RESULT = {"RfRaw":{"Data":"AAA055"}}
00:02:41 RSL: RESULT = {"RfRaw":{"Data":"AAA60602D0F932111E55"}}
00:02:44 RSL: RESULT = {"RfRaw":{"Data":"AAA60602D0F932115555"}}
If still nothing get received I have to check what exactly happens by using 12 bit of data.
Now the software is designed to use a bit count like 8, 16, 24, 32, 40,.....
On my first look I didn't found any problem...
from rf-bridge-efm8bb1.
Thank you for your perseverance. Unfortunately nothing in the console after flashing the attached .bin. RF LED is still flashing when pressing button after 0xA6 sniffing starts
running rfraw aaa655
12:25:26 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
12:25:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
from rf-bridge-efm8bb1.
Try the new pushed branch: 606cf98
I have done a simulate with an arduino:
for(int i = 0; i < 10; i++){
//SYNC_HIGH
digitalWrite(rfTransmitPin, HIGH); //Transmit a HIGH signal
digitalWrite(ledPin, HIGH); //Turn the LED on
delayMicroseconds(0x0192 - 40);
//SYNC_LOW
digitalWrite(rfTransmitPin,LOW); //Transmit a LOW signal
digitalWrite(ledPin, LOW); //Turn the LED off
delayMicroseconds(0x1B58);
send_bit_0();
send_bit_0();
send_bit_0();
send_bit_1();
send_bit_0();
send_bit_1();
send_bit_1();
send_bit_1();
send_bit_1();
send_bit_0();
send_bit_1();
send_bit_1();
}
And I receive than in the console:
00:00:13 CMD: rfraw aaa655
00:00:13 RSL: RESULT = {"RfRaw":"ON"}
00:00:13 RSL: RESULT = {"RfRaw":{"Data":"AAA055"}}
00:00:44 RSL: RESULT = {"RfRaw":{"Data":"AAA6030717B055"}}
The data "17B0" is 16 bit. The protcol do have only 12, so just ignore the last 4 bits: 0x17B
Binary: 000101111011
I don't know why the SYNC_HIGH can't be 400µs... I have to think about it....
from rf-bridge-efm8bb1.
Same again with new branch sorry.
I noticed bucket data has started coming out differently now though. Not sure when this changed.
13:33:12 CMD: rfraw aaa655
13:33:12 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
13:33:12 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
**RF LED flashes red on sonoff when pressing button**
13:33:16 MQT: tele/sonoff/STATE = {"Time":"2018-10-16T13:33:16","Uptime":"0T00:00:18","Vcc":3.206,"Wifi":{"AP":1,"SSId":"---","BSSId":"----","Channel":-,"RSSI":--}}
13:34:16 CMD: rfraw 177
13:34:16 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
13:34:16 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
13:34:19 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:19 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA00B201"}}
13:34:19 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:19 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:19 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 06 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01"}}
13:34:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00"}}
13:34:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA00AE01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 05 01"}}
13:34:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:43 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:43 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00"}}
13:34:43 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01"}}
13:34:43 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA1B8000"}}
from rf-bridge-efm8bb1.
@malkstar forget this time about the Tasmota firmware! Too many bugs.
I pushed a new version: 4e76bf2
00:00:15 CMD: rfraw aaa655
00:00:15 RSL: RESULT = {"RfRaw":"ON"}
00:00:15 RSL: RESULT = {"RfRaw":{"Data":"AAA055"}}
00:00:20 RSL: RESULT = {"RfRaw":{"Data":"AAA6030717B055"}}
00:00:23 RSL: RESULT = {"RfRaw":{"Data":"AAA6030717B055"}}
Don't try the command 0xB1 on the console! Just try command 0xA6!
from rf-bridge-efm8bb1.
On master Tasmota still nothing in console.
On development tasmota and latest branch I get the following results:
15:40:02 CMD: rfraw aaa655
15:40:02 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
15:40:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
15:40:23 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA60307FFF055"}}
15:40:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:30 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA60307FFF055"}}
15:40:31 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603077FF055"}}
15:40:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:43 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:45 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:40:52 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:41:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA60307BFF055"}}
15:41:10 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:41:16 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:41:20 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:41:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:41:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA60307BFF055"}}
15:41:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
15:41:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
I tried pressing button every one second, it appears only 1 in 5 are coming through. Result though, thank you.
from rf-bridge-efm8bb1.
Rfraw 177 is fixed in Tasmota. @Portisch why so offend?
Problem was introduced with commit deleting white space characters
from rf-bridge-efm8bb1.
@malkstar please try the new 88b3fa1
@Jason2866 I am not offend but tired to fix problems what are ESP releated, not EFM8. But it is working right now! Good work! I will keep this version as backup for the future.
New Tasmota firmware:
6.2.1.16_2018-10-17T091249_aec24ac9.zip
from rf-bridge-efm8bb1.
Thank you, I won't be able to try it until later today but will feedback when I get chance.
It might be worth noting that last night I managed to get the event to come back more reliably by upping the TOLERANCE number from 70 - 85. I upped this by 5 each time until 9/10 clicks were coming through @ 85. Upping it to 100 got way more clicks but also a lot more repeats.
Thank you for your perseverance @Portisch!
from rf-bridge-efm8bb1.
Please try again to sniff with 0xB1 the doorbell. I have done some improvement on this command:
ff807c3
from rf-bridge-efm8bb1.
@malkstar please try the new 88b3fa1>
New Tasmota firmware:
6.2.1.16_2018-10-17T091249_aec24ac9.zip
This didn't work for me. No result in console or RF LED flashes
Please try again to sniff with 0xB1 the doorbell. I have done some improvement on this command:
ff807c3
Result when 0xB1 sniffing:
12:28:14 CMD: rfraw 177
12:28:14 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
12:28:14 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
12:28:18 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01C8 0085 010E 1B1C 22222102210101010021010103 55"}}
12:28:18 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01B6 00A4 1B4E 10101100110101010011010102 55"}}
12:28:18 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01B4 00A4 1B4E 10101100110101010011010102 55"}}
12:28:19 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01AE 00AA 00FA 1B4E 10101100110101010011010103 55"}}
12:28:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01BF 0090 0104 1B3A 20202100210101010021010103 55"}}
12:28:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01AA 00B2 1B58 10101100110101010011010102 55"}}
12:28:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00D7 0180 1B76 01010011001010101100101012 55"}}
12:28:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 019C 00BB 1B6C 10101100110101010011010102 55"}}
12:28:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01B4 00A4 1B4E 10101100110101010011010102 55"}}
12:28:26 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A4 00FA 1B58 20101100110101010011010103 55"}}
12:28:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01BF 0090 0104 1B26 20202100210101010021010103 55"}}
12:28:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01AE 00A9 1B44 10101100110101010011010102 55"}}
12:28:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00E0 017C 1B80 01010011001010101100101012 55"}}
12:28:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01A1 00BB 1B6C 10101100110101010011010102 55"}}
12:28:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A4 00FA 1B4E 20101100110101010011010103 55"}}
12:28:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01B4 00A4 1B4E 10101100110101010011010102 55"}}
12:28:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01C8 0086 010E 1B1C 22222100210101010021010103 55"}}
12:28:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B3 00A4 00FA 1B4E 10101100110101010011010103 55"}}
12:28:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DA 017F 1B6C 01010011001010101100101012 55"}}
12:28:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 019D 00BF 1B6C 10101100110101010011010102 55"}}
12:28:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B2 00A7 00FA 1B58 10101100110101010011010103 55"}}
12:28:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B1 00A2 00FA 1B58 10102100110101010011010103 55"}}
12:28:41 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B5 00A5 00FA 1B4E 10101100110101010011010103 55"}}
from rf-bridge-efm8bb1.
Try this new firmware:
051bfbb
Test if data can be decoded by command 0xA6. I can't simulate it here right now because of missing hardware. The Ardunio UNO isn't able to produce a "constant" timing.
from rf-bridge-efm8bb1.
Nothing comes through on new branch unfortunately. Still works a lot better in 0xA6 sniffing when the tolerance is upped from 50 to 100 though, but data comes through twice as well.
This is 5 distinct button clicks:
12:29:25 CMD: rfraw 166
12:29:25 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
12:29:25 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
12:30:33 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:38 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:39 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:43 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:44 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:47 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:48 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:51 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
12:30:52 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA603073FF055"}}
Bucket sniffing appears to be coming out more reliably too incase it helps (same again, 5 button clicks):
12:32:29 CMD: rfraw 177
12:32:29 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
12:32:29 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
12:32:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 01A2 00B5 1B58 10101100110101010011010102 55"}}
12:32:34 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00CD 018B 1B80 01010011001010101100101012 55"}}
12:32:40 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00CC 018F 1B76 01010011001010101100101012 55"}}
12:32:46 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00C9 0190 1B6C 01010011001010101100101012 55"}}
12:32:47 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 011C 009F 01BC 1B4E 00000120012121212001212123 55"}}
12:32:51 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00CF 0189 1B76 01010011001010101100101012 55"}}
12:32:56 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 01B4 009C 00FA 1B4E 20202100210101010021010103 55"}}
12:32:56 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00C7 0193 1B62 01010011001010101100101012 55"}}
from rf-bridge-efm8bb1.
To increase the number of reading I think you have to play with the sync parameters. Try SYNC_HIGH with a value of 0 to disable this check. The tolerance at 400µs isn't very big. (+-10%, maximum 500µs)
from rf-bridge-efm8bb1.
Please try the newest release: https://github.com/Portisch/RF-Bridge-EFM8BB1/releases/tag/0x02
Try to use command 0xA6 and/or 0xB1. The firmware is now supporting inverted signals like yours.
But maybe the pulse timing have to be adjusted:
RF-Bridge-EFM8BB1/inc/RF_Protocols.h
Line 229 in 89c66ec
from rf-bridge-efm8bb1.
@Portisch thank you for this. The new firmware is way more reliable in 0xB1 output:
12:55:22 MQT: stat/sonoff/RESULT = {"RfRaw":"ON"}
12:55:22 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AAA055"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 0136 0078 1B3A 00000100010101010001010102 55"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00DC 017C 1B76 01010011001010101100101012 55"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00FA 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 010E 0096 01C2 1B58 00000120012121212001212123 55"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 010E 0096 01C2 1B4E 00000120012121212001212123 55"}}
12:56:02 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00FA 008C 01CC 1B62 00000120012121212001212123 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0118 008C 01D6 1B30 00000120012121012001010103 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00D2 0190 1B8A 01010011001010101100101012 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 010E 0096 01C2 1B4E 00000120012121212001212123 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00FA 008C 01CC 1B62 00000120012121212001212123 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:04 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:05 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:06 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 010E 008C 01D6 1B44 00000120012121212001212123 55"}}
12:56:06 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00E6 0172 1B76 01010011001010101100101012 55"}}
12:56:07 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 010E 0096 01C2 1B4E 00000120012121212001212123 55"}}
12:56:07 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:07 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:07 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:07 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 010E 0096 01C2 1B4E 00000120012121212001212123 55"}}
12:56:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 0136 0082 1B26 00000100010101010001010102 55"}}
12:56:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 00FA 01C2 008C 1B58 00000210021212121002121213 55"}}
12:56:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00E6 0172 1B76 01010011001010101100101012 55"}}
12:56:08 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:09 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:10 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 03 00E6 0172 1B76 01010011001010101100101012 55"}}
12:56:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01C2 1B58 00000120012121212001212123 55"}}
12:56:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01CC 1B58 00000120012121212001212123 55"}}
12:56:11 MQT: tele/sonoff/RESULT = {"RfRaw":{"Data":"AA B1 04 0104 008C 01C2 1B58 00000120012121212001212123 55"}}
0xA6 occasionally works but less reliable than previous branch and high tolerance
from rf-bridge-efm8bb1.
Try sniffing again with the latest master!
I close the issue because of a buggy EFM8 firmware - please do a 0xB1 sniffing again and I will reopen the issue.
from rf-bridge-efm8bb1.
Related Issues (20)
- Pls help me add new portisch protocol for Yale door contact sensors HOT 1
- Reading Klik Aan Klik Uit (KAKU) devices HOT 2
- online converter is down HOT 5
- Compiling firmware alternative
- Help adding custom protocol for Novy Extractor HOT 1
- Sniffing Warema Shutter HOT 38
- Newby question
- Arno fan protocol HOT 1
- protocols information of our outdoor weather transmitter, please add
- I've been told by someone on a discord server that I can't use Portisch with the Sonoff RF Bridge in the white box HOT 2
- B1 to B0 problems HOT 1
- Codes convertion HOT 1
- Sonoff RF Bridge R2 V2.2 HOT 2
- Smart Home DC-104 RF remote HOT 1
- Compiling Firmware needs Keil license HOT 1
- Create command from Scope Plot
- How to recognise kaku wall switch buttons with RFBridge
- Dooya DD remote version support HOT 12
- 1byOne doorbell not being picked up HOT 1
- portisch stops responding after random amount of time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rf-bridge-efm8bb1.