Duplicate RF Signal

Started by lilpint97, March 21, 2017, 10:17:06 AM

lilpint97

Hey, I am working on adding to my Home Automation system (i.e. HAMS), and have installed RollerTrol blinds throughout my home. However, my RF skills are somewhat limited, and I am trying to figure out how to best create the signal the remotes generate. I have tried rc_switch, VirtualWire etc, but they are mostly for specific protocols. I am looking for any help, even willing to offer money too. This is killing me :)

Here is what I have done so far:
Using rf_433 to decode the signal.

4c 31 00 (remote code / mac addr)
85 31 ab (seond remote to verify)
11 = CHANNEL CODE ( this is based on per remote, have to find where it's starting channel is)

55 = STOP
11 x 6 & 1e x 3 = UP
33 x 3 & 3c x 3 = DOWN

Detected OOK package
Analyzing pulses...
Total count:  246,  width: 82013		(328.1 ms)
Pulse width distribution:
 [ 0] count:    6,  width:  1189 [1188;1192]	(4756 us)
 [ 1] count:  168,  width:    92 [90;95]	( 368 us)
 [ 2] count:   72,  width:   181 [179;183]	( 724 us)
Gap width distribution:
 [ 0] count:    6,  width:   352 [351;354]	(1408 us)
 [ 1] count:  168,  width:   173 [171;177]	( 692 us)
 [ 2] count:   66,  width:    85 [83;88]	( 340 us)
 [ 3] count:    5,  width:  1862 [1862;1864]	(7448 us)
Pulse period distribution:
 [ 0] count:    6,  width:  1542 [1541;1543]	(6168 us)
 [ 1] count:  234,  width:   266 [263;271]	(1064 us)
 [ 2] count:    5,  width:  2044 [2043;2047]	(8176 us)
Level estimates [high, low]:  15991,    489
Frequency offsets [F1, F2]:   18585,      0	(+70.9 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with startbit/delimiter
Attempting demodulation... short_limit: 136, long_limit: 685, reset_limit: 1865, demod_arg: 2
pulse_demod_pwm_ternary(): Analyzer Device
bitbuffer:: Number of rows: 7
[00] {0} :
[01] {40} 4c 31 00 12 55 : 01001100 00110001 00000000 00010010 01010101
[02] {40} 4c 31 00 12 55 : 01001100 00110001 00000000 00010010 01010101
[03] {40} 4c 31 00 12 55 : 01001100 00110001 00000000 00010010 01010101
[04] {40} 4c 31 00 12 55 : 01001100 00110001 00000000 00010010 01010101
[05] {40} 4c 31 00 12 55 : 01001100 00110001 00000000 00010010 01010101
[06] {40} 4c 31 00 12 55 : 01001100 00110001 00000000 00010010 01010101