OMG send code not work


#1

hi ,
i make dumpv2 from IR8266 LIB
here the result :
Timestamp : 000060.809
Encoding : COOLIX
Code : B29F70 (24 bits)
Library : v2.4.2

Raw Timing[199]:

  • 4404, - 4422, + 534, - 1632, + 510, - 574, + 562, - 1604,
  • 536, - 1632, + 562, - 520, + 536, - 546, + 534, - 1632,
  • 534, - 548, + 536, - 546, + 536, - 1630, + 530, - 554,
  • 564, - 520, + 540, - 1626, + 536, - 1630, + 538, - 546,
  • 534, - 1634, + 510, - 1656, + 536, - 544, + 538, - 544,
  • 536, - 1632, + 534, - 1632, + 534, - 1632, + 534, - 1632,
  • 536, - 1630, + 536, - 548, + 536, - 1628, + 538, - 1628,
  • 510, - 572, + 538, - 546, + 534, - 548, + 534, - 548,
  • 540, - 542, + 540, - 544, + 564, - 1604, + 534, - 1630,
  • 536, - 1630, + 536, - 544, + 564, - 520, + 536, - 546,
  • 564, - 520, + 562, - 1604, + 560, - 522, + 536, - 546,
  • 536, - 548, + 540, - 1624, + 566, - 1600, + 536, - 1632,
  • 558, - 1606, + 538, - 5240, + 4378, - 4450, + 532, - 1632,
  • 538, - 544, + 510, - 1656, + 510, - 1656, + 536, - 546,
  • 536, - 546, + 540, - 1628, + 562, - 518, + 538, - 544,
  • 568, - 1556, + 604, - 522, + 566, - 516, + 568, - 1600,
  • 536, - 1628, + 510, - 572, + 544, - 1592, + 596, - 1602,
  • 564, - 518, + 566, - 516, + 566, - 1600, + 542, - 1626,
  • 538, - 1630, + 536, - 1630, + 536, - 1630, + 542, - 540,
  • 540, - 1624, + 538, - 1628, + 568, - 516, + 580, - 502,
  • 570, - 514, + 568, - 514, + 570, - 512, + 570, - 512,
  • 568, - 1598, + 540, - 1624, + 566, - 1602, + 540, - 542,
  • 570, - 512, + 572, - 510, + 594, - 488, + 572, - 1592,
  • 568, - 516, + 572, - 512, + 568, - 512, + 566, - 1600,
  • 602, - 1562, + 572, - 1596, + 570, - 1596, + 572

uint16_t rawData[199] = {4404, 4422, 534, 1632, 510, 574, 562, 1604, 536, 1632, 562, 520, 536, 546, 534, 1632, 534, 548, 536, 546, 536, 1630, 530, 554, 564, 520, 540, 1626, 536, 1630, 538, 546, 534, 1634, 510, 1656, 536, 544, 538, 544, 536, 1632, 534, 1632, 534, 1632, 534, 1632, 536, 1630, 536, 548, 536, 1628, 538, 1628, 510, 572, 538, 546, 534, 548, 534, 548, 540, 542, 540, 544, 564, 1604, 534, 1630, 536, 1630, 536, 544, 564, 520, 536, 546, 564, 520, 562, 1604, 560, 522, 536, 546, 536, 548, 540, 1624, 566, 1600, 536, 1632, 558, 1606, 538, 5240, 4378, 4450, 532, 1632, 538, 544, 510, 1656, 510, 1656, 536, 546, 536, 546, 540, 1628, 562, 518, 538, 544, 568, 1556, 604, 522, 566, 516, 568, 1600, 536, 1628, 510, 572, 544, 1592, 596, 1602, 564, 518, 566, 516, 566, 1600, 542, 1626, 538, 1630, 536, 1630, 536, 1630, 542, 540, 540, 1624, 538, 1628, 568, 516, 580, 502, 570, 514, 568, 514, 570, 512, 570, 512, 568, 1598, 540, 1624, 566, 1602, 540, 542, 570, 512, 572, 510, 594, 488, 572, 1592, 568, 516, 572, 512, 568, 512, 566, 1600, 602, 1562, 572, 1596, 570, 1596, 572}; // COOLIX B29F70
uint64_t data = 0xB29F70;

so how can i senf it on MQTT using OMG ?


#2

Hello,

Did you take a look to the doc?


#3

Yes I read … but unfortunately it does not work for me.
You will see the code that I managed to get from the control though it is in RAW format but it does recognize it in COOLIX with any number … I try to send both of them and it does not respond to me …
Another question, can you send BROADLINK code through OMG?


#4

Could you post what is the command that you are sending to the broker and what the serial monitor shows up?