Mitsubishi Heavy industries RKS502A503 AC Remote
Posted: Sat Jul 01, 2017 5:49 pm
Hi everybody.
I'm very new at this and I purchased the LearnIR module and AnalysIR software in order to reverse engineer my old AC at home (I have this idea of adding some smartness to my AC and control it over WiFi). I've made enough progress to post the results in here, but I also need help to finish the job - I'll explain later.
So here's what I figured out so far (all the files are available in: https://github.com/SierraLimaOscar/RKS5 ... e-IR-codes.
So using AnalysIR with the LearnIR module plugged into my PC I've captured the IR signals relating to the temp changes on my AC and a couple of other functions. AnalysIR wouldn't recognize the protocol and is labelling it as "RAW", although it looks to me like a NEC protocol with slightly different timings. So I copied the RAW data into Excel made a formula to "manually" decode the timings into bits and Bytes ("Manual Decode V1.xslx").
There are two different length IR signals: 6 Bytes for most functions and 12 Bytes for the Timer stuff ("ON_20.png" & "Timer1_full.png"). The checksums appear to be that the total of each pair of Bytes (0&1, 2&3, 4&5...) must be 255 (0xFF). The temperature setting starts at 18 degC with a value of 25 (0x19) in Byte3 if the AC is ON or with the value of 17 (0x11) in Byte3 if the AC is OFF. The value of Byte3 then increases by 16 (0x10) for every degC to a max value of 217 (0xD9) for 30 DegC when the AC is ON. Byte2 = 255 - (Value of Byte3).
Similar pattern also appear for the other function although on different Byte pairs. The longer codes for the timer functions appear to also follow that logic, but I've only looked at a couple of them because manually decoding is quite tedious.
And this is where I need help:
1.- Can someone check my above logic and confirm I'm on the right track
and
2.- How can I create a Custom protocol in AnalysIR.ini so that the software will decode the signals and save me from doing it manually - I'll then be able to proceed with my analysis of the codes much faster.
I'm very new at this and I purchased the LearnIR module and AnalysIR software in order to reverse engineer my old AC at home (I have this idea of adding some smartness to my AC and control it over WiFi). I've made enough progress to post the results in here, but I also need help to finish the job - I'll explain later.
So here's what I figured out so far (all the files are available in: https://github.com/SierraLimaOscar/RKS5 ... e-IR-codes.
So using AnalysIR with the LearnIR module plugged into my PC I've captured the IR signals relating to the temp changes on my AC and a couple of other functions. AnalysIR wouldn't recognize the protocol and is labelling it as "RAW", although it looks to me like a NEC protocol with slightly different timings. So I copied the RAW data into Excel made a formula to "manually" decode the timings into bits and Bytes ("Manual Decode V1.xslx").
There are two different length IR signals: 6 Bytes for most functions and 12 Bytes for the Timer stuff ("ON_20.png" & "Timer1_full.png"). The checksums appear to be that the total of each pair of Bytes (0&1, 2&3, 4&5...) must be 255 (0xFF). The temperature setting starts at 18 degC with a value of 25 (0x19) in Byte3 if the AC is ON or with the value of 17 (0x11) in Byte3 if the AC is OFF. The value of Byte3 then increases by 16 (0x10) for every degC to a max value of 217 (0xD9) for 30 DegC when the AC is ON. Byte2 = 255 - (Value of Byte3).
Similar pattern also appear for the other function although on different Byte pairs. The longer codes for the timer functions appear to also follow that logic, but I've only looked at a couple of them because manually decoding is quite tedious.
And this is where I need help:
1.- Can someone check my above logic and confirm I'm on the right track
and
2.- How can I create a Custom protocol in AnalysIR.ini so that the software will decode the signals and save me from doing it manually - I'll then be able to proceed with my analysis of the codes much faster.