add support for IRFactory and update Readme

This commit is contained in:
Fabian Kunkel 2024-01-05 16:08:21 +01:00
parent b8ce01554a
commit f8f013a97f
3 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@ HeatpumpIR* HeatpumpIRFactory::create(const char *modelName) {
return new HyundaiHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("ivt")) == 0) {
return new IVTHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("nibe")) == 0) {
return new NibeHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("midea")) == 0) {
return new MideaHeatpumpIR();
} else if (strcmp_P(modelName, PSTR("mitsubishi_fa")) == 0) {

View File

@ -15,6 +15,7 @@
#include <HitachiHeatpumpIR.h>
#include <HyundaiHeatpumpIR.h>
#include <IVTHeatpumpIR.h>
#include <NibeHeatpumpIR.h>
#include <MideaHeatpumpIR.h>
#include <MitsubishiHeatpumpIR.h>
#include <MitsubishiHeavyFDTCHeatpumpIR.h>

View File

@ -28,6 +28,7 @@ An Arduino library to control pump/split unit air conditioner. Currently support
* Mitsubishi MSZ FD-25, probably also FD-35 (remote control P/N KM09D 0052376)
* Also FH series has been confirmed to work
* Mitsubishi Electric MSC-GA20VB, MSC-GA25VB, MSC-GA35VB (remote control P/N KP1A)
* Nibe AG-WL10-4, probably AG-WT10
* Panasonic E9/E12-CKP (Panasonic remote control P/N A75C2295)
* Panasonic E9/E12-DKE (Panasonic remote control P/N A75C2616)
* Panasonic E9/E12-JKE and E9/E12-NKE