diff --git a/src/ems-esp.ino b/src/ems-esp.ino index 0e4297145..9bd74754d 100644 --- a/src/ems-esp.ino +++ b/src/ems-esp.ino @@ -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 } - } diff --git a/src/ems.cpp b/src/ems.cpp index bffa3a7c2..3a5a3f272 100644 --- a/src/ems.cpp +++ b/src/ems.cpp @@ -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); }