From cd064a8353571bf30a2108e15869a00c60b93d12 Mon Sep 17 00:00:00 2001 From: Marius Oei Date: Wed, 25 Nov 2020 16:13:24 +0100 Subject: [PATCH] Correct output description of miio get_room_mapping (#15753) It's not true (anymore?) that only the numbers are returned and you need to figure out the names yourself. --- source/_integrations/xiaomi_miio.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_integrations/xiaomi_miio.markdown b/source/_integrations/xiaomi_miio.markdown index 9fa85af6f54..827301dfaa0 100644 --- a/source/_integrations/xiaomi_miio.markdown +++ b/source/_integrations/xiaomi_miio.markdown @@ -1445,7 +1445,8 @@ Valid room numbers can be retrieved using miio command-line tool: 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. +It will return the full mapping of room numbers to user-defined names as a list of (number,name) tuples. +Alternatively, one can just test the clean_segment service with a number and see which room it cleans. It seems to be the case that Numbers 1..15 are used to number the intitial segmentation done by the vacuum cleaner itself. Numbers 16 and upwards numbers rooms from the users manual editing.