Adding supporting code for the Samsung AQV12MSAN model

This commit is contained in:
ericvb 2020-05-18 20:17:42 +02:00 committed by GitHub
parent a5c957a247
commit afb87c4ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/*
Samsung AQV12PSBN / AQV09ASA heatpump control (remote control P/N zzz)
Samsung AQV12MSAN (remote control ARH-1362)
Samsung FJM (RJ040F2HXEA / MH026FNEA) heatpump control (remote control P/N ARH-465)
*/
#ifndef SamsungHeatpumpIR_h
@ -47,11 +48,13 @@
#define SAMSUNG_AIRCON2_VS_AUTO 0xF0
#define SAMSUNG_AIRCON2_TURBO 0x06 // 30 minutes of full power
#define MODEL_AQV12_MSAN 1
class SamsungHeatpumpIR : public HeatpumpIR
{
protected:
SamsungHeatpumpIR();
uint8_t _samsungAQVModel;
public:
virtual void send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingModeCmd, uint8_t fanSpeedCmd, uint8_t temperatureCmd, uint8_t swingVCmd, uint8_t swingHCmd);
@ -82,4 +85,10 @@ class SamsungFJMHeatpumpIR : public SamsungHeatpumpIR
void sendSamsung(IRSender& IR, uint8_t powerMode, uint8_t operatingMode, uint8_t fanSpeed, uint8_t temperature, uint8_t swingV, bool turboMode);
};
class SamsungAQV12MSANHeatpumpIR : public SamsungAQVHeatpumpIR
{
public:
SamsungAQV12MSANHeatpumpIR();
};
#endif