Smart Scenes Xiaomi โ€“ what is this program and how it works in a smart home

If youโ€™re a Xiaomi device owner and youโ€™ve tried to set up automation in a smart home, youโ€™ve probably come across the term Smart Scenes. Itโ€™s not just โ€œanother appโ€ on the companyโ€™s long list of services, itโ€™s a central scripting tool that connects Mi Home, Aqara, Yeelight and other compatible devices. Without Smart Scenes, your smart home will remain a set of disparate devices, and with it, will become a coherent system that responds to your habits.

But how does it work? Why do some users praise it for its flexibility while others complain about its limitations? And most importantly, how do you set up Smart Scenes to make it really easier than to add headaches? From basic principles to advanced life hacks that are not described in the official documentation, and you will learn what hidden features of Smart Scenes are available only through the use of the Internet. MIUI oral.

What is Smart Scenes in the Xiaomi ecosystem?

Smart Scenes (sometimes translated as โ€œSmart Scenesโ€ in the Russian versions of the applications) is a built-in tool in the Mi Home app (or Xiaomi Home for global versions), which allows you to create chains of automated actions between Xiaomi devices. Simply put, it is the โ€œbrainโ€ of your smart home that monitors the conditions (triggers) and triggers pre-programmed reactions.

For example, you can set up a scenario where:

  • ๐Ÿ”น When the front door is opened (Aqara Door Sensor) the lights are turned on (Yeelight). LED) The camera is set to start recording (Xiaomi Camera 360)ยฐ).
  • ๐ŸŒก๏ธ If the temperature in the room drops below 20ยฐC (Mi Temperature & Humidity Sensor), the heater (Mi Smart Space Heater).
  • ๐Ÿšช When you leave the house (geolocation of the smartphone), turn off all sockets (Mi Smart Plug) and activate security mode.

It is important to understand that Smart Scenes is not a separate application, but a feature inside the Mi Home, but in some regions (e.g. China) it is included in a separate service Mi Home. AI Speaker or integrated into XiaoAI, Xiaomi's voice assistant, may have a different interface in the global versions, but the essence remains the same.

๐Ÿ“Š What Xiaomi devices do you have?
Smart Lamps (Yeelight, Mi LED)
Sensors (movements, openings, temperatures)
Sockets and switches
Cameras and video intercoms
Robot vacuum cleaners
Other
No Xiaomi devices.

How Smart Scenes Works: Triggers, Conditions, and Actions

Any Smart Scenes scenario is based on the principle of โ€œif you want toโ€. โ†’ T.O.: If a condition (trigger) is met, it triggers an action. Let's get a sense of the terminology:

  • ๐Ÿ”ง Trigger is an event that triggers a script. It could be:
  • โš™๏ธ Condition is an additional rule that must be followed to trigger a trigger, for example, a scenario that "turns on the light when moving" may have a condition that "only if it's dark outside" (according to the light sensor).
  • โšก Action: A command that the devices execute, which can be on/off, changing mode, sending notifications, etc.

Example of a complex scenario with the condition:

โš ๏ธ Note: If you set the script "Enable the heater at temperatures below 18"ยฐC" without additional conditions, it will work even during the day when you are not at home. To avoid unnecessary electricity consumption, add the condition "only if someone is at home" (according to the motion sensor or geolocation of the smartphone).

Type of triggerExamples of Xiaomi devicesExample of scenario
Motion sensorMi Motion Sensor, Aqara Motion SensorTurn on the light in the hallway when detecting movement at night
Opening sensorMi Door/Window Sensor, Aqara Door SensorSend a notification if the window is open for more than 10 minutes
GeolocationSmartphone with Mi HomeTurn off all sockets when the last user left the house
Voice commandXiaoAI Speaker, Mi AI SpeakerSay Alice, Mode of the Movie" โ†’ Turn off the lights, turn on the TV
ScheduleAny deviceTurn on the air humidifier every day at 20:00

๐Ÿ’ก

If your script doesnโ€™t work, check the order of the conditions in Mi Home. โ†’ Smart Scenes โ†’ Select a script โ†’ Conditions. Sometimes the "E/O" logic works unintuitively -- try to break down a complex scenario into a few simple ones.

How to set up Smart Scenes: step-by-step instructions

So, let's get to the practice. To create your first script, you can do the following steps:

  1. Open the Mi Home app and make sure all devices are added to the same room (like the Living Room), which is important because some triggers only work in one room.
  2. Click Add Scene (Add Script) โ†’ Custom: If you want ready-made templates, select Template (e.g., "Sleep Mode" or "Nobody's Home").

โ˜‘๏ธ Pre-saving screenplay check

Done: 0 / 5

If your script doesnโ€™t work, check out:

  • ๐Ÿ”Œ Are all devices connected to the same Wi-Fi network? Some sensors (e.g. Aqara) require a separate hub (Aqara Hub).
  • ๐Ÿ“ถ Is the signal level good? Battery-powered sensors can lose communication if they're too far from the router.
  • โณ In the script settings, you can specify Delay before performing an action (for example, wait 30 seconds after detecting movement).

Common Problems and How to Solve Them

Even smart Scenes users sometimes have problems, and here are the most common problems and solutions:

โš ๏ธ Note: If geolocation scripts stop working after the Mi Home update, check the app's permissions in your smartphone settings. Recent versions of Android require separate permission for Exact Location (not just "Approximate Approximate").

Problem.Possible causeDecision
The script is running with a delay.Weak Wi-Fi signal or Xiaomi server overloadUse local scripts (if supported) or add a delay in settings
Action not being performedConflict with another script or offline deviceCheck logs in Mi Home โ†’ The device โ†’ Journal
Geolocation is not stableSavings of battery on a smartphoneAdd Mi Home to Battery Optimization Exceptions
The script works too often.The sensitivity of the motion sensor is overstatedSet up the detection zone or add a condition by time.

One of the most frustrating things about Smart Scenes is that it relies on Xiaomi's cloud servers, and if the Internet goes down, most scenarios will stop working.

  • ๐Ÿ  Use local scripts (available for some devices, such as Aqara via Aqara Hub).
  • ๐Ÿ”„ Set up a backup connection through 4G-router or second Wi-Fi channel.
  • โšก For critical devices (e.g. alarms), use standalone solutions like the Mi Home Security Kit.
How do you check if the script is running locally or through the cloud?
Open Mi Home โ†’ Profile โ†’ Settings โ†’ Region: If China is selected, some scenarios will run locally via Mi Home Server or Aqara Hub. In global versions (Europe, Russia), most scenarios are cloud-based.

Advanced Features: What Smart Scenes Can Do Beyond Basic Scripts

Many users are limited to simple scenarios like "turn on the lights on motion," but Smart Scenes has much more to do with it. Here are a few hidden features:

  • ๐Ÿ”„ Cyclic scenarios: you can create a chain of action where the output of one scenario triggers another:
  • ๐Ÿ“Š Conditional logic with multiple triggers: use operators" (AND) and" (OR). For example: "If (movement detected) And (time between 22:00 and 06:00), turn on the nightlight".
  • ๐Ÿ“ข Custom text notifications: In the script actions, you can configure a push notification with your message (for example, "The kitchen window has been open for 15 minutes now!").
  • ๐ŸŽต Multimedia integration: Some scenarios allow you to control music playback on Mi speakers AI Speaker or Mi TVs TV.

For the most advanced users, you can use Home Assistant or Node-RED to integrate Xiaomi devices into more complex automation systems, in which case Smart Scenes can be used as a backup option or for simple tasks.

๐Ÿ’ก

The most reliable way to automate is to combine Smart Scenes (for basic tasks) and Home Assistant (for complex logic), for example, in Smart Scenes you adjust the response to sensors, and in Home Assistant you adjust the processing of data and notifications.

Another little-known trick is using virtual devices, and in the Mi Home, you can create a virtual switch that can control multiple scenarios at once.

  1. Create a virtual device in Mi Home โ†’ Smart home. โ†’ Virtual devices.
  2. Set up a script that includes this โ€œswitchโ€ under a certain condition (e.g., schedule).
  3. Add another script that responds to the state of that virtual device and performs the desired actions.

Compatible devices: what works with Smart Scenes

In theory, Smart Scenes should support all devices added to the Mi Home, but in practice, there are nuances:

  • โœ… Full support:
  • โš ๏ธ Limited support:
  • โŒ Not supported:

If your device doesnโ€™t appear in the list of available scripts, try:

  1. Update the device through Mi Home โ†’ The device โ†’ Update of the PO.
  2. Reconnect the device to the app (sometimes changing the region to China and back).
  3. Use alternative applications like Aqara Home (for Aqara devices).

Smart Scenes Alternatives: When to Look for a Different Solution

Despite the advantages, Smart Scenes is not suitable for everyone, and here are some cases where you should consider alternatives:

  • ๐ŸŒ Your devices are from different manufacturers (e.g. Xiaomi) + Philips Hue + Sonoff: You should use Home Assistant, Google Home or Apple HomeKit.
  • ๐Ÿ”ง You need complex logic (e.g., scenarios with delays, loops, or data processing). Smart Scenes is limited to the base operators".
  • ๐Ÿ“ฑ You want to run a smart home without the internet.Most Xiaomi scenarios depend on the cloud.
  • ๐Ÿ› ๏ธ You like customization. In Smart Scenes, you can't change the interface, add your icons or use custom scripts.

If youโ€™ve decided to move away from Smart Scenes, here are some popular alternatives:

The alternativePlusesCons
Home AssistantLocal work, support for thousands of devices, flexible configurationComplex installation, requires a separate server (Raspberry Pi)
Google Home / Apple HomeKitSimple interface, voice control, cross-platformLimited scripting logic, cloud dependency
Node-REDVisual programming, integration with API, automation of any levelRequires technical knowledge, no mobile app
Aqara HomeLocal scenarios (via Aqara Hub) are more stable than Mi HomeIt only works with Aqara and Xiaomi devices.

If youโ€™re not ready to give up Smart Scenes altogether, but want more features, try combining systems.

  • Use Smart Scenes for simple tasks (lights on, notifications).
  • Set up Home Assistant for complex logic (data analysis, integration with other services).
  • Link systems through MQTT or IFTTT.

FAQ: Answers to Frequent Questions about Smart Scenes

Can you use Smart Scenes without the internet?
Most scenarios require a connection to Xiaomi servers, but there are exceptions: Local scripts via Aqara Hub (work without the Internet). Some devices (e.g. Yeelight) support local management via the Aqara Hub. LAN. To check if your script works locally, turn off the internet on your router and test it out.
Why the script is working with a delay in 5-10 seconds?
This is a typical cloud scenario problem. Sensor data is sent to Xiaomi's server first, processed, and then the command is returned to the device. To reduce latency: Use local scripts (if supported). Reduce the number of conditions in the script. Check Internet speed and Wi-Fi stability.
How to transfer scripts to a new smartphone?
The scripts are tied to your Xiaomi account, not your device. To transfer them: Sign in to Mi Home on a new smartphone under the same account. Make sure all devices are connected to the same Wi-Fi network. Update the list of devices in the app (sometimes you need to manually reconnect them). If the scripts don't show up, check the account region (should match the region on the old phone).
Can you control Smart Scenes via voice (Alice, Google Assistant)?
Yes, but with reservations: ๐Ÿ—ฃ๏ธ Alice (Yandex): supports basic commands for Xiaomi devices, but can not run custom scripts from Smart Scenes.The solution is to create a virtual device in Mi Home and tie it to Alice. ๐Ÿค– Google Assistant: Integrates with Mi Home via Google Home, and you can run scripts in voice if they are saved in Mi Home. โ†’ Google Assistant. ๐ŸŽ Siri (HomeKit): requires a bridge like a Home Assistant or a home assistant. HOOBS, Xiaomi does not officially support HomeKit.
How to remove unnecessary scripts?
To delete the script: Open Mi Home โ†’ Smart โ†’ Scenes. Find the script you want and swipe left (on iOS) or tap and hold (on Android). Select Delete. If the script doesn't get deleted, check if it's being used in another automated process (for example, in a schedule).