-
-
Notifications
You must be signed in to change notification settings - Fork 598
xiaomi vacuum, manual moving mode: duration definition incorrect #62
Copy link
Copy link
Closed
Description
Hi!
first off: thanks a lot for providing us this communication platform!
I found during my usage on cli and by my trials to implement movement-path-scripts into home-assistant that the definition of the duration at running the method a second time are incorrect.
specific example for testing in python interpreter
m=mirobo.Vacuum(ip,token)
params1 = {"omega": -0.8 , "velocity": 0.29 , "seqnum": 1 , "duration": 5000 }
params2 = {"omega": -0.8 , "velocity": 0.29 , "seqnum": 2 , "duration": 1000 }
params3 = {"omega": -0.8 , "velocity": 0.29 , "seqnum": 3 , "duration": 1000 }
params4 = {"omega": -0.8 , "velocity": 0.29 , "seqnum": 4 , "duration": 1000 }
params5 = {"omega": -0.8 , "velocity": 0.29 , "seqnum": 5 , "duration": 1000 }
m.raw_command('app_rc_start', 0)
m.raw_command('app_rc_move', [params1])
m.raw_command('app_rc_move', [params2])
...
Result: the robot will only move for 5 seconds for the first method call.
However, the second movement (and all after that) will be also for 5 seconds and not just 1s as given by the current method call.
Please fix that. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels