Troubleshooting LR4/FluidNC jobs with "Connection drop" during job

Observed a few “Connection drop” issues. Curious whether some tweaks to FluidNC would help root cause underlying cause faster, e.g. loose power adapter cord/connections.

Change would add a few fields to $ESP420 output…

<Alarm|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>

$ESP420

Chip ID: 26639

CPU Cores: 2

CPU Frequency: 240Mhz

CPU Temperature: 41.7°C

Free memory: 107.57 KB

SDK: v4.4.7-dirty

Flash Size: 4.00 MB

uptime_ms: 3334062

reset_reason_code: 1

reset_reason_name: ESP_RST_POWERON

previous_panic: false

[MSG:Mode=AP:SSID=FluidNC:IP=10.42.42.1:MAC=68-25-DD-FB-0F-69]

FW version: FluidNC v4.x.x (main-6f103818-dirty)

Helpful, or would something else be better ROI?

It’s a real shame there isn’t a non-volatile boot counter in FluidNC. Then you’d be able to look at the telemetry and see if the controller was having significant rebooting going on.

Also a shame there doesn’t appear to be an RTC on board where you could again put a timestamp on stuff like last boot output in $SS

Yeah, agree, was going to try adding a boot id depending PR response.

RTC would be sweet for sure. Figure there’s some failure conditions a client can detect if uptime unexpectedly resets.