i have an old Daikin AC (remote ARC470A16) which i managed to use with Openhab and IR control.
- The daikin AC remotes are NOT two way. They are simple IR remotes. But they send a complex signal (extra length as compared to, say, an LG remote).
- When we use the IR remote, we are changing only one parameter at a time (like up or down the temperature, change the mode one at a time, change the swing position or mode one at a time etc.)
- Every command sent is a combination of the full state of the AC - like on, off, temperature, swing position, AC mode (cool, dry etc).
- Hence, the only way to control these ACs is to ‘replay’ the signal for the desired state of the AC.
- So what i have done is captured IR codes that replay the entire state. I have 4 combination of IR codes at the moment (on, off, temp 24+slow fan+swing on, temp 21+high fan+swing in lowest position); These correspond to On, Off, Normal and High modes in Openhab (just custom states)
- To record the IR codes from a Daikin AC, i used an IR receiver, hooked to my Raspberry PI 2.
- To play the IR codes, i have an IR Led also hooked up to my Raspberry PI 2 (yes!).
- I dont use LIRC for this. I use a lesser known library called PGPIO.
- They have a daemon that runs on linux. It just takes as input a combination of the codes. Example, the below can be put into a plain text file and used with the
irrp.py script. Instructions here [search for ‘IR Record and Playback’]. This code below sends signal to set the AC to 24 degrees celsius, swing oscillation on and fan at low.
- If you notice the number ‘29985’, it seems to indicate a break in the IR transmission, meaning the whole code is comprised of atleast 2 parts, maybe 3 but not sure.
- the same sricpt linked above can be used to record the code and dump into a file that can be used to replay it too as below. The script can be called from openhab using the exec binding.
- I dont know if this method will work for the IR setup you have, but it may help.