I have a Mitsubishi SRK 258 CENF-R air conditioner with its RKS502A502A remote control.
I can not set a timer to switch it on and/or off at a specific time but I can just switch the air conditioner on and then to switch it off after n hours or I can set the switching on into n hours but I can only to switch it off later manually, always with the remote control.
So I looked for a solution to this problem.
I can not set a timer to switch it on and/or off at a specific time but I can just switch the air conditioner on and then to switch it off after n hours or I can set the switching on into n hours but I can only to switch it off later manually, always with the remote control.
So I looked for a solution to this problem.
I bought the USB IR Toy v2 by Dangerous Prototypes, a nice device that is able to receive and to send IR signals using a USB port.
I searched on the internet the way to use it at his best but, as usual, I found standard procedures that work for everyone but not for me.
For example I tried to follow the instructions described here to use IRToy with Lirc but the command:
irrecord -n -H irman -d /dev/ttyACM0 RemoteXXX.conf
did not work. Maybe it's my fault and I did something wrong, but at last it did not work for me.
irrecord -n -H irman -d /dev/ttyACM0 RemoteXXX.conf
did not work. Maybe it's my fault and I did something wrong, but at last it did not work for me.
One of the possible causes is that, like usually the air conditioners' remote controls of do, the RKS502A502A remote control does not send a train of pulses and spaces while the button is pushed, but when a button is pushed, it sends a limited-duration (more or less 180 ms) sequence of pulses and spaces.
In this sequence is every time reported the whole configuration of the air conditioner: working mode, fan speed, temperature, etc. etc.
So irrecord does not receive the signal for a time long enough to learn it.
In this sequence is every time reported the whole configuration of the air conditioner: working mode, fan speed, temperature, etc. etc.
So irrecord does not receive the signal for a time long enough to learn it.
Thanks to the IRToy software that you can download here, and particularly to its Perl scripts, I could read the signal transmitted by my remote control and I was also able to graphically show it using one of those scripts.