Extra bits on RAW that are not converted #1863
-
I have a remote for a Genva Radio that I would like to dump so that I can use it on on an ESP. The data from the remote looks like this
At first, I thought this should be easy from her on, but unfortunately there seems to a small quirk in the raw data. If I try and send the NEC code using
The raw data does not match up with the raw data from the remote. The last few bits seems to be missing. I have tried to decode the raw data using ./gc_decode -raw "8938,...... but I end up with the same NEC output and unfortunately this does not seem to be able to control the radio when sent from the ESP. Have I missed something with the decoding ? Ant tips here would be appreciated as I have a not been able to see anything myself so far that would cause this . |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You have a high value of 41414, should this be 2 messages? Can you ensure that you have gone thru the FAQ? Also grab more samples to see how repeatable this is. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. I can not say for sure if it should be two messages, but it is for sure only one button press.
I have made no mods to the code and I am using the IRdump v3 example and the IRsend example with only small modifications to pin numbers . |
Beta Was this translation helpful? Give feedback.
-
The raw data you've got looks like an Try: You can also change the IRremoteESP8266/examples/IRrecvDumpV3/IRrecvDumpV3.ino Lines 66 to 100 in ff045f1 |
Beta Was this translation helpful? Give feedback.
The raw data you've got looks like an
NEC
message with a single repeat.SHERWOOD
is a protocol that forces aNEC
message with at least one repeat.Try:
irsend.sendNEC(0xFF00FF, 32, 1);
orirsend.sendSherwood(0xFF00FF);
Which will send an
0xFF00FF
32
-bit NEC message with1
repeat.You can also change the
kTimeout
constant to15
in the IRrecvDumpV2/V3 example code, it should detect the two messages in your capture individually. @NiKiZe is correct, there are two messages in your capture.see:
IRremoteESP8266/examples/IRrecvDumpV3/IRrecvDumpV3.ino
Lines 66 to 100 in ff045f1