mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
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:
parent
4beabbba33
commit
f54a337f9c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user