From aa17bf8a594fd0bd8aa0a63fdc5102dcb68cc9df Mon Sep 17 00:00:00 2001 From: matthias882 <30553262+matthias882@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:35:42 +0100 Subject: [PATCH] Hardcoded Temperature-Range ist too small MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The temperature range in this code is set to 16-27°C. 16°C as low level is correct, Lower temp is not possible in the communication-protocol. On my Samsung MH035FPEA-unit the maximum temperature is 30°C. For heating mode it would be nice to set this from the arduino-control. Matthias --- SamsungHeatpumpIR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SamsungHeatpumpIR.cpp b/SamsungHeatpumpIR.cpp index 95f236f..2f9d311 100644 --- a/SamsungHeatpumpIR.cpp +++ b/SamsungHeatpumpIR.cpp @@ -292,7 +292,7 @@ void SamsungFJMHeatpumpIR::send(IRSender& IR, uint8_t powerModeCmd, uint8_t oper break; } - if ( temperatureCmd > 15 && temperatureCmd < 28) + if ( temperatureCmd > 15 && temperatureCmd < 31) { temperature = temperatureCmd; }