merbanan / rtl_433

Program to decode radio transmissions from devices on the ISM bands (and other frequencies)
GNU General Public License v2.0
6.08k stars 1.31k forks source link

Cardin s500 433Mhz #1554

Open jscodesulting opened 3 years ago

jscodesulting commented 3 years ago

I see that RTL supports a Cardin S466-TX2. I know it's a different protocol than the Cardin s500. I try to read the signal so I can send it out and integrate it with MQTT, but I do not get any signal on rtl_433. Any help from someone or suggestions?

zuckschwerdt commented 3 years ago

Try -A. Otherwise -S unknown then https://triq.org/iqs/ and -w FILENAME.ook FILENAME.cu8 then https://triq.org/pdv/ Look at https://github.com/merbanan/rtl_433/tree/master/conf and create something similar.

jscodesulting commented 3 years ago

Thanks for your input!! That gave me a lot of information. I am still trying to read through the documentation on how to interpret it correctly. It seems to be a rolling code at first sight...

zuckschwerdt commented 3 years ago

There is some information on a "Cardin TXQ504C2" which mentions rolling codes. There might still be fixed bits for the buttons and the rolling code just for authentication. Try to build a -X line (like perhaps suggested in the -A output) and grab many codes -- there might be a pattern.

jscodesulting commented 3 years ago

This is my first time trying to work with RF codes and integrate it with home assistant. I try to understand and see a pattern but got nowhere yet. Sorry to abuse this forum to try to get forward, but you are very friendly and helpful :-) Thanks for that!

Click #1

Detected FSK package 2020-11-06 08:35:49 Analyzing pulses... Total count: 360, width: 85.86 ms (21466 S) Pulse width distribution: [ 0] count: 325, width: 104 us [96;128] ( 26 S) [ 1] count: 34, width: 208 us [200;224] ( 52 S) [ 2] count: 1, width: 520 us [520;520] ( 130 S) Gap width distribution: [ 0] count: 1, width: 544 us [544;544] ( 136 S) [ 1] count: 324, width: 104 us [88;124] ( 26 S) [ 2] count: 33, width: 212 us [208;224] ( 53 S) [ 3] count: 1, width: 2004 us [2004;2004] ( 501 S) Pulse period distribution: [ 0] count: 1, width: 668 us [668;668] ( 167 S) [ 1] count: 307, width: 208 us [200;224] ( 52 S) [ 2] count: 33, width: 316 us [304;340] ( 79 S) [ 3] count: 17, width: 420 us [412;440] ( 105 S) [ 4] count: 1, width: 2108 us [2108;2108] ( 527 S) Pulse timing distribution: [ 0] count: 649, width: 104 us [88;128] ( 26 S) [ 1] count: 67, width: 208 us [200;224] ( 52 S) [ 2] count: 2, width: 532 us [520;544] ( 133 S) [ 3] count: 1, width: 2004 us [2004;2004] ( 501 S) [ 4] count: 1, width: 8 us [8;8] ( 2 S) Level estimates [high, low]: 15876, 4770 RSSI: -0.1 dB SNR: 5.2 dB Noise: -5.4 dB Frequency offsets [F1, F2]: 3209, -5100 (+12.2 kHz, -19.5 kHz) Guessing modulation: Pulse Width Modulation with sync/delimiter view at https://triq.org/pdv/#AAB0000501006800D0021407D40008828080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080908180908080819180908180808080908081808080808091809180919081808080809180809081918090808080818090818080919080818080808091809180908081919081809081908080808180808091808090808180918090818091919180918090808081809190808355+AAB00D0501006800D0021407D40008A455 Attempting demodulation... short_width: 104, long_width: 208, reset_limit: 2008, sync_width: 520 Use a flex decoder with -X 'n=name,m=OOK_PWM,s=104,l=208,r=2008,g=0,t=0,y=520' pulse_demod_pwm(): Analyzer Device bitbuffer:: Number of rows: 2 [00] {359} ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f6 eb ef ea 7d ab ee 7e ac d7 f6 eb 15 e6 [01] { 0} :

Detected FSK package 2020-11-06 08:35:50 Analyzing pulses... Total count: 725, width: 175.13 ms (43782 S) Pulse width distribution: [ 0] count: 1, width: 628 us [628;628] ( 157 S) [ 1] count: 651, width: 104 us [92;128] ( 26 S) [ 2] count: 68, width: 208 us [200;240] ( 52 S) [ 3] count: 3, width: 132 us [132;136] ( 33 S) [ 4] count: 1, width: 1256 us [1256;1256] ( 314 S) [ 5] count: 1, width: 2424 us [2424;2424] ( 606 S) Gap width distribution: [ 0] count: 655, width: 100 us [76;124] ( 25 S) [ 1] count: 66, width: 212 us [204;224] ( 53 S) [ 2] count: 2, width: 2020 us [2020;2020] ( 505 S) [ 3] count: 1, width: 76 us [76;76] ( 19 S) Pulse period distribution: [ 0] count: 1, width: 704 us [704;704] ( 176 S) [ 1] count: 620, width: 208 us [200;228] ( 52 S) [ 2] count: 66, width: 316 us [304;336] ( 79 S) [ 3] count: 34, width: 420 us [412;440] ( 105 S) [ 4] count: 2, width: 2120 us [2116;2128] ( 530 S) [ 5] count: 1, width: 1332 us [1332;1332] ( 333 S) Pulse timing distribution: [ 0] count: 1, width: 628 us [628;628] ( 157 S) [ 1] count: 1305, width: 104 us [88;128] ( 26 S) [ 2] count: 134, width: 208 us [200;240] ( 52 S) [ 3] count: 3, width: 132 us [132;136] ( 33 S) [ 4] count: 1, width: 1256 us [1256;1256] ( 314 S) [ 5] count: 3, width: 2152 us [2020;2424] ( 538 S) [ 6] count: 2, width: 76 us [76;76] ( 19 S) [ 7] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 12350, 4859 RSSI: -1.2 dB SNR: 4.1 dB Noise: -5.3 dB Frequency offsets [F1, F2]: 1136, -4746 (+4.3 kHz, -18.1 kHz) Guessing modulation: No clue... view at https://triq.org/pdv/#AAB00008010274006800D0008404E80868004C0000869191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191A19291A1919192A291A19291919191A191929191919191A2B1A291A2A19291919191A29191A192A291A19191919291A1929191A2A1919291919191A291A291A19192A2A19291A192A191919192919191A29191A1919291A291A19291A2A2A291A291A191919291A2A1919555+AAB00008010274006800D0008404E80868004C0000C6919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191B1919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191B1919191919191919191919191919191919191919191919191919191919191A19291A1919192A291A19291919191A191929191919191A291A291A2A19291919191A29191A192A291A19191919291A1929191A2A1919291919191A291A291A19192A2A19291A192A191919192919191A29191A1919291A291A19291A2A2A291A291A191919291A2A1919555+AAB01308010274006800D0008404E80868004C0000D755

Click #2

Detected FSK package 2020-11-06 08:36:51 Analyzing pulses... Total count: 714, width: 173.00 ms (43250 S) Pulse width distribution: [ 0] count: 634, width: 104 us [80;136] ( 26 S) [ 1] count: 1, width: 48 us [48;48] ( 12 S) [ 2] count: 1, width: 60 us [60;60] ( 15 S) [ 3] count: 76, width: 208 us [200;224] ( 52 S) [ 4] count: 1, width: 1264 us [1264;1264] ( 316 S) [ 5] count: 1, width: 772 us [772;772] ( 193 S) Gap width distribution: [ 0] count: 1, width: 776 us [776;776] ( 194 S) [ 1] count: 75, width: 212 us [176;224] ( 53 S) [ 2] count: 635, width: 100 us [72;128] ( 25 S) [ 3] count: 2, width: 2028 us [2024;2036] ( 507 S) Pulse period distribution: [ 0] count: 1, width: 856 us [856;856] ( 214 S) [ 1] count: 599, width: 208 us [188;232] ( 52 S) [ 2] count: 70, width: 316 us [300;328] ( 79 S) [ 3] count: 40, width: 424 us [408;440] ( 106 S) [ 4] count: 2, width: 2132 us [2132;2136] ( 533 S) [ 5] count: 1, width: 1336 us [1336;1336] ( 334 S) Pulse timing distribution: [ 0] count: 1267, width: 104 us [80;136] ( 26 S) [ 1] count: 1, width: 48 us [48;48] ( 12 S) [ 2] count: 2, width: 64 us [60;72] ( 16 S) [ 3] count: 151, width: 208 us [176;224] ( 52 S) [ 4] count: 1, width: 1264 us [1264;1264] ( 316 S) [ 5] count: 2, width: 772 us [772;776] ( 193 S) [ 6] count: 1, width: 80 us [80;80] ( 20 S) [ 7] count: 2, width: 2028 us [2024;2036] ( 507 S) [ 8] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 15935, 5071 RSSI: -0.1 dB SNR: 5.0 dB Noise: -5.1 dB Frequency offsets [F1, F2]: 988, -5369 (+3.8 kHz, -20.5 kHz) Guessing modulation: No clue...

Detected FSK package 2020-11-06 08:36:51 Analyzing pulses... Total count: 359, width: 86.30 ms (21576 S) Pulse width distribution: [ 0] count: 2, width: 436 us [404;468] ( 109 S) [ 1] count: 319, width: 104 us [96;128] ( 26 S) [ 2] count: 38, width: 208 us [200;228] ( 52 S) Gap width distribution: [ 0] count: 320, width: 104 us [76;120] ( 26 S) [ 1] count: 37, width: 212 us [204;224] ( 53 S) [ 2] count: 1, width: 2036 us [2036;2036] ( 509 S) Pulse period distribution: [ 0] count: 21, width: 428 us [412;480] ( 107 S) [ 1] count: 301, width: 208 us [204;232] ( 52 S) [ 2] count: 35, width: 316 us [304;332] ( 79 S) [ 3] count: 1, width: 2132 us [2132;2132] ( 533 S) Pulse timing distribution: [ 0] count: 2, width: 436 us [404;468] ( 109 S) [ 1] count: 638, width: 104 us [88;128] ( 26 S) [ 2] count: 75, width: 208 us [200;228] ( 52 S) [ 3] count: 1, width: 76 us [76;76] ( 19 S) [ 4] count: 1, width: 2036 us [2036;2036] ( 509 S) [ 5] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 15662, 5127 RSSI: -0.2 dB SNR: 4.8 dB Noise: -5.0 dB Frequency offsets [F1, F2]: 2402, -5488 (+9.2 kHz, -20.9 kHz) Guessing modulation: Pulse Width Modulation with sync/delimiter view at https://triq.org/pdv/#AAB000060101B4006800D0004C07F40000839191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191A19291A1919192A2919191A192A2919191A192A2A2A19291A1919291A192A291A19192A1919191929191A291A291A1929191919191A192A2919191A1929191A2A29191A2A2A19192A19291A2A2A291919191A1929191A2A291A192A29191A291A2A19291A1919455+AAB00F060101B4006800D0004C07F400008555 Attempting demodulation... short_width: 104, long_width: 208, reset_limit: 2040, sync_width: 436 Use a flex decoder with -X 'n=name,m=OOK_PWM,s=104,l=208,r=2040,g=0,t=0,y=436' pulse_demod_pwm(): Analyzer Device bitbuffer:: Number of rows: 2 [00] {357} ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fd bb ae 8d d5 bf 57 eb b9 8d 8f 72 b4 d8 [01] { 0} :

Click #3

Detected FSK package 2020-11-06 08:37:27 Analyzing pulses... Total count: 711, width: 172.94 ms (43234 S) Pulse width distribution: [ 0] count: 627, width: 104 us [88;132] ( 26 S) [ 1] count: 2, width: 136 us [132;140] ( 34 S) [ 2] count: 80, width: 208 us [200;228] ( 52 S) [ 3] count: 1, width: 1256 us [1256;1256] ( 314 S) [ 4] count: 1, width: 672 us [672;672] ( 168 S) Gap width distribution: [ 0] count: 1, width: 552 us [552;552] ( 138 S) [ 1] count: 627, width: 104 us [88;124] ( 26 S) [ 2] count: 78, width: 212 us [204;228] ( 53 S) [ 3] count: 2, width: 76 us [72;80] ( 19 S) [ 4] count: 2, width: 2028 us [2024;2036] ( 507 S) Pulse period distribution: [ 0] count: 1, width: 676 us [676;676] ( 169 S) [ 1] count: 588, width: 208 us [200;232] ( 52 S) [ 2] count: 78, width: 316 us [304;336] ( 79 S) [ 3] count: 40, width: 424 us [408;440] ( 106 S) [ 4] count: 2, width: 2136 us [2132;2144] ( 534 S) [ 5] count: 1, width: 1328 us [1328;1328] ( 332 S) Pulse timing distribution: [ 0] count: 1256, width: 104 us [72;132] ( 26 S) [ 1] count: 2, width: 136 us [132;140] ( 34 S) [ 2] count: 158, width: 208 us [200;228] ( 52 S) [ 3] count: 1, width: 1256 us [1256;1256] ( 314 S) [ 4] count: 2, width: 612 us [552;672] ( 153 S) [ 5] count: 2, width: 2028 us [2024;2036] ( 507 S) [ 6] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 15878, 4729 RSSI: -0.1 dB SNR: 5.3 dB Noise: -5.4 dB Frequency offsets [F1, F2]: 1381, -5155 (+5.3 kHz, -19.7 kHz) Guessing modulation: No clue... view at https://triq.org/pdv/#AAB01107010068008800D004E8026407EC00008455+AAB00007010068008800D004E8026407EC0000808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080A08280A0808082A28080A2A08280A2A2A082808080808080A2A290A2A08280A08280808080A2A0808280A28080A2A08082A2A2A08280A082A08082A0828080A082A2A2A082A2A280A082A280A08080808082A08280A28080A2A08080808280A2A08280A08555+AAB00007010068008800D004E8026407EC0000B08080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080A08280A0808082A28080A2A08280A2A2A082808080808080A2A280A2A08280A08280808080A2A0808280A28080A2A08082A2A2A08280A082A08082A0828080A082A2A2A082A2A280A082A280A08080808082A08280A28080A2A08080808280A2A08280A08555+AAB01107010068008800D004E8026407EC0000C655

Detected FSK package 2020-11-06 08:37:27 Analyzing pulses... Total count: 357, width: 86.68 ms (21669 S) Pulse width distribution: [ 0] count: 1, width: 388 us [388;388] ( 97 S) [ 1] count: 311, width: 104 us [96;128] ( 26 S) [ 2] count: 4, width: 132 us [132;140] ( 33 S) [ 3] count: 40, width: 208 us [200;228] ( 52 S) [ 4] count: 1, width: 844 us [844;844] ( 211 S) Gap width distribution: [ 0] count: 315, width: 104 us [84;120] ( 26 S) [ 1] count: 39, width: 212 us [204;224] ( 53 S) [ 2] count: 1, width: 80 us [80;80] ( 20 S) [ 3] count: 1, width: 2016 us [2016;2016] ( 504 S) Pulse period distribution: [ 0] count: 21, width: 424 us [416;480] ( 106 S) [ 1] count: 295, width: 208 us [204;228] ( 52 S) [ 2] count: 39, width: 316 us [304;336] ( 79 S) [ 3] count: 1, width: 2128 us [2128;2128] ( 532 S) Pulse timing distribution: [ 0] count: 1, width: 388 us [388;388] ( 97 S) [ 1] count: 626, width: 104 us [84;128] ( 26 S) [ 2] count: 4, width: 132 us [132;140] ( 33 S) [ 3] count: 79, width: 208 us [200;228] ( 52 S) [ 4] count: 1, width: 844 us [844;844] ( 211 S) [ 5] count: 1, width: 80 us [80;80] ( 20 S) [ 6] count: 1, width: 2016 us [2016;2016] ( 504 S) [ 7] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 15962, 4898 RSSI: -0.1 dB SNR: 5.1 dB Noise: -5.2 dB Frequency offsets [F1, F2]: 2490, -4928 (+9.5 kHz, -18.8 kHz) Guessing modulation: No clue... view at https://triq.org/pdv/#AAB000080101840068008400D0034C005007E0000081919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191A191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191B19391B1919193B391A1B3B19391B3B3B193919191919191B3B391B3B19391B19391919191B3B1919391B39191B3B19193B3B3B19391B193B19193B1939191B193B3B3B193B3B391B193B391B19191919193B193A5B391A1B3B19191919391B3B19391B19655+AAB013080101840068008400D0034C005007E00000C755

Detected OOK package 2020-11-06 08:37:27 Analyzing pulses... Total count: 2, width: 1.24 ms ( 309 S) Pulse width distribution: [ 0] count: 1, width: 1036 us [1036;1036] ( 259 S) [ 1] count: 1, width: 52 us [52;52] ( 13 S) Gap width distribution: [ 0] count: 1, width: 148 us [148;148] ( 37 S) Pulse period distribution: [ 0] count: 1, width: 1184 us [1184;1184] ( 296 S) Pulse timing distribution: [ 0] count: 1, width: 1036 us [1036;1036] ( 259 S) [ 1] count: 1, width: 52 us [52;52] ( 13 S) [ 2] count: 1, width: 148 us [148;148] ( 37 S) [ 3] count: 1, width: 10364 us [10364;10364] (2591 S) Level estimates [high, low]: 12975, 4986 RSSI: -1.0 dB SNR: 4.2 dB Noise: -5.2 dB Frequency offsets [F1, F2]: 62, 0 (+0.2 kHz, +0.0 kHz) Guessing modulation: Pulse Width Modulation with fixed gap view at https://triq.org/pdv/#AAB104040C00340094287C829355 Attempting demodulation... short_width: 52, long_width: 1036, reset_limit: 152, sync_width: 0 Use a flex decoder with -X 'n=name,m=OOK_PWM,s=52,l=1036,r=152,g=0,t=394,y=0' pulse_demod_pwm(): Analyzer Device bitbuffer:: Number of rows: 1 [00] { 2} 40 : 01

Random very short clicks (also works on the receiving device) Detected OOK package 2020-11-06 08:37:27 Analyzing pulses... Total count: 2, width: 1.24 ms ( 309 S) Pulse width distribution: [ 0] count: 1, width: 1036 us [1036;1036] ( 259 S) [ 1] count: 1, width: 52 us [52;52] ( 13 S) Gap width distribution: [ 0] count: 1, width: 148 us [148;148] ( 37 S) Pulse period distribution: [ 0] count: 1, width: 1184 us [1184;1184] ( 296 S) Pulse timing distribution: [ 0] count: 1, width: 1036 us [1036;1036] ( 259 S) [ 1] count: 1, width: 52 us [52;52] ( 13 S) [ 2] count: 1, width: 148 us [148;148] ( 37 S) [ 3] count: 1, width: 10364 us [10364;10364] (2591 S) Level estimates [high, low]: 12975, 4986 RSSI: -1.0 dB SNR: 4.2 dB Noise: -5.2 dB Frequency offsets [F1, F2]: 62, 0 (+0.2 kHz, +0.0 kHz) Guessing modulation: Pulse Width Modulation with fixed gap view at https://triq.org/pdv/#AAB104040C00340094287C829355 Attempting demodulation... short_width: 52, long_width: 1036, reset_limit: 152, sync_width: 0 Use a flex decoder with -X 'n=name,m=OOK_PWM,s=52,l=1036,r=152,g=0,t=394,y=0' pulse_demod_pwm(): Analyzer Device bitbuffer:: Number of rows: 1 [00] { 2} 40 : 01

Detected FSK package 2020-11-06 08:38:03 Analyzing pulses... Total count: 1099, width: 259.55 ms (64887 S) Pulse width distribution: [ 0] count: 994, width: 104 us [92;128] ( 26 S) [ 1] count: 2, width: 40 us [40;44] ( 10 S) [ 2] count: 1, width: 80 us [80;80] ( 20 S) [ 3] count: 2, width: 132 us [132;132] ( 33 S) [ 4] count: 96, width: 212 us [200;228] ( 53 S) [ 5] count: 3, width: 2204 us [2204;2208] ( 551 S) [ 6] count: 1, width: 300 us [300;300] ( 75 S) Gap width distribution: [ 0] count: 1, width: 576 us [576;576] ( 144 S) [ 1] count: 97, width: 212 us [172;224] ( 53 S) [ 2] count: 999, width: 104 us [84;132] ( 26 S) [ 3] count: 1, width: 136 us [136;136] ( 34 S) Pulse period distribution: [ 0] count: 1, width: 684 us [684;684] ( 171 S) [ 1] count: 941, width: 208 us [172;236] ( 52 S) [ 2] count: 114, width: 316 us [304;336] ( 79 S) [ 3] count: 39, width: 420 us [412;436] ( 105 S) [ 4] count: 3, width: 2320 us [2308;2340] ( 580 S) Pulse timing distribution: [ 0] count: 1992, width: 104 us [84;128] ( 26 S) [ 1] count: 2, width: 40 us [40;44] ( 10 S) [ 2] count: 1, width: 80 us [80;80] ( 20 S) [ 3] count: 4, width: 132 us [132;136] ( 33 S) [ 4] count: 193, width: 212 us [172;228] ( 53 S) [ 5] count: 3, width: 2204 us [2204;2208] ( 551 S) [ 6] count: 1, width: 300 us [300;300] ( 75 S) [ 7] count: 1, width: 576 us [576;576] ( 144 S) [ 8] count: 1, width: 32 us [32;32] ( 8 S) Level estimates [high, low]: 15617, 4704 RSSI: -0.2 dB SNR: 5.2 dB Noise: -5.4 dB Frequency offsets [F1, F2]: 1040, -9877 (+4.0 kHz, -37.7 kHz) Guessing modulation: No clue...

Detected FSK package 2020-11-06 08:38:06 Analyzing pulses... Total count: 1078, width: 259.66 ms (64915 S) Pulse width distribution: [ 0] count: 955, width: 104 us [92;136] ( 26 S) [ 1] count: 1, width: 40 us [40;40] ( 10 S) [ 2] count: 1, width: 76 us [76;76] ( 19 S) [ 3] count: 117, width: 208 us [196;228] ( 52 S) [ 4] count: 3, width: 2208 us [2204;2212] ( 552 S) [ 5] count: 1, width: 356 us [356;356] ( 89 S) Gap width distribution: [ 0] count: 1, width: 596 us [596;596] ( 149 S) [ 1] count: 958, width: 104 us [88;132] ( 26 S) [ 2] count: 117, width: 208 us [204;228] ( 52 S) [ 3] count: 1, width: 152 us [152;152] ( 38 S) Pulse period distribution: [ 0] count: 1, width: 732 us [732;732] ( 183 S) [ 1] count: 902, width: 208 us [172;228] ( 52 S) [ 2] count: 108, width: 316 us [304;336] ( 79 S) [ 3] count: 63, width: 420 us [408;436] ( 105 S) [ 4] count: 3, width: 2328 us [2312;2360] ( 582 S) Pulse timing distribution: [ 0] count: 1912, width: 104 us [88;136] ( 26 S) [ 1] count: 1, width: 40 us [40;40] ( 10 S) [ 2] count: 1, width: 76 us [76;76] ( 19 S) [ 3] count: 234, width: 208 us [196;228] ( 52 S) [ 4] count: 3, width: 2208 us [2204;2212] ( 552 S) [ 5] count: 1, width: 356 us [356;356] ( 89 S) [ 6] count: 1, width: 596 us [596;596] ( 149 S) [ 7] count: 2, width: 140 us [132;152] ( 35 S) [ 8] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 15695, 4274 RSSI: -0.2 dB SNR: 5.6 dB Noise: -5.8 dB Frequency offsets [F1, F2]: 3480, -8724 (+13.3 kHz, -33.3 kHz) Guessing modulation: No clue...

Detected OOK package 2020-11-06 08:38:06 Analyzing pulses... Total count: 3, width: 0.54 ms ( 136 S) Pulse width distribution: [ 0] count: 2, width: 80 us [72;88] ( 20 S) [ 1] count: 1, width: 112 us [112;112] ( 28 S) Gap width distribution: [ 0] count: 1, width: 68 us [68;68] ( 17 S) [ 1] count: 1, width: 204 us [204;204] ( 51 S) Pulse period distribution: [ 0] count: 1, width: 140 us [140;140] ( 35 S) [ 1] count: 1, width: 316 us [316;316] ( 79 S) Pulse timing distribution: [ 0] count: 3, width: 76 us [68;88] ( 19 S) [ 1] count: 1, width: 112 us [112;112] ( 28 S) [ 2] count: 1, width: 204 us [204;204] ( 51 S) [ 3] count: 1, width: 10004 us [10004;10004] (2501 S) Level estimates [high, low]: 12989, 4305 RSSI: -1.0 dB SNR: 4.8 dB Noise: -5.8 dB Frequency offsets [F1, F2]: 93, 0 (+0.4 kHz, +0.0 kHz) Guessing modulation: No clue... view at https://triq.org/pdv/#AAB104004C007000CC271480928355

Detected FSK package 2020-11-06 08:38:14 Analyzing pulses... Total count: 1083, width: 260.70 ms (65174 S) Pulse width distribution: [ 0] count: 967, width: 104 us [88;132] ( 26 S) [ 1] count: 111, width: 208 us [200;228] ( 52 S) [ 2] count: 4, width: 2112 us [1828;2220] ( 528 S) [ 3] count: 1, width: 132 us [132;132] ( 33 S) Gap width distribution: [ 0] count: 1, width: 324 us [324;324] ( 81 S) [ 1] count: 968, width: 104 us [88;124] ( 26 S) [ 2] count: 111, width: 212 us [204;224] ( 53 S) [ 3] count: 1, width: 80 us [80;80] ( 20 S) [ 4] count: 1, width: 140 us [140;140] ( 35 S) Pulse period distribution: [ 0] count: 58, width: 420 us [408;456] ( 105 S) [ 1] count: 913, width: 208 us [200;228] ( 52 S) [ 2] count: 108, width: 316 us [304;336] ( 79 S) [ 3] count: 3, width: 2324 us [2308;2360] ( 581 S) Pulse timing distribution: [ 0] count: 1936, width: 104 us [80;132] ( 26 S) [ 1] count: 222, width: 208 us [200;228] ( 52 S) [ 2] count: 4, width: 2112 us [1828;2220] ( 528 S) [ 3] count: 2, width: 136 us [132;140] ( 34 S) [ 4] count: 1, width: 324 us [324;324] ( 81 S) [ 5] count: 1, width: 0 us [0;0] ( 0 S) Level estimates [high, low]: 14052, 4458 RSSI: -0.7 dB SNR: 5.0 dB Noise: -5.7 dB Frequency offsets [F1, F2]: 443, -8051 (+1.7 kHz, -30.7 kHz) Guessing modulation: No clue...

jscodesulting commented 3 years ago

rtl_433 -X 'n=name,m=OOK_PWM,s=104,l=208,r=2008,g=0,t=0,y=520' gives me the following, but only seems to respond to some clicks, not all of them (I always press the same button, but only sometimes something shows up)

time : 2020-11-06 08:42:58 model : name count : 1 num_rows : 1 rows : len : 1 data : 8 codes : {1}8


time : 2020-11-06 08:43:06 model : name count : 1 num_rows : 1 rows : len : 1 data : 8 codes : {1}8


time : 2020-11-06 08:43:09 model : name count : 1 num_rows : 1 rows : len : 0 data : codes : {0}


time : 2020-11-06 08:43:13 model : name count : 1 num_rows : 1 rows : len : 2 data : c codes : {2}c


time : 2020-11-06 08:43:24 model : name count : 2 num_rows : 2 rows : len : 2 data : c, len : 0 data : codes : {2}c, {0}

jscodesulting commented 3 years ago

I thought there was a pattern as seen below with the -X params: -X 'n=name,m=OOK_PWM,s=104,l=208,r=2008,g=0,t=0,y=520' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2040,g=0,t=0,y=436' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2008,g=0,t=0,y=520' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2040,g=0,t=0,y=436'

But when I ran it a couple of minutes later and just randomly pressed the buttons, these were the suggested params -X 'n=name,m=OOK_PWM,s=104,l=208,r=2016,g=0,t=0,y=132' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2032,g=0,t=0,y=260' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2008,g=0,t=0,y=132' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2020,g=0,t=0,y=360' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2020,g=0,t=0,y=412' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2024,g=0,t=0,y=384' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2032,g=0,t=0,y=144' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2024,g=0,t=0,y=268' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2016,g=0,t=0,y=52' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2016,g=0,t=0,y=388' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2020,g=0,t=0,y=404' -X 'n=name,m=OOK_PWM,s=104,l=208,r=2028,g=0,t=0,y=356'

Basically what I'm trying to do is send the same signal as that one button would send.

zuckschwerdt commented 3 years ago

The -X 'n=name,m=OOK_PWM,s=104,l=208,r=300' looks suitable to grab the codes. This will however not help you to reproduce this signal, there are more parameters in the RF signal. Either analyze the raw .cu8 sample to get those parameters or just replay the .cu8 -- what is your TX hardware?

jscodesulting commented 3 years ago

I have the RTL-SDR usb as well as a Sonoff RF bridge, flashed with Tasmota and Portisch

zuckschwerdt commented 3 years ago

With Portisch you might be interested in the RfRaw codes given by -A specifically the AAB0 commands: https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki/0xB0 But you need to analyze and shorten the given rfraw into a single code (note the + separating multiple commands).

jscodesulting commented 3 years ago

I have tried many things in the mean time but no success. I read through the complete manual and got no wiser. One thing I tried to do is to duplicate the remote (following the manual, you press a button (like a reset button with a small pin on a router for example). If you do this for both (current receiver and new one), you can then copy the signal to the new remote. I do not have a new remote, but I caught the signal from the current remote with RTL 433 and got the following: Detected OOK package 2020-11-16 13:22:11 Analyzing pulses... Total count: 57, width: 31.37 ms ( 7842 S) Pulse width distribution: [ 0] count: 26, width: 248 us [224;296] ( 62 S) [ 1] count: 23, width: 408 us [316;464] ( 102 S) [ 2] count: 1, width: 1460 us [1460;1460] ( 365 S) [ 3] count: 1, width: 44 us [44;44] ( 11 S) [ 4] count: 4, width: 812 us [768;848] ( 203 S) [ 5] count: 1, width: 560 us [560;560] ( 140 S) [ 6] count: 1, width: 168 us [168;168] ( 42 S) Gap width distribution: [ 0] count: 27, width: 256 us [208;280] ( 64 S) [ 1] count: 5, width: 176 us [156;196] ( 44 S) [ 2] count: 14, width: 92 us [80;112] ( 23 S) [ 3] count: 7, width: 68 us [60;76] ( 17 S) [ 4] count: 1, width: 124 us [124;124] ( 31 S) [ 5] count: 2, width: 48 us [44;52] ( 12 S) Pulse period distribution: [ 0] count: 48, width: 508 us [504;512] ( 127 S) [ 1] count: 1, width: 1520 us [1520;1520] ( 380 S) [ 2] count: 1, width: 380 us [380;380] ( 95 S) [ 3] count: 1, width: 132 us [132;132] ( 33 S) [ 4] count: 4, width: 1016 us [1016;1020] ( 254 S) [ 5] count: 1, width: 684 us [684;684] ( 171 S) Pulse timing distribution: [ 0] count: 53, width: 252 us [208;296] ( 63 S) [ 1] count: 23, width: 408 us [316;464] ( 102 S) [ 2] count: 1, width: 1460 us [1460;1460] ( 365 S) [ 3] count: 3, width: 44 us [44;52] ( 11 S) [ 4] count: 4, width: 812 us [768;848] ( 203 S) [ 5] count: 1, width: 560 us [560;560] ( 140 S) [ 6] count: 6, width: 172 us [156;196] ( 43 S) [ 7] count: 14, width: 92 us [80;112] ( 23 S) [ 8] count: 7, width: 68 us [60;76] ( 17 S) [ 9] count: 1, width: 124 us [124;124] ( 31 S) [10] count: 1, width: 14604 us [14604;14604] (3651 S) Level estimates [high, low]: 15744, 3535 RSSI: -0.2 dB SNR: 6.5 dB Noise: -6.7 dB Frequency offsets [F1, F2]: -3516, 0 (-13.4 kHz, +0.0 kHz) Guessing modulation: No clue...

and a second time to compare: Detected OOK package 2020-11-16 13:22:30 Analyzing pulses... Total count: 93, width: 50.60 ms (12649 S) Pulse width distribution: [ 0] count: 53, width: 408 us [328;460] ( 102 S) [ 1] count: 4, width: 840 us [828;856] ( 210 S) [ 2] count: 33, width: 260 us [228;296] ( 65 S) [ 3] count: 2, width: 592 us [588;600] ( 148 S) [ 4] count: 1, width: 1312 us [1312;1312] ( 328 S) Gap width distribution: [ 0] count: 33, width: 100 us [88;124] ( 25 S) [ 1] count: 37, width: 240 us [180;280] ( 60 S) [ 2] count: 12, width: 68 us [56;76] ( 17 S) [ 3] count: 3, width: 44 us [44;44] ( 11 S) [ 4] count: 7, width: 156 us [140;176] ( 39 S) Pulse period distribution: [ 0] count: 85, width: 508 us [500;520] ( 127 S) [ 1] count: 4, width: 1016 us [1016;1020] ( 254 S) [ 2] count: 2, width: 676 us [676;680] ( 169 S) [ 3] count: 1, width: 1524 us [1524;1524] ( 381 S) Pulse timing distribution: [ 0] count: 53, width: 408 us [328;460] ( 102 S) [ 1] count: 4, width: 840 us [828;856] ( 210 S) [ 2] count: 67, width: 252 us [212;296] ( 63 S) [ 3] count: 2, width: 592 us [588;600] ( 148 S) [ 4] count: 1, width: 1312 us [1312;1312] ( 328 S) [ 5] count: 33, width: 100 us [88;124] ( 25 S) [ 6] count: 10, width: 164 us [140;188] ( 41 S) [ 7] count: 12, width: 68 us [56;76] ( 17 S) [ 8] count: 3, width: 44 us [44;44] ( 11 S) [ 9] count: 1, width: 13124 us [13124;13124] (3281 S) Level estimates [high, low]: 15750, 3382 RSSI: -0.2 dB SNR: 6.7 dB Noise: -6.9 dB Frequency offsets [F1, F2]: -1131, 0 (-4.3 kHz, +0.0 kHz) Guessing modulation: No clue...

Is this something to check or not worth it?

zuckschwerdt commented 3 years ago

Looks like a valid PWM signal. But it's now OOK, it was FSK before? For FSK you would need: -X 'n=name,m=FSK_PWM,s=104,l=208,r=300' Generally those SNR / Noise levels look bad. Usually you'd want them way bigger, like 20 dB. Our default minimum SNR is 9 dB, not sure this is working at all.

jscodesulting commented 3 years ago

This signal was generated to replicate the signal from an existing remote to a new remote. Or is this not the direction I should be looking towards? All looks OOK to me?

zuckschwerdt commented 3 years ago

The original was FSK with maybe a 30k-50k deviation, wasn't it? My initial hints were likely bad, I didn't spot he Detected FSK package there. And you had 100/200µs pulses/gaps which could perhaps be Manchester. Your new signal is 260/400 µs OOK.

jscodesulting commented 3 years ago

.\rtl_433.exe -X 'n=name,m=FSK_PWM,s=104,l=208,r=2008,g=0,t=0,y=520'

Pushing it once: time : 2020-11-16 15:40:13 model : name count : 4 num_rows : 4 rows : len : 359 data : fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb779e6de7d875cff9c9f5dff5ca, len : 365 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedde79b79f61d73fe727d77fd728, len : 365 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedde79b79f61d73fe727d77fd728, len : 0 data : codes : {359}fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb779e6de7d875cff9c9f5dff5ca, {365}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedde79b79f61d73fe727d77fd728, {365}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedde79b79f61d73fe727d77fd728, {0}

pushed it a second time time : 2020-11-16 15:40:35 model : name count : 4 num_rows : 4 rows : len : 358 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedddfb9dbd9eabbce85fbf76adf4, len : 366 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedddfb9dbd9eabbce85fbf76adf4, len : 366 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedddfb9dbd9eabbce85fbf76adf4, len : 0 data : codes : {358}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedddfb9dbd9eabbce85fbf76adf4, {366}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedddfb9dbd9eabbce85fbf76adf4, {366}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedddfb9dbd9eabbce85fbf76adf4, {0}

pushed it a third time time : 2020-11-16 15:41:02 model : name count : 4 num_rows : 4 rows : len : 346 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6ed756ab57c5d7beda2a0dc14, len : 357 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeddaead56af8baf7db4541b828, len : 357 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeddaead56af8baf7db4541b828, len : 0 data : codes : {346}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6ed756ab57c5d7beda2a0dc14, {357}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeddaead56af8baf7db4541b828, {357}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeddaead56af8baf7db4541b828, {0}

pushed a fourth time time : 2020-11-16 15:41:36 model : name count : 4 num_rows : 4 rows : len : 355 data : fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb7630f62dfa3c569d99efaaffe, len : 361 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedd8c3d8b7e8f15a7667beabff8, len : 361 data : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedd8c3d8b7e8f15a7667beabff8, len : 0 data : codes : {355}fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb7630f62dfa3c569d99efaaffe, {361}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedd8c3d8b7e8f15a7667beabff8, {361}ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedd8c3d8b7e8f15a7667beabff8, {0}

zuckschwerdt commented 3 years ago

That looks good, see this BitBench. But the payload could be encoded with a rolling code (observe the first variable byte counting up).

gdt commented 1 year ago

Status and plan for this issue? Is someone working on a PR?