Hey everyone I think this is the right place to post this but if not let me know. Anyway I have setup the Xiaomi Robot Vacuum Platform and the normal stuff is working great. When I try to use the remote (XIAOMI_REMOTE_CONTROL_MOVE) it has a duration attribute where I can specify in seconds how long for the robot to move in a direction. It says this is in seconds but if I put 9999 it only goes for about 3 seconds (it depends on the velocity I set). The real issue though is that once I use a duration, that duration seems to stick for the whole session. I can’t increase or decrease the duration. Does anyone else have any experience with this?
@codymhorton hi! I would really appreciate if you could share a script where you are using XIAOMI_REMOTE_CONTROL_MOVE.
I can get my vacuum start/stop cleaning and also start/stop remote controls but I can’t seem to actually get it to move, it ignores that part of my scripts.
Also it seem there is a bug in the code. I noticed once I tell the vacuum to move for a duration say 5000 (5 seconds) then it moves this duration for the length of time that the remote is on. Also I think the documentation is wrong about the duration ie 5000 is 5 seconds not 5000 seconds.
You can submit fixes to the documentation directly if you want to help others struggling with it. I have never myself worked with the manual control seriously, but I have just heard that the duration part gets “stuck” and you cannot shorten the duration for separate calls.