Fix Fuego etc. vertical air direction codes
This commit is contained in:
parent
c743eaff37
commit
4be0f804c8
|
@ -27,7 +27,7 @@ void FuegoHeatpumpIR::send(IRSender& IR, uint8_t powerModeCmd, uint8_t operating
|
||||||
if (powerModeCmd == POWER_OFF)
|
if (powerModeCmd == POWER_OFF)
|
||||||
{
|
{
|
||||||
powerMode = FUEGO_AIRCON1_MODE_OFF;
|
powerMode = FUEGO_AIRCON1_MODE_OFF;
|
||||||
operatingMode = FUEGO_AIRCON1_MODE_AUTO;
|
swingVCmd = VDIR_MUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (operatingModeCmd)
|
switch (operatingModeCmd)
|
||||||
|
@ -70,6 +70,8 @@ void FuegoHeatpumpIR::send(IRSender& IR, uint8_t powerModeCmd, uint8_t operating
|
||||||
switch (swingVCmd)
|
switch (swingVCmd)
|
||||||
{
|
{
|
||||||
case VDIR_AUTO:
|
case VDIR_AUTO:
|
||||||
|
swingV = FUEGO_AIRCON1_VS_AUTO;
|
||||||
|
break;
|
||||||
case VDIR_SWING:
|
case VDIR_SWING:
|
||||||
swingV = FUEGO_AIRCON1_VS_SWING;
|
swingV = FUEGO_AIRCON1_VS_SWING;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -27,13 +27,13 @@
|
||||||
#define FUEGO_AIRCON1_FAN2 0x03
|
#define FUEGO_AIRCON1_FAN2 0x03
|
||||||
#define FUEGO_AIRCON1_FAN3 0x05
|
#define FUEGO_AIRCON1_FAN3 0x05
|
||||||
|
|
||||||
#define FUEGO_AIRCON1_VS_SWING 0x38 // Vertical swing
|
#define FUEGO_AIRCON1_VS_AUTO 0x00 // Vertical swing
|
||||||
#define FUEGO_AIRCON1_VS_UP 0x00
|
#define FUEGO_AIRCON1_VS_UP 0x08
|
||||||
#define FUEGO_AIRCON1_VS_MUP 0x08
|
#define FUEGO_AIRCON1_VS_MUP 0x10
|
||||||
#define FUEGO_AIRCON1_VS_MIDDLE 0x18
|
#define FUEGO_AIRCON1_VS_MIDDLE 0x18
|
||||||
#define FUEGO_AIRCON1_VS_MDOWN 0x20
|
#define FUEGO_AIRCON1_VS_MDOWN 0x20
|
||||||
#define FUEGO_AIRCON1_VS_DOWN 0x28
|
#define FUEGO_AIRCON1_VS_DOWN 0x28
|
||||||
|
#define FUEGO_AIRCON1_VS_SWING 0x38
|
||||||
|
|
||||||
class FuegoHeatpumpIR : public HeatpumpIR
|
class FuegoHeatpumpIR : public HeatpumpIR
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue