Hi,
I’ve reversed the IR codes a while back for the air-conditioner units in my house, and I’m sending the raw codes without issue. It works on the toshiba_ac codes (except for one button) and looks like it works similar to other remotes in that component. But, I don’t feel confident getting in and messing with the code and potentially breaking something or not adding things in correctly.
I wrote a python script a while back to help decode the IR codes.
As I have 3 air-cons with 3 model numbers, I decided to go with the remote control model for naming mine, RG03A. The air conditioners are branded Kelvinator.
I’ve been sending the IR codes with the toshiba_ac component for about 18 months now. Here are some codes from my python script:
codes = [
["25 cool auto", 0xB24DBF40C03F],
["25 cool fan1", 0xB24D9F60C03F],
["25 cool fan2", 0xB24D5FA0C03F],
["25 cool fan3", 0xB24D3FC0C03F],
["26 cool auto", 0xB24DBF40D02F],
["27 cool auto", 0xB24DBF40906F],
["24 cool auto", 0xB24DBF4040BF],
["23 cool auto", 0xB24DBF4050AF],
["18 cool auto", 0xB24DBF4010EF],
["25 dry auto", 0xB24D1FE0C43B],
["25 heat auto", 0xB24DBF40CC33],
["25 fan auto", 0xB24DBF40E41B],
["25 auto auto", 0xB24D1FE0C837],
["25 cool auto off", 0xB24D7B84E01F],
["25 cool auto on", 0xB24DBF40C03F]]
The bytes go like this (I actually broke them down further, but this is simplified to whole bytes):
1: 0xb2
2: 0x4d
3:
0xbf auto
0x3f fan3
0x5f fan2
0x9f fan1
0x1f dry
0x7b off
4: checksum: 1 ^ 2 ^ 3
5:
rbc temp << 4
||
0x00 cool/off
0x04 dry/fan
0x08 auto
0x0c heat
6: checksum: 5 ^ 0xff
Notes:
- The “rbc temp” for temperature is a grey code / reflected binary code with 0x00 = 17C, etc… like what is defined for the RAS-2819T.
- The checksums are xor of previous bytes.
- Byte 5 is 4 bits temperature, 2 bits mode, 2 bits off, I tried putting an “||” in there to show a logical or.
So, in short: I’m happy to get in and modify the code and add the remote, but I’d probably need some hand-holding. Alternatively, someone who knows the code better can probably get in and do it and I can give it a test, especially since this remote does share common functionality with the other toshiba_ac remotes. I have esphome in a python venv as per the manual install instructions on the website (Linux).