Open Sky-Soo-Ap opened 1 year ago
@Sky-Soo-Ap the smoke_test example by design crashes randomly for 5 times. Hence the crashes. If you reboot manually, again the device will go into 5 times crash mode.
The line introducing the crash: https://github.com/espressif/esp-insights/blob/d8b2dfcff850a0b6ae44c406d5f40a3c9364dc8c/examples/diagnostics_smoke_test/main/app_main.c#L73
@Sky-Soo-Ap can you share the logs with Insights debug enabled, like you did in another issue? Also, did you make any changes to config to the Insight enable API call? Did you check if you are getting metrics/variables data on the dashboard?
@vikramdattu Following logs with Insights debug enabled. ESP_Insights_MQTT_case_No_Error_Warning_Event_logs_1.log
did you make any changes to config to the Insight enable API call? No, following is the source code (app_main.txt) and config (config.log). sdkconfig.log app_main.txt Did you check if you are getting metrics/variables data on the dashboard? No, following is the screenshot on Dashboard.
Hello @Sky-Soo-Ap,
Unfortunately, I am not able to reproduce the issue with IDF branch release/v5.0
yet. There are some change in the log format, which is causing this.
e.g. in your case
"\u001b[0;33mW (36229) app_main: [count][3]\u001b[0m\n"
this entire string is getting treated as an argument to printf function for some reason! Do you by any chance have changes in IDF, especially about log output which may cause this? Do check for the same.
As far as metrics and variables are concerned, those should still be visible on he dashboard. Can you please click on Metrics/variables tabs and check if those are showing?
Hi @vikramdattu, Metrics tab has just a little values and, Variables tab is empty on Dashboard.
Hi Dear, I tried temperature_sensor example and added a smoke test from diagnostics_smoke_test example. Following is the attached log file, sdkconfig file and Dashboard screenshot. ESP_Insights_MQTT_case_No_Error_Warning_Event_logs.log sdkconfig.log