From 4dc550d61710492a461e50b63dd946e75c784604 Mon Sep 17 00:00:00 2001 From: Rasyid Ridho <34451369+rasyid7@users.noreply.github.com> Date: Thu, 4 Jul 2019 15:53:33 +0700 Subject: [PATCH] change operatingMode to AUTO based on https://github.com/ToniA/arduino-heatpumpir/issues/71#issuecomment-506924875 I realized that the off command is hardcoded to HEAT and not all AUX has HEAT mode. Changing to AUTO should do the work. --- AUXHeatpumpIR.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AUXHeatpumpIR.cpp b/AUXHeatpumpIR.cpp index f4db1e7..cc47b02 100644 --- a/AUXHeatpumpIR.cpp +++ b/AUXHeatpumpIR.cpp @@ -15,7 +15,7 @@ void AUXHeatpumpIR::send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingMo // Sensible defaults for the heat pump mode uint8_t powerMode = AUX_AIRCON1_MODE_ON; - uint8_t operatingMode = AUX_AIRCON1_MODE_HEAT; + uint8_t operatingMode = AUX_AIRCON1_MODE_AUTO; uint8_t fanSpeed = AUX_AIRCON1_FAN_AUTO; uint8_t temperature = 23; uint8_t swingV = AUX_AIRCON1_VDIR_MANUAL; @@ -130,4 +130,4 @@ void AUXHeatpumpIR::sendAUX(IRSender& IR, uint8_t powerMode, uint8_t operatingMo // End mark IR.mark(AUX_AIRCON1_BIT_MARK); IR.space(0); -} \ No newline at end of file +}