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.
"TEMP_24_OSC_ON_FAN_LOW":[3477,1720,446,1289,445,422,434,437,434,421,452,1293,443,424,439,429,448,418,472,392,456,1295,438,425,489,1249,445,1293,447,420,443,1296,447,1295,445,1295,439,1293,441,1302,441,419,440,430,444,1295,447,421,443,417,446,421,451,417,452,417,452,416,446,1303,435,1300,431,1318,415,1301,436,426,447,417,451,424,496,373,440,422,445,420,442,424,444,428,448,415,447,416,512,358,451,428,435,417,444,421,452,420,445,420,468,403,434,439,435,417,449,426,497,377,497,358,507,366,443,423,445,425,438,1354,384,427,443,431,440,419,441,457,420,419,458,406,452,29985,3484,1724,435,1294,438,421,509,362,452,412,464,1293,435,416,442,426,453,454,401,428,448,1294,460,402,502,1314,370,1292,442,417,440,1299,442,1300,429,1355,391,1296,466,1267,440,423,449,422,438,1305,444,416,450,420,449,421,438,420,451,417,444,445,425,415,500,339,531,376,442,421,451,420,452,409,452,416,442,425,453,415,451,418,453,413,510,380,429,1296,438,417,497,374,444,475,397,1294,436,1300,439,416,497,407,472,361,439,426,452,423,497,362,515,1238,485,1247,442,435,429,421,443,418,477,392,519,352,482,380,445,424,495,375,443,427,497,361,467,1274,443,1297,443,1293,438,1305,434,1302,450,1283,436,426,445,414,441,429,446,426,498,361,452,420,450,418,447,426,447,417,445,418,453,416,440,422,502,369,444,421,446,425,440,492,381,420,444,426,442,428,500,361,502,365,438,436,444,428,428,426,457,411,452,417,560,309,493,381,438,431,445,416,442,431,463,399,498,366,506,366,444,420,460,408,442,425,450,414,445,488,430,377,445,418,502,367,451,419,441,425,504,364,446,424,437,449,425,422,501,370,456,414,497,364,437,1308,431,428,449,414,451,419,453,416,442,1297,441,1295,441,468,399,423,444,419,453,419,483,418,413,431,430,427,445,425,450,413,458,412,450,418,457,415,506,351,456,415,496,410,407,421,447,422,443,429,445,1290,440,417,450,1296,437,1296,442,1300,472,388,451]