-
Arduino-IRremote
Infrared remote library for Arduino: send and receive infrared signals with multiple protocols
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Try using the IRMP library; it's available as an Arduino library. Somebody had a similar problem like you and IRMP solved the problem.
if (IrReceiver.decodedIRData.flags & IRDATA_FLAGS_WAS_OVERFLOW) { Serial.println(F("Overflow detected")); Serial.println(F("Try to increase the \"RAW_BUFFER_LENGTH\" value of " STR(RAW_BUFFER_LENGTH) " in " __FILE__)); // see also https://github.com/Arduino-IRremote/Arduino-IRremote#compile-options--macros-for-this-library } else { Serial.println(divider); Serial.print("protocol: "); Serial.print(getProtocolString(IrReceiver.decodedIRData.protocol)); Serial.print(" (0x"); Serial.print(IrReceiver.decodedIRData.protocol, HEX); Serial.println(")"); if (IrReceiver.decodedIRData.protocol != 0) { // Unknown protocol (typically due to a misread) is ignored. Serial.print("address: "); Serial.println(IrReceiver.decodedIRData.address, HEX); Serial.print("command: "); Serial.println(IrReceiver.decodedIRData.command, HEX); Serial.print("data: "); Serial.println(IrReceiver.decodedIRData.decodedRawData, HEX);