fixes for SM10

This commit is contained in:
proddy
2019-03-21 22:16:54 +01:00
parent cb7e8359b6
commit 190082155e
2 changed files with 7 additions and 4 deletions

View File

@@ -392,9 +392,10 @@ void showInfo() {
// For SM10 Solar Module
if (EMS_Other.SM10) {
_renderFloatValue("SM10 collector temperature", "C", EMS_Other.SM10collectorTemp);
_renderFloatValue("SM10 bottom temperature", "C", EMS_Other.SM10bottomTemp);
_renderIntValue("SM10 pump", "%", EMS_Other.SM10pumpModulation);
myDebug("%sSolar Module stats:%s", COLOR_BOLD_ON, COLOR_BOLD_OFF);
_renderFloatValue(" Collector temperature", "C", EMS_Other.SM10collectorTemp);
_renderFloatValue(" Bottom temperature", "C", EMS_Other.SM10bottomTemp);
_renderIntValue(" Pump modulation", "%", EMS_Other.SM10pumpModulation);
}
myDebug(""); // newline
@@ -1405,5 +1406,4 @@ void loop() {
if (EMSESP_DELAY != 0) {
delay(EMSESP_DELAY); // some time to WiFi and everything else to catch up, and prevent overheating
}
}

View File

@@ -1263,7 +1263,10 @@ void _process_Version(uint8_t src, uint8_t * data, uint8_t length) {
myDebug("SM10 Solar Module support enabled.");
}
// fetch other values
ems_getOtherValues();
return;
} else {
myDebug("Unrecognized device found. TypeID 0x%02X, Product ID %d, Version %s", src, product_id, version);
}