[Feature Request] Filter output for ardulog (Can't convert...)
Hi,
I have a lot of output log in my projects, some of then are not numbers, could you implement so kind of filter to read by arduplot, also I use ESP_LOGI(TAG, "Preparando para configurar WiFI"); function more than Serial.print in Arduino
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/log.html
Some examples:
void loop() {
Serial.println("Reading Humidity and Temperature");
readDHT22();
Serial.printf("Humidity: %.1f\t Temperature: %.1f\n", temperature, humidity);
delay(1000);
}
I get lot of garbage:
Can't convert b'[main]' to float. it's zeroed out Can't convert b'12,' to float. it's zeroed out
void loop() {
Serial.println("Reading Humidity and Temperature");
readDHT22();
Serial.printf("Humidity: [ARDUPLOT1]%.1f\t Temperature: [ARDUPLOT2]%.1f\n", temperature, humidity);
delay(1000);
}
or
void loop() {
Serial.println("Reading Humidity and Temperature");
readDHT22();
Serial.printf("[ARDUPLOT]%.1f\t %.1f\n", temperature, humidity);
delay(1000);
}
So the plot is the for [ARDUPLOT]%.1f part.
I hope I explain properly.
Best Regards
Hi,
For the mean time, I don't have the plan for a generic filter. The only plan I have is to implement the new label1:value1 label2:value2 label3:value3 .... style data instead of current value1 value2 value3... style. But I need to plan my time out of my other works.
Meanwhile, if you need some other generic and maybe serious low code serial plotter, you may want to try out the node-red with node-red-node-serialport and node-red-dashboard.
Hi,
Thanks for you answer, I will wait for your improvements