sui77 / rc-switch

Arduino lib to operate 433/315Mhz devices like power outlet sockets.
1.89k stars 651 forks source link

Pulseview conversion to match RC-Switch Decode #512

Open cgmckeever-orbis opened 1 month ago

cgmckeever-orbis commented 1 month ago

Is anyone familiar with https://triq.org/? Ive gotten two different decodes of the same signal, one with RC-Switch and the other with RTL_433_ESP. Im trying to figure out how to cross-reference them. The binary does not appear to match, and the rest is a bit gobbly-gook for me. Anyone that understands this, or has a very beginner guide to how I can cross-reference would be great.

My intent here is to start to use RTL_433_ESP for the raw signal/decode capture that I was previously using RC-Switch with.

Thanks in advance

RC-Switch

I: Decoded: {"decimal":16776962,"bits":24,"binary":"111111111111111100000010","tri-state":"not applicable","pulse":390,"protocol":1}

RTL_433_ESP Pulse Browser

Analyzing pulses...
Total count:   50,  width: 89.40 ms             (89398 S)
Pulse width distribution:
 [ 0] count:   34,  width: 1167 us [956;1209]   (1167 S)
 [ 1] count:   16,  width:  394 us [368;412]    ( 394 S)
Gap width distribution:
 [ 0] count:   34,  width:  416 us [389;428]    ( 416 S)
 [ 1] count:   14,  width: 1223 us [1203;1237]  (1223 S)
 [ 2] count:    1,  width: 12093 us [12093;12093]       (12093 S)
Pulse period distribution:
 [ 0] count:   48,  width: 1594 us [1371;1644]  (1594 S)
 [ 1] count:    1,  width: 12479 us [12479;12479]       (12479 S)
Pulse timing distribution:
 [ 0] count:   48,  width: 1183 us [956;1237]   (1183 S)
 [ 1] count:   50,  width:  409 us [368;428]    ( 409 S)
 [ 2] count:    1,  width: 12093 us [12093;12093]       (12093 S)
 [ 3] count:    1,  width:    0 us [0;0]        (   0 S)
Guessing modulation: Pulse Width Modulation with multiple packets
view at https://triq.org/pdv/#AAB0230401049F01992F3D00008181818181818181818181818181818190909090909081909255+AAB0230401049F01992F3D00008181818181818181818181818181818190909090909081909355
Attempting demodulation... short_width: 394, long_width: 1167, reset_limit: 12094, sync_width: 0
Use a flex decoder with -X 'n=name,m=OOK_PWM,s=394,l=1167,r=12094,g=1238,t=309,y=0'