Closed
Description
(Relevant for Roborock S6)
The https://python-miio.readthedocs.io/en/latest/miio.html#miio.vacuumcontainers.VacuumStatus.is_on will not yield correct value as the underlying in_cleaning
is not a boolean.
mirobo --ip x.x.x.x --token yyy raw-command get_status [12:43:00]
Sending cmd get_status with params []
[{'msg_ver': 2, 'msg_seq': 28, 'state': 18, 'battery': 95, 'clean_time': 606, 'clean_area': 8115000, 'error_code': 0, 'map_present': 1, 'in_cleaning': 3, 'in_returning': 0, 'in_fresh_state': 0, 'lab_status': 1, 'water_box_status': 0, 'fan_power': 102, 'dnd_enabled': 0, 'map_status': 3, 'lock_status': 0}]
Where the interesting bit is 'in_cleaning': 3
python-miio/miio/vacuumcontainers.py
Line 152 in 85e119c
Metadata
Metadata
Assignees
Labels
No labels