diff --git a/platformio.ini b/platformio.ini index 4d2bfee4d..85ebc08bd 100644 --- a/platformio.ini +++ b/platformio.ini @@ -105,7 +105,7 @@ build_type = release board_build.filesystem = littlefs lib_deps = bblanchon/ArduinoJson @ 7.4.2 - ESP32Async/AsyncTCP @ 3.4.9 + ESP32Async/AsyncTCP @ 3.4.10 ESP32Async/ESPAsyncWebServer @ 3.9.3 https://github.com/emsesp/EMS-ESP-Modules.git @ 1.0.8 diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index cdf30e386..e1242e6ac 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -1228,7 +1228,7 @@ void Thermostat::process_RC300Summer(std::shared_ptr telegram) { if (hc->heatingtype != 3) { has_update(telegram, hc->designtemp, 4); - has_update(telegram, hc->minflowtemp, 13); + has_update(telegram, hc->minflowtemp, model() == EMSdevice::EMS_DEVICE_FLAG_BC400 ? 13 : 8); } else { has_update(telegram, hc->designtemp, 5); has_update(telegram, hc->minflowtemp, 8); diff --git a/src/emsesp_version.h b/src/emsesp_version.h index 515d6895e..7ae47456b 100644 --- a/src/emsesp_version.h +++ b/src/emsesp_version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.8.1-dev.2" +#define EMSESP_APP_VERSION "3.8.1-dev.3" diff --git a/src/uart/emsuart_esp32.cpp b/src/uart/emsuart_esp32.cpp index 2b7bf1fd3..f09e4542d 100644 --- a/src/uart/emsuart_esp32.cpp +++ b/src/uart/emsuart_esp32.cpp @@ -52,7 +52,8 @@ void EMSuart::uart_event_task(void * pvParameters) { uart_read_bytes(EMSUART_NUM, telegram, length, portMAX_DELAY); EMSESP::incoming_telegram(telegram, (uint8_t)(length - 1)); } else { // flush buffer up to break - uart_flush_input(EMSUART_NUM); + uint8_t buf[UART_FIFO_LEN]; + uart_read_bytes(EMSUART_NUM, buf, length, portMAX_DELAY); } length = 0; } else if (event.type == UART_BUFFER_FULL) {