javuls Posted April 12, 2022 Share Posted April 12, 2022 I am trying to automate a humidity and temperature controlled grow space with a raspberry pi, DH22 temp sensor, 433 rf outlets and 433 tx and rx. I am having trouble decoding and and trying to replicate the findings inside rc-switch. ( due to my lack of knowledge) I have read the captured the signal using rtl_433 and an rtl sdr. As well as 433 rx and RFSniffer. Below is what I compiled for the on and off switch of the remote. Any assistance on how I can use rc-switch to replicate this signal with my 433 tx from my raspberry pi would be AMAZING. on signal from remotefrom RTL_433 -ADetected OOK package 2022-04-11 19:57:13Analyzing pulses...Total count: 329, width: 437.93 ms (109482 S)Pulse width distribution: [ 0] count: 189, width: 328 us [324;344] ( 82 S) [ 1] count: 140, width: 940 us [936;948] ( 235 S)Gap width distribution: [ 0] count: 180, width: 900 us [896;908] ( 225 S) [ 1] count: 139, width: 284 us [284;292] ( 71 S) [ 2] count: 9, width: 4596 us [4592;4600] (1149 S)Pulse period distribution: [ 0] count: 319, width: 1228 us [1224;1244] ( 307 S) [ 1] count: 9, width: 4924 us [4916;4928] (1231 S)Pulse timing distribution: [ 0] count: 328, width: 308 us [284;344] ( 77 S) [ 1] count: 320, width: 920 us [896;948] ( 230 S) [ 2] count: 9, width: 4596 us [4592;4600] (1149 S) [ 3] count: 1, width: 10004 us [10004;10004] (2501 S)Level estimates [high, low]: 15961, 2RSSI: -0.1 dB SNR: 39.0 dB Noise: -39.1 dBFrequency offsets [F1, F2]: -4888, 0 (-18.6 kHz, +0.0 kHz)Guessing modulation: Pulse Width Modulation with multiple packetsview at https://triq.org/pdv/#AAB02B04090134039811F4271481819081819090818181819081909090908181908190818190908190818181908255+AAB02A04010134039811F42714818190818190908181818190819090909081819081908181909081908181819355Attempting demodulation... short_width: 328, long_width: 940, reset_limit: 4604, sync_width: 0Use a flex decoder with -X 'n=name,m=OOK_PWM,s=328,l=940,r=4604,g=912,t=245,y=0'pulse_slicer_pwm(): Analyzer Devicebitbuffer:: Number of rows: 10 [00] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[01] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[02] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[03] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[04] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[05] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[06] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[07] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[08] {33} d9 e8 6b 2e 80 : 11011001 11101000 01101011 00101110 1[09] {32} d9 e8 6b 2e : 11011001 11101000 01101011 00101110 *** signal_start = 3113987, signal_end = 3243469, signal_len = 129482, pulses_found = 329Iteration 1. t: 150 min: 73 (189) max: 227 (140) delta 5Iteration 2. t: 150 min: 73 (189) max: 227 (140) delta 0Pulse coding: Short pulse length 73 - Long pulse length 227Short distance: 80, long distance: 234, packet distance: 1157p_limit: 150bitbuffer:: Number of rows: 10 [00] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[01] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[02] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[03] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[04] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[05] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[06] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[07] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[08] {33} 26 17 94 d1 00 : 00100110 00010111 10010100 11010001 0[09] {32} 26 17 94 d1 : 00100110 00010111 10010100 11010001 from rfsnifferReceived 639079633 / 32Bit // Protocol: 2off signal from remote--------------------------------------------------------------------------------------------------------------------from rtl_433 -ADetected OOK package 2022-04-11 19:57:11Analyzing pulses...Total count: 329, width: 437.37 ms (109342 S)Pulse width distribution: [ 0] count: 169, width: 328 us [324;344] ( 82 S) [ 1] count: 160, width: 940 us [940;948] ( 235 S)Gap width distribution: [ 0] count: 159, width: 900 us [896;908] ( 225 S) [ 1] count: 160, width: 284 us [280;292] ( 71 S) [ 2] count: 9, width: 4596 us [4596;4604] (1149 S)Pulse period distribution: [ 0] count: 319, width: 1228 us [1224;1248] ( 307 S) [ 1] count: 9, width: 4924 us [4920;4932] (1231 S)Pulse timing distribution: [ 0] count: 329, width: 308 us [280;344] ( 77 S) [ 1] count: 319, width: 920 us [896;948] ( 230 S) [ 2] count: 9, width: 4596 us [4596;4604] (1149 S) [ 3] count: 1, width: 10004 us [10004;10004] (2501 S)Level estimates [high, low]: 15918, 157RSSI: -0.1 dB SNR: 20.1 dB Noise: -20.2 dBFrequency offsets [F1, F2]: -4740, 0 (-18.1 kHz, +0.0 kHz)Guessing modulation: Pulse Width Modulation with multiple packetsview at https://triq.org/pdv/#AAB02B04090134039811F4271481819081819090818181819081909090908190819081909090909081908181818255+AAB02A04010134039811F42714818190818190908181818190819090909081908190819090909090819081818355Attempting demodulation... short_width: 328, long_width: 940, reset_limit: 4608, sync_width: 0Use a flex decoder with -X 'n=name,m=OOK_PWM,s=328,l=940,r=4608,g=912,t=245,y=0'pulse_slicer_pwm(): Analyzer Devicebitbuffer:: Number of rows: 10 [00] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[01] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[02] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[03] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[04] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[05] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[06] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[07] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[08] {33} d9 e8 54 17 80 : 11011001 11101000 01010100 00010111 1[09] {32} d9 e8 54 17 : 11011001 11101000 01010100 00010111 *** signal_start = 1042654, signal_end = 1172014, signal_len = 129360, pulses_found = 329Iteration 1. t: 150 min: 73 (169) max: 227 (160) delta 10Iteration 2. t: 150 min: 73 (169) max: 227 (160) delta 0Pulse coding: Short pulse length 73 - Long pulse length 227Short distance: 80, long distance: 234, packet distance: 1157p_limit: 150bitbuffer:: Number of rows: 10 [00] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[01] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[02] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[03] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[04] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[05] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[06] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[07] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[08] {33} 26 17 ab e8 00 : 00100110 00010111 10101011 11101000 0[09] {32} 26 17 ab e8 : 00100110 00010111 10101011 11101000 from rfsnifferReceived 639085544 / 32Bit // Protocol: 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.