Happy X-Mas to all of you!!
Interesting. I looked at the signals, and it appears to be a new protocol. The learns appear to be quite consistent and noise-free, good. This is what I did:
Load the file in rmir. Turn on Options -> Advanced -> Learned signal Timing Analysis. Learned Signls -> Timing Summary. Save (as girr file, here fan.girr). In the IrpTransmogrifier distro, there is a xslt-script that takes that file to the named-input form of irptransmogrifier. So, (on Linux terminal)
Code: Select all
$ irptransmogrifier decode --xslt contributed/input-filters/rawgirr2named.xsl --namedinput ../support/amazon_fan/fan.girr
Up: No decodes.
Down: No decodes.
OK: No decodes.
Left: No decodes.
Right: No decodes.
Power: No decodes.
Right, it does not decode. So we try to "analyze"
Code: Select all
$ irptransmogrifier analyze --xslt contributed/input-filters/rawgirr2named.xsl --namedinput ../support/amazon_fan/fan.girr
Up {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x544,B=0x2a2}
Down {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x4b0,B=0x258}
OK {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x550,B=0x2a8}
Left {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x522,B=0x291}
Right {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x446,B=0x223}
Power {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x4a4,B=0x252}
which looks quite promising. So, possibly one of the executer wizards can write an executor for the protocol {38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,(-5,1,-52m,9074u)*)?
IrpTransmogrifer can transmogrify even more:
Code: Select all
$ irptransmogrifier analyze --xslt contributed/input-filters/rawgirr2named.xsl --namedinput ../support/amazon_fan/fan.girr --stat --parametertable --bit-usage
Timebase: 520.0
Gaps:
B: 1536 = 3*520 150
C: 2543 = 5*520 61
D: 4592 = 9*520 12
F: 13764 6
G: 52159 7
H: 130544 6
Flashes:
A: 520 = 1*520 217
D: 4592 = 9*520 12
E: 9074 13
Pairs:
AB: 150
AC: 48
EC: 13
DD: 12
AG: 7
AF: 6
AH: 6
Up DD AB AB AB AB AB AB AC AB AC AB AC AB AB AB AC AB AB DD AB AB AB AB AB AB AC AB AC AB AC AB AB AB AC AB AF EC AG EC AH
{38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x544,B=0x2a2}
weight = 26 Pwm2Decoder
Down DD AB AB AB AB AB AB AC AB AB AC AB AC AC AB AB AB AB DD AB AB AB AB AB AB AC AB AB AC AB AC AC AB AB AB AF EC AG EC AG EC AH
{38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x4b0,B=0x258}
weight = 30 Pwm2Decoder
OK DD AB AB AB AB AB AB AC AB AC AB AC AB AC AB AB AB AB DD AB AB AB AB AB AB AC AB AC AB AC AB AC AB AB AB AF EC AG EC AH
{38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x550,B=0x2a8}
weight = 26 Pwm2Decoder
Left DD AB AB AB AB AB AB AC AB AC AB AB AC AB AB AB AC AB DD AB AB AB AB AB AB AC AB AC AB AB AC AB AB AB AC AF EC AG EC AH
{38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x522,B=0x291}
weight = 26 Pwm2Decoder
Right DD AB AB AB AB AB AB AC AB AB AB AC AB AB AB AC AC AB DD AB AB AB AB AB AB AC AB AB AB AC AB AB AB AC AC AF EC AG EC AH
{38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x446,B=0x223}
weight = 26 Pwm2Decoder
Power DD AB AB AB AB AB AB AC AB AB AC AB AC AB AB AC AB AB DD AB AB AB AB AB AB AC AB AB AC AB AC AB AB AC AB AF EC AG EC AH
{38.5k,520,msb}<1,-3|1,-5>(9,-9,A:17,9,-9,B:16,1,-13.764000000000001m,9074u,-5,1,-52m,9074u,-5,1,-130m){A=0x4a4,B=0x252}
weight = 26 Pwm2Decoder
Bit usage analysis:
A 00000010*****0**0 8,5,1,2,1
B 00000010*****0** 8,5,1,2
Duplicates analysis:
A 00000010**(a:1)(~a:1)*0**0
B 00000010**(b:1)(~b:1)*0**
Parameter table:
Up 0x00544 0x02a2
Down 0x004b0 0x0258
OK 0x00550 0x02a8
Left 0x00522 0x0291
Right 0x00446 0x0223
Power 0x004a4 0x0252
Feel free to ask me for any details.