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.
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 device | Examples of supported models | Supports Home Layout? |
|---|---|---|
| Motion sensors | Xiaomi Motion Sensor, Aqara FP1, Mi Motion Sensor 2 | โ Yes. |
| Door/window opening sensors | Xiaomi Door/Window Sensor, Aqara Door Sensor | โ Yes. |
| Smart lamps and lamps | Yeelight 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 cleaners | Xiaomi 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:
- Place the Xiaomi Motion Sensor at the front door and tie it to the Corridor area in the Home Layout.
- 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:
- Install Xiaomi Temperature & Humidity Sensor in each room and tie them to the appropriate zones.
- 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:
- Install Xiaomi. Door/Window Sensor to the window and tie it to the kitchen areaยป.
- 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:
| Function | Xiaomi Home Layout | Apple HomeKit | Google Home | Samsung 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?
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.