Skip to content

U1: Device UI offers no power-loss recovery when saved recovery data is valid #1062

Open

Description

@rdcstout

Is there an existing issue for this problem?

  • I have searched the existing issues

Searched open and closed issues and PRs for power loss, outage, resume, recovery, Chinese power-loss recovery terms, and the recovery command; no matching report found.

Snapmaker_Orca Version

2.4.0. Installed embedded Device UI: 2.3.38, build 20260915154633.

Operating System (OS)

macOS

OS Version

26.6.2

Printer

Snapmaker U1 over LAN. Printer API reported Klipper software_version: 2.0.0.205_20260914173503 and Moonraker 2.0.0.

How to reproduce

Observed once during an actual, unplanned power interruption on October 21, 2026:

  1. A print was running on the U1 when it lost power.
  2. Power returned and the printer booted successfully.
  3. Snapmaker Orca did not offer a usable option to recover the interrupted print.
  4. A direct status query showed saved power-loss recovery data was available.
  5. Sending the dedicated recovery command through Moonraker started recovery and returned the printer to printing.

The outage has not been deliberately repeated. No screenshot of the pre-recovery UI was captured.

Actual results

The user-facing symptom was no available recovery action in Orca. Before recovery, the printer returned this relevant status subset:

{
  "print_stats": {"filename": "", "state": "standby"},
  "pause_resume": {"is_paused": false},
  "virtual_sdcard": {
    "file_path": null,
    "is_active": false,
    "pl_env_valid": true
  },
  "exception_manager": {"exceptions": []}
}

This was a recoverable power-loss state rather than an ordinary paused print.

Expected results

When a connected U1 reports valid saved power-loss recovery data, Orca should offer an explicit recovery action using the printer's dedicated recovery mechanism, with appropriate state checks. Ordinary paused-print resume should remain separate.

Project file & Debug log uploads

No project archive or full logs attached. Sanitized API observations are included here. This report concerns recovery availability in the Device UI; print completion and final part quality have not been verified.

Checklist of files to include

  • Log file
  • Project file

Anything else?

Demonstrated workaround

A single POST to /printer/gcode/script with:

{"script":"SDCARD_PRINT_PL_RESTORE"}

started recovery. The HTTP client timed out while recovery was running; the request was not resent. Subsequent status queries confirmed heating, followed by:

{
  "print_stats": {
    "state": "printing",
    "info": {"total_layer": 952, "current_layer": 803}
  },
  "virtual_sdcard": {"is_active": true, "progress": 0.7375514840398028},
  "exception_manager": {"exceptions": []}
}

Source inspection — likely integration gap

At OrcaSlicer commit 5638e55c6e6801bac43ab44f2cad7372cea67171, the bundled web UI is version 2.3.40, build 20260930162817 (newer than the installed UI; inspected statically, not tested during an outage):

These findings suggest missing Device UI integration for power-loss recovery. They do not establish every possible UI/cloud recovery path or constitute a runtime reproduction on the newer bundle.

Activity

  1. gushanji commented on Nov 20, 2026

    @gushanji

    Thanks for this report — it's exceptionally clear, and you did the diagnosis for us. Everything you found checks out: pl_env_valid and SDCARD_PRINT_PL_RESTORE have zero matches across our tree (src and resources/web/flutter_web/main.dart.js); the Flutter Device UI uses printer.print.resume exactly as you pointed out, and MoonRaker.cpp:1509 does the same ordinary resume. So even when the printer reports pl_env_valid: true, the front end has no path to invoke the recovery command.

    Your verified workaround (POSTing SDCARD_PRINT_PL_RESTORE) is correct and useful to have documented here for other users.

    Tracking this as a defect. What's needed is: subscribe to pl_env_valid, and when it's true surface a distinct "recover print" action in the Device UI, kept separate from ordinary paused-print resume — as your Expected results describe. No timeline yet. If this is affecting your workflow, feel free to also raise it on Feature Requests — not because it's a feature, but because that's where we count user impact: https://forum.snapmaker.com/c/feature-request/102

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions