-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving data from unknown devices #135
Comments
Your second control may be 32 bits constant bit-length but with different pulse lengths (like all the standards in rc-switch) or a new NEXA-like 64 bits different-on-off-bit-length. You will be able to see this when you record your signal. If you use Arduino, you can use Suat's signal recorder: |
yes..i use arduino with cheap rx433 . |
It looks like a 12-bits inverted protocol. Use: Please report if you succeed and describe in detail your brand and model. Maybe even with photographs or links to seller. |
Check: |
|
..I'm sorry ... |
400 + 612 = 1012 |
Hello guys, Thank you. |
Hi - can you help with decoding signal for MCE07 rc switch? |
Hello ... |
I managed to decode it myself (MCE07). It occured that fst 4 pulses can be ignored (when sending data). Code length is 41 bytes - last 9 bytes codes channel no and function. There is problem with sending data due to 32 bit limitation of long used by RcSwitch.
Its almost like RCSwitch::send(const char* sCodeWord) but without conversion to long and sync signal moved at begining of message. The codes are:
Bits marked by X at top - codes channel no and function (fst 4 bits read from right to left - codes channel no - next 4 bits are negation of previous 4 bits). Sending data works but - it is impossible to receive codes generated by original MCE07 RC due to fst 4 starting sync pulses. Any ideas how to make receiving possible (how to filter out this 4 pulses starting sync signals)? |
I am glad that you are able to send signals. |
Read: Anyway, it seems that you will not be able to use rcswitch to receive this remote, because it uses 2 sync bits. Also, for sending commands you will need to send a pre-programmed sequence of timings. You will not be able to use the single number that you decoded. My branch transmittimingsarray described in #170 , #146 , and #163 (comment) |
Thanks Martin-Laclaustra
would you be able to point me in a better direction i have tried loading ProtocolAnalyzeDemo.ino and i am getting the error and not sure how to correct it |
You can use the protocollessreceiver branch (you get details on how to download it correctly here: #103 ) but it will be of no use for your remote. |
Thanks i'm really trying to follow along and but keep hitting a wall. with the output i first posted i noticed there was the same code for the level i was looking for Example what i am trying to do is capture the signal from a dog collar using an arduino like this | ? | ? | ? | level | ? | so my output looks right i'm just not sure what and how to fully decode them and rebrod cast them back |
Sorry. This is completely unrelated to this issue. |
do you know what would be compatible for what i need? |
Hi Martin, can you help me to decode my remote? It's a FAAC @315mhz, but should be fixed code on the receiver side (because each remote it's programmed from it) here is the three sample that I got (i've tried various time - pressing and hold the button at number 2 on Arduino serial - but don't have flat line at the start) i've just some high numbers (like 3000), here is a screenshot that highligth these numbers - don't know if there are a "Sync Number" (seems too short in the graph) Hope you can help me. Thanks in advance |
Looks like: |
Hi Martin, Thanks for your response. So it’s not a 2-bit sync protocol? Because I’ve seen two times a big number before the sequence of command. I’ll try today to add the suggested protocol on the cpp file and test it. I let you know Thanks again! |
It doesn’t seem to work. i'm still not understand how do you have calulated that data. The wiki is not so clear.. also the example and pictures reports different numbers. |
|
Hi Martin, I've readed the wiki but some parts are not very clear like 15th. I've sample five times my code, this is one of the sample that looks like the other one:
transpose this code on XLS (and in the site that create the wave), show me there are only two high number (> 3000) and two groups formed by numbers that are between 1500-1700 and 700-900. The first thing that i'm missing is the pulse lenght (it's not specified very well on the wiki how to obtain). Look at your suggestions, the number is the average from the big number after the sync bit and the small number. It give me about 804, that you have translated to 800. Regarding sync bit, in your suggestion you have put "4, 4", that look at the wave seems right (because a single wave seems formed by 4 small waves). For 0s bit you have put "2, 2" that like the sync bit are formed by 2 small waves on up and on down (the first two "1600" values), the last is 1s bit that seems formed just only a single small wave (and you have put "1,1"). So what i'm missing? Until the end of next week I cannot test this code because i don't have another Arduino here with me or my gate to open. Thanks in advance for any help. |
I updated the wiki: Apply that to your numbers. pulse length: 813 (roughly the one I approximated: 810). (averages of the groups: 812.9, 1625.5, 3252) What do you have to do next?
|
ok, finally i got working these damn modules. Checking the XLS, my code seems to be 818780400. I've send it (after add protocol on *.cpp file) and generate a new wave on the test site, but it seems missing the sync bit. Here is the code generated by SimpleRCScanner
and this is the sketch used: ` /* https://github.com/sui77/rc-switch/ */ #include <RCSwitch.h> RCSwitch mySwitch = RCSwitch(); void setup() { Serial.begin(9600); // Transmitter is connected to Arduino Pin #10 // Optional set protocol (default is 1, will work for most outlets) // Optional set pulse length. // Optional set number of transmission repetitions. } void loop() { /* Same switch as above, but using decimal code */ } ` Thanks! |
Replace:
... and report again your recorded timings. |
Ok using your suggestion, I was able to mimic the same signal that also opened the gate. Now I need to understand why it doesn’t work adding to the *.cpp file. Is it possible to use this library on a raspberry Pi and send the same command? Thanks |
Yes, use 433Utils. |
It's from some years ago but in case it come useful to anyone (as this did to me :) ) Another protocol that worked out on a different (but similar) gate remote is: |
I need help with my unknow protocol. Please help. Button1 Button2 |
Hi Martin, I have a rollshutter with a AC123-01 433MHz remote, up+stop+down buttons. I understand this is not a single-sync-gap, therefore I can't decode it using rc-switch in Arduino. I was able to get some values from SimpleRcScanner, should I post them here? What are my options here? Thanks in advance for your help! |
My first advice is to read the wiki:
If it is not suitable you should look for help elsewhere. |
I you just want to send your codes, have a look here: |
is there any technical issue to add the support of multiple sync-bits instead of a single sync-bit in the packet? |
Yes. Particularly for receiving codes. And structs are shared with emitting codes. Basically you need a new design to deal with it. |
is there any way/modification to make keeloq detectable? at least to show any output (even binary is fine) instead of being completely silent? |
help me please, I'm trying add protocol into rcswitch.cpp (it is pool thermometer) Steinbach I have signal: Try add code: newest CSWITCH_SEPARATION_LIMIT. default, 10000 no efect it doesn't work, what is bad ??? |
Hello,
I 2 remote controls 433, one is detected as Protocol No. 1 while the other is not detected (has a coding with 12dip-switch).
How can I do to be able to receive the 12 dip-switch?
Thank you.
The text was updated successfully, but these errors were encountered: