Tasmota/lib/lib_basic/IRremoteESP8266/IRremoteESP8266
s-hadinger 8d9f76d52d
Fix IR receive on ESP32 with Arduino Core 3 (#19904)
2023-11-01 22:49:59 +01:00
..
.github IRremoteESP8266 upgraded to v2.8.5 (#18610) 2023-05-08 19:04:25 +02:00
assets/images Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
examples IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
src Fix IR receive on ESP32 with Arduino Core 3 (#19904) 2023-11-01 22:49:59 +01:00
test IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
tools IRremoteESP8266 library from v2.8.2 to v2.8.3 2022-09-16 14:01:10 +02:00
.gitattributes IRremoteESP8266 library from v2.7.20 to v2.8.0 2021-11-19 23:58:47 +01:00
.gitignore IRremoteESP8266 upgraded to v2.8.5 (#18610) 2023-05-08 19:04:25 +02:00
.style.yapf Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
CPPLINT.cfg Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
Doxyfile IRremoteESP8266 library from v2.7.19 to v2.7.20 2021-08-30 21:08:41 +02:00
LICENSE.txt Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
README.md IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
README_de.md IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
README_fr.md IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
README_nl.md IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
ReleaseNotes.md IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
SECURITY.md IRremoteESP8266 library from v2.7.20 to v2.8.0 2021-11-19 23:58:47 +01:00
SupportedProtocols.md IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
keywords.txt IRremoteESP8266 upgraded to v2.8.5 (#18610) 2023-05-08 19:04:25 +02:00
library.json IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
library.properties IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
platformio.ini Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
pylintrc Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00

README.md

IRremoteESP8266 Library

Build Status Code Lint Tests Documentation arduino-library-badge GitLicense

This library enables you to send and receive infra-red signals on an ESP8266 or an ESP32 using the Arduino framework using common 940nm IR LEDs and common IR receiver modules. e.g. TSOP{17,22,24,36,38,44,48}* demodulators etc.

v2.8.6 Now Available

Version 2.8.6 of the library is now available. You can view the Release Notes for all the significant changes.

Upgrading from pre-v2.0

Usage of the library has been slightly changed in v2.0. You will need to change your usage to work with v2.0 and beyond. You can read more about the changes required on our Upgrade to v2.0 page.

Upgrading from pre-v2.5

The library has changed from using constants declared as #define to const with the appropriate naming per the C++ style guide. This may potentially cause old programs to not compile. The most likely externally used #defines have been aliased for limited backward compatibility for projects using the old style. Going forward, only the new kConstantName style will be supported for new protocol additions.

In the unlikely case, it does break your code, then you may have been referencing something you likely should not have. You should be able to quickly determine the new name from the old. e.g. CONSTANT_NAME to kConstantName. Use common sense or examining the library's code if this does affect code.

Supported Protocols

You can find the details of which protocols & devices are supported here.

Troubleshooting

Before reporting an issue or asking for help, please try to follow our Troubleshooting Guide first.

Frequently Asked Questions

Some common answers to common questions and problems are on our F.A.Q. wiki page.

Library API Documentation

This library uses Doxygen to automatically document the library's API. You can find it here.

Installation

Official releases via the Arduino IDE v1.8+ (Windows & Linux)
  1. Click the "Sketch" -> "Include Library" -> "Manage Libraries..." Menu items.
  2. Enter IRremoteESP8266 into the "Filter your search..." top right search box.
  3. Click on the IRremoteESP8266 result of the search.
  4. Select the version you wish to install and click "Install".
Manual Installation for Windows
  1. Click on "Clone or Download" button, then "Download ZIP" on the page.
  2. Extract the contents of the downloaded zip file.
  3. Rename the extracted folder to "IRremoteESP8266".
  4. Move this folder to your libraries directory. (under windows: C:\Users\YOURNAME\Documents\Arduino\libraries\)
  5. Restart your Arduino IDE.
  6. Check out the examples.
Using Git to install the library ( Linux )
cd ~/Arduino/libraries
git clone https://github.com/crankyoldgit/IRremoteESP8266.git
To update to the latest version of the library
cd ~/Arduino/libraries/IRremoteESP8266 && git pull

Contributing

If you want to contribute to this project, consider:

Contributors

Available here

Library History

This library was originally based on Ken Shirriff's work (https://github.com/shirriff/Arduino-IRremote/)

Mark Szabo has updated the IRsend class to work on ESP8266 and Sebastien Warin the receiving & decoding part (IRrecv class).

As of v2.0, the library was almost entirely re-written with the ESP8266's resources in mind.