Rtl_433: hcs200 not decoding the KeyLoq key

Created on 7 Oct 2020  路  3Comments  路  Source: merbanan/rtl_433

I've tried to check hcs200 decoder with my KeyLoq key. It is not handling it by default either when forced to.

Running:
rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=370,l=772,r=14000,g=4000,t=152,y=0,preamble={12}0xfff'according to https://github.com/merbanan/rtl_433/blob/master/src/devices/hcs200.c results in more or less correct capture:

name: bitbuffer:: Number of rows: 2 
[00] { 0}                            : 
[01] {66} b5 52 57 3e 5f 6d 98 08 00 
bug

Most helpful comment

Use rtl_433 -S unknown.

All 3 comments

Looks like we should loop over the rows. Can you attach a sample recording, that should help with the implementation?

Looks like it is not about iterating the rows, but increasing the gap helps. Button 1 and 2 are detected correctly together with all buttons combination, but buttons 3 and 4 not.

How can I make proper recording for future testing? (guide on project wiki seems not be up to date)

Buttons are not working in my case, cause in the current version they are used not in single bits mode:

"button3",      "", DATA_STRING,    ((b[8] & 0x09) == 0x09) ? "ON" : "OFF",
"button4",      "", DATA_STRING,    ((b[8] & 0x06) == 0x06) ? "ON" : "OFF",

after changing them to

"button3",      "", DATA_STRING,    ((b[8] & 0x01) == 0x01) ? "ON" : "OFF",
"button4",      "", DATA_STRING,    ((b[8] & 0x08) == 0x08) ? "ON" : "OFF",

Use rtl_433 -S unknown.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ewarren7 picture Ewarren7  路  11Comments

zerog2k picture zerog2k  路  3Comments

gcormier picture gcormier  路  15Comments

gcormier picture gcormier  路  7Comments

dagbdagb picture dagbdagb  路  14Comments