Add uptime and reset reason to $ESP420 output - #1732
Conversation
|
Did you test with the two WebUIs to see if they are okay with the changes? |
No. I only tested with 3.0 WebUI. I'll test with 2.x as well if this type of edit seems helpful? If so, I'll attach observations/evidence for both. I'll follow up in ~wk. |
|
Sorry for losing the thread on this. Please test with webui 2 and FigUI, and if they are okay with it, I will merge this change. |
Same here, i didn't believe my "follow up in ~wk" comment shortly after posting. I've been working on a fluidnc client that builds on Jason's FluidTouch work. I'll follow here if/when I verify these edits with the clients you mentioned. Soon Hopefully...TM |
Thoughts on these edits, or something like them, to help Users self diagnose and root cause job failures faster?
Adds a few ESP32 runtime fields to
$ESP420/System/Stats:uptime_msreset_reason_codereset_reason_nameprevious_panicThis helps users and support tools quickly tell whether a connection loss or job failure likely involved a controller reboot, brownout, panic, watchdog reset, or a network-only disconnect.
Kept intentionally small... no new command, no event history, no persistent boot ID. I'd like to propose/contribute more, but figured narrow scope might be low risk and helpful enough to incorporate.