From 25a59462458cdfdddc1e48eafdba3ae64825d7c0 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 25 Aug 2020 14:13:27 +0200 Subject: [PATCH] closes Add extern boiler temps to Web UI and MQTT #462 --- src/devices/boiler.cpp | 4 ++++ src/version.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 24ad6002e..48874f457 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -97,6 +97,7 @@ void Boiler::device_info(JsonArray & root) { render_value_json(root, "", F("Warm Water selected temperature"), wWSelTemp_, F_(degrees)); render_value_json(root, "", F("Warm Water set temperature"), wWSetTmp_, F_(degrees)); render_value_json(root, "", F("Warm Water current temperature (intern)"), wWCurTmp_, F_(degrees), 10); + render_value_json(root, "", F("Warm Water current temperature (extern)"), wWCurTmp2_, F_(degrees), 10); } // publish values via MQTT @@ -159,6 +160,9 @@ void Boiler::publish_values() { if (Helpers::hasValue(wWCurTmp_)) { doc["wWCurTmp"] = (float)wWCurTmp_ / 10; } + if (Helpers::hasValue(wWCurTmp2_)) { + doc["wWCurTmp2"] = (float)wWCurTmp2_ / 10; + } if (Helpers::hasValue(wWCurFlow_)) { doc["wWCurFlow"] = (float)wWCurFlow_ / 10; } diff --git a/src/version.h b/src/version.h index 2d648f16b..f831215e6 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "2.0.0b12" +#define EMSESP_APP_VERSION "2.0.0b13"