You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you send commands it takes a while and sometimes you get a timeout. I solved this by sending the command up to 20 times. (/usr/local/lib/python3.7/dist-packages/miio/device.pyretry_count=20)
When I send the move forward command with a duration of 15 seconds it seems the 15 secs start when the command is sent the 1st time to the vacuum cleaner. So if the command needs a while the bot won't move forward 15 secs.
Possible to start the timer when the robot accepts the command?
Version information (please complete the following information):
OS: Linux, Python 2.7.16
python-miio: miiocli, version 0.5.3
Device information:
Model: Xiaomi Mi Robot Vacuum Mop Pro
Model: viomi.vacuum.v8
Hardware version: Linux
Firmware version: 3.5.3_0017
The miiocli doesn't keep a record of the recently used sequence ids which is the likely cause for this. I have had plans to consolidate the solution used by mirobo to miiocli, but I haven't found time to do that nor will I have in the near future.
So if anyone is interested on working on adding support for a device database/cache of sorts to the miiocli to fix this, all help is welcome!
Describe the bug
When you send commands it takes a while and sometimes you get a timeout. I solved this by sending the command up to 20 times. (/usr/local/lib/python3.7/dist-packages/miio/device.py retry_count=20)
When I send the move forward command with a duration of 15 seconds it seems the 15 secs start when the command is sent the 1st time to the vacuum cleaner. So if the command needs a while the bot won't move forward 15 secs.
Possible to start the timer when the robot accepts the command?
Version information (please complete the following information):
Device information:
Model: viomi.vacuum.v8
Hardware version: Linux
Firmware version: 3.5.3_0017
To Reproduce
miiocli viomivacuum --ip 10.0.. --token 1234 move forward --duration 15
Expected behavior
Device should start and move forward for the seconds give, p.e. 15 secondes
The text was updated successfully, but these errors were encountered: