Portisch / RF-Bridge-EFM8BB1

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

Can't get raw codes to work (converted to B0) #203

Open social-butterfly opened 3 years ago

social-butterfly commented 3 years ago

I'm stuck and not sure how to proceed. I've read different posts about the codes and formats but still don't know enough about it to make it work or if my captured remote codes will work at all. I've a tasmotized (v9.3.1) Sonoff RFBridge with Portisch firmware. Not 100% sure about the Portisch version but I installed about 3 months ago (RF-Bridge-EFM8BB1-20190220__.hex).

I have a blinds motor from Aldomo (same as some rebranded as SUNfree). The remote model is AC2000-15A.

What I've tried:

1) RfRaw 177 on the RFBridge console and pushing the 3 remote buttons which gives me the following messages in the console (pushed each button several times, I picked 2 each for here).

UP: 20:24:52.306 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-04-27T20:24:52","RfRaw":{"Data":"AA B1 05 05D2 0136 024E 0CD0 118A C0929292A1A19292A1929292A192A1A19292929292A1A1A1A192A1A192A1A192A19292A1A1A1929292929292A192929292A1A1A1A19292A1A1A192A1A19292A192A1A19292A1A192A3 55"}} 20:27:08.001 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-04-27T20:27:07","RfRaw":{"Data":"AA B1 05 05D2 0258 012C 0CDA 1180 C0929292929292A19292A1A192A19292A1A192A1A192A192A1A1A19292A19292A19292A192A192A192A19292A192929292A1A19292929292A1A1A19292A192929292A192A19292A193 55"}}

DOWN 20:27:00.794 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-04-27T20:27:00","RfRaw":{"Data":"AA B1 05 05D2 0262 012C 0DFC 118A C092A1A192A1A1A192A192A1A19292A1A192A192A1929292A192A1A1A1929292A192929292A1A1A1A192A1A1A1A1A19292A1A1A1A1A1A192A192A19292A192929292A19292A19292A3 55"}} 20:29:48.733 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-04-27T20:29:48","RfRaw":{"Data":"AA B1 05 05D2 026C 012C 0CD0 1194 C092A1A192A192A1A1A1A19292A1A1A192929292A1A192929292A1A1A1A1A1A1A192A1A19292929292A1A1A1A192A19292A1A19292A192A1A1A1A1A1A1A1A192A192A1A1A19292A193 55"}}

PAUSE: 20:30:32.362 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-04-27T20:30:32","RfRaw":{"Data":"AA B1 05 05D2 0262 012C 26BA 118A C092A192929292A1A1929292A1929292929292A1A192A1A1A1A19292A192A192A192A192A1A1A1A1A1A1A1A1A192A192A1A1A1A192929292A19292A19292A1A1A1A192A19292A1A1A3 55"}} 20:30:33.393 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-04-27T20:30:33","RfRaw":{"Data":"AA B1 05 05C8 0140 024E 0DF2 119E C09292A192A192A1A1A1A1A19292A192A192A192929292A19292A19292A1A1A1A1A192929292A1929292A192A192A19292A192A1A1A192929292929292929292A1A192A1A192A19293 55"}}

2) I then used the BitBucket converter to convert the B1 to B0 codes (https://bbconv.hrbl.pl/) and got e.g. these: CONVERTED B1 to B0 RFRAW CODES:

UP: AA B0 55 05 08 05D2 0136 024E 0CD0 118A C0929292A1A19292A1929292A192A1A19292929292A1A1A1A192A1A192A1A192A19292A1A1A1929292929292A192929292A1A1A1A19292A1A1A192A1A19292A192A1A19292A1A192A3 55 DOWN: AA B0 55 05 08 05D2 0262 012C 0DFC 118A C092A1A192A1A1A192A192A1A19292A1A192A192A1929292A192A1A1A1929292A192929292A1A1A1A192A1A1A1A1A19292A1A1A1A1A1A192A192A19292A192929292A19292A19292A3 55 PAUSE: AA B0 55 05 08 05D2 0262 012C 26BA 118A C092A192929292A1A1929292A1929292929292A1A192A1A1A1A19292A192A192A192A192A1A1A1A1A1A1A1A1A192A192A1A1A1A192929292A19292A19292A1A1A1A192A19292A1A1A3 55

3) I tried to send the raw codes in the RF console like this: RfRaw AAB055050805D20136024E0CD0118AC0929292A1A19292A1929292A192A1A19292929292A1A1A1A192A1A192A1A192A19292A1A1A1929292929292A192929292A1A1A1A19292A1A1A192A1A19292A192A1A19292A1A192A355; RfRaw 0

and what I get is this: 01:06:14.389 MQT: rfbridge/sonoff/RESULT = {"RfRaw":"ON"} 01:06:15.126 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-05-01T01:06:15","RfRaw":{"Data":"AAA055"}} (motor didn't respond)

I also tried via MQTT like described in Tasmota docs (using MQTT.fx): cmnd/rfbridge/sonoff RfRaw AAB055050805D20136024E0CD0118AC0929292A1A19292A1929292A192A1A19292929292A1A1A1A192A1A192A1A192A19292A1A1A1929292929292A192929292A1A1A1A19292A1A1A192A1A19292A192A1A19292A1A192A355

But that syntax didn't work, I would have to do: rfbridge/sonoff/cmnd/RfRaw and as payload: AAB055050805D20136024E0CD0118AC0929292A1A19292A1929292A192A1A19292929292A1A1A1A192A1A192A1A192A19292A1A1A1929292929292A192929292A1A1A1A19292A1A1A192A1A19292A192A1A19292A1A192A355 to get any response in the RFBridge console (same response like before when putting it directly into the console): 01:13:09.126 MQT: rfbridge/sonoff/RESULT = {"RfRaw":"ON"} 01:13:09.859 MQT: rfbridge/sonoff/RESULT = {"Time":"2021-05-01T01:13:09","RfRaw":{"Data":"AAA055"}}

oriolfg commented 2 years ago

https://bbconv.hrbl.pl/ not works