Skip to content

Add uptime and reset reason to $ESP420 output - #1732

Open
aaronse wants to merge 1 commit into
bdring:mainfrom
aaronse:main
Open

Add uptime and reset reason to $ESP420 output#1732
aaronse wants to merge 1 commit into
bdring:mainfrom
aaronse:main

Conversation

@aaronse

@aaronse aaronse commented May 13, 2026

Copy link
Copy Markdown

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_ms
  • reset_reason_code
  • reset_reason_name
  • previous_panic

This 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.

@MitchBradley

Copy link
Copy Markdown
Collaborator

Did you test with the two WebUIs to see if they are okay with the changes?

@aaronse

aaronse commented May 14, 2026

Copy link
Copy Markdown
Author

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.

@MitchBradley

Copy link
Copy Markdown
Collaborator

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.

@aaronse

aaronse commented Aug 10, 2026

Copy link
Copy Markdown
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants