mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fixes for SM10
This commit is contained in:
@@ -392,9 +392,10 @@ void showInfo() {
|
|||||||
|
|
||||||
// For SM10 Solar Module
|
// For SM10 Solar Module
|
||||||
if (EMS_Other.SM10) {
|
if (EMS_Other.SM10) {
|
||||||
_renderFloatValue("SM10 collector temperature", "C", EMS_Other.SM10collectorTemp);
|
myDebug("%sSolar Module stats:%s", COLOR_BOLD_ON, COLOR_BOLD_OFF);
|
||||||
_renderFloatValue("SM10 bottom temperature", "C", EMS_Other.SM10bottomTemp);
|
_renderFloatValue(" Collector temperature", "C", EMS_Other.SM10collectorTemp);
|
||||||
_renderIntValue("SM10 pump", "%", EMS_Other.SM10pumpModulation);
|
_renderFloatValue(" Bottom temperature", "C", EMS_Other.SM10bottomTemp);
|
||||||
|
_renderIntValue(" Pump modulation", "%", EMS_Other.SM10pumpModulation);
|
||||||
}
|
}
|
||||||
|
|
||||||
myDebug(""); // newline
|
myDebug(""); // newline
|
||||||
@@ -1405,5 +1406,4 @@ void loop() {
|
|||||||
if (EMSESP_DELAY != 0) {
|
if (EMSESP_DELAY != 0) {
|
||||||
delay(EMSESP_DELAY); // some time to WiFi and everything else to catch up, and prevent overheating
|
delay(EMSESP_DELAY); // some time to WiFi and everything else to catch up, and prevent overheating
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1263,7 +1263,10 @@ void _process_Version(uint8_t src, uint8_t * data, uint8_t length) {
|
|||||||
myDebug("SM10 Solar Module support enabled.");
|
myDebug("SM10 Solar Module support enabled.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fetch other values
|
||||||
|
ems_getOtherValues();
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
myDebug("Unrecognized device found. TypeID 0x%02X, Product ID %d, Version %s", src, product_id, version);
|
myDebug("Unrecognized device found. TypeID 0x%02X, Product ID %d, Version %s", src, product_id, version);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user