diff --git a/code/components/jomjol_flowcontroll/ClassFlowMQTT.cpp b/code/components/jomjol_flowcontroll/ClassFlowMQTT.cpp index 60f82d323..98a756960 100644 --- a/code/components/jomjol_flowcontroll/ClassFlowMQTT.cpp +++ b/code/components/jomjol_flowcontroll/ClassFlowMQTT.cpp @@ -239,7 +239,7 @@ bool ClassFlowMQTT::doFlow(string zwtime) { std::vector* NUMBERS = flowpostprocessing->GetNumbers(); - LogFile.WriteToFile(ESP_LOG_INFO, TAG, "Publishing MQTT topics..."); + LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, "Publishing MQTT topics..."); for (int i = 0; i < (*NUMBERS).size(); ++i) { diff --git a/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp b/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp index a4da2cea4..33e33d5e9 100644 --- a/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp +++ b/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp @@ -856,9 +856,9 @@ bool ClassFlowPostProcessing::doFlow(string zwtime) NUMBERS[j]->ErrorMessageText = "no error"; UpdatePreValueINI = true; - string _zw = "PostProcessing - Raw: " + NUMBERS[j]->ReturnRawValue + " Value: " + NUMBERS[j]->ReturnValue + " Error: " + NUMBERS[j]->ErrorMessageText; + string _zw = NUMBERS[j]->name + ": Raw: " + NUMBERS[j]->ReturnRawValue + ", Value: " + NUMBERS[j]->ReturnValue + ", Status: " + NUMBERS[j]->ErrorMessageText; ESP_LOGD(TAG, "%s", zw.c_str()); - LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, _zw); + LogFile.WriteToFile(ESP_LOG_INFO, TAG, _zw); WriteDataLog(j); } diff --git a/code/components/jomjol_tfliteclass/server_tflite.cpp b/code/components/jomjol_tfliteclass/server_tflite.cpp index d8ec0e949..09577e716 100644 --- a/code/components/jomjol_tfliteclass/server_tflite.cpp +++ b/code/components/jomjol_tfliteclass/server_tflite.cpp @@ -736,7 +736,7 @@ void task_autodoFlow(void *pvParameter) while (auto_isrunning) { LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, "----------------------------------------------------------------"); // Clear separation between runs - std::string _zw = "task_autodoFlow - Starting Round #" + std::to_string(++countRounds); + std::string _zw = "Round #" + std::to_string(++countRounds) + " started"; LogFile.WriteToFile(ESP_LOG_INFO, TAG, _zw); fr_start = esp_timer_get_time(); @@ -767,7 +767,7 @@ void task_autodoFlow(void *pvParameter) string zwtemp = "CPU Temperature: " + stream.str(); LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, zwtemp); - LogFile.WriteToFile(ESP_LOG_INFO, TAG, "task_autodoFlow - round #" + std::to_string(countRounds) + " completed"); + LogFile.WriteToFile(ESP_LOG_INFO, TAG, "Round #" + std::to_string(countRounds) + " completed"); fr_delta_ms = (esp_timer_get_time() - fr_start) / 1000; if (auto_intervall > fr_delta_ms) diff --git a/code/main/main.cpp b/code/main/main.cpp index c26baabde..acd7fd3ab 100644 --- a/code/main/main.cpp +++ b/code/main/main.cpp @@ -195,7 +195,7 @@ extern "C" void app_main(void) ESP_LOGD(TAG, "No SSID and PASSWORD set!!!"); if (hostname != NULL) - ESP_LOGD(TAG, "Hostename: %s", hostname); + ESP_LOGD(TAG, "Hostname: %s", hostname); else ESP_LOGD(TAG, "Hostname not set"); @@ -230,10 +230,10 @@ extern "C" void app_main(void) ESP_LOGD(TAG, "time %s", zw.c_str()); size_t _hsize = getESPHeapSize(); - if (_hsize < 4000000) + if (_hsize < 4000000) // Check for a bit less than 4 MB (but clearly over 2 MB) { - std::string _zws = "Not enough PSRAM available. Expected 4.194.304 MByte - available: " + std::to_string(_hsize); - _zws = _zws + "\nEither not initialized, too small (2MByte only) or not present at all. Firmware cannot start!!"; + std::string _zws = "Not enough PSRAM available. Expected around 4 MBytes - available: " + std::to_string((float)_hsize/1024/1024) + " MBytes!"; + _zws = _zws + "\nEither not initialized, too small (2 MByte only) or not present at all. Firmware cannot start!!"; LogFile.WriteToFile(ESP_LOG_ERROR, TAG, _zws); } else { // Bad Camera Status, retry init if (camStatus != ESP_OK) { diff --git a/docs/releases/download/v12.0.5/firmware.bin b/docs/releases/download/v12.0.5/firmware.bin new file mode 100644 index 000000000..cdf150d3b Binary files /dev/null and b/docs/releases/download/v12.0.5/firmware.bin differ