Update room mapping command to miiocli (#15686)

The command that was given did not work for me as the command for miio seems to be miiocli now (I installed python-miio from pip on Python 3).
Also, the syntax changed a bit and the token now seems to be required too (an exception is raised if it is omitted).
This commit is contained in:
Marius Oei 2020-11-20 17:34:23 +01:00 committed by GitHub
parent 4beabbba33
commit f54a337f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1442,7 +1442,7 @@ vacuum_kitchen:
Valid room numbers can be retrieved using miio command-line tool:
```bash
miio protocol call <ip of the vacuum> get_room_mapping
miiocli vacuum --ip <ip of the vacuum> --token <your vacuum token> get_room_mapping
```
It will only give room numbers and not the room names. To map the room numbers to your actual rooms, one can just test the clean_segment service with a number and see which room it cleans. The Xiaomi Home App will highlight the room after issuing the request, which makes the process rather convenient.