Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with decoding and supporting Havells LLOYD GLS12I3FWAEV AC Units #158

Open
amithkk opened this issue Sep 28, 2023 · 0 comments
Open

Comments

@amithkk
Copy link

amithkk commented Sep 28, 2023

Hi, this library has served me very well with other HVAC units, however, I seem to have stumbled upon a unit that does not yet have support. Here are some details of the unit and it's remote:

Amazon Listing - https://www.amazon.in/gp/product/B0BRKX6FD5/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

As described in the readme, I've set up Raw-IR-decoder-for-Arduino on an Arduino Uno with the TSOP38238 acting as an IR Reciever.

However, I have tried the options 1-6, and none of them give me decoded output containing a pair of "Hh" (Options 1,3,4,5 gives me individual "h's scattered throughout the dump with no hexadecimal output)

Options 2 (Panasonic CKP, Midea etc. codes) and 6 (ZH/JG-01 codes) gives me hexadecimal output, but with no "h", "H" or "Hh" pairs. Here is some annotated output from using Option 6:

// ON, 24, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 001101100000111111101000100001110011000000000000000000000000000000000000000010001000000000000000000000000000000010010011
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  1000|0111 | E1 | 11100001 
 04:  0011|0000 | 0C | 00001100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  1001|0011 | C9 | 11001001 
 6C,F0,17,E1,0C,00,00,00,00,10,01,00,00,00,C9
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     988
 ZERO SPACE:   560
 ONE SPACE:    2546
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15


// OFF, 24, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 001101100000111111101000000001110011000000000000000000000000000000000000000010001000000000000000000000000000000000010011
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  0000|0111 | E0 | 11100000 
 04:  0011|0000 | 0C | 00001100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  0001|0011 | C8 | 11001000 
 6C,F0,17,E0,0C,00,00,00,00,10,01,00,00,00,C8
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     984
 ZERO SPACE:   559
 ONE SPACE:    2546
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15

// ON, 25, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 001101100000111111101000100001110011001000000000000000000000000000000000000010001000000000000000000000000000000010010001
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  1000|0111 | E1 | 11100001 
 04:  0011|0010 | 4C | 01001100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  1001|0001 | 89 | 10001001 
 6C,F0,17,E1,4C,00,00,00,00,10,01,00,00,00,89
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     994
 ZERO SPACE:   552
 ONE SPACE:    2540
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15


// OFF, 25, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 001101100000111111101000000001110011001000000000000000000000000000000000000010001000000000000000000000000000000000010001
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  0000|0111 | E0 | 11100000 
 04:  0011|0010 | 4C | 01001100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  0001|0001 | 88 | 10001000 
 6C,F0,17,E0,4C,00,00,00,00,10,01,00,00,00,88
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     987
 ZERO SPACE:   556
 ONE SPACE:    2539
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15


// ON, 23, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 001101100000111111101000100001110010111000000000000000000000000000000000000010001000000000000000000000000000000010010101
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  1000|0111 | E1 | 11100001 
 04:  0010|1110 | 74 | 01110100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  1001|0101 | A9 | 10101001 
 6C,F0,17,E1,74,00,00,00,00,10,01,00,00,00,A9
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     970
 ZERO SPACE:   566
 ONE SPACE:    2553
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15


// ON, 22, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 001101100000111111101000100001110010110000000000000000000000000000000000000010001000000000000000000000000000000010010111
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  1000|0111 | E1 | 11100001 
 04:  0010|1100 | 34 | 00110100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  1001|0111 | E9 | 11101001 
 6C,F0,17,E1,34,00,00,00,00,10,01,00,00,00,E9
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     978
 ZERO SPACE:   556
 ONE SPACE:    2549
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15


// ON, 21, COOL, FAN AUTO, VSWING ON, LIGHTS ON
 Bytes:
 00:  0011|0110 | 6C | 01101100 
 01:  0000|1111 | F0 | 11110000 
 02:  1110|1000 | 17 | 00010111 
 03:  1000|0111 | E1 | 11100001 
 04:  0010|1010 | 54 | 01010100 
 05:  0000|0000 | 00 | 00000000 
 06:  0000|0000 | 00 | 00000000 
 07:  0000|0000 | 00 | 00000000 
 08:  0000|0000 | 00 | 00000000 
 09:  0000|1000 | 10 | 00010000 
 10:  1000|0000 | 01 | 00000001 
 11:  0000|0000 | 00 | 00000000 
 12:  0000|0000 | 00 | 00000000 
 13:  0000|0000 | 00 | 00000000 
 14:  1001|1001 | 99 | 10011001 
 6C,F0,17,E1,54,00,00,00,00,10,01,00,00,00,99
 Timings (in us): 
 PAUSE SPACE:  0
 HEADER MARK:  0
 HEADER SPACE: 0
 BIT MARK:     961
 ZERO SPACE:   577
 ONE SPACE:    2558
 Decoding known protocols...
 Unknown protocol
 Bytecount: 15

On a cursory glance, it looks like the last byte is some sort of checksum, the 4th byte seems to control ON/OFF and the 5th byte seems to have influence on temperature (however I don't see any pattern related to the numbers that match up)

I'd like to add support for this model, however I am unsure how to proceed with the reverse engineering. I'm happy to provide any other captures. Once decoded, I can also attempt to create a PR with support for this system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant