Hi Friend,
I’ve been looking for a solution for two weeks now.
I have a Daikin A / C that I wanted to control using OMG.
The IR codes (raw) I receive using Ardiuno sketch IRrecvDump v2 work, infact it tell me its a DAIKIN and see me complete RAW.
IRrecvDumpV2 is now running and waiting for IR input on Pin 2
Timestamp : 000244.559
Encoding : DAIKIN
Code : 11DA27004202045A11DA27000039260040000006600000C1800058 (216 bits)
Mesg Desc.: Power: On, Mode: 3 (COOL), Temp: 19C, Fan: 2, Powerful: Off, Quiet: Off, Sensor: Off, Eye: On, Mold: Off, Swing (Horizontal): Off, Swing (Vertical): Off, Current Time: 17:06, On Time: Off, Off Time: Off
Library : v2.5.6
Raw Timing[583]:
+ 462, - 402, + 434, - 450, + 436, - 404, + 432, - 428,
+ 434, - 452, + 410, - 25394, + 3454, - 1720, + 464, - 1262,
+ 436, - 428, + 434, - 428, + 430, - 430, + 436, - 1288,
+ 434, - 430, + 432, - 428, + 432, - 454, + 410, - 452,
+ 410, - 1288, + 438, - 426, + 436, - 1288, + 434, - 1288,
+ 436, - 430, + 432, - 1240, + 488, - 1286, + 436, - 1288,
+ 438, - 1286, + 438, - 1286, + 436, - 428, + 434, - 428,
+ 434, - 1290, + 434, - 452, + 412, - 428, + 434, - 452,
+ 410, - 428, + 432, - 428, + 434, - 426, + 436, - 428,
+ 434, - 452, + 410, - 426, + 436, - 450, + 410, - 1286,
+ 436, - 430, + 434, - 1290, + 436, - 428, + 436, - 428,
+ 432, - 452, + 436, - 1262, + 436, - 1314, + 436, - 426,
+ 412, - 426, + 436, - 428, + 434, - 426, + 436, - 426,
+ 434, - 452, + 412, - 450, + 412, - 450, + 412, - 448,
+ 412, - 426, + 436, - 426, + 436, - 450, + 412, - 450,
+ 412, - 426, + 434, - 450, + 412, - 428, + 434, - 1288,
+ 436, - 1286, + 438, - 1288, + 436, - 424, + 432, - 1290,
+ 436, - 452, + 410, - 1290, + 438, - 1288, + 438, - 34830,
+ 3456, - 1718, + 436, - 1288, + 438, - 450, + 410, - 424,
+ 436, - 428, + 430, - 1292, + 438, - 426, + 436, - 430,
+ 432, - 452, + 410, - 428, + 434, - 1288, + 436, - 450,
+ 412, - 1286, + 438, - 1288, + 434, - 430, + 432, - 1288,
+ 436, - 1286, + 438, - 1286, + 438, - 1288, + 436, - 1288,
+ 436, - 452, + 412, - 450, + 410, - 1290, + 436, - 452,
+ 408, - 428, + 434, - 452, + 410, - 452, + 410, - 428,
+ 434, - 428, + 432, - 452, + 412, - 426, + 436, - 450,
+ 412, - 450, + 436, - 426, + 410, - 1288, + 436, - 428,
+ 432, - 452, + 410, - 452, + 410, - 428, + 432, - 1290,
+ 436, - 428, + 434, - 450, + 438, - 1262, + 438, - 426,
+ 434, - 454, + 410, - 426, + 434, - 452, + 410, - 452,
+ 410, - 452, + 410, - 452, + 434, - 426, + 410, - 1288,
+ 436, - 452, + 410, - 428, + 434, - 428, + 434, - 430,
+ 432, - 430, + 434, - 450, + 410, - 1288, + 436, - 450,
+ 412, - 1290, + 434, - 1290, + 436, - 428, + 432, - 1290,
+ 438, - 426, + 434, - 34830, + 3456, - 1718, + 462, - 1260,
+ 438, - 426, + 462, - 424, + 412, - 428, + 432, - 1294,
+ 434, - 452, + 408, - 430, + 434, - 426, + 436, - 426,
+ 436, - 1286, + 436, - 430, + 432, - 1288, + 464, - 1262,
+ 438, - 428, + 434, - 1288, + 436, - 1288, + 438, - 1286,
+ 438, - 1286, + 436, - 1288, + 436, - 430, + 434, - 450,
+ 412, - 1286, + 436, - 430, + 430, - 430, + 434, - 452,
+ 410, - 428, + 432, - 430, + 432, - 430, + 432, - 432,
+ 432, - 430, + 432, - 450, + 412, - 450, + 412, - 428,
+ 434, - 450, + 412, - 450, + 412, - 426, + 432, - 430,
+ 434, - 426, + 438, - 426, + 434, - 450, + 412, - 1286,
+ 438, - 426, + 458, - 428, + 410, - 1288, + 436, - 1288,
+ 436, - 1290, + 434, - 454, + 408, - 430, + 432, - 452,
+ 410, - 1288, + 438, - 1288, + 434, - 430, + 434, - 452,
+ 410, - 1276, + 450, - 452, + 412, - 428, + 434, - 450,
+ 412, - 416, + 434, - 440, + 434, - 450, + 412, - 428,
+ 432, - 454, + 410, - 450, + 410, - 452, + 410, - 428,
+ 436, - 428, + 432, - 428, + 434, - 452, + 412, - 426,
+ 434, - 430, + 432, - 1288, + 438, - 428, + 434, - 428,
+ 432, - 430, + 434, - 428, + 430, - 430, + 434, - 450,
+ 410, - 452, + 414, - 428, + 434, - 452, + 412, - 428,
+ 436, - 426, + 434, - 450, + 410, - 428, + 432, - 430,
+ 434, - 450, + 412, - 450, + 412, - 426, + 434, - 428,
+ 432, - 1290, + 438, - 1286, + 438, - 450, + 410, - 430,
+ 434, - 450, + 412, - 450, + 434, - 404, + 432, - 454,
+ 408, - 428, + 434, - 428, + 434, - 426, + 434, - 452,
+ 436, - 1264, + 434, - 1290, + 438, - 450, + 410, - 428,
+ 434, - 424, + 436, - 428, + 432, - 428, + 434, - 452,
+ 410, - 430, + 436, - 450, + 412, - 428, + 432, - 452,
+ 410, - 452, + 412, - 428, + 434, - 428, + 434, - 428,
+ 434, - 432, + 430, - 452, + 410, - 452, + 410, - 1290,
+ 434, - 452, + 410, - 452, + 408, - 428, + 434, - 452,
+ 410, - 428, + 432, - 1290, + 438, - 1288, + 436, - 428,
+ 434, - 428, + 434, - 452, + 410, - 430, + 434, - 426,
+ 436, - 452, + 410, - 426, + 434, - 1290, + 436, - 428,
+ 434, - 452, + 410, - 430, + 434, - 428, + 432, - 428,
+ 434, - 428, + 434, - 452, + 410, - 428, + 434, - 452,
+ 410, - 428, + 436, - 450, + 410, - 1288, + 436, - 1288,
+ 436, - 452, + 410, - 1290, + 434, - 452, + 412
uint16_t rawData[583] = {462, 402, 434, 450, 436, 404, 432, 428, 434, 452, 410, 25394, 3454, 1720, 464, 1262, 436, 428, 434, 428, 430, 430, 436, 1288, 434, 430, 432, 428, 432, 454, 410, 452, 410, 1288, 438, 426, 436, 1288, 434, 1288, 436, 430, 432, 1240, 488, 1286, 436, 1288, 438, 1286, 438, 1286, 436, 428, 434, 428, 434, 1290, 434, 452, 412, 428, 434, 452, 410, 428, 432, 428, 434, 426, 436, 428, 434, 452, 410, 426, 436, 450, 410, 1286, 436, 430, 434, 1290, 436, 428, 436, 428, 432, 452, 436, 1262, 436, 1314, 436, 426, 412, 426, 436, 428, 434, 426, 436, 426, 434, 452, 412, 450, 412, 450, 412, 448, 412, 426, 436, 426, 436, 450, 412, 450, 412, 426, 434, 450, 412, 428, 434, 1288, 436, 1286, 438, 1288, 436, 424, 432, 1290, 436, 452, 410, 1290, 438, 1288, 438, 34830, 3456, 1718, 436, 1288, 438, 450, 410, 424, 436, 428, 430, 1292, 438, 426, 436, 430, 432, 452, 410, 428, 434, 1288, 436, 450, 412, 1286, 438, 1288, 434, 430, 432, 1288, 436, 1286, 438, 1286, 438, 1288, 436, 1288, 436, 452, 412, 450, 410, 1290, 436, 452, 408, 428, 434, 452, 410, 452, 410, 428, 434, 428, 432, 452, 412, 426, 436, 450, 412, 450, 436, 426, 410, 1288, 436, 428, 432, 452, 410, 452, 410, 428, 432, 1290, 436, 428, 434, 450, 438, 1262, 438, 426, 434, 454, 410, 426, 434, 452, 410, 452, 410, 452, 410, 452, 434, 426, 410, 1288, 436, 452, 410, 428, 434, 428, 434, 430, 432, 430, 434, 450, 410, 1288, 436, 450, 412, 1290, 434, 1290, 436, 428, 432, 1290, 438, 426, 434, 34830, 3456, 1718, 462, 1260, 438, 426, 462, 424, 412, 428, 432, 1294, 434, 452, 408, 430, 434, 426, 436, 426, 436, 1286, 436, 430, 432, 1288, 464, 1262, 438, 428, 434, 1288, 436, 1288, 438, 1286, 438, 1286, 436, 1288, 436, 430, 434, 450, 412, 1286, 436, 430, 430, 430, 434, 452, 410, 428, 432, 430, 432, 430, 432, 432, 432, 430, 432, 450, 412, 450, 412, 428, 434, 450, 412, 450, 412, 426, 432, 430, 434, 426, 438, 426, 434, 450, 412, 1286, 438, 426, 458, 428, 410, 1288, 436, 1288, 436, 1290, 434, 454, 408, 430, 432, 452, 410, 1288, 438, 1288, 434, 430, 434, 452, 410, 1276, 450, 452, 412, 428, 434, 450, 412, 416, 434, 440, 434, 450, 412, 428, 432, 454, 410, 450, 410, 452, 410, 428, 436, 428, 432, 428, 434, 452, 412, 426, 434, 430, 432, 1288, 438, 428, 434, 428, 432, 430, 434, 428, 430, 430, 434, 450, 410, 452, 414, 428, 434, 452, 412, 428, 436, 426, 434, 450, 410, 428, 432, 430, 434, 450, 412, 450, 412, 426, 434, 428, 432, 1290, 438, 1286, 438, 450, 410, 430, 434, 450, 412, 450, 434, 404, 432, 454, 408, 428, 434, 428, 434, 426, 434, 452, 436, 1264, 434, 1290, 438, 450, 410, 428, 434, 424, 436, 428, 432, 428, 434, 452, 410, 430, 436, 450, 412, 428, 432, 452, 410, 452, 412, 428, 434, 428, 434, 428, 434, 432, 430, 452, 410, 452, 410, 1290, 434, 452, 410, 452, 408, 428, 434, 452, 410, 428, 432, 1290, 438, 1288, 436, 428, 434, 428, 434, 452, 410, 430, 434, 426, 436, 452, 410, 426, 434, 1290, 436, 428, 434, 452, 410, 430, 434, 428, 432, 428, 434, 428, 434, 452, 410, 428, 434, 452, 410, 428, 436, 450, 410, 1288, 436, 1288, 436, 452, 410, 1290, 434, 452, 412}; // DAIKIN
uint8_t state[27] = {0x11, 0xDA, 0x27, 0x00, 0x42, 0x02, 0x04, 0x5A, 0x11, 0xDA, 0x27, 0x00, 0x00, 0x39, 0x26, 0x00, 0x40, 0x00, 0x00, 0x06, 0x60, 0x00, 0x00, 0xC1, 0x80, 0x00, 0x58};
When i try to capture with OMG not works.
Creating IR buffer
Rcv. IR
436,428,436,450,410,428,434,452,408,454,412
isAduplicate?
Adv data IRtoMQTT
Pub json into:
home/OpenMQTTGateway/IRtoMQTT/3017984774
{"value":3017984774,"protocol":-,"bits":6,"raw":"436,428,436,450,410,428,434,452,408,454,412"}
Pub data per topic
value
3017984774
protocol
4294967295
bits
6
raw
436,428,436,450,410,428,434,452,408,454,412
Store to avoid duplicate
Min ind:
0
store code :
3017984774/716846
Col: val/timestamp
0:3017984774/716846
1:962435546/291069
2:220168003/291199
3:655236415/291467
4:3017984774/308993
5:962435546/309152
6:1259362065/309280
7:1620996215/309551
8:3017984774/314299
9:962435546/314457
10:220168003/314588
11:655236415/314857
Creating IR buffer
Rcv. IR
3458,1718,434,1290,462,422,410,426,466,402,434,1286,462,398,436,430,408,456,440,4 22,434,1290,434,428,436,1288,432,1292,436,426,434,1288,436,1290,436,1288,436,1290,436,1286,438,426,434,454,410,1292,434,428,436,428,432,454,408,454,412,450,408,454,410,452,408,452,410,428,440,446,410,1286,438,452,410,1288,436,452,408,452,412,426,436,1286,438,1290,434,428,434,452,410,426,434,452,410,426,436,426,434,452,410,452,410,452,412,426,434,428,432,430,432,454,410,430,434,450,412,450,410,1288,436,1288,436,1288,438,428,434,1290,434,430,432,1290,434,1294,432
isAduplicate?
Adv data IRtoMQTT
Pub json into:
home/OpenMQTTGateway/IRtoMQTT/962435546
{"value":962435546,"protocol":-1,"bits":66,"raw":}
Pub data per topic
value
962435546
protocol
4294967295
bits
66
Store to avoid duplicate
Min ind:
1
store code :
962435546/717005
Col: val/timestamp
0:3017984774/716846
1:962435546/717005
2:220168003/291199
3:655236415/291467
4:3017984774/308993
5:962435546/309152
6:1259362065/309280
7:1620996215/309551
8:3017984774/314299
9:962435546/314457
10:220168003/314588
11:655236415/314857
Creating IR buffer
Rcv. IR
412,426,434,428,458,404,434,1288,436,452,412,450,412,450,410,428,434,1290,434,454, 408,452,410,1288,436,430,434,1288,432,1288,438,1288,436,1292,432,1290,436,1290,434,1292,434,452,410,428,432,430,432,428,434,452,410,452,410,1288,436,452,410,428,434,452,408,1290,434,430,434,1290,434,432,430
isAduplicate?
Adv data IRtoMQTT
Pub json into:
home/OpenMQTTGateway/IRtoMQTT/3969735902
{"value":3969735902,"protocol":- 1,"bits":35,"raw":"412,426,434,428,458,404,434,1288,436,452,412,450,412,450,410,428,434,1290,434,454,408,452,410,1288,436,430,434,1288,432,1288,438,1288,436,1292,432,1290,436,1290,434,1292,434,452,410,428,432,430,432,428,434,452,410,452,410,1288,436,452,410,428,434,452,408,1290,434,430,434,1290,434,432,430"}
Pub data per topic
value
3969735902
protocol
4294967295
bits
35
raw
412,426,434,428,458,404,434,1288,436,452,412,450,412,450,410,428,434,1290,434,454,408,452,410,1288,436,430,434,1288,432,1288,438,1288,436,1292,432,1290,436,1290,434,1292,434,452,410,428,432,430,432,428,434,452,410,452,410,1288,436,452,410,428,434,452,408,1290,434,430,434,1290,434,432,430
Store to avoid duplicate
Min ind:
2
store code :
3969735902/717135
Col: val/timestamp
0:3017984774/716846
1:962435546/717005
2:3969735902/717135
3:655236415/291467
4:3017984774/308993
5:962435546/309152
6:1259362065/309280
7:1620996215/309551
8:3017984774/314299
9:962435546/314457
10:220168003/314588
11:655236415/314857
Creating IR buffer
Rcv. IR
1692,438,1286,436,428,430,456,412,450,410,1284,438,428,436,428,434,430,460,426,410,1290,434,452,410,1288,436,1288,436,428,434,1288,436,1288,438,1286,438,1290,432,1290,436,452,410,428,432,1290,434,452,412,450,410,430,432,454,410,430,432,452,412,428,432,428,432,452,412,428,436,426,432,452,412,452,408,430,434,452,436,402,432,430,434,426,436,452,408,428,436,452,410,1290,432,1294,434,1288,434,452,410,428,434,452,410,1284,438,1290,436,454,412,450,410,1292,432,454,410,428,432,430,434,452,410,424,434,428,434,428,434,454,408,430,434,452,410,452,410,428,434,450,412,452,410,428,432,452,410,1288,434,430,434,454,410,428,432,432,432,428,436,424,436,426,436,452,408,452,410,452,410,430,430,454,410,452,410,452,410,452,410,452,410,430,432,452,412,1288,436,1290,434,428,436,450,418,444,412,442,416,422,440,428,434,454,410,452,410,452,410,450,408,1292,436,1288,434,430,430,452,412,452,410,430,432,452,408,452,410,452,410,450,410,452,410,428,432,430,432,432,434,430,434,452,410,428,434,428,434,452,410,1288,434,452,410,452,410,452,410,426,436,450,410,1288,436,1290,436,452,410,452,410,450,410,454,410,452,408,432,432,452,410,1290,434,452,408,430,434,452,408,454,410,452,410,452,410,452,408,452,410,1290,434,1290,436,1292,434,452,410,1290,432,454,410,1290,434,430,432
isAduplicate?
Adv data IRtoMQTT
Pub json into:
home/OpenMQTTGateway/IRtoMQTT/1620996215
{"value":1620996215,"protocol":-1,"bits":153,"raw":}
Pub data per topic
value
1620996215
protocol
4294967295
bits
153
Store to avoid duplicate
Min ind:
3
store code :
1620996215/717404
Col: val/timestamp
0:3017984774/716846
1:962435546/717005
2:3969735902/717135
3:1620996215/717404
4:3017984774/308993
5:962435546/309152
6:1259362065/309280
7:1620996215/309551
8:3017984774/314299
9:962435546/314457
10:220168003/314588
11:655236415/314857
i use “0.9.1beta” OMG version, i just *#define MQTT_MAX_PACKET_SIZE 1024 and just set IRrecv irrecv(IR_RECEIVER_PIN, 1024, 15U, true);
Can you help me?