Last active
January 22, 2023 13:55
-
-
Save andrey-yantsen/843720a9e457183c0f68aafaffbaf585 to your computer and use it in GitHub Desktop.
Roborock S7 status debug
This file contains 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
{ | |
"id": 19, | |
"result": [ | |
{ | |
"msg_ver": 2, | |
"msg_seq": 2899, | |
"state": 8, | |
"battery": 19, | |
"clean_time": 6467, | |
"clean_area": 36277500, | |
"error_code": 0, | |
"map_present": 1, | |
"in_cleaning": 3, | |
"in_returning": 0, | |
"in_fresh_state": 0, | |
"lab_status": 1, | |
"water_box_status": 1, | |
"fan_power": 102, | |
"dnd_enabled": 0, | |
"map_status": 3, | |
"is_locating": 0, | |
"lock_status": 0, | |
"water_box_mode": 202, | |
"water_box_carriage_status": 1, | |
"mop_forbidden_enable": 1, | |
"adbumper_status": [ | |
0, | |
0, | |
0 | |
], | |
"water_shortage_status": 0, | |
"dock_type": 1, | |
"dust_collection_status": 0, | |
"auto_dust_collection": 0, | |
"mop_mode": 300, | |
"debug_mode": 0, | |
"dock_error_status": 0, | |
"unsave_map_reason": 0, | |
"unsave_map_flag": 0 | |
} | |
], | |
"exe_time": 10 | |
} |
This file contains 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
INFO:miio.cli:Debug mode active | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Read stored sequence ids: {'seq': 17, 'manual_seq': 0} | |
Running command status | |
DEBUG:miio.click_common:Unknown model, trying autodetection. None None | |
DEBUG:miio.miioprotocol:Got a response: Container: | |
data = Container: | |
data = b'' (total 0) | |
value = b'' (total 0) | |
offset1 = 32 | |
offset2 = 32 | |
length = 0 | |
header = Container: | |
data = b'!1\x00 \x00\x00\x00\x00\x18\xd0\x0be\x00\x00\x8f\xbe' (total 16) | |
value = Container: | |
length = 32 | |
unknown = 0 | |
device_id = unhexlify('18d00b65') | |
ts = 1970-01-01 10:13:18 | |
offset1 = 0 | |
offset2 = 16 | |
length = 16 | |
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16) | |
DEBUG:miio.miioprotocol:Discovered 18d00b65 with ts: 1970-01-01 10:13:18, token: b'ffffffffffffffffffffffffffffffff' | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 18, 'method': 'miIO.info', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 10:13:18, id: 18) << {'id': 18, 'result': {'life': 36798, 'model': 'roborock.vacuum.a15', 'token': '<secret>', 'ipflag': 1, 'miio_ver': '0.0.9', 'uid': 4151424572, 'uptime': 36812, 'mac': 'B0:4A:39:16:3C:9A', 'fw_ver': '4.3.5_1612', 'hw_ver': 'Linux', 'miio_client_ver': '4.3.5', 'VmPeak': 11084, 'VmSize': 9260, 'VmRSS': 1768, 'MemFree': 13184, 'ap': {'ssid': 'Yantsen - Home', 'bssid': '74:ac:b9:94:5c:36', 'rssi': '-62', 'freq': 0}, 'netif': {'localIp': '192.168.86.88', 'mask': '255.255.255.128', 'gw': '192.168.86.1'}, 'miio_times': [36797, 18, 0, 36777]}, 'exe_time': 2} | |
DEBUG:miio.device:Detected model roborock.vacuum.a15 | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 19, 'method': 'get_status', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 10:13:18, id: 19) << {'id': 19, 'result': [{'msg_ver': 2, 'msg_seq': 2899, 'state': 8, 'battery': 19, 'clean_time': 6467, 'clean_area': 36277500, 'error_code': 0, 'map_present': 1, 'in_cleaning': 3, 'in_returning': 0, 'in_fresh_state': 0, 'lab_status': 1, 'water_box_status': 1, 'fan_power': 102, 'dnd_enabled': 0, 'map_status': 3, 'is_locating': 0, 'lock_status': 0, 'water_box_mode': 202, 'water_box_carriage_status': 1, 'mop_forbidden_enable': 1, 'adbumper_status': [0, 0, 0], 'water_shortage_status': 0, 'dock_type': 1, 'dust_collection_status': 0, 'auto_dust_collection': 0, 'mop_mode': 300, 'debug_mode': 0, 'dock_error_status': 0, 'unsave_map_reason': 0, 'unsave_map_flag': 0}], 'exe_time': 10} | |
<VacuumStatus battery=19 clean_area=36.2775 clean_time=1:47:47 error=No error error_code=0 fanspeed=102 got_error=False in_segment_cleaning=True in_zone_cleaning=False is_on=False is_paused=False is_water_box_attached=True is_water_box_carriage_attached=True is_water_shortage=False map=True state=Charging state_code=8> | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Writing {'seq': 19, 'manual_seq': 0} to /home/andreyyantsen/.cache/python-miio/python-mirobo.seq |
This file contains 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
{ | |
"id": 17, | |
"result": [ | |
{ | |
"msg_ver": 2, | |
"msg_seq": 2885, | |
"state": 6, | |
"battery": 19, | |
"clean_time": 6467, | |
"clean_area": 36277500, | |
"error_code": 0, | |
"map_present": 1, | |
"in_cleaning": 3, | |
"in_returning": 1, | |
"in_fresh_state": 0, | |
"lab_status": 1, | |
"water_box_status": 1, | |
"fan_power": 102, | |
"dnd_enabled": 0, | |
"map_status": 3, | |
"is_locating": 0, | |
"lock_status": 0, | |
"water_box_mode": 200, | |
"water_box_carriage_status": 1, | |
"mop_forbidden_enable": 1, | |
"adbumper_status": [ | |
0, | |
0, | |
0 | |
], | |
"water_shortage_status": 0, | |
"dock_type": 1, | |
"dust_collection_status": 0, | |
"auto_dust_collection": 0, | |
"mop_mode": 300, | |
"debug_mode": 0, | |
"dock_error_status": 0, | |
"unsave_map_reason": 0, | |
"unsave_map_flag": 0 | |
} | |
], | |
"exe_time": 11 | |
} |
This file contains 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
INFO:miio.cli:Debug mode active | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Read stored sequence ids: {'seq': 15, 'manual_seq': 0} | |
Running command status | |
DEBUG:miio.click_common:Unknown model, trying autodetection. None None | |
DEBUG:miio.miioprotocol:Got a response: Container: | |
data = Container: | |
data = b'' (total 0) | |
value = b'' (total 0) | |
offset1 = 32 | |
offset2 = 32 | |
length = 0 | |
header = Container: | |
data = b'!1\x00 \x00\x00\x00\x00\x18\xd0\x0be\x00\x00\x8f~' (total 16) | |
value = Container: | |
length = 32 | |
unknown = 0 | |
device_id = unhexlify('18d00b65') | |
ts = 1970-01-01 10:12:14 | |
offset1 = 0 | |
offset2 = 16 | |
length = 16 | |
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16) | |
DEBUG:miio.miioprotocol:Discovered 18d00b65 with ts: 1970-01-01 10:12:14, token: b'ffffffffffffffffffffffffffffffff' | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 16, 'method': 'miIO.info', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 10:12:14, id: 16) << {'id': 16, 'result': {'life': 36734, 'model': 'roborock.vacuum.a15', 'token': '<secret>', 'ipflag': 1, 'miio_ver': '0.0.9', 'uid': 4151424572, 'uptime': 36748, 'mac': 'B0:4A:39:16:3C:9A', 'fw_ver': '4.3.5_1612', 'hw_ver': 'Linux', 'miio_client_ver': '4.3.5', 'VmPeak': 11084, 'VmSize': 9260, 'VmRSS': 1768, 'MemFree': 12812, 'ap': {'ssid': 'Yantsen - Home', 'bssid': '74:ac:b9:94:5c:36', 'rssi': '-62', 'freq': 0}, 'netif': {'localIp': '192.168.86.88', 'mask': '255.255.255.128', 'gw': '192.168.86.1'}, 'miio_times': [36733, 18, 0, 36713]}, 'exe_time': 1} | |
DEBUG:miio.device:Detected model roborock.vacuum.a15 | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 17, 'method': 'get_status', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 10:12:14, id: 17) << {'id': 17, 'result': [{'msg_ver': 2, 'msg_seq': 2885, 'state': 6, 'battery': 19, 'clean_time': 6467, 'clean_area': 36277500, 'error_code': 0, 'map_present': 1, 'in_cleaning': 3, 'in_returning': 1, 'in_fresh_state': 0, 'lab_status': 1, 'water_box_status': 1, 'fan_power': 102, 'dnd_enabled': 0, 'map_status': 3, 'is_locating': 0, 'lock_status': 0, 'water_box_mode': 200, 'water_box_carriage_status': 1, 'mop_forbidden_enable': 1, 'adbumper_status': [0, 0, 0], 'water_shortage_status': 0, 'dock_type': 1, 'dust_collection_status': 0, 'auto_dust_collection': 0, 'mop_mode': 300, 'debug_mode': 0, 'dock_error_status': 0, 'unsave_map_reason': 0, 'unsave_map_flag': 0}], 'exe_time': 11} | |
<VacuumStatus battery=19 clean_area=36.2775 clean_time=1:47:47 error=No error error_code=0 fanspeed=102 got_error=False in_segment_cleaning=True in_zone_cleaning=False is_on=False is_paused=False is_water_box_attached=True is_water_box_carriage_attached=True is_water_shortage=False map=True state=Returning home state_code=6> | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Writing {'seq': 17, 'manual_seq': 0} to /home/andreyyantsen/.cache/python-miio/python-mirobo.seq |
This file contains 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
if (this.state == RobotState.CHARGING && !this.isCleanMopMoppingMode() && this.cleanResumeFlag != CleanResumeFlag.None && !this.hasShownChargingResumeCleanReminder) { | |
if (this.notDisturbEnabled) { | |
reminders = reminders.concat('chargingResumeNoDisturbClean'); | |
} else { | |
reminders = reminders.concat('chargingResumeClean'); | |
} | |
this.hasShownChargingResumeCleanReminder = true; | |
} | |
if (this.state == RobotState.FULL_CHARGE && this.cleanResumeFlag != CleanResumeFlag.None && !this.hasShownChargedResumeCleanReminder) { | |
reminders = reminders.concat('chargedResumeClean'); | |
this.hasShownChargedResumeCleanReminder = true; | |
} |
This file contains 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
{ | |
"id": 2, | |
"result": [ | |
{ | |
"msg_ver": 2, | |
"msg_seq": 1799, | |
"state": 8, | |
"battery": 99, | |
"clean_time": 311, | |
"clean_area": 1960000, | |
"error_code": 0, | |
"map_present": 1, | |
"in_cleaning": 0, | |
"in_returning": 0, | |
"in_fresh_state": 1, | |
"lab_status": 1, | |
"water_box_status": 1, | |
"fan_power": 102, | |
"dnd_enabled": 0, | |
"map_status": 3, | |
"is_locating": 0, | |
"lock_status": 0, | |
"water_box_mode": 202, | |
"water_box_carriage_status": 1, | |
"mop_forbidden_enable": 1, | |
"adbumper_status": [ | |
0, | |
0, | |
0 | |
], | |
"water_shortage_status": 0, | |
"dock_type": 1, | |
"dust_collection_status": 0, | |
"auto_dust_collection": 0, | |
"mop_mode": 300, | |
"debug_mode": 0, | |
"dock_error_status": 0, | |
"unsave_map_reason": 0, | |
"unsave_map_flag": 0 | |
} | |
], | |
"exe_time": 11 | |
} |
This file contains 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
INFO:miio.cli:Debug mode active | |
Running command status | |
DEBUG:miio.click_common:Unknown model, trying autodetection. None None | |
DEBUG:miio.miioprotocol:Got a response: Container: | |
data = Container: | |
data = b'' (total 0) | |
value = b'' (total 0) | |
offset1 = 32 | |
offset2 = 32 | |
length = 0 | |
header = Container: | |
data = b'!1\x00 \x00\x00\x00\x00\x18\xd0\x0be\x00\x00ds' (total 16) | |
value = Container: | |
length = 32 | |
unknown = 0 | |
device_id = unhexlify('18d00b65') | |
ts = 1970-01-01 07:08:35 | |
offset1 = 0 | |
offset2 = 16 | |
length = 16 | |
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16) | |
DEBUG:miio.miioprotocol:Discovered 18d00b65 with ts: 1970-01-01 07:08:35, token: b'ffffffffffffffffffffffffffffffff' | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 07:08:35, id: 1) << {'id': 1, 'result': {'life': 25715, 'model': 'roborock.vacuum.a15', 'token': '<secret>', 'ipflag': 1, 'miio_ver': '0.0.9', 'uid': 4151424572, 'uptime': 25729, 'mac': 'B0:4A:39:16:3C:9A', 'fw_ver': '4.3.5_1612', 'hw_ver': 'Linux', 'miio_client_ver': '4.3.5', 'VmPeak': 11084, 'VmSize': 9260, 'VmRSS': 1768, 'MemFree': 68592, 'ap': {'ssid': 'Yantsen - Home', 'bssid': '74:ac:b9:94:5c:36', 'rssi': '-62', 'freq': 0}, 'netif': {'localIp': '192.168.86.88', 'mask': '255.255.255.128', 'gw': '192.168.86.1'}, 'miio_times': [25714, 18, 0, 25694]}, 'exe_time': 3} | |
DEBUG:miio.device:Detected model roborock.vacuum.a15 | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 2, 'method': 'get_status', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 07:08:35, id: 2) << {'id': 2, 'result': [{'msg_ver': 2, 'msg_seq': 1799, 'state': 8, 'battery': 99, 'clean_time': 311, 'clean_area': 1960000, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'in_returning': 0, 'in_fresh_state': 1, 'lab_status': 1, 'water_box_status': 1, 'fan_power': 102, 'dnd_enabled': 0, 'map_status': 3, 'is_locating': 0, 'lock_status': 0, 'water_box_mode': 202, 'water_box_carriage_status': 1, 'mop_forbidden_enable': 1, 'adbumper_status': [0, 0, 0], 'water_shortage_status': 0, 'dock_type': 1, 'dust_collection_status': 0, 'auto_dust_collection': 0, 'mop_mode': 300, 'debug_mode': 0, 'dock_error_status': 0, 'unsave_map_reason': 0, 'unsave_map_flag': 0}], 'exe_time': 11} | |
<VacuumStatus battery=99 clean_area=1.96 clean_time=0:05:11 error=No error error_code=0 fanspeed=102 got_error=False in_segment_cleaning=False in_zone_cleaning=False is_on=False is_paused=False is_water_box_attached=True is_water_box_carriage_attached=True is_water_shortage=False map=True state=Charging state_code=8> | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Writing {'seq': 2, 'manual_seq': 0} to /home/andreyyantsen/.cache/python-miio/python-mirobo.seq |
This file contains 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
{ | |
"id": 15, | |
"result": [ | |
{ | |
"msg_ver": 2, | |
"msg_seq": 2391, | |
"state": 6, | |
"battery": 71, | |
"clean_time": 3748, | |
"clean_area": 24402500, | |
"error_code": 0, | |
"map_present": 1, | |
"in_cleaning": 0, | |
"in_returning": 1, | |
"in_fresh_state": 0, | |
"lab_status": 1, | |
"water_box_status": 1, | |
"fan_power": 102, | |
"dnd_enabled": 0, | |
"map_status": 3, | |
"is_locating": 0, | |
"lock_status": 0, | |
"water_box_mode": 202, | |
"water_box_carriage_status": 1, | |
"mop_forbidden_enable": 1, | |
"adbumper_status": [ | |
0, | |
0, | |
0 | |
], | |
"water_shortage_status": 0, | |
"dock_type": 1, | |
"dust_collection_status": 0, | |
"auto_dust_collection": 0, | |
"mop_mode": 300, | |
"debug_mode": 0, | |
"dock_error_status": 0, | |
"unsave_map_reason": 4, | |
"unsave_map_flag": 0 | |
} | |
], | |
"exe_time": 11 | |
} |
This file contains 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
INFO:miio.cli:Debug mode active | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Read stored sequence ids: {'seq': 13, 'manual_seq': 0} | |
Running command status | |
DEBUG:miio.click_common:Unknown model, trying autodetection. None None | |
DEBUG:miio.miioprotocol:Got a response: Container: | |
data = Container: | |
data = b'' (total 0) | |
value = b'' (total 0) | |
offset1 = 32 | |
offset2 = 32 | |
length = 0 | |
header = Container: | |
data = b'!1\x00 \x00\x00\x00\x00\x18\xd0\x0be\x00\x00u\xe7' (total 16) | |
value = Container: | |
length = 32 | |
unknown = 0 | |
device_id = unhexlify('18d00b65') | |
ts = 1970-01-01 08:23:03 | |
offset1 = 0 | |
offset2 = 16 | |
length = 16 | |
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16) | |
DEBUG:miio.miioprotocol:Discovered 18d00b65 with ts: 1970-01-01 08:23:03, token: b'ffffffffffffffffffffffffffffffff' | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 14, 'method': 'miIO.info', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 08:23:03, id: 14) << {'id': 14, 'result': {'life': 30183, 'model': 'roborock.vacuum.a15', 'token': '<secret>', 'ipflag': 1, 'miio_ver': '0.0.9', 'uid': 4151424572, 'uptime': 30197, 'mac': 'B0:4A:39:16:3C:9A', 'fw_ver': '4.3.5_1612', 'hw_ver': 'Linux', 'miio_client_ver': '4.3.5', 'VmPeak': 11084, 'VmSize': 9260, 'VmRSS': 1768, 'MemFree': 31540, 'ap': {'ssid': 'Yantsen - Home', 'bssid': '74:ac:b9:94:5c:36', 'rssi': '-62', 'freq': 0}, 'netif': {'localIp': '192.168.86.88', 'mask': '255.255.255.128', 'gw': '192.168.86.1'}, 'miio_times': [30182, 18, 0, 30162]}, 'exe_time': 2} | |
DEBUG:miio.device:Detected model roborock.vacuum.a15 | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 >>: {'id': 15, 'method': 'get_status', 'params': []} | |
DEBUG:miio.miioprotocol:192.168.86.88:54321 (ts: 1970-01-01 08:23:03, id: 15) << {'id': 15, 'result': [{'msg_ver': 2, 'msg_seq': 2391, 'state': 6, 'battery': 71, 'clean_time': 3748, 'clean_area': 24402500, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'in_returning': 1, 'in_fresh_state': 0, 'lab_status': 1, 'water_box_status': 1, 'fan_power': 102, 'dnd_enabled': 0, 'map_status': 3, 'is_locating': 0, 'lock_status': 0, 'water_box_mode': 202, 'water_box_carriage_status': 1, 'mop_forbidden_enable': 1, 'adbumper_status': [0, 0, 0], 'water_shortage_status': 0, 'dock_type': 1, 'dust_collection_status': 0, 'auto_dust_collection': 0, 'mop_mode': 300, 'debug_mode': 0, 'dock_error_status': 0, 'unsave_map_reason': 4, 'unsave_map_flag': 0}], 'exe_time': 11} | |
<VacuumStatus battery=71 clean_area=24.4025 clean_time=1:02:28 error=No error error_code=0 fanspeed=102 got_error=False in_segment_cleaning=False in_zone_cleaning=False is_on=False is_paused=False is_water_box_attached=True is_water_box_carriage_attached=True is_water_shortage=False map=True state=Returning home state_code=6> | |
DEBUG:miio.integrations.vacuum.roborock.vacuum:Writing {'seq': 15, 'manual_seq': 0} to /home/andreyyantsen/.cache/python-miio/python-mirobo.seq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The plugin code can be downloaded via https://mi.vevs.me/mihome/files/plugins/1004367.zip