XiaomiRobotVacuumProtocol icon indicating copy to clipboard operation
XiaomiRobotVacuumProtocol copied to clipboard

Multi floor via api

Open brenosabino opened this issue 4 years ago • 3 comments

Would it be possible currently using the api to change maps on a S5 Max and implement multi floor support before its official? In a 3 floor house I would use something to trigger the api when the floor is changed then send the new map to the robot.

brenosabino avatar Mar 31 '20 18:03 brenosabino

i will be lucky with the same functionality for the S6 - select a Map via API

darkiop avatar Jun 21 '20 07:06 darkiop

https://github.com/marcelrv/XiaomiRobotVacuumProtocol/pull/50

MeisterTR avatar May 01 '21 03:05 MeisterTR

Hi @brenosabino, a bit late but I think this thread could help. https://community.home-assistant.io/t/xiaomi-vacuum-restore-select-backup-map-multi-floor-support/282345

In python, using

from miio import Vacuum
vac = Vacuum("<local_ip>", "<TOKEN>")
vac.send("load_multi_map",1) #1 or 0 are valid parameters for me, it can be 2 or more, you need to test and keep an eye on the app.

Edit: It works on my S5 Max

rdorys avatar May 31 '22 11:05 rdorys