Portisch / RF-Bridge-EFM8BB1

Alternative Firmware for the Sonoff RF Bridge EFM8BB1 chip
290 stars 122 forks source link

Problem with sending codes with mqtt #201

Open waynen1967 opened 3 years ago

waynen1967 commented 3 years ago

Very new to all this, bought an RF Bridge, put Tasmota and Portisch on it, sucessfully. Put it in mode rfwaw177 and sniffed successfully. Created a script in Home Assistant, told it to run a backlog, with the converted payload and it works, sometimes, most of the time on the first one I did, the second one I did worked once out of like 50 tries. i sniffed this {"RfRaw":{"Data":"AA B1 04 019A 0ECE 0320 3D18 3808080808080808080808081A0A08282A082A082A0A082A0A082A0A082A08282A0A082A08282A0A082A08282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}}

and converted to this AA B0 58 04 08 019A 0ECE 0320 3D18 3808080808080808080808081A0A08282A082A082A0A082A0A082A0A082A08282A0A082A08282A0A082A08282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55

using HA I scripted, a Call Service, mqtt.publich, topic cmnd/Tasmota_RF/backlog, and payload RfRaw AA B0 58 04 08 019A 0ECE 0320 3D18 3808080808080808080808081A0A08282A082A082A0A082A0A082A0A082A08282A0A082A08282A0A082A08282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55; RfRaw 0

As I said the first one works most of the time, this one has only worked once with many many tries. The RF Bridge is located very close to the unit I'm trying to control which is an autoslide patio door motor. The first one is for the dog door setting, only opens enough for the dog, the second one is full open setting which uses a different remote. Please help a newbie out, thanks in advance!

Latest firmware used? Yup

Be sure you tried the latest release or the newest binary of the firmware!

Information

What device you try to sniff data from? Description? Brand and type? Sonoff RF Bridge 433mhz

Sniffed data

Post your sniffed data by command 0xB1 or 0xA6. RfRaw":{"Data":"AA B1 04 019A 0ECE 0320 3D22 3808080808080808080808081A0828282A08282A082A082A082828282A082A082A0A082A082A082A082A08282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}}

AA B0 58 04 08 019A 0ECE 0320 3D22 3808080808080808080808081A0828282A08282A082A082A082828282A082A082A0A082A082A082A082A08282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55


13:45:33.919 CMD: rfraw 177 13:45:33.927 MQT: stat/Tasmota_RF/RESULT = {"RfRaw":"ON"} 13:45:33.948 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:33","RfRaw":{"Data":"AAA055"}} 13:45:43.643 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:43","RfRaw":{"Data":"AA B1 03 0172 033E 0320 281908 55"}} 13:45:44.047 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:44","RfRaw":{"Data":"AA B1 05 0190 0F00 0302 0122 3D18 480808080808080808080808182A08282A082A0A0A0A08282A082A08282A0A0A082A0A082A0A082A0A0A0A082828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0B28 55"}} 13:45:44.063 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:44","RfRaw":{"Data":"AA B1 03 0154 033E 032A 281908 55"}} 13:45:48.382 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:48","RfRaw":{"Data":"AA B1 04 019A 0EC4 02DA 3CE6 3808080808080808080808081828282A0A0A082828282828282A082A0A0A082A0A0A0A08282A082A082828282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}} 13:45:53.203 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:53","RfRaw":{"Data":"AA B1 04 019A 0ECE 02DA 3CF0 38080808080808080808080818282A0A082A082A0A0A082A08282828282A082828282A08282A0A0A0828282A0828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}} 13:45:56.551 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:56","RfRaw":{"Data":"AA B1 04 019A 0EF6 02EE 3D72 380808080808080808080808182A0A0A0A0828282A0A08282A082A0A0A08282828282A0A0A0A0828282828282A0A0A0A082A0828282A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}} 13:45:58.130 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:58","RfRaw":{"Data":"AA B1 03 017C 0316 0352 A08190 55"}} 13:45:58.759 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:45:58","RfRaw":{"Data":"AA B1 04 019A 0EEC 030C 3D90 3808080808080808080808081A0A0A08282A082A08282A082A082A08282828282828282A082A082A0A082A0A0A0A0A0A082A0828282A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}} 13:46:00.449 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:46:00","RfRaw":{"Data":"AA B1 03 0168 030C 0302 28190818 55"}} 13:46:00.754 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:46:00","RfRaw":{"Data":"AA B1 04 01A4 0EEC 030C 3DD6 3808080808080808080808081A0828282A0A0A0828282A08282A0A0A0A082A082828282A0A0A08282A08282A0A0A0A0A082A0828282A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}} 13:46:06.001 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:46:05"," 13:46:15.098 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:46:15","RfRaw":{"Data":"AA B1 03 0154 0082 01E0 2808090909 55"}} 13:46:19.472 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:46:19","RfRaw":{"Data":"AA B1 03 012C 0078 01F4 28080809 55"}} 13:46:23.891 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T13:46:23","RfRaw":{"Data":"AA B1 04 0190 00D2 006E 01E0 38180A 55"}}


fRaw":{"Data":"AA B1 04 019A 0ECE 0320 3D18 3808080808080808080808081A0A08282A082A082A0A082A0A082A0A082A08282A0A082A08282A0A082A08282828282A0A08282A082A0A0A0A082A0A0A0A0A0A0A0A0A0A0A0A0A0A082A0A0A0828 55"}} 14:17:57.396 MQT: tele/Tasmota_RF/RESULT = {"Time":"2021-04-17T14:17:57","RfRaw":{"Data":"AA B1 03 030C 019A 0334 281909 55"}}

RasputinBerry commented 3 years ago

Try this ... https://github.com/Portisch/RF-Bridge-EFM8BB1/issues/202

But I have (also) problems with the SONOFF ioBroker adapter. I can't get the right MQTT settings here. RfRaw Data is not filled. And I don't know where in the objects I have to enter the send command.