I've a model without rooms/zones support - I played with app_rc_start and app_rc_move commands and it seems that one could program the bootstrap route for vacuum to follow before it starts cleaning.
Just thinking loud - still not sure what's the best way. We could specify the named routes (as a sequece of rotations and movements) in configuration and define one of them to follow before it starts cleaning.
Wow! That'd be interesting to see implemented :)
To fully understand it, do you mean to set a list of _move steps_ so the robot gets to the desire position and then trigger the surrounding zone cleanup? Or do you mean to fully control and list all the movements the robot needs to do to completely clean the room? 馃槷
if the second, it would be nice to record the movements somehow. So it's easy to copy and paste to the config. But that list of moves will need be taken carefully, because the robot will blindly follow those leads, crashing against anything that is not supposed to be there 馃槄
To fully understand it, do you mean to set a list of _move steps_ so the robot gets to the desire position and then trigger the surrounding zone cleanup? Or do you mean to fully control and list all the movements the robot needs to do to completely clean the room? 馃槷
First - I just want to guide my robot to the proper room to start with. Say so it could start with kids room while they're outside. I know it should work out of the box with more expensive models but probably it still can be achieved with basic ones as well.
yeah! it makes perfect sense!
Have you considered this alternative? https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/130
Or maybe it's also not supported by your robot?
Or maybe it's also not supported by your robot?
I don't think it's supported since my robot doesn't have a persistent map
Made first POC if you want a sneak peek :)
https://github.com/bedrin/homebridge-xiaomi-roborock-vacuum/pull/3/files
Next steps:
config.jsonLooking good! It might be interesting to find out a way to confirm when the movement is done so we don't need to do it time-based, but I can see you are having fun 馃槃
Probably can piggy back on "goto" functionality in https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/pull/200
So we can have switch introduced in that PR but with a possiblity to use app_rc_move sequence instead of app_goto_target and also optionally trigger app_start in the end