Open danps1 opened 5 years ago
This protocol is already implemented: HT12. Just the timing is different. Please try this binary: https://github.com/Portisch/RF-Bridge-EFM8BB1/blob/FRM87/Keil%208051%20v9.53%20-%20Release/RF-Bridge-EFM8BB1.hex
Thanks @Portisch - it's really awesome of you to help me! I'm struggling to flash the hex file linked above to my RF chip. Should I be able to use the "upload firmware" mechanism via Tasmota? (6.4.1) This had previously worked for me, but now I am trying every permutation (switch position, usb vs pin power, wires between C2ck, etc etc) and every time I'm getting the Magic Byte error. Any idea what I could be doing wrong? Thanks again.
One thing to amend - I have just upgraded Tasmota to 6.5, and also issued the FF command, and discovered that I have the v3 Portisch rather than v4 as previously stated. Still no joy putting the firmware on there though :( Also tried the hex in the Keil folder - same Magic Byte error
Download the complete zip and not the file. Take a look to the file by a text editor to see if it is a valid hex file.
OMG - feeling pretty humble / stupid right now. Opening up in text editor made me realise that when I'd been right clicking and choosing "Save Link As..." I'd then subsequently been trying to upload a bunch of HTML to my RF-chip and pulling my hair out wondering why it wasn't working! I've now successfully uploaded latest firmware (as a hex file!!) and been able to also successfully replay some B0 captures for the first time. Not seeing it as decoded protocol though, but will cross that bridge next. Thanks again for the help, and for this fantastic firmware.
Use 0xA6 command! Take a look to the wiki.
That was actually the very first thing I tried once I'd upgraded the firmware, but it didn't decode the signal. I think it should be protocol 6, but i get no output when pressing and even holding the remote button...
CMD: rfraw AA A6 55
MQT: stat/rf/RESULT = {"RfRaw":"ON"}
MQT: tele/rf/RESULT = {"RfRaw":{"Data":"AAA055"}}
If it helps, here is some of the B0 data that I captured and then successfully replayed...
Bedroom Off - rfraw AA B0 15 03 04 0140 0276 2A80 18280909090909181818181809 55
Bedroom Low - rfraw AA B0 15 03 04 014A 028A 2A6C 18280909090909181818091818 55
Bedroom Med - rfraw AA B0 15 03 04 014A 0280 2A76 18280909090909181809181818 55
Bedroom Hi - rfraw AA B0 15 03 04 014A 0280 2A80 18280909090909180918181818 55
Guest Off - rfraw AA B0 15 03 04 0154 028A 2AA8 18280909180918181818181809 55
Guest Low - rfraw AA B0 15 03 04 015E 028A 2A94 18280909180918181818091818 55
Guest Med - rfraw AA B0 15 03 04 015E 0294 2A94 18280909180918181809181818 55
Guest Hi - rfraw AA B0 15 03 04 0154 028A 2AB2 18280909180918180918181818 55
Office Off - rfraw AA B0 15 03 04 0140 0276 2A4E 18280909090918181818181809 55
Office Low - rfraw AA B0 15 03 04 0154 0280 2A3A 18280909090918181818091818 55
Office Med - rfraw AA B0 15 03 04 0140 0280 2A44 18280909090918181809181818 55
Office Hi - rfraw AA B0 15 03 04 0136 026C 2A4E 18280909090918180918181818 55
Try the last hex file from the master branch: https://github.com/Portisch/RF-Bridge-EFM8BB1/commit/af1bddb3d81c79d67063184219ec21f8249dffd0 I adjusted the values for the HT12 protocol and disabled the other once. Please have a try with 0xA6...
Excellent - thanks again! It is now decoding the button presses, with 0xA6 sniffing....
Guest Off - rfraw AA B0 15 03 04 0154 028A 2AA8 18280909180918181818181809 55 ----> AAA603032FD055
Guest Low - rfraw AA B0 15 03 04 015E 028A 2A94 18280909180918181818091818 55 ----> AAA603032F7055
Guest Med - rfraw AA B0 15 03 04 015E 0294 2A94 18280909180918181809181818 55 ----> AAA603032EF055
Guest Hi - rfraw AA B0 15 03 04 0154 028A 2AB2 18280909180918180918181818 55 ----> AAA603032DF055 / AAA603032FF055
However, if I'm understanding the protocols.h file correctly, these commands are being decoded as protocol 0x03 which is a weather station, rather than 0x06 which i was expecting for HT12? Am I misunderstanding what is going on? (again) :)
Latest firmware used?
Using 0.4 Portisch Firmware with Tasmota 6.4.1
Information
The device is a ceiling fan remote - https://www.mercator.com.au/product/rf-remote-control/
Sniffed data
I only see results with RFRAW 177 and then every button press results in 2 lines appearing, not 1. I have tried to use BitBucketConverter to replay, but because it goes line-by-line, I don't think the whole code is being sent so no getting any success with replaying. I don't know how to understand these 2 lines of output for a single button press. If anyone could help that would be amazing!
Here is some capture...