@@ -106,6 +106,9 @@ class RoborockCommand(str, Enum):
106106 SWITCH_WATER_MARK = "switch_water_mark"
107107 SET_IDENTIFY_FURNITURE_STATUS = "set_identify_furniture_status"
108108 GET_CLEAN_RECORD_MAP = "get_clean_record_map"
109+ GET_ROOM_MAPPING = "get_room_mapping"
110+ NAME_SEGMENT = "name_segment"
111+ SET_TIMEZONE = "set_timezone"
109112
110113
111114@dataclass
@@ -167,23 +170,29 @@ class CommandInfo:
167170 RoborockCommand .APP_SPOT : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
168171 RoborockCommand .FIND_ME : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
169172 RoborockCommand .RESUME_ZONED_CLEAN : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
170- RoborockCommand .RESUME_SEGMENT_CLEAN : CommandInfo (prefix = b'\x00 \x00 \x00 w ' ),
173+ RoborockCommand .RESUME_SEGMENT_CLEAN : CommandInfo (prefix = b'\x00 \x00 \x00 \x87 ' ),
171174 RoborockCommand .RESET_CONSUMABLE : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
172175 RoborockCommand .LOAD_MULTI_MAP : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
173176 RoborockCommand .APP_RC_START : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
174177 RoborockCommand .APP_RC_END : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
175178 RoborockCommand .APP_RC_MOVE : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
176- RoborockCommand .APP_GOTO_TARGET : CommandInfo (prefix = b'\x00 \x00 \x00 w ' ),
177- RoborockCommand .APP_SEGMENT_CLEAN : CommandInfo (prefix = b'\x00 \x00 \x00 w ' ),
179+ RoborockCommand .APP_GOTO_TARGET : CommandInfo (prefix = b'\x00 \x00 \x00 \x87 ' ),
180+ RoborockCommand .APP_SEGMENT_CLEAN : CommandInfo (prefix = b'\x00 \x00 \x00 \xc7 ' ),
178181 RoborockCommand .APP_ZONED_CLEAN : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
179182 RoborockCommand .APP_START_WASH : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
180183 RoborockCommand .APP_STOP_WASH : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
181184 RoborockCommand .SET_FDS_ENDPOINT : CommandInfo (prefix = b'\x00 \x00 \x97 ' ),
182185 RoborockCommand .ENABLE_LOG_UPLOAD : CommandInfo (prefix = b'\x00 \x00 \x87 ' ),
183186 RoborockCommand .GET_SOUND_VOLUME : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
184187 RoborockCommand .TEST_SOUND_VOLUME : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
185- RoborockCommand .UPD_SERVER_TIMER : CommandInfo (prefix = b'\x00 \x00 \x00 w ' ),
188+ RoborockCommand .UPD_SERVER_TIMER : CommandInfo (prefix = b'\x00 \x00 \x00 \x97 ' ),
186189 RoborockCommand .SET_APP_TIMEZONE : CommandInfo (prefix = b'\x00 \x00 \x97 ' ),
190+ RoborockCommand .CHANGE_SOUND_VOLUME : CommandInfo (prefix = b'\x00 \x00 \x00 \x87 ' ),
191+ RoborockCommand .GET_SOUND_PROGRESS : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
192+ RoborockCommand .SET_SERVER_TIMER : CommandInfo (prefix = b'\x00 \x00 \x00 \xc7 ' ),
193+ RoborockCommand .GET_ROOM_MAPPING : CommandInfo (prefix = b'\x00 \x00 \x00 w' ),
194+ RoborockCommand .NAME_SEGMENT : CommandInfo (prefix = b'\x00 \x00 \x02 7' ),
195+ RoborockCommand .SET_TIMEZONE : CommandInfo (prefix = b'\x00 \x00 \x00 \x97 ' )
187196 # TODO discover prefix for following commands
188197 # RoborockCommand.APP_GET_DRYER_SETTING: CommandInfo(prefix=b'\x00\x00\x00w'),
189198 # RoborockCommand.APP_SET_DRYER_SETTING: CommandInfo(prefix=b'\x00\x00\x00w'),
@@ -194,9 +203,6 @@ class CommandInfo:
194203 # RoborockCommand.GET_WASH_TOWEL_MODE: CommandInfo(prefix=b'\x00\x00\x00w'),
195204 # RoborockCommand.SET_WASH_TOWEL_MODE: CommandInfo(prefix=b'\x00\x00\x00w'),
196205 # RoborockCommand.START_WASH_THEN_CHARGE: CommandInfo(prefix=b'\x00\x00\x00w'),
197- # RoborockCommand.GET_SOUND_PROGRESS: CommandInfo(prefix=b'\x00\x00\x00w'),
198- # RoborockCommand.CHANGE_SOUND_VOLUME: CommandInfo(prefix=b'\x00\x00\x00w'),
199- # RoborockCommand.SET_SERVER_TIMER: CommandInfo(prefix=b'\x00\x00\x00w'),
200206}
201207
202208
0 commit comments