Thanks for posting all that info...
I put all the code in Excel and tried all diffrent buttons and compared what was changing and so on. Below is the result. I have not tried to decipher the timesetings for the timer part.
Hve I done it right? If I am right, could I now pic a Hex codestring, calculate the checksum ending and then send it with a rpi and ir transmitter to the AC? The AC is 3h cardrive away so I cant try it out just now...
Based on a quick review, it looks good. Have you also figured out the checksum mechanism?
My approach would be as follows, assuming you are using LIRC:
- Test things out by just sending RAW signals using LIRC on the RPi.
- To do this you just need to export the signals in LIRC RAW format (
Menu->File->Batch Export->LIRC RAW ).
- Obviously, you will also need to have LIRC set up to transmit.
- You then have a choice to to just use a selection of signals that you want to use regularly or build some sort of script on the RPi to dynamically build the LIRC file for signals as you want to send them. This second approach would make use of the reverse engineering that you posted already.
- You could also clean up the signals using the 'auto-clean' feature in AnalysIR. Currently you would have to export and re-import each individual signal. However, we implemented a better solution last week which automatically cleans every signal in the history & this will be included in the next release within a week or two. It would be easy enough to write a script to clean up the timings on the RPi - correct timings can be found in the rules tab and via Menu-File->Properties.
FYI: I just found an old document (see attached) from another AnalysIR user for the same protocol. As we don't have any AC units to test with, I would appreciate if you could cross reference this document with your own and post back any adjustments needed. (NB: There is always the possibility that bit order could be flipped/inverted)
You do not have the required permissions to view the files attached to this post.