Home Layout in Xiaomi: what it is, why you need and how to configure

If you own Xiaomi smart home devices, youโ€™ve probably encountered the term Home Layout in the Mi Home or Xiaomi Home app. This feature often raises questions among beginners about what it gives, how to set it up correctly, and why some scenarios donโ€™t work properly without it. In this article, weโ€™ll take a closer look at what Home Layout is, how it affects Xiaomi smart devices, and give you step-by-step instructions on how to set up a room plan to link sensors and actuators.

Many users mistakenly believe that the Home Layout is just a โ€œbeautiful pictureโ€ with furniture arrangement.In fact, it is the basis for automatic scripts, geofence and intelligent triggers in the Xiaomi ecosystem. Without the correct configuration layouts, some features (such as automatically turning on lights when you enter a room or tracking your presence) can malfunction or not work at all. Next, we will explain why this is important and how to avoid typical errors.

What is Home Layout in the Xiaomi ecosystem?

Home Layout (literally, โ€œmodel of the houseโ€) is a virtual model of your home in the Mi Home app, where you can:

  • ๐Ÿ“ Apply a plan of rooms with exact dimensions (or approximate if accuracy is not required).
  • ๐Ÿ›‹๏ธ Arrange furniture and household appliances for visualization.
  • ๐Ÿ”Œ Tie Xiaomi smart devices (lamps, sensors, sockets) to specific rooms.
  • ๐Ÿค– Set up activation zones for automatic scenarios (e.g., โ€œturn on the light in the corridor if the motion sensor is triggered in that zoneยป).

The main difference between the Home Layout and the regular list of devices is the physical location binding, for example, if you have two motion sensors (in the hallway and the bedroom), the system will be able to distinguish them not only by name, but also by zone on the plan, which is critical for scenarios like โ€œonly turn on the lights in the room where the movement is detectedโ€.

Without setting up layouts, many automations will be all-or-nothing. For example, if you set up a rule to turn on all the lamps when the motion sensor is triggered, the lights will go on throughout the apartment, even if the movement was only in the kitchen. With Home Layout, you can make it so that only the lamp in the desired area responds.

๐Ÿ“Š How long have you been using Xiaomi smart devices?
Less than a year.
1-3 years
More than 3 years
Just starting.

What Xiaomi devices support Home Layout?

Not all Xiaomi gadgets can interact with Home Layout. the feature is only available for devices that:

  • ๐ŸŒ Connected to Mi Home or Xiaomi Home (not directly connected to Google Home or Apple HomeKit).
  • ๐Ÿ”„ Supports Zigbee or MiOT (most Wi-Fi devices, such as Mi Smart Plug, cannot participate in geo-scenarios).
  • ๐Ÿ“ Have location or motion sensors (e.g. Xiaomi Motion Sensor, Aqara) Door/Window Sensor).
Type of deviceExamples of supported modelsSupports Home Layout?
Motion sensorsXiaomi Motion Sensor, Aqara FP1, Mi Motion Sensor 2โœ… Yes.
Door/window opening sensorsXiaomi Door/Window Sensor, Aqara Door Sensorโœ… Yes.
Smart lamps and lampsYeelight LED, Mi LED Desk Lamp, Xiaomi Philips Smart Bulbโœ… Yes (only if tied to a room)
Smart sockets (Wi-Fi)Mi Smart Plug, Xiaomi Wi-Fi SocketโŒ No (not involved in geo-scenarios)
Robot vacuum cleanersXiaomi Mi Robot Vacuum, Dreame Botโš ๏ธ Partially (may be displayed on the plan, but not involved in scripts)

Importantly, even if the device is displayed on the plan, it doesn't guarantee that it's going to be involved in geo-dependent automation, for example, a robot vacuum cleaner can show its location on a map, but it can't run a script when you enter a particular room, and you need sensors that support Zigbee or MiOT.

โš ๏ธ Note: If you use Aqara devices (a subsidiary of Xiaomi), make sure they are connected via the Xiaomi Gateway or Aqara Hub. Without the gateway, sensors won't show up in Home Layout, even if they're visible in the main list of devices.

How to Create and Set Up Home Layout in Mi Home

The Home Layout setup consists of three steps: creating a room plan, tying devices to rooms, and setting up activation zones. Let's take a closer look at each step.

Step 1: Creating a House Plan

1. Open the Mi Home app and go to the Smart Home section โ†’ Home settings โ†’ A layout at home.

2.Click Add room and select the type of room (living room, bedroom, kitchen, etc.).

3. Set the dimensions of the room:

You can manually specify the length and width (in meters).

- Or draw a room on a grid, dragging corners.

4 Repeat the process for all rooms. Use the actual dimensions from the technical passport of the apartment for accuracy.

Step 2: Linking devices to rooms

1.In the Home layout section, select a room and click Add Device.

2. From the list, select gadgets that are physically in this room (for example, a lamp in the bedroom or a motion sensor in the hallway).

3. For sensors (movement, door opening), specify the exact location on the plan - this is important for the correct operation of scenarios.

The actual size of the room (at least approximate)|

All motion sensors are tied to the correct areas|

Lamps and sockets are distributed to the rooms where they are physically located.|

Checked that there are no duplicate devices in different rooms-->

Step 3: Configure activation zones

This step is needed to create geo-dependent automation, for example, so that the lights are turned on only when driving in a particular area:

1.In the Home layout section, click on the motion sensor and select Set up the Zone.

2. circle the area on the plan in which the sensor should be triggered (for example, only at the entrance to the corridor, and not in the entire room).

3. Save the changes and check the sensor by walking through the area.

๐Ÿ’ก

If the motion sensor is triggered too often (e.g., on pets), reduce the activation zone or set it higher at altitude. 2-2.5 square.

Common errors when setting up Home Layout and how to avoid them

Even experienced users sometimes have problems with the Home Layout configuration, and these are the most common errors:

  • ๐Ÿšซ If the bedroom is on the left and the bedroom is on the right, the scenarios may not work correctly (e.g., the lights will turn on in the wrong room).
  • ๐Ÿ”„ Duplicate devices: The same device should not be tied to multiple rooms at the same time, leading to conflicts in automation.
  • ๐Ÿ“ก Ignoring activation zones: If you don't configure the motion sensors, they will trigger any movement within range, even outside the right room.
  • ๐Ÿ”Œ Connecting incompatible devices, such as trying to use a Wi-Fi outlet in a geo-scenario (it doesn't support Home Layout).

One of the most insidious mistakes is the wrong location of the Xiaomi Gateway, where if the gateway is in one room and the sensors are in another, the Zigbee signal can weaken, leading to false alarms or delays, and the optimal place for the gateway is the center of the apartment, so that it evenly covers all the rooms.

โš ๏ธ Warning: If the scripts stopped working after setting up Home Layout, check if the devices are not attached to the rooms. Sometimes after updating the Mi Home app, the layout is reset to a standard view, and all settings have to be restored manually. To avoid this, regularly back up your settings in your Profile. โ†’ Settings โ†’ Backup.

Practical examples of using Home Layout

Letโ€™s take a look at some real-life cases where Home Layout makes a smart home really smart.

Example 1: Automatic lighting by zone

Task: Turn on the lights in the hallway only when someone enters the apartment, and turn it off after 2 minutes if no movement is detected.

Decision:

  1. Place the Xiaomi Motion Sensor at the front door and tie it to the Corridor area in the Home Layout.
  2. Create a script in Automation โ†’ Add โ†’ Smart script:

Example 2: Control of the microclimate by room

Task: To maintain different temperatures in the bedroom and living room with smart heaters.

Decision:

  1. Install Xiaomi Temperature & Humidity Sensor in each room and tie them to the appropriate zones.
  2. Create two separate scenarios: If the bedroom temperature is below 22ยฐC โ†’ Turn on the bedroom heater if the temperature in the living room is below 20.ยฐC โ†’ heater.

Example 3: Security with Opening Sensors

Task: Get a notification if the window in the kitchen is open for more than 10 minutes (for example, forgetting to close overnight).

Decision:

  1. Install Xiaomi. Door/Window Sensor to the window and tie it to the kitchen areaยป.
  2. Set up the script: Trigger: Window Sensor (Kitchen) = Condition: Opening time > 10 minutes Action: Send notification to your phone.

๐Ÿ’ก

Home Layout allows you to create contextual automations that take into account not only the state of the devices, but also their physical location. Without being tied to rooms, many scenarios will work blindly.

Home Layout vs. Other Smart Home Systems

Xiaomi is not the only ecosystem that supports geo-dependent automation, but compare Home Layout to other brands:

FunctionXiaomi Home LayoutApple HomeKitGoogle HomeSamsung SmartThings
Linking devices to roomsโœ… Yes (with visual editor)โœ… Yes (but without a visual plan)โœ… Yes (basic reference)โœ… Yes, with support. 3D-plan)
Activation zones for sensorsโœ… Yes (tunable polygons)โŒ No.โŒ No.โœ… Yes (via SmartThings Labs)
Support for Zigbee devicesโœ… Yes (via Xiaomi Gateway)โš ๏ธ Partially (needs HomePod or compatible hub)โŒ No, only. Wi-Fi/Thread)โœ… Yes (via SmartThings Hub)
Integration with third-party devicesโŒ Limited (only ecosystem) Xiaomi/Aqara)โœ… Wide selection (via HomeKit Secure)โœ… Wide selection (via Google Assistant)โœ… Wide selection (Z-Wave, Zigbee, Wi-Fi)

Xiaomiโ€™s Home Layout is easy to set up and tightly integrate with the sensors of the ecosystem, but if you need support for devices from other brands (such as Philips Hue or the other brands). IKEA Tradfri, Samsung SmartThings or Home Assistant with a plugin for Xiaomi.

Can I use Home Layout without a Xiaomi gateway?
No, most sensors (movement, opening, temperature) require a Xiaomi Gateway or Aqara Hub. Without a gateway, you can only add Wi-Fi devices (lamps, sockets) to the plan, but they will not participate in geo-scenarios. Except for MiOT-enabled devices that can connect directly to the router, but their functionality will be limited.

Home Layout: What to expect from Xiaomi

The latest Mi Home updates have hinted at new Home Layout features:

  • ๐Ÿ“ฑ AR-view.IKEA Place).
  • ๐ŸŒ Multi-apartment mode: support for multiple layouts (e.g. for cottages and main accommodation) with quick switching.
  • ๐Ÿ”„ Automatic synchronization. If you move furniture, the system will suggest updating the layout based on data from cameras or sensors.

Deeper integration with the Xiaomi Smart Camera is also expected, with cameras automatically detecting which room a person is in and transmitting that data to Home Layout to run scripts, for example, allowing for truly โ€œcontextualโ€ automations that take into account not only movement but also user behavior.

Another promising area is energy efficiency, and Xiaomi may add room-by-room power analytics to the Home Layout in the future, helping to optimize heating, lighting and air conditioning costs.

FAQ: Frequent questions about Home Layout in Xiaomi

Can I configure Home Layout without a smartphone, from a computer?
No, at the moment Home Layout is only available in the Mi Home or Xiaomi Home mobile apps (for the first time). Android/iOS). The web version of Mi Home does not support layout editing. However, you can use an Android emulator (like BlueStacks) to customize from your PC.
Why arenโ€™t my devices displayed in Home Layout?
There are several reasons: The device does not support Home Layout (e.g., Wi-Fi sockets); the device is not connected via Xiaomi Gateway, but directly to Wi-Fi. The Mi Home version of the app is outdated (update to the latest version); the region in the app does not correspond to the region of the device (e.g., the device is for China, and the app is set to Europe); Check the compatibility of your device in the official list.
How to transfer Home Layout to a new phone?
To avoid reconfiguring the layout: On an old phone, back up to Profile โ†’ Settings โ†’ Backup. Sign in to the new phone with the same Xiaomi account. Restore the backup in the same section. If the backup isn't restored, check that both devices have the same region in the Mi Home.
Can I use Home Layout for my office or store?
Technically, yes, but there are limitations: The maximum number of rooms in one layout is 20. The maximum number of devices is 100 per account (including backups). For large spaces (for example, a shopping hall), it is better to use professional systems like Samsung SmartThings or Home Assistant. If you need to control several small spaces (for example, offices in the office), Home Layout is suitable.
How to reset Home Layout to factory settings?
To Remove the Layout Completely: Open a Smart Home โ†’ Home settings โ†’ The layout of the house. Click on the three dots in the top right corner and select Remove the layout. Confirm the action. โš ๏ธ Warning: This will remove device attachments to rooms, but it won't affect the devices themselves and the basic settings.