mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
closes Add extern boiler temps to Web UI and MQTT #462
This commit is contained in:
@@ -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 selected temperature"), wWSelTemp_, F_(degrees));
|
||||||
render_value_json(root, "", F("Warm Water set temperature"), wWSetTmp_, 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 (intern)"), wWCurTmp_, F_(degrees), 10);
|
||||||
|
render_value_json(root, "", F("Warm Water current temperature (extern)"), wWCurTmp2_, F_(degrees), 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
// publish values via MQTT
|
// publish values via MQTT
|
||||||
@@ -159,6 +160,9 @@ void Boiler::publish_values() {
|
|||||||
if (Helpers::hasValue(wWCurTmp_)) {
|
if (Helpers::hasValue(wWCurTmp_)) {
|
||||||
doc["wWCurTmp"] = (float)wWCurTmp_ / 10;
|
doc["wWCurTmp"] = (float)wWCurTmp_ / 10;
|
||||||
}
|
}
|
||||||
|
if (Helpers::hasValue(wWCurTmp2_)) {
|
||||||
|
doc["wWCurTmp2"] = (float)wWCurTmp2_ / 10;
|
||||||
|
}
|
||||||
if (Helpers::hasValue(wWCurFlow_)) {
|
if (Helpers::hasValue(wWCurFlow_)) {
|
||||||
doc["wWCurFlow"] = (float)wWCurFlow_ / 10;
|
doc["wWCurFlow"] = (float)wWCurFlow_ / 10;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define EMSESP_APP_VERSION "2.0.0b12"
|
#define EMSESP_APP_VERSION "2.0.0b13"
|
||||||
|
|||||||
Reference in New Issue
Block a user