esphome用esp8266发射的红外信号和代码不一样
遥控器发送
Protocol:NEC
Code:0x1FE807F(32Bits)
uint16_t rawData[67] = {9100, 4508, 596, 564, 574, 564, 576, 562, 574, 562, 574, 562, 574, 562, 576, 562, 574, 1652, 598, 1650, 598, 1652, 598, 1652, 598, 1652, 596, 1652, 598, 1650, 596, 1652, 598, 564, 574, 1652, 598, 564, 572, 544, 594, 544, 594, 542, 596, 542, 572, 564, 598, 540, 596, 542, 598, 1650, 598, 1650, 596, 1652, 596, 1652, 596, 1652, 596, 1654, 594, 1656, 570}; // NEC 1FE807F
uint32_t address = 0x80;
uint32_t command = 0x1;
uint64_t data = 0x1FE807F;
esphome 用esp8266发的
Protocol:NEC_LIKE
Code:0x1008000(32Bits)
uint16_t rawData[67] = {9086, 4400, 596, 552, 536, 582, 604, 514, 566, 554, 566, 554, 602, 518, 600, 520, 566, 1654, 632, 514, 596, 524, 536, 582, 604, 516, 604, 516, 564, 554, 566, 552, 602, 518, 600, 1622, 620, 526, 608, 510, 600, 520, 566, 552, 566, 552, 598, 522, 564, 554, 568, 552, 568, 552, 564, 556, 566, 552, 604, 514, 558, 562, 538, 582, 602, 516, 600}; // NEC_LIKE 1008000
uint32_t address = 0x80;
uint32_t command = 0x0;
uint64_t data = 0x1008000;
用的8266nodemcuv3
|