closes Add extern boiler temps to Web UI and MQTT #462

This commit is contained in:
proddy
2020-08-25 14:13:27 +02:00
parent b56b3dc1d6
commit 25a5946245
2 changed files with 5 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "2.0.0b12"
#define EMSESP_APP_VERSION "2.0.0b13"