From f54a337f9c9ba8dfd0d9304aad1cf962255f7330 Mon Sep 17 00:00:00 2001 From: Marius Oei Date: Fri, 20 Nov 2020 17:34:23 +0100 Subject: [PATCH] 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). --- source/_integrations/xiaomi_miio.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/xiaomi_miio.markdown b/source/_integrations/xiaomi_miio.markdown index 8ed4717665a..9fa85af6f54 100644 --- a/source/_integrations/xiaomi_miio.markdown +++ b/source/_integrations/xiaomi_miio.markdown @@ -1442,7 +1442,7 @@ vacuum_kitchen: Valid room numbers can be retrieved using miio command-line tool: ```bash -miio protocol call get_room_mapping +miiocli vacuum --ip --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.