Merge pull request #7661 from s-hadinger/ir_273_dev
Update IRRemoteESP8266 v2.7.3
|
@ -9,8 +9,8 @@
|
|||
This library enables you to **send _and_ receive** infra-red signals on an [ESP8266](https://github.com/esp8266/Arduino) or an
|
||||
[ESP32](https://github.com/espressif/arduino-esp32) using the [Arduino framework](https://www.arduino.cc/) using common 940nm IR LEDs and common IR receiver modules. e.g. TSOP{17,22,24,36,38,44,48}* demodulators etc.
|
||||
|
||||
## v2.7.2 Now Available
|
||||
Version 2.7.2 of the library is now [available](https://github.com/crankyoldgit/IRremoteESP8266/releases/latest). You can view the [Release Notes](ReleaseNotes.md) for all the significant changes.
|
||||
## v2.7.3 Now Available
|
||||
Version 2.7.3 of the library is now [available](https://github.com/crankyoldgit/IRremoteESP8266/releases/latest). You can view the [Release Notes](ReleaseNotes.md) 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](https://github.com/crankyoldgit/IRremoteESP8266/wiki/Upgrading-to-v2.0) page.
|
|
@ -9,8 +9,8 @@
|
|||
Cette librairie vous permetra de **recevoir et d'envoyer des signaux** infrarouge sur le protocole [ESP8266](https://github.com/esp8266/Arduino) ou sur le protocole
|
||||
[ESP32](https://github.com/espressif/arduino-esp32) en utilisant le [Arduino framework](https://www.arduino.cc/) qui utilise la norme 940nm IR LEDs et le module basique de reception d'onde IR. Exemple : TSOP{17,22,24,36,38,44,48}* modules etc.
|
||||
|
||||
## v2.7.2 disponible
|
||||
Version 2.7.2 de la libraire est maintenant [disponible](https://github.com/crankyoldgit/IRremoteESP8266/releases/latest). Vous pouvez voir le [Release Notes](ReleaseNotes.md) pour tous les changements importants.
|
||||
## v2.7.3 disponible
|
||||
Version 2.7.3 de la libraire est maintenant [disponible](https://github.com/crankyoldgit/IRremoteESP8266/releases/latest). Vous pouvez voir le [Release Notes](ReleaseNotes.md) pour tous les changements importants.
|
||||
|
||||
#### mise à jour depuis pre-v2.0
|
||||
L'utilisation de la librairie à un peu changer depuis la version in v2.0. Si vous voulez l'utiliser vous devrez changer votre utilisation aussi. Vous pouvez vous renseigner sur les précondition d'utilisation ici : [Upgrade to v2.0](https://github.com/crankyoldgit/IRremoteESP8266/wiki/Upgrading-to-v2.0) page.
|
|
@ -1,5 +1,22 @@
|
|||
# Release Notes
|
||||
|
||||
## _v2.7.3 (20200130)_
|
||||
|
||||
**[Features]**
|
||||
- Allow protocols to be enabled or disabled with compiler flags. (#1013, #1012)
|
||||
- Panasonic AC: Add Ion Filter support for DKE models. (#1025, #1024)
|
||||
- Add support for sending Sony at 38Khz (#1029, #1018, #1019)
|
||||
- auto_analyse_raw_data.py: Handle analysing messages with no headers. (#1017)
|
||||
|
||||
**[Misc]**
|
||||
- Fix Coolix unit test errors when using Apple c++ compiler. (#1030, #1028)
|
||||
- Fix Apple clang c++ compiler error in unit tests. (#1027, #1026)
|
||||
- Improve/fix scraping of supported devices (#1022)
|
||||
- Panasonic PKR series A/C uses DKE protocol. (#1020, #1021)
|
||||
- Update NEC supported devices. (#1018)
|
||||
- Add note to avoid GPIO16 on the ESP8266 for receiving. (#1016, #1015)
|
||||
|
||||
|
||||
## _v2.7.2 (20200106)_
|
||||
|
||||
**[Bug Fixes]**
|
|
@ -1,6 +1,6 @@
|
|||
<!--- WARNING: Do NOT edit this file directly.
|
||||
It is generated by './tools/scrape_supported_devices.py'.
|
||||
Last generated: Sun Jan 5 15:53:26 2020 --->
|
||||
Last generated: Thu Jan 30 20:05:33 2020 --->
|
||||
# IR Protocols supported by this library
|
||||
|
||||
| Protocol | Brand | Model | A/C Model | Detailed A/C Support |
|
||||
|
@ -11,20 +11,20 @@
|
|||
| [Carrier](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Carrier.cpp) | **Carrier/Surrey** | 42QG5A55970 remote<BR>53NGK009/012 Inverter<BR>619EGX0090E0 A/C<BR>619EGX0120E0 A/C<BR>619EGX0180E0 A/C<BR>619EGX0220E0 A/C | | - |
|
||||
| [Coolix](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.cpp) | **[Beko](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.h)** | BINR 070/071 split-type A/C<BR>BINR 070/071 split-type A/C<BR>RG57K7(B)/BGEF Remote<BR>RG57K7(B)/BGEF Remote | | Yes |
|
||||
| [Coolix](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.cpp) | **[Midea](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.h)** | MS12FU-10HRDN1-QRD0GW(B) A/C<BR>MS12FU-10HRDN1-QRD0GW(B) A/C<BR>MSABAU-07HRFN1-QRD0GW A/C (circa 2016)<BR>MSABAU-07HRFN1-QRD0GW A/C (circa 2016)<BR>RG52D/BGE Remote<BR>RG52D/BGE Remote | | Yes |
|
||||
| [Coolix](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.cpp) | **[Tokio](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.h)** | AATOEMF17-12CHR1SW split-type RG51|50/BGE Remote<BR>AATOEMF17-12CHR1SW split-type RG51|50/BGE Remote | | Yes |
|
||||
| [Coolix](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.cpp) | **[Tokio](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.h)** | AATOEMF17-12CHR1SW split-type RG51\|50/BGE Remote<BR>AATOEMF17-12CHR1SW split-type RG51\|50/BGE Remote | | Yes |
|
||||
| [Daikin](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Daikin.cpp) | **[Daikin](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Daikin.h)** | 17 Series A/C (DAIKIN128)<BR>ARC423A5 remote<BR>ARC433** remote<BR>ARC433B69 remote<BR>ARC477A1 remote<BR>ARC480A5 remote (DAIKIN152)<BR>BRC4C153 remote<BR>BRC52B63 remote (DAIKIN128)<BR>FTE12HV2S A/C<BR>FTXB09AXVJU A/C (DAIKIN128)<BR>FTXB12AXVJU A/C (DAIKIN128)<BR>FTXZ25NV1B A/C<BR>FTXZ35NV1B A/C<BR>FTXZ50NV1B A/C | | Yes |
|
||||
| [Denon](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Denon.cpp) | **Unknown** | | | - |
|
||||
| [Dish](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Dish.cpp) | **DISH NETWORK** | echostar 301 | | - |
|
||||
| [Electra](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Electra.cpp) | **[AUX](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Electra.h)** | KFR-35GW/BpNFW=3 A/C<BR>YKR-T/011 remote | | Yes |
|
||||
| [Fujitsu](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.cpp) | **[Fujitsu](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.h)** | AGTV14LAC A/C<BR>AR-DB1 remote<BR>AR-DL10 remote<BR>AR-RAC1E remote<BR>AR-RAE1E remote<BR>AR-RAH2E remote<BR>AR-REB1E remote<BR>AR-RY4 remote<BR>AST9RSGCW A/C<BR>ASTB09LBC A/C<BR>ASU30C1 A/C<BR>ASYG30LFCA A/C<BR>ASYG7LMCA A/C | | Yes |
|
||||
| [Fujitsu](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.cpp) | **[Fujitsu General](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.h)** | AR-JW2 remote | | Yes |
|
||||
| [Fujitsu](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.cpp) | **[Fujitsu](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.h)** | AGTV14LAC A/C<BR>AR-DB1 remote<BR>AR-DL10 remote<BR>AR-RAC1E remote<BR>AR-RAE1E remote<BR>AR-RAH2E remote<BR>AR-REB1E remote<BR>AR-RY4 remote<BR>AST9RSGCW A/C<BR>ASTB09LBC A/C<BR>ASU30C1 A/C<BR>ASYG30LFCA A/C<BR>ASYG7LMCA A/C | ARDB1<BR>ARJW2<BR>ARRAH2E<BR>ARREB1E<BR>ARRY4 | Yes |
|
||||
| [Fujitsu](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.cpp) | **[Fujitsu General](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Fujitsu.h)** | AR-JW2 remote | ARDB1<BR>ARJW2<BR>ARRAH2E<BR>ARREB1E<BR>ARRY4 | Yes |
|
||||
| [GICable](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_GICable.cpp) | **Unknown** | | | - |
|
||||
| [GlobalCache](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_GlobalCache.cpp) | **Unknown** | | | - |
|
||||
| [Goodweather](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Goodweather.cpp) | **[Goodweather](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Goodweather.h)** | ZH/JT-03 remote | | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[EKOKAI](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | A/C | | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[Green](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | YBOFB remote<BR>YBOFB2 remote | | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[RusClimate](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | EACS/I-09HAR_X/N3 A/C<BR>YAW1F remote | | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[Ultimate](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | Heat Pump | | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[EKOKAI](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | A/C | YAW1F<BR>YBOFB | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[Green](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | YBOFB remote<BR>YBOFB2 remote | YAW1F<BR>YBOFB | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[RusClimate](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | EACS/I-09HAR_X/N3 A/C<BR>YAW1F remote | YAW1F<BR>YBOFB | Yes |
|
||||
| [Gree](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.cpp) | **[Ultimate](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h)** | Heat Pump | YAW1F<BR>YBOFB | Yes |
|
||||
| [Haier](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Haier.cpp) | **[Haier](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Haier.h)** | HSU-09HMC203 A/C<BR>HSU07-HEA03 remote<BR>YR-W02 remote | | Yes |
|
||||
| [Hitachi](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Hitachi.cpp) | **[Hitachi](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Hitachi.h)** | LT0541-HTA remote<BR>RAR-8P2 remote<BR>RAS-35THA6 remote<BR>RAS-AJ25H A/C<BR>Series VI A/C (Circa 2007) | | Yes |
|
||||
| [Inax](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Inax.cpp) | **Lixil** | Inax DT-BA283 Toilet | | - |
|
||||
|
@ -45,10 +45,11 @@
|
|||
| [Mitsubishi](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Mitsubishi.cpp) | **[Mitsubishi Electric](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Mitsubishi.h)** | 001CP T7WE10714 remote<BR>KPOA remote<BR>MSH-A24WV / MUH-A24WV A/C<BR>PEAD-RP71JAA Ducted A/C | | Yes |
|
||||
| [MitsubishiHeavy](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_MitsubishiHeavy.cpp) | **[Mitsubishi Heavy Industries](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_MitsubishiHeavy.h)** | RKX502A001C remote<BR>RLA502A700B remote<BR>SRKxxZJ-S A/C<BR>SRKxxZM-S A/C<BR>SRKxxZMXA-S A/C | | Yes |
|
||||
| [NEC](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_NEC.cpp) | **[Aloka](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_NEC.h)** | SleepyLights LED Lamp | | - |
|
||||
| [NEC](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_NEC.cpp) | **[Toshiba](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_NEC.h)** | 42TL838 LCD TV | | - |
|
||||
| [NEC](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_NEC.cpp) | **[Yamaha](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_NEC.h)** | RAV561 remote<BR>RXV585B A/V Receiver | | - |
|
||||
| [Neoclima](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Neoclima.cpp) | **[Neoclima](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Neoclima.h)** | NS-09AHTI A/C<BR>NS-09AHTI A/C<BR>ZH/TY-01 remote<BR>ZH/TY-01 remote | | Yes |
|
||||
| [Nikai](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Nikai.cpp) | **Unknown** | | | - |
|
||||
| [Panasonic](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Panasonic.cpp) | **[Panasonic](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Panasonic.h)** | A75C2311 remote (CKP)<BR>A75C3704 remote<BR>A75C3747 remote<BR>A75C3747 remote<BR>A75C3747 remote<BR>A75C3747 remote<BR>CKP series A/C<BR>CS-ME10CKPG A/C<BR>CS-ME12CKPG A/C<BR>CS-ME14CKPG A/C<BR>CS-YW9MKD A/C<BR>CS-Z9RKR A/C<BR>DKE series A/C<BR>JKE series A/C<BR>NKE series A/C<BR>RKR series A/C<BR>TV | | Yes |
|
||||
| [Panasonic](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Panasonic.cpp) | **[Panasonic](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Panasonic.h)** | A75C2311 remote (CKP)<BR>A75C2616-1 remote (DKE)<BR>A75C3704 remote<BR>A75C3747 remote<BR>CKP series A/C<BR>CS-E7PKR A/C (DKE)<BR>CS-ME10CKPG A/C<BR>CS-ME12CKPG A/C<BR>CS-ME14CKPG A/C<BR>CS-YW9MKD A/C<BR>CS-Z9RKR A/C<BR>DKE series A/C<BR>DKW series A/C (DKE)<BR>JKE series A/C<BR>NKE series A/C<BR>PKR series A/C (DKE)<BR>RKR series A/C<BR>TV | CKP<BR>DKE<BR>JKE<BR>LKE<BR>NKE<BR>RKR | Yes |
|
||||
| [Pioneer](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Pioneer.cpp) | **Unknown** | | | - |
|
||||
| [Pronto](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Pronto.cpp) | **Unknown** | | | - |
|
||||
| [RC5_RC6](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_RC5_RC6.cpp) | **Unknown** | | | - |
|
||||
|
@ -57,24 +58,23 @@
|
|||
| [Sanyo](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Sanyo.cpp) | **Unknown** | | | - |
|
||||
| [Sharp](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Sharp.cpp) | **[Sharp](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Sharp.h)** | AY-ZP40KR A/C<BR>LC-52D62U TV | | Yes |
|
||||
| [Sherwood](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Sherwood.cpp) | **Sherwood** | RC-138 remote<BR>RD6505(B) Receiver | | - |
|
||||
| [Sony](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Sony.cpp) | **Unknown** | | | - |
|
||||
| [Sony](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Sony.cpp) | **Sony** | HT-CT380 Soundbar (Uses 38kHz & 3 repeats) | | - |
|
||||
| [Tcl](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Tcl.cpp) | **[Leberg](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Tcl.h)** | LBS-TOR07 A/C | | Yes |
|
||||
| [Teco](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Teco.cpp) | **[Alaska](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Teco.h)** | SAC9010QC A/C<BR>SAC9010QC remote | | Yes |
|
||||
| [Toshiba](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Toshiba.cpp) | **[Toshiba](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Toshiba.h)** | Akita EVO II<BR>RAS 18SKP-ES<BR>RAS-B13N3KV2<BR>RAS-B13N3KVP-E<BR>WC-L03SE<BR>WH-TA04NE | | Yes |
|
||||
| [Trotec](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Trotec.cpp) | **[Unknown](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Trotec.h)** | | | Yes |
|
||||
| [Vestel](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Vestel.cpp) | **[Vestel](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Vestel.h)** | BIOX CXP-9 A/C (9K BTU) | | Yes |
|
||||
| [Whirlpool](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Whirlpool.cpp) | **[Whirlpool](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Whirlpool.h)** | DG11J1-04 remote<BR>DG11J1-3A remote<BR>DG11J1-91 remote<BR>SPIS409L A/C<BR>SPIS412L A/C<BR>SPIW409L A/C<BR>SPIW412L A/C<BR>SPIW418L A/C | | Yes |
|
||||
| [Whirlpool](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Whirlpool.cpp) | **[Whirlpool](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Whirlpool.h)** | DG11J1-04 remote<BR>DG11J1-3A remote<BR>DG11J1-91 remote<BR>SPIS409L A/C<BR>SPIS412L A/C<BR>SPIW409L A/C<BR>SPIW412L A/C<BR>SPIW418L A/C | DG11J13A<BR>DG11J191 | Yes |
|
||||
| [Whynter](https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Whynter.cpp) | **Whynter** | ARC-110WD A/C | | - |
|
||||
|
||||
|
||||
## Send only protocols:
|
||||
|
||||
- GLOBALCACHE
|
||||
- MITSUBISHI112
|
||||
- PRONTO
|
||||
- RAW
|
||||
- SHERWOOD
|
||||
- TCL112AC
|
||||
- SONY_38K
|
||||
|
||||
|
||||
## Send & decodable protocols:
|
||||
|
@ -115,6 +115,7 @@
|
|||
- MAGIQUEST
|
||||
- MIDEA
|
||||
- MITSUBISHI
|
||||
- MITSUBISHI112
|
||||
- MITSUBISHI136
|
||||
- MITSUBISHI2
|
||||
- MITSUBISHI_AC
|
||||
|
@ -140,10 +141,10 @@
|
|||
- SHARP
|
||||
- SHARP_AC
|
||||
- SONY
|
||||
- TCL112AC
|
||||
- TECO
|
||||
- TOSHIBA_AC
|
||||
- TROTEC
|
||||
- VESTEL_AC
|
||||
- WHIRLPOOL_AC
|
||||
- WHYNTER
|
||||
- typeguess
|
|
@ -37,6 +37,8 @@
|
|||
* * Pin 0/D3: Can interfere with the boot/program mode & support circuits.
|
||||
* * Pin 1/TX/TXD0: Any serial transmissions from the ESP will interfere.
|
||||
* * Pin 3/RX/RXD0: Any serial transmissions to the ESP will interfere.
|
||||
* * Pin 16/D0: Has no interrupts on the ESP8266, so can't be used for IR
|
||||
* receiving with this library.
|
||||
* * ESP-01 modules are tricky. We suggest you use a module with more GPIOs
|
||||
* for your first time. e.g. ESP-12 etc.
|
||||
*
|
||||
|
@ -54,6 +56,7 @@
|
|||
// ==================== start of TUNEABLE PARAMETERS ====================
|
||||
|
||||
// The GPIO an IR detector/demodulator is connected to. Recommended: 14 (D5)
|
||||
// Note: GPIO 16 won't work on the ESP8266 as it does not have interrupts.
|
||||
const uint16_t kRecvPin = 14;
|
||||
|
||||
// GPIO to use to control the IR LED circuit. Recommended: 4 (D2).
|
|
@ -47,6 +47,7 @@ const int8_t kDefaultIrLed = 4; // <=- CHANGE_ME (optional)
|
|||
const bool kInvertTxOutput = false;
|
||||
|
||||
// Default GPIO the IR demodulator is connected to/controlled by. GPIO 14 = D5.
|
||||
// Note: GPIO 16 won't work on the ESP8266 as it does not have interrupts.
|
||||
const int8_t kDefaultIrRx = 14; // <=- CHANGE_ME (optional)
|
||||
|
||||
// Enable/disable receiving/decoding IR messages entirely.
|
|
@ -271,7 +271,7 @@
|
|||
*
|
||||
* #### Home Assistant MQTT Discovery
|
||||
* There is an option for this: 'Send MQTT Discovery' under the 'Admin' menu.
|
||||
* It will produce a single MQTT Cliamte Discovery message for Home Assistant
|
||||
* It will produce a single MQTT Climate Discovery message for Home Assistant
|
||||
* provided you have everything configured correctly here and in HA.
|
||||
* This message has MQTT RETAIN set on it, so it only ever needs to be sent
|
||||
* once or if the config details change etc.
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
// An IR detector/demodulator is connected to GPIO pin 14(D5 on a NodeMCU
|
||||
// board).
|
||||
// Note: GPIO 16 won't work on the ESP8266 as it does not have interrupts.
|
||||
const uint16_t kRecvPin = 14;
|
||||
|
||||
IRrecv irrecv(kRecvPin);
|
|
@ -34,6 +34,7 @@
|
|||
// ==================== start of TUNEABLE PARAMETERS ====================
|
||||
// An IR detector/demodulator is connected to GPIO pin 14
|
||||
// e.g. D5 on a NodeMCU board.
|
||||
// Note: GPIO 16 won't work on the ESP8266 as it does not have interrupts.
|
||||
const uint16_t kRecvPin = 14;
|
||||
|
||||
// The Serial connection baud rate.
|
|
@ -40,6 +40,8 @@
|
|||
* * Pin 0/D3: Can interfere with the boot/program mode & support circuits.
|
||||
* * Pin 1/TX/TXD0: Any serial transmissions from the ESP will interfere.
|
||||
* * Pin 3/RX/RXD0: Any serial transmissions to the ESP will interfere.
|
||||
* * Pin 16/D0: Has no interrupts on the ESP8266, so can't be used for IR
|
||||
* receiving with this library.
|
||||
* * ESP-01 modules are tricky. We suggest you use a module with more GPIOs
|
||||
* for your first time. e.g. ESP-12 etc.
|
||||
*
|
||||
|
@ -57,6 +59,7 @@
|
|||
// ==================== start of TUNEABLE PARAMETERS ====================
|
||||
|
||||
// The GPIO an IR detector/demodulator is connected to. Recommended: 14 (D5)
|
||||
// Note: GPIO 16 won't work on the ESP8266 as it does not have interrupts.
|
||||
const uint16_t kRecvPin = 14;
|
||||
|
||||
// GPIO to use to control the IR LED circuit. Recommended: 4 (D2).
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -84,6 +84,7 @@ _delayMicroseconds KEYWORD2
|
|||
_getTime KEYWORD2
|
||||
_getTimer KEYWORD2
|
||||
_matchGeneric KEYWORD2
|
||||
_sendSony KEYWORD2
|
||||
_setMode KEYWORD2
|
||||
_setTemp KEYWORD2
|
||||
_setTime KEYWORD2
|
||||
|
@ -459,6 +460,7 @@ sendSharpAc KEYWORD2
|
|||
sendSharpRaw KEYWORD2
|
||||
sendSherwood KEYWORD2
|
||||
sendSony KEYWORD2
|
||||
sendSony38 KEYWORD2
|
||||
sendTcl112Ac KEYWORD2
|
||||
sendTeco KEYWORD2
|
||||
sendToshibaAC KEYWORD2
|
||||
|
@ -1024,6 +1026,7 @@ SONY LITERAL1
|
|||
SONY_12_BITS LITERAL1
|
||||
SONY_15_BITS LITERAL1
|
||||
SONY_20_BITS LITERAL1
|
||||
SONY_38K LITERAL1
|
||||
TCL112AC LITERAL1
|
||||
TECO LITERAL1
|
||||
TIMEOUT_MS LITERAL1
|
||||
|
@ -2606,6 +2609,8 @@ kPanasonicAcFanMed LITERAL1
|
|||
kPanasonicAcFanMin LITERAL1
|
||||
kPanasonicAcFanModeTemp LITERAL1
|
||||
kPanasonicAcHeat LITERAL1
|
||||
kPanasonicAcIonFilterByte LITERAL1
|
||||
kPanasonicAcIonFilterOffset LITERAL1
|
||||
kPanasonicAcMaxTemp LITERAL1
|
||||
kPanasonicAcMessageGap LITERAL1
|
||||
kPanasonicAcMinTemp LITERAL1
|
||||
|
@ -2896,6 +2901,7 @@ kSlowStr LITERAL1
|
|||
kSony12Bits LITERAL1
|
||||
kSony15Bits LITERAL1
|
||||
kSony20Bits LITERAL1
|
||||
kSonyAltFreq LITERAL1
|
||||
kSonyHdrMark LITERAL1
|
||||
kSonyHdrMarkTicks LITERAL1
|
||||
kSonyMinBits LITERAL1
|
||||
|
@ -2908,6 +2914,7 @@ kSonyRptLength LITERAL1
|
|||
kSonyRptLengthTicks LITERAL1
|
||||
kSonySpace LITERAL1
|
||||
kSonySpaceTicks LITERAL1
|
||||
kSonyStdFreq LITERAL1
|
||||
kSonyTick LITERAL1
|
||||
kSonyZeroMark LITERAL1
|
||||
kSonyZeroMarkTicks LITERAL1
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "IRremoteESP8266",
|
||||
"version": "2.7.2",
|
||||
"version": "2.7.3",
|
||||
"keywords": "infrared, ir, remote, esp8266, esp32",
|
||||
"description": "Send and receive infrared signals with multiple protocols (ESP8266/ESP32)",
|
||||
"repository":
|
|
@ -1,5 +1,5 @@
|
|||
name=IRremoteESP8266
|
||||
version=2.7.2
|
||||
version=2.7.3
|
||||
author=David Conran, Sebastien Warin, Mark Szabo, Ken Shirriff
|
||||
maintainer=Mark Szabo, David Conran, Sebastien Warin, Roi Dayan, Massimiliano Pinto
|
||||
sentence=Send and receive infrared signals with multiple protocols (ESP8266/ESP32)
|
|
@ -940,7 +940,8 @@ void IRac::panasonic(IRPanasonicAc *ac, const panasonic_ac_remote_model_t model,
|
|||
const bool on, const stdAc::opmode_t mode,
|
||||
const float degrees, const stdAc::fanspeed_t fan,
|
||||
const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
|
||||
const bool quiet, const bool turbo, const int16_t clock) {
|
||||
const bool quiet, const bool turbo, const bool filter,
|
||||
const int16_t clock) {
|
||||
ac->begin();
|
||||
ac->setModel(model);
|
||||
ac->setPower(on);
|
||||
|
@ -951,9 +952,9 @@ void IRac::panasonic(IRPanasonicAc *ac, const panasonic_ac_remote_model_t model,
|
|||
ac->setSwingHorizontal(ac->convertSwingH(swingh));
|
||||
ac->setQuiet(quiet);
|
||||
ac->setPowerful(turbo);
|
||||
ac->setIon(filter);
|
||||
// No Light setting available.
|
||||
// No Econo setting available.
|
||||
// No Filter setting available.
|
||||
// No Clean setting available.
|
||||
// No Beep setting available.
|
||||
// No Sleep setting available.
|
||||
|
@ -1799,7 +1800,8 @@ int16_t IRac::strToModel(const char *str, const int16_t def) {
|
|||
return panasonic_ac_remote_model_t::kPanasonicLke;
|
||||
} else if (!strcasecmp(str, "NKE") || !strcasecmp(str, "PANASONICNKE")) {
|
||||
return panasonic_ac_remote_model_t::kPanasonicNke;
|
||||
} else if (!strcasecmp(str, "DKE") || !strcasecmp(str, "PANASONICDKE")) {
|
||||
} else if (!strcasecmp(str, "DKE") || !strcasecmp(str, "PANASONICDKE") ||
|
||||
!strcasecmp(str, "PKR") || !strcasecmp(str, "PANASONICPKR")) {
|
||||
return panasonic_ac_remote_model_t::kPanasonicDke;
|
||||
} else if (!strcasecmp(str, "JKE") || !strcasecmp(str, "PANASONICJKE")) {
|
||||
return panasonic_ac_remote_model_t::kPanasonicJke;
|
||||
|
@ -2230,6 +2232,7 @@ namespace IRAcUtils {
|
|||
#if DECODE_COOLIX
|
||||
case decode_type_t::COOLIX: {
|
||||
IRCoolixAC ac(kGpioUnused);
|
||||
ac.on();
|
||||
ac.setRaw(decode->value); // Uses value instead of state.
|
||||
*result = ac.toCommon(prev);
|
||||
break;
|
|
@ -292,7 +292,8 @@ void electra(IRElectraAc *ac,
|
|||
const bool on, const stdAc::opmode_t mode, const float degrees,
|
||||
const stdAc::fanspeed_t fan,
|
||||
const stdAc::swingv_t swingv, const stdAc::swingh_t swingh,
|
||||
const bool quiet, const bool turbo, const int16_t clock = -1);
|
||||
const bool quiet, const bool turbo, const bool filter,
|
||||
const int16_t clock = -1);
|
||||
#endif // SEND_PANASONIC_AC
|
||||
#if SEND_SAMSUNG_AC
|
||||
void samsung(IRSamsungAc *ac,
|
|
@ -52,428 +52,518 @@
|
|||
#endif // UNIT_TEST
|
||||
|
||||
// Library Version
|
||||
#define _IRREMOTEESP8266_VERSION_ "2.7.2"
|
||||
#define _IRREMOTEESP8266_VERSION_ "2.7.3"
|
||||
|
||||
// Set the language & locale for the library. See the `locale` dir for options.
|
||||
#ifndef _IR_LOCALE_
|
||||
#define _IR_LOCALE_ en-AU
|
||||
#endif // _IR_LOCALE_
|
||||
|
||||
// Do we enable all the protocols by default (true), or disable them (false)?
|
||||
// This allows users of the library to disable or enable all protocols at
|
||||
// compile-time with `-D_IR_ENABLE_DEFAULT_=true` or
|
||||
// `-D_IR_ENABLE_DEFAULT_=false` compiler flags respectively.
|
||||
// Everything is included by default.
|
||||
// e.g. If you only want to enable use of he NEC protocol to save program space,
|
||||
// you would use something like:
|
||||
// `-D_IR_ENABLE_DEFAULT_=false -DDECODE_NEC=true -DSEND_NEC=true`
|
||||
//
|
||||
// or alter your 'platform.ini' file accordingly:
|
||||
// ```
|
||||
// build_flags = -D_IR_ENABLE_DEFAULT_=false
|
||||
// -DDECODE_NEC=true
|
||||
// -DSEND_NEC=true
|
||||
// ```
|
||||
// If you want to enable support for every protocol *except* _decoding_ the
|
||||
// Kelvinator protocol, you would use:
|
||||
// `-DDECODE_KELVINATOR=false`
|
||||
#ifndef _IR_ENABLE_DEFAULT_
|
||||
#define _IR_ENABLE_DEFAULT_ true // Unless set externally, the default is on.
|
||||
#endif // _IR_ENABLE_DEFAULT_
|
||||
|
||||
// Supported IR protocols
|
||||
// Each protocol you include costs memory and, during decode, costs time
|
||||
// Disable (set to false) all the protocols you do not need/want!
|
||||
// The Air Conditioner protocols are the most expensive memory-wise.
|
||||
//
|
||||
|
||||
#ifdef USE_IR_REMOTE_FULL // full IR protocols
|
||||
#define DECODE_HASH true // Semi-unique code for unknown messages
|
||||
|
||||
#define SEND_RAW true
|
||||
|
||||
#define DECODE_NEC true
|
||||
#define SEND_NEC true
|
||||
|
||||
#define DECODE_SHERWOOD true // Doesn't exist. Actually is DECODE_NEC
|
||||
#define SEND_SHERWOOD true
|
||||
|
||||
#define DECODE_RC5 true
|
||||
#define SEND_RC5 true
|
||||
|
||||
#define DECODE_RC6 true
|
||||
#define SEND_RC6 true
|
||||
|
||||
#define DECODE_RCMM true
|
||||
#define SEND_RCMM true
|
||||
|
||||
#define DECODE_SONY true
|
||||
#define SEND_SONY true
|
||||
|
||||
#define DECODE_PANASONIC true
|
||||
#define SEND_PANASONIC true
|
||||
|
||||
#define DECODE_JVC true
|
||||
#define SEND_JVC true
|
||||
|
||||
#define DECODE_SAMSUNG true
|
||||
#define SEND_SAMSUNG true
|
||||
|
||||
#define DECODE_SAMSUNG36 true
|
||||
#define SEND_SAMSUNG36 true
|
||||
|
||||
#define DECODE_SAMSUNG_AC true
|
||||
#define SEND_SAMSUNG_AC true
|
||||
|
||||
#define DECODE_WHYNTER true
|
||||
#define SEND_WHYNTER true
|
||||
|
||||
#define DECODE_AIWA_RC_T501 true
|
||||
#define SEND_AIWA_RC_T501 true
|
||||
|
||||
#define DECODE_LG true
|
||||
#define SEND_LG true
|
||||
|
||||
#define DECODE_SANYO true
|
||||
#define SEND_SANYO true
|
||||
|
||||
#define DECODE_MITSUBISHI true
|
||||
#define SEND_MITSUBISHI true
|
||||
|
||||
#define DECODE_MITSUBISHI2 true
|
||||
#define SEND_MITSUBISHI2 true
|
||||
|
||||
#define DECODE_DISH true
|
||||
#define SEND_DISH true
|
||||
|
||||
#define DECODE_SHARP true
|
||||
#define SEND_SHARP true
|
||||
|
||||
#define DECODE_SHARP_AC true
|
||||
#define SEND_SHARP_AC true
|
||||
|
||||
#define DECODE_DENON true
|
||||
#define SEND_DENON true
|
||||
|
||||
#define DECODE_KELVINATOR true
|
||||
#define SEND_KELVINATOR true
|
||||
|
||||
#define DECODE_MITSUBISHI_AC true // Beta.
|
||||
#define SEND_MITSUBISHI_AC true
|
||||
|
||||
#define DECODE_MITSUBISHI136 true
|
||||
#define SEND_MITSUBISHI136 true
|
||||
|
||||
#define DECODE_MITSUBISHI112 true
|
||||
#define SEND_MITSUBISHI112 true
|
||||
|
||||
#define DECODE_FUJITSU_AC true
|
||||
#define SEND_FUJITSU_AC true
|
||||
|
||||
#define DECODE_INAX true
|
||||
#define SEND_INAX true
|
||||
|
||||
#define DECODE_DAIKIN true
|
||||
#define SEND_DAIKIN true
|
||||
|
||||
#define DECODE_COOLIX true
|
||||
#define SEND_COOLIX true
|
||||
|
||||
#define DECODE_GLOBALCACHE false // Not written.
|
||||
#define SEND_GLOBALCACHE true
|
||||
|
||||
#define DECODE_GOODWEATHER true
|
||||
#define SEND_GOODWEATHER true
|
||||
|
||||
#define DECODE_GREE true
|
||||
#define SEND_GREE true
|
||||
|
||||
#define DECODE_PRONTO false // Not written.
|
||||
#define SEND_PRONTO true
|
||||
|
||||
#define DECODE_ARGO true // Experimental
|
||||
#define SEND_ARGO true
|
||||
|
||||
#define DECODE_TROTEC true
|
||||
#define SEND_TROTEC true
|
||||
|
||||
#define DECODE_NIKAI true
|
||||
#define SEND_NIKAI true
|
||||
|
||||
#define DECODE_TOSHIBA_AC true
|
||||
#define SEND_TOSHIBA_AC true
|
||||
|
||||
#define DECODE_MAGIQUEST true
|
||||
#define SEND_MAGIQUEST true
|
||||
|
||||
#define DECODE_MIDEA true
|
||||
#define SEND_MIDEA true
|
||||
|
||||
#define DECODE_LASERTAG true
|
||||
#define SEND_LASERTAG true
|
||||
|
||||
#define DECODE_CARRIER_AC true
|
||||
#define SEND_CARRIER_AC true
|
||||
|
||||
#define DECODE_HAIER_AC true
|
||||
#define SEND_HAIER_AC true
|
||||
|
||||
#define DECODE_HITACHI_AC true
|
||||
#define SEND_HITACHI_AC true
|
||||
|
||||
#define DECODE_HITACHI_AC1 true
|
||||
#define SEND_HITACHI_AC1 true
|
||||
|
||||
#define DECODE_HITACHI_AC2 true
|
||||
#define SEND_HITACHI_AC2 true
|
||||
|
||||
#define DECODE_GICABLE true
|
||||
#define SEND_GICABLE true
|
||||
|
||||
#define DECODE_HAIER_AC_YRW02 true
|
||||
#define SEND_HAIER_AC_YRW02 true
|
||||
|
||||
#define DECODE_WHIRLPOOL_AC true
|
||||
#define SEND_WHIRLPOOL_AC true
|
||||
|
||||
#define DECODE_LUTRON true
|
||||
#define SEND_LUTRON true
|
||||
|
||||
#define DECODE_ELECTRA_AC true
|
||||
#define SEND_ELECTRA_AC true
|
||||
|
||||
#define DECODE_PANASONIC_AC true
|
||||
#define SEND_PANASONIC_AC true
|
||||
|
||||
#define DECODE_MWM true
|
||||
#define SEND_MWM true
|
||||
|
||||
#define DECODE_PIONEER true
|
||||
#define SEND_PIONEER true
|
||||
|
||||
#define DECODE_DAIKIN2 true
|
||||
#define SEND_DAIKIN2 true
|
||||
|
||||
#define DECODE_VESTEL_AC true
|
||||
#define SEND_VESTEL_AC true
|
||||
|
||||
#define DECODE_TECO true
|
||||
#define SEND_TECO true
|
||||
|
||||
#define DECODE_TCL112AC true
|
||||
#define SEND_TCL112AC true
|
||||
|
||||
#define DECODE_LEGOPF true
|
||||
#define SEND_LEGOPF true
|
||||
|
||||
#define DECODE_MITSUBISHIHEAVY true
|
||||
#define SEND_MITSUBISHIHEAVY true
|
||||
|
||||
#define DECODE_DAIKIN216 true
|
||||
#define SEND_DAIKIN216 true
|
||||
|
||||
#define DECODE_DAIKIN160 true
|
||||
#define SEND_DAIKIN160 true
|
||||
|
||||
#define DECODE_NEOCLIMA true
|
||||
#define SEND_NEOCLIMA true
|
||||
|
||||
#define DECODE_DAIKIN176 true
|
||||
#define SEND_DAIKIN176 true
|
||||
|
||||
#define DECODE_DAIKIN128 true
|
||||
#define SEND_DAIKIN128 true
|
||||
|
||||
#define DECODE_AMCOR true
|
||||
#define SEND_AMCOR true
|
||||
|
||||
#define DECODE_DAIKIN152 true
|
||||
#define SEND_DAIKIN152 true
|
||||
|
||||
#define DECODE_HITACHI_AC424 true
|
||||
#define SEND_HITACHI_AC424 true
|
||||
|
||||
#else // defined(FIRMWARE_IR) || defined(FIRMWARE_IR_CUSTOM) // full IR protocols
|
||||
|
||||
// Tasmota supported protocols (less protocols is less code size)
|
||||
#define DECODE_HASH true // Semi-unique code for unknown messages
|
||||
|
||||
#define SEND_RAW false
|
||||
|
||||
#define DECODE_NEC true
|
||||
#define SEND_NEC true
|
||||
|
||||
#define DECODE_SHERWOOD false // Doesn't exist. Actually is DECODE_NEC
|
||||
#define SEND_SHERWOOD false
|
||||
|
||||
#define DECODE_RC5 true
|
||||
#define SEND_RC5 true
|
||||
|
||||
#define DECODE_RC6 true
|
||||
#define SEND_RC6 true
|
||||
|
||||
#define DECODE_RCMM false
|
||||
#define SEND_RCMM false
|
||||
|
||||
#define DECODE_SONY false
|
||||
#define SEND_SONY false
|
||||
|
||||
#define DECODE_PANASONIC false
|
||||
#define SEND_PANASONIC false
|
||||
|
||||
#define DECODE_JVC false
|
||||
#define SEND_JVC false
|
||||
|
||||
#define DECODE_SAMSUNG false
|
||||
#define SEND_SAMSUNG false
|
||||
|
||||
#define DECODE_SAMSUNG36 false
|
||||
#define SEND_SAMSUNG36 false
|
||||
|
||||
#define DECODE_SAMSUNG_AC false
|
||||
#define SEND_SAMSUNG_AC false
|
||||
|
||||
#define DECODE_WHYNTER false
|
||||
#define SEND_WHYNTER false
|
||||
|
||||
#define DECODE_AIWA_RC_T501 false
|
||||
#define SEND_AIWA_RC_T501 false
|
||||
|
||||
#define DECODE_LG false
|
||||
#define SEND_LG false
|
||||
|
||||
#define DECODE_SANYO false
|
||||
#define SEND_SANYO false
|
||||
|
||||
#define DECODE_MITSUBISHI false
|
||||
#define SEND_MITSUBISHI false
|
||||
|
||||
#define DECODE_MITSUBISHI2 false
|
||||
#define SEND_MITSUBISHI2 false
|
||||
|
||||
#define DECODE_DISH false
|
||||
#define SEND_DISH false
|
||||
|
||||
#define DECODE_SHARP false
|
||||
#define SEND_SHARP false
|
||||
|
||||
#define DECODE_SHARP_AC false
|
||||
#define SEND_SHARP_AC false
|
||||
|
||||
#define DECODE_DENON false
|
||||
#define SEND_DENON false
|
||||
|
||||
#define DECODE_KELVINATOR false
|
||||
#define SEND_KELVINATOR false
|
||||
|
||||
#define DECODE_MITSUBISHI_AC false // Beta.
|
||||
#define SEND_MITSUBISHI_AC false
|
||||
|
||||
#define DECODE_FUJITSU_AC false
|
||||
#define SEND_FUJITSU_AC false
|
||||
|
||||
#define DECODE_INAX false
|
||||
#define SEND_INAX false
|
||||
|
||||
#define DECODE_DAIKIN false
|
||||
#define SEND_DAIKIN false
|
||||
|
||||
#define DECODE_COOLIX false
|
||||
#define SEND_COOLIX false
|
||||
|
||||
#define DECODE_GLOBALCACHE false // Not written.
|
||||
#define SEND_GLOBALCACHE false
|
||||
|
||||
#define DECODE_GOODWEATHER false
|
||||
#define SEND_GOODWEATHER false
|
||||
|
||||
#define DECODE_GREE false
|
||||
#define SEND_GREE false
|
||||
|
||||
#define DECODE_PRONTO false // Not written.
|
||||
#define SEND_PRONTO false
|
||||
|
||||
#define DECODE_ARGO false // Experimental
|
||||
#define SEND_ARGO false
|
||||
|
||||
#define DECODE_TROTEC false
|
||||
#define SEND_TROTEC false
|
||||
|
||||
#define DECODE_NIKAI false
|
||||
#define SEND_NIKAI false
|
||||
|
||||
#define DECODE_TOSHIBA_AC false
|
||||
#define SEND_TOSHIBA_AC false
|
||||
|
||||
#define DECODE_MAGIQUEST false
|
||||
#define SEND_MAGIQUEST false
|
||||
|
||||
#define DECODE_MIDEA false
|
||||
#define SEND_MIDEA false
|
||||
|
||||
#define DECODE_LASERTAG false
|
||||
#define SEND_LASERTAG false
|
||||
|
||||
#define DECODE_CARRIER_AC false
|
||||
#define SEND_CARRIER_AC false
|
||||
|
||||
#define DECODE_HAIER_AC false
|
||||
#define SEND_HAIER_AC false
|
||||
|
||||
#define DECODE_HITACHI_AC false
|
||||
#define SEND_HITACHI_AC false
|
||||
|
||||
#define DECODE_HITACHI_AC1 false
|
||||
#define SEND_HITACHI_AC1 false
|
||||
|
||||
#define DECODE_HITACHI_AC2 false
|
||||
#define SEND_HITACHI_AC2 false
|
||||
|
||||
#define DECODE_GICABLE false
|
||||
#define SEND_GICABLE false
|
||||
|
||||
#define DECODE_HAIER_AC_YRW02 false
|
||||
#define SEND_HAIER_AC_YRW02 false
|
||||
|
||||
#define DECODE_WHIRLPOOL_AC false
|
||||
#define SEND_WHIRLPOOL_AC false
|
||||
|
||||
#define DECODE_LUTRON false
|
||||
#define SEND_LUTRON false
|
||||
|
||||
#define DECODE_ELECTRA_AC false
|
||||
#define SEND_ELECTRA_AC false
|
||||
|
||||
#define DECODE_PANASONIC_AC false
|
||||
#define SEND_PANASONIC_AC false
|
||||
|
||||
#define DECODE_MWM false
|
||||
#define SEND_MWM false
|
||||
|
||||
#define DECODE_PIONEER false
|
||||
#define SEND_PIONEER false
|
||||
|
||||
#define DECODE_DAIKIN2 false
|
||||
#define SEND_DAIKIN2 false
|
||||
|
||||
#define DECODE_VESTEL_AC false
|
||||
#define SEND_VESTEL_AC false
|
||||
|
||||
#define DECODE_TECO false
|
||||
#define SEND_TECO false
|
||||
|
||||
#define DECODE_TCL112AC false
|
||||
#define SEND_TCL112AC false
|
||||
|
||||
#define DECODE_LEGOPF false
|
||||
#define SEND_LEGOPF false
|
||||
|
||||
#define DECODE_MITSUBISHIHEAVY false
|
||||
#define SEND_MITSUBISHIHEAVY false
|
||||
|
||||
#define DECODE_DAIKIN216 false
|
||||
#define SEND_DAIKIN216 false
|
||||
|
||||
#define DECODE_DAIKIN160 false
|
||||
#define SEND_DAIKIN160 false
|
||||
|
||||
#define DECODE_NEOCLIMA false
|
||||
#define SEND_NEOCLIMA false
|
||||
|
||||
#define DECODE_DAIKIN176 false
|
||||
#define SEND_DAIKIN176 false
|
||||
|
||||
#define DECODE_DAIKIN128 false
|
||||
#define SEND_DAIKIN128 false
|
||||
|
||||
#define DECODE_AMCOR false
|
||||
#define SEND_AMCOR false
|
||||
|
||||
#define DECODE_DAIKIN152 false
|
||||
#define SEND_DAIKIN152 false
|
||||
|
||||
#define DECODE_HITACHI_AC424 false
|
||||
#define SEND_HITACHI_AC424 false
|
||||
|
||||
#endif // defined(FIRMWARE_IR) || defined(FIRMWARE_IR_CUSTOM) // full IR protocols
|
||||
// Semi-unique code for unknown messages
|
||||
#ifndef DECODE_HASH
|
||||
#define DECODE_HASH _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HASH
|
||||
|
||||
#ifndef SEND_RAW
|
||||
#define SEND_RAW _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_RAW
|
||||
|
||||
#ifndef DECODE_NEC
|
||||
#define DECODE_NEC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_NEC
|
||||
#ifndef SEND_NEC
|
||||
#define SEND_NEC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_NEC
|
||||
|
||||
#ifndef DECODE_SHERWOOD
|
||||
#define DECODE_SHERWOOD false // Not applicable. Actually is DECODE_NEC
|
||||
#endif // DECODE_SHERWOOD
|
||||
#ifndef SEND_SHERWOOD
|
||||
#define SEND_SHERWOOD _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SHERWOOD
|
||||
|
||||
#ifndef DECODE_RC5
|
||||
#define DECODE_RC5 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_RC5
|
||||
#ifndef SEND_RC5
|
||||
#define SEND_RC5 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_RC5
|
||||
|
||||
#ifndef DECODE_RC6
|
||||
#define DECODE_RC6 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_RC6
|
||||
#ifndef SEND_RC6
|
||||
#define SEND_RC6 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_RC6
|
||||
|
||||
#ifndef DECODE_RCMM
|
||||
#define DECODE_RCMM _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_RCMM
|
||||
#ifndef SEND_RCMM
|
||||
#define SEND_RCMM _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_RCMM
|
||||
|
||||
#ifndef DECODE_SONY
|
||||
#define DECODE_SONY _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SONY
|
||||
#ifndef SEND_SONY
|
||||
#define SEND_SONY _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SONY
|
||||
|
||||
#ifndef DECODE_PANASONIC
|
||||
#define DECODE_PANASONIC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_PANASONIC
|
||||
#ifndef SEND_PANASONIC
|
||||
#define SEND_PANASONIC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_PANASONIC
|
||||
|
||||
#ifndef DECODE_JVC
|
||||
#define DECODE_JVC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_JVC
|
||||
#ifndef SEND_JVC
|
||||
#define SEND_JVC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_JVC
|
||||
|
||||
#ifndef DECODE_SAMSUNG
|
||||
#define DECODE_SAMSUNG _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SAMSUNG
|
||||
#ifndef SEND_SAMSUNG
|
||||
#define SEND_SAMSUNG _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SAMSUNG
|
||||
|
||||
#ifndef DECODE_SAMSUNG36
|
||||
#define DECODE_SAMSUNG36 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SAMSUNG36
|
||||
#ifndef SEND_SAMSUNG36
|
||||
#define SEND_SAMSUNG36 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SAMSUNG36
|
||||
|
||||
#ifndef DECODE_SAMSUNG_AC
|
||||
#define DECODE_SAMSUNG_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SAMSUNG_AC
|
||||
#ifndef SEND_SAMSUNG_AC
|
||||
#define SEND_SAMSUNG_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SAMSUNG_AC
|
||||
|
||||
#ifndef DECODE_WHYNTER
|
||||
#define DECODE_WHYNTER _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_WHYNTER
|
||||
#ifndef SEND_WHYNTER
|
||||
#define SEND_WHYNTER _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_WHYNTER
|
||||
|
||||
#ifndef DECODE_AIWA_RC_T501
|
||||
#define DECODE_AIWA_RC_T501 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_AIWA_RC_T501
|
||||
#ifndef SEND_AIWA_RC_T501
|
||||
#define SEND_AIWA_RC_T501 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_AIWA_RC_T501
|
||||
|
||||
#ifndef DECODE_LG
|
||||
#define DECODE_LG _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_LG
|
||||
#ifndef SEND_LG
|
||||
#define SEND_LG _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_LG
|
||||
|
||||
#ifndef DECODE_SANYO
|
||||
#define DECODE_SANYO _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SANYO
|
||||
#ifndef SEND_SANYO
|
||||
#define SEND_SANYO _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SANYO
|
||||
|
||||
#ifndef DECODE_MITSUBISHI
|
||||
#define DECODE_MITSUBISHI _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MITSUBISHI
|
||||
#ifndef SEND_MITSUBISHI
|
||||
#define SEND_MITSUBISHI _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MITSUBISHI
|
||||
|
||||
#ifndef DECODE_MITSUBISHI2
|
||||
#define DECODE_MITSUBISHI2 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MITSUBISHI2
|
||||
#ifndef SEND_MITSUBISHI2
|
||||
#define SEND_MITSUBISHI2 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MITSUBISHI2
|
||||
|
||||
#ifndef DECODE_DISH
|
||||
#define DECODE_DISH _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DISH
|
||||
#ifndef SEND_DISH
|
||||
#define SEND_DISH _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DISH
|
||||
|
||||
#ifndef DECODE_SHARP
|
||||
#define DECODE_SHARP _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SHARP
|
||||
#ifndef SEND_SHARP
|
||||
#define SEND_SHARP _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SHARP
|
||||
|
||||
#ifndef DECODE_SHARP_AC
|
||||
#define DECODE_SHARP_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_SHARP_AC
|
||||
#ifndef SEND_SHARP_AC
|
||||
#define SEND_SHARP_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_SHARP_AC
|
||||
|
||||
#ifndef DECODE_DENON
|
||||
#define DECODE_DENON _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DENON
|
||||
#ifndef SEND_DENON
|
||||
#define SEND_DENON _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DENON
|
||||
|
||||
#ifndef DECODE_KELVINATOR
|
||||
#define DECODE_KELVINATOR _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_KELVINATOR
|
||||
#ifndef SEND_KELVINATOR
|
||||
#define SEND_KELVINATOR _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_KELVINATOR
|
||||
|
||||
#ifndef DECODE_MITSUBISHI_AC
|
||||
#define DECODE_MITSUBISHI_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MITSUBISHI_AC
|
||||
#ifndef SEND_MITSUBISHI_AC
|
||||
#define SEND_MITSUBISHI_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MITSUBISHI_AC
|
||||
|
||||
#ifndef DECODE_MITSUBISHI136
|
||||
#define DECODE_MITSUBISHI136 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MITSUBISHI136
|
||||
#ifndef SEND_MITSUBISHI136
|
||||
#define SEND_MITSUBISHI136 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MITSUBISHI136
|
||||
|
||||
#ifndef DECODE_MITSUBISHI112
|
||||
#define DECODE_MITSUBISHI112 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MITSUBISHI112
|
||||
#ifndef SEND_MITSUBISHI112
|
||||
#define SEND_MITSUBISHI112 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MITSUBISHI112
|
||||
|
||||
#ifndef DECODE_FUJITSU_AC
|
||||
#define DECODE_FUJITSU_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_FUJITSU_AC
|
||||
#ifndef SEND_FUJITSU_AC
|
||||
#define SEND_FUJITSU_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_FUJITSU_AC
|
||||
|
||||
#ifndef DECODE_INAX
|
||||
#define DECODE_INAX _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_INAX
|
||||
#ifndef SEND_INAX
|
||||
#define SEND_INAX _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_INAX
|
||||
|
||||
#ifndef DECODE_DAIKIN
|
||||
#define DECODE_DAIKIN _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN
|
||||
#ifndef SEND_DAIKIN
|
||||
#define SEND_DAIKIN _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN
|
||||
|
||||
#ifndef DECODE_COOLIX
|
||||
#define DECODE_COOLIX _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_COOLIX
|
||||
#ifndef SEND_COOLIX
|
||||
#define SEND_COOLIX _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_COOLIX
|
||||
|
||||
#ifndef DECODE_GLOBALCACHE
|
||||
#define DECODE_GLOBALCACHE false // Not applicable.
|
||||
#endif // DECODE_GLOBALCACHE
|
||||
#ifndef SEND_GLOBALCACHE
|
||||
#define SEND_GLOBALCACHE _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_GLOBALCACHE
|
||||
|
||||
#ifndef DECODE_GOODWEATHER
|
||||
#define DECODE_GOODWEATHER _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_GOODWEATHER
|
||||
#ifndef SEND_GOODWEATHER
|
||||
#define SEND_GOODWEATHER _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_GOODWEATHER
|
||||
|
||||
#ifndef DECODE_GREE
|
||||
#define DECODE_GREE _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_GREE
|
||||
#ifndef SEND_GREE
|
||||
#define SEND_GREE _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_GREE
|
||||
|
||||
#ifndef DECODE_PRONTO
|
||||
#define DECODE_PRONTO false // Not applicable.
|
||||
#endif // DECODE_PRONTO
|
||||
#ifndef SEND_PRONTO
|
||||
#define SEND_PRONTO _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_PRONTO
|
||||
|
||||
#ifndef DECODE_ARGO
|
||||
#define DECODE_ARGO _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_ARGO
|
||||
#ifndef SEND_ARGO
|
||||
#define SEND_ARGO _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_ARGO
|
||||
|
||||
#ifndef DECODE_TROTEC
|
||||
#define DECODE_TROTEC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_TROTEC
|
||||
#ifndef SEND_TROTEC
|
||||
#define SEND_TROTEC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_TROTEC
|
||||
|
||||
#ifndef DECODE_NIKAI
|
||||
#define DECODE_NIKAI _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_NIKAI
|
||||
#ifndef SEND_NIKAI
|
||||
#define SEND_NIKAI _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_NIKAI
|
||||
|
||||
#ifndef DECODE_TOSHIBA_AC
|
||||
#define DECODE_TOSHIBA_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_TOSHIBA_AC
|
||||
#ifndef SEND_TOSHIBA_AC
|
||||
#define SEND_TOSHIBA_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_TOSHIBA_AC
|
||||
|
||||
#ifndef DECODE_MAGIQUEST
|
||||
#define DECODE_MAGIQUEST _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MAGIQUEST
|
||||
#ifndef SEND_MAGIQUEST
|
||||
#define SEND_MAGIQUEST _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MAGIQUEST
|
||||
|
||||
#ifndef DECODE_MIDEA
|
||||
#define DECODE_MIDEA _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MIDEA
|
||||
#ifndef SEND_MIDEA
|
||||
#define SEND_MIDEA _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MIDEA
|
||||
|
||||
#ifndef DECODE_LASERTAG
|
||||
#define DECODE_LASERTAG _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_LASERTAG
|
||||
#ifndef SEND_LASERTAG
|
||||
#define SEND_LASERTAG _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_LASERTAG
|
||||
|
||||
#ifndef DECODE_CARRIER_AC
|
||||
#define DECODE_CARRIER_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_CARRIER_AC
|
||||
#ifndef SEND_CARRIER_AC
|
||||
#define SEND_CARRIER_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_CARRIER_AC
|
||||
|
||||
#ifndef DECODE_HAIER_AC
|
||||
#define DECODE_HAIER_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HAIER_AC
|
||||
#ifndef SEND_HAIER_AC
|
||||
#define SEND_HAIER_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_HAIER_AC
|
||||
|
||||
#ifndef DECODE_HITACHI_AC
|
||||
#define DECODE_HITACHI_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HITACHI_AC
|
||||
#ifndef SEND_HITACHI_AC
|
||||
#define SEND_HITACHI_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_HITACHI_AC
|
||||
|
||||
#ifndef DECODE_HITACHI_AC1
|
||||
#define DECODE_HITACHI_AC1 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HITACHI_AC1
|
||||
#ifndef SEND_HITACHI_AC1
|
||||
#define SEND_HITACHI_AC1 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_HITACHI_AC1
|
||||
|
||||
#ifndef DECODE_HITACHI_AC2
|
||||
#define DECODE_HITACHI_AC2 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HITACHI_AC2
|
||||
#ifndef SEND_HITACHI_AC2
|
||||
#define SEND_HITACHI_AC2 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_HITACHI_AC2
|
||||
|
||||
#ifndef DECODE_GICABLE
|
||||
#define DECODE_GICABLE _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_GICABLE
|
||||
#ifndef SEND_GICABLE
|
||||
#define SEND_GICABLE _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_GICABLE
|
||||
|
||||
#ifndef DECODE_HAIER_AC_YRW02
|
||||
#define DECODE_HAIER_AC_YRW02 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HAIER_AC_YRW02
|
||||
#ifndef SEND_HAIER_AC_YRW02
|
||||
#define SEND_HAIER_AC_YRW02 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_HAIER_AC_YRW02
|
||||
|
||||
#ifndef DECODE_WHIRLPOOL_AC
|
||||
#define DECODE_WHIRLPOOL_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_WHIRLPOOL_AC
|
||||
#ifndef SEND_WHIRLPOOL_AC
|
||||
#define SEND_WHIRLPOOL_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_WHIRLPOOL_AC
|
||||
|
||||
#ifndef DECODE_LUTRON
|
||||
#define DECODE_LUTRON _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_LUTRON
|
||||
#ifndef SEND_LUTRON
|
||||
#define SEND_LUTRON _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_LUTRON
|
||||
|
||||
#ifndef DECODE_ELECTRA_AC
|
||||
#define DECODE_ELECTRA_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_ELECTRA_AC
|
||||
#ifndef SEND_ELECTRA_AC
|
||||
#define SEND_ELECTRA_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_ELECTRA_AC
|
||||
|
||||
#ifndef DECODE_PANASONIC_AC
|
||||
#define DECODE_PANASONIC_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_PANASONIC_AC
|
||||
#ifndef SEND_PANASONIC_AC
|
||||
#define SEND_PANASONIC_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_PANASONIC_AC
|
||||
|
||||
#ifndef DECODE_MWM
|
||||
#define DECODE_MWM _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MWM
|
||||
#ifndef SEND_MWM
|
||||
#define SEND_MWM _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MWM
|
||||
|
||||
#ifndef DECODE_PIONEER
|
||||
#define DECODE_PIONEER _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_PIONEER
|
||||
#ifndef SEND_PIONEER
|
||||
#define SEND_PIONEER _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_PIONEER
|
||||
|
||||
#ifndef DECODE_DAIKIN2
|
||||
#define DECODE_DAIKIN2 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN2
|
||||
#ifndef SEND_DAIKIN2
|
||||
#define SEND_DAIKIN2 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN2
|
||||
|
||||
#ifndef DECODE_VESTEL_AC
|
||||
#define DECODE_VESTEL_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_VESTEL_AC
|
||||
#ifndef SEND_VESTEL_AC
|
||||
#define SEND_VESTEL_AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_VESTEL_AC
|
||||
|
||||
#ifndef DECODE_TECO
|
||||
#define DECODE_TECO _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_TECO
|
||||
#ifndef SEND_TECO
|
||||
#define SEND_TECO _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_TECO
|
||||
|
||||
#ifndef DECODE_TCL112AC
|
||||
#define DECODE_TCL112AC _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_TCL112AC
|
||||
#ifndef SEND_TCL112AC
|
||||
#define SEND_TCL112AC _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_TCL112AC
|
||||
|
||||
#ifndef DECODE_LEGOPF
|
||||
#define DECODE_LEGOPF _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_LEGOPF
|
||||
#ifndef SEND_LEGOPF
|
||||
#define SEND_LEGOPF _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_LEGOPF
|
||||
|
||||
#ifndef DECODE_MITSUBISHIHEAVY
|
||||
#define DECODE_MITSUBISHIHEAVY _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_MITSUBISHIHEAVY
|
||||
#ifndef SEND_MITSUBISHIHEAVY
|
||||
#define SEND_MITSUBISHIHEAVY _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_MITSUBISHIHEAVY
|
||||
|
||||
#ifndef DECODE_DAIKIN216
|
||||
#define DECODE_DAIKIN216 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN216
|
||||
#ifndef SEND_DAIKIN216
|
||||
#define SEND_DAIKIN216 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN216
|
||||
|
||||
#ifndef DECODE_DAIKIN160
|
||||
#define DECODE_DAIKIN160 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN160
|
||||
#ifndef SEND_DAIKIN160
|
||||
#define SEND_DAIKIN160 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN160
|
||||
|
||||
#ifndef DECODE_NEOCLIMA
|
||||
#define DECODE_NEOCLIMA _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_NEOCLIMA
|
||||
#ifndef SEND_NEOCLIMA
|
||||
#define SEND_NEOCLIMA _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_NEOCLIMA
|
||||
|
||||
#ifndef DECODE_DAIKIN176
|
||||
#define DECODE_DAIKIN176 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN176
|
||||
#ifndef SEND_DAIKIN176
|
||||
#define SEND_DAIKIN176 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN176
|
||||
|
||||
#ifndef DECODE_DAIKIN128
|
||||
#define DECODE_DAIKIN128 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN128
|
||||
#ifndef SEND_DAIKIN128
|
||||
#define SEND_DAIKIN128 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN128
|
||||
|
||||
#ifndef DECODE_AMCOR
|
||||
#define DECODE_AMCOR _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_AMCOR
|
||||
#ifndef SEND_AMCOR
|
||||
#define SEND_AMCOR _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_AMCOR
|
||||
|
||||
#ifndef DECODE_DAIKIN152
|
||||
#define DECODE_DAIKIN152 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_DAIKIN152
|
||||
#ifndef SEND_DAIKIN152
|
||||
#define SEND_DAIKIN152 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_DAIKIN152
|
||||
|
||||
#ifndef DECODE_HITACHI_AC424
|
||||
#define DECODE_HITACHI_AC424 _IR_ENABLE_DEFAULT_
|
||||
#endif // DECODE_HITACHI_AC424
|
||||
#ifndef SEND_HITACHI_AC424
|
||||
#define SEND_HITACHI_AC424 _IR_ENABLE_DEFAULT_
|
||||
#endif // SEND_HITACHI_AC424
|
||||
|
||||
#if (DECODE_ARGO || DECODE_DAIKIN || DECODE_FUJITSU_AC || DECODE_GREE || \
|
||||
DECODE_KELVINATOR || DECODE_MITSUBISHI_AC || DECODE_TOSHIBA_AC || \
|
||||
|
@ -495,7 +585,9 @@
|
|||
// Note: If you plan to send IR messages in the callbacks of the AsyncWebserver
|
||||
// library, you need to set ALLOW_DELAY_CALLS to false.
|
||||
// Ref: https://github.com/crankyoldgit/IRremoteESP8266/issues/430
|
||||
#ifndef ALLOW_DELAY_CALLS
|
||||
#define ALLOW_DELAY_CALLS true
|
||||
#endif // ALLOW_DELAY_CALLS
|
||||
|
||||
/*
|
||||
* Always add to the end of the list and should never remove entries
|
||||
|
@ -578,8 +670,9 @@ enum decode_type_t {
|
|||
MITSUBISHI136,
|
||||
MITSUBISHI112,
|
||||
HITACHI_AC424,
|
||||
SONY_38K,
|
||||
// Add new entries before this one, and update it to point to the last entry.
|
||||
kLastDecodeType = HITACHI_AC424,
|
||||
kLastDecodeType = SONY_38K,
|
||||
};
|
||||
|
||||
// Message lengths & required repeat values
|
|
@ -515,6 +515,8 @@ uint16_t IRsend::minRepeats(const decode_type_t protocol) {
|
|||
return kDishMinRepeat;
|
||||
case SONY:
|
||||
return kSonyMinRepeat;
|
||||
case SONY_38K:
|
||||
return kSonyMinRepeat + 1;
|
||||
default:
|
||||
return kNoRepeat;
|
||||
}
|
||||
|
@ -545,6 +547,7 @@ uint16_t IRsend::defaultBits(const decode_type_t protocol) {
|
|||
return 16;
|
||||
case RC6:
|
||||
case SONY:
|
||||
case SONY_38K:
|
||||
return 20;
|
||||
case COOLIX:
|
||||
case INAX:
|
||||
|
@ -818,6 +821,9 @@ bool IRsend::send(const decode_type_t type, const uint64_t data,
|
|||
case SONY:
|
||||
sendSony(data, nbits, min_repeat);
|
||||
break;
|
||||
case SONY_38K:
|
||||
sendSony38(data, nbits, min_repeat);
|
||||
break;
|
||||
#endif
|
||||
#if SEND_TECO
|
||||
case TECO:
|
|
@ -130,7 +130,7 @@ enum panasonic_ac_remote_model_t {
|
|||
kPanasonicUnknown = 0,
|
||||
kPanasonicLke = 1,
|
||||
kPanasonicNke = 2,
|
||||
kPanasonicDke = 3,
|
||||
kPanasonicDke = 3, // PKR too.
|
||||
kPanasonicJke = 4,
|
||||
kPanasonicCkp = 5,
|
||||
kPanasonicRkr = 6,
|
||||
|
@ -203,6 +203,8 @@ class IRsend {
|
|||
// a Sony command that will be accepted be a device.
|
||||
void sendSony(uint64_t data, uint16_t nbits = kSony20Bits,
|
||||
uint16_t repeat = kSonyMinRepeat);
|
||||
void sendSony38(uint64_t data, uint16_t nbits = kSony20Bits,
|
||||
uint16_t repeat = kSonyMinRepeat + 1);
|
||||
uint32_t encodeSony(uint16_t nbits, uint16_t command, uint16_t address,
|
||||
uint16_t extended = 0);
|
||||
#endif
|
||||
|
@ -561,6 +563,10 @@ class IRsend {
|
|||
uint8_t _dutycycle;
|
||||
bool modulation;
|
||||
uint32_t calcUSecPeriod(uint32_t hz, bool use_offset = true);
|
||||
#if SEND_SONY
|
||||
void _sendSony(uint64_t data, uint16_t nbits,
|
||||
uint16_t repeat, uint16_t freq);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // IRSEND_H_
|
|
@ -228,6 +228,8 @@ decode_type_t strToDecodeType(const char * const str) {
|
|||
return decode_type_t::SHERWOOD;
|
||||
else if (!strcasecmp(str, "SONY"))
|
||||
return decode_type_t::SONY;
|
||||
else if (!strcasecmp(str, "SONY_38K"))
|
||||
return decode_type_t::SONY_38K;
|
||||
else if (!strcasecmp(str, "TCL112AC"))
|
||||
return decode_type_t::TCL112AC;
|
||||
else if (!strcasecmp(str, "TECO"))
|
||||
|
@ -461,6 +463,9 @@ String typeToString(const decode_type_t protocol, const bool isRepeat) {
|
|||
case SONY:
|
||||
result = F("SONY");
|
||||
break;
|
||||
case SONY_38K:
|
||||
result = F("SONY_38K");
|
||||
break;
|
||||
case TCL112AC:
|
||||
result = F("TCL112AC");
|
||||
break;
|
|
@ -27,16 +27,16 @@
|
|||
// Pulse parms are *50-100 for the Mark and *50+100 for the space
|
||||
// First MARK is the one after the long gap
|
||||
// pulse parameters in usec
|
||||
const uint16_t kCoolixTick = 560; // Approximately 21 cycles at 38kHz
|
||||
const uint16_t kCoolixBitMarkTicks = 1;
|
||||
const uint16_t kCoolixTick = 276; // Approximately 10.5 cycles at 38kHz
|
||||
const uint16_t kCoolixBitMarkTicks = 2;
|
||||
const uint16_t kCoolixBitMark = kCoolixBitMarkTicks * kCoolixTick;
|
||||
const uint16_t kCoolixOneSpaceTicks = 3;
|
||||
const uint16_t kCoolixOneSpaceTicks = 6;
|
||||
const uint16_t kCoolixOneSpace = kCoolixOneSpaceTicks * kCoolixTick;
|
||||
const uint16_t kCoolixZeroSpaceTicks = 1;
|
||||
const uint16_t kCoolixZeroSpaceTicks = 2;
|
||||
const uint16_t kCoolixZeroSpace = kCoolixZeroSpaceTicks * kCoolixTick;
|
||||
const uint16_t kCoolixHdrMarkTicks = 8;
|
||||
const uint16_t kCoolixHdrMarkTicks = 17;
|
||||
const uint16_t kCoolixHdrMark = kCoolixHdrMarkTicks * kCoolixTick;
|
||||
const uint16_t kCoolixHdrSpaceTicks = 8;
|
||||
const uint16_t kCoolixHdrSpaceTicks = 16;
|
||||
const uint16_t kCoolixHdrSpace = kCoolixHdrSpaceTicks * kCoolixTick;
|
||||
const uint16_t kCoolixMinGapTicks = kCoolixHdrMarkTicks + kCoolixZeroSpaceTicks;
|
||||
const uint16_t kCoolixMinGap = kCoolixMinGapTicks * kCoolixTick;
|
||||
|
@ -57,11 +57,10 @@ using irutils::setBits;
|
|||
// nbits: Nr. of bits of data to be sent. Typically kCoolixBits.
|
||||
// repeat: Nr. of additional times the message is to be sent.
|
||||
//
|
||||
// Status: BETA / Probably works.
|
||||
// Status: STABLE / Confirmed Working.
|
||||
//
|
||||
// Ref:
|
||||
// https://github.com/z3t0/Arduino-IRremote/blob/master/ir_COOLIX.cpp
|
||||
// TODO(anyone): Verify repeat functionality against a real unit.
|
||||
void IRsend::sendCOOLIX(uint64_t data, uint16_t nbits, uint16_t repeat) {
|
||||
if (nbits % 8 != 0) return; // nbits is required to be a multiple of 8.
|
||||
|
||||
|
@ -443,7 +442,11 @@ stdAc::state_t IRCoolixAC::toCommon(const stdAc::state_t *prev) {
|
|||
} else {
|
||||
// Set defaults for non-zero values that are not implicitly set for when
|
||||
// there is no previous state.
|
||||
// e.g. Any setting that toggles should probably go here.
|
||||
result.swingv = stdAc::swingv_t::kOff;
|
||||
result.turbo = false;
|
||||
result.clean = false;
|
||||
result.light = false;
|
||||
result.sleep = -1;
|
||||
}
|
||||
// Not supported.
|