I am getting 2 messages from a received IR signal on a remote which is likely an unknown device. It is a small remote which came with some decorative candles and resembles the remotes which come with the various Arduino sensor kits, but with fewer buttons. What is odd is that the raw portions seem to differ when the same button is pressed. Here are 2 messages, in order received from one button press. The raw values seem to change with the same button press:
- {“value”:283967743,“protocol”:3,“bits”:32,“hex”:“0x10ED00FF”,“protocol_name”:“NEC”,“raw”:“9014,4420,614,524,614,526,612,526,612,1636,614,520,616,524,614,526,614,530,614,1628,612,1632,612,1632,614,524,614,1630,614,1630,614,526,614,1636,614,524,614,528,614,524,610,526,614,526,612,530,608,526,614,528,612,1636,612,1630,612,1632,612,1632,612,1634,610,1634,614,1630,614,1630,612”}
- {“value”:18446744073709551615,“protocol”:3,“bits”:0,“hex”:“0xFFFFFFFFFFFFFFFF”,“protocol_name”:“NEC”,“raw”:“9010,2192,610”}
I believe I have set mqtt_max_packet_size to 1024 in User_config.h on one of my units but this did not change the output. I have this loaded on a D1 Mini in both instances.
This is what I get on the unit I uploaded the code from PLatformIO on in the Serial console:
— Terminal on COM10 | 115200 8-N-1
— Available filters and text transformations: colorize, debug, default, direct, esp8266_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
— More details at Redirecting...
— Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
4,520,616,524,614,526,614,530,614,1628,612,1632,612,1632,614,524,614,1630,614,1630,614,526,614,1636,614,524,614,528,614,524,610,526,614,526,612,530,608,526,614,528,612,1636,612,1630,612,1632,612,1632,612,1634,610,1634,614,1630,614,1630,612"}
N: Send on /IRtoMQTT msg {“value”:18446744073709551615,“protocol”:3,“bits”:0,“hex”:“0xFFFFFFFFFFFFFFFF”,“protocol_name”:“NEC”,“raw”:“9010,2192,610”}
N: [ MQTT->OMG ]: {“value”:283967743,“protocol”:3,“bits”:32,“hex”:“0x10ED00FF”,“protocol_name”:“NEC”,“raw”:“9014,4420,614,524,614,526,612,526,612,1636,614,520,616,524,614,526,614,530,614,1628,612,1632,612,1632,614,524,614,1630,614,1630,614,526,614,1636,614,524,614,528,614,524,610,526,614,526,612,530,608,526,614,528,612,1636,612,1630,612,1632,612,1632,612,1634,610,1634,614,1630,614,1630,612”}
N: [ MQTT->OMG ]: {“value”:18446744073709551615,“protocol”:3,“bits”:0,“hex”:“0xFFFFFFFFFFFFFFFF”,“protocol_name”:“NEC”,“raw”:“9010,2192,610”}