Skip to content

Add a firmware update screen with install, progress and pre-checks - #112

Draft
virtitnerd wants to merge 1 commit into
DonSidro:masterfrom
virtitnerd:pr/firmware-update-screen
Draft

virtitnerd wants to merge 1 commit into
DonSidro:masterfrom
virtitnerd:pr/firmware-update-screen

Conversation

@virtitnerd

@virtitnerd virtitnerd commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Depends on: Python-roborock/local_roborock_server#255

Why

The update check existed but was hidden, because a robot paired to the local server could not be updated at all. With the
server able to install, LocalRock can do it too.

What

A Firmware updates row in the robot settings opens a screen that checks for an update and shows the installed and
available versions with the release notes. Update now asks the server to install, then follows the robot through
download, install and reboot using its own get_ota_state and get_ota_progress, including the minute it is offline.

The same rule as the server decides if the button works, and the screen says why it does not: docked (or asleep on its
charger), not cleaning, no error, at least 80% battery.

Testing

Unit tests for the pre-check and for the progress steps. The screen was opened on a Qrevo Curv 2 Flow after its real
update, where it reads Up to date with the installed version. The install path itself has not been run from LocalRock yet,
because that robot is already current. The same update through the official app's Update button is what the server PR
was verified with.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant