Repository navigation
docs: document map-edit, customised clean, timer and retry commands - #1035
Merged
allenporter merged 1 commit intoNov 24, 2026
Merged
Conversation
Fill in or add V1 command entries from local app traffic captured on a Saros 20 (firmware 02.57.88): save_map, set_carpet_area, app_set_smart_door_sill, app_set_beautify_blocks, start_edit_map, set_segment_ground_material, get/set_customize_clean_mode, app_segment_clean_subdivision, app_start, manual_bak_map, set_timer, upd_timer, del_timer and the retry_request handshake. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lash-L
reviewed
Nov 21, 2026
Lash-L
left a comment
Collaborator
There was a problem hiding this comment.
Automated code review by Gemini 4 Neon in Antigravity using our /review (/code-review) skill (.agents/skills/code-review/SKILL.md / AGENTS.md).
Summary
This documentation-only PR (docs/V1_API_COMMANDS.md, +245 / -12) is clean, well-scoped, and accurate. No blocking issues or factual inaccuracies survived adversarial review.
Protocol & Schema Verification
All documented RPC names, payload structures, key names, value types, and bitfields were cross-checked against the Roborock Android app bundles (including the Saros 20 bundle) and roborock/roborock_typing.py:
- Retry handshake (
retry_request,need_retry: 1): Matches the app's RPC retry wrapper — wraps array parameters as{"data": [...], "need_retry": 1}for retry-enabled commands (includingsave_map,set_timer, andset_customize_clean_mode) and pollsretry_requestwith{"retry_id", "retry_count", "method"}every 2 seconds on["retry"]. - Per-room cleaning (
app_segment_clean_subdivision,get_customize_clean_mode,set_customize_clean_mode): Matches the app's payload keys (data,id,fan_power,water_box_mode,mop_mode,seq_type,repeat,wash_mode,need_wash,clean_order_mode,is_new_clean,auto_dustCollection,auto_dry). - Map editing (
start_edit_map/end_edit_map,save_map,set_carpet_area,app_set_smart_door_sill,app_set_beautify_blocks,set_segment_ground_material,manual_bak_map):save_map: Zone type tags (0no-go,1invisible wall,2no-mop) and[100, map_flag]trailer match.set_carpet_area: Parallelzone_data/flagsschema andflagsbit layout (bits 7–14carpetId, bit 15deepClean, bits 20–22cleanMode) match the app'sMapCarpetCleanFlagsdefinition.app_set_smart_door_sill: Keys (map_index,zones,attrs,sides_infos,side_heights) match.app_set_beautify_blocks: Keys (map_index,data) and type0prefix match.set_segment_ground_material: Material/direction pairs (0, -1default;3, 0|90wood;4, -1tile) and partial-update behavior match.manual_bak_map:{"map_flag": 0}matches.start_edit_map/end_edit_map:[]params and error-ignoring behavior match.
- Timers (
set_timer,upd_timer,del_timer): Wire formats (set_timerwithneed_retry: 1,upd_timerwith["<timer id>", "on"|"off"],del_timerwith["<timer id>"]) match ("on"is confirmed as the counterpart to"off"in the app). - TOC & links: All Table of Contents anchor links resolve to existing headings with no duplicate sections.
Verdict
Passes /review with zero surviving findings — ready to merge.
allenporter
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fills in several empty or missing entries in
docs/V1_API_COMMANDS.md:save_map, carpet areas, door sills, Remove-tool areas, floor material, customised (per-room) cleaning, room cleans with per-room settings, map backup, device timers, and theneed_retry/retry_requesthandshake.Everything comes from local app traffic captured on a Saros 20 (firmware 02.57.88), with the map read back after each edit. Entries say where something is inferred rather than seen. Example coordinates are made up.
AI disclosure: the captures were decoded and this text was written with Claude (Anthropic's AI assistant), checked against the captured traffic before submitting.
🤖 Generated with Claude Code