Skip to content

V3.1: Fix Python fallback, config diagnostics, and Docker secret guidance - #318

Open
BlackRockCity wants to merge 1 commit into
Python-roborock:mainfrom
BlackRockCity:ios-mitm-onboarding-helper-followup
Open

BlackRockCity wants to merge 1 commit into
Python-roborock:mainfrom
BlackRockCity:ios-mitm-onboarding-helper-followup

Conversation

@BlackRockCity

Copy link
Copy Markdown
Contributor

What does this PR do?

Follow-up to the merged V3 iOS onboarding wizard, addressing the remaining automated-review nits:

  • Validate that Python candidates actually run and meet the minimum version requirement before accepting them, with a checked uv python find fallback.
  • Show recovery instructions for malformed, empty, or duplicate-key configuration without exposing credential values.
  • Add Docker/standalone instructions for retrieving the Protocol Sync Secret from the admin page’s Protocol Auth section. Retain the Home Assistant Apps → Roborock Local Server → Open Web UI instructions.
  • Suppress the duplicate shutdown heading during Step 8 while preserving the heading for the standalone stop command.
  • Clarify that the mitmweb authentication token appears in open’s URL argument. The Protocol Sync Secret is handled separately.

Proof that it works

The author manually tested this revision using the same hardware and software environment as the previously merged V3 PR.

Tested by author on:

  • Vacuum model: Saros 10R
  • Roborock firmware version: 02.50.56
  • Roborock Local Server version: 1.2.1
  • iOS version: 27.2.1
  • Roborock iOS app version: 4.70.02
  • Host tooling: macOS Bash 3.2.57; Python 3.12.11 for static checks.

Additional automated validation:

  • bash -n roborock_onboard.sh passed.
  • All 76 local regression tests passed, including Python discovery and fallback, configuration diagnostics, secret-retrieval guidance, and shutdown-heading behavior.
Ran 76 tests in 11.348s

OK

…ance

V3.1: Fix remaining iOS onboarding wizard review nits

- Validate Python interpreters and the uv fallback before accepting them.
- Show recovery instructions for malformed configuration.
- Add Docker/standalone guidance for retrieving the Protocol Sync Secret.
- Suppress the duplicate shutdown heading during Step 8.
- Clarify that the mitmweb authentication token appears in open's URL argument.

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