Creating a full-fledged ecosystem of a smart home often begins with the purchase of a central control device, and for owners of Xiaomi equipment, this device becomes the gateway version 3. Integration of this equipment with a voice assistant from Yandex opens up great opportunities, allowing you to control sensors, lamps and sockets with voice. The process of linking accounts requires care, but the result is worth it, since you get a single control center for the entire apartment.
In this article, we will take a closer look at every step of the setup, from hardware preparation to complex automation. Xiaomi Multimode Gateway (the full name of the device) supports various communication protocols, making it a universal solution. It is important to understand that without the correct initial configuration in the native application, integration with external services will not be possible.
Preparation of equipment and selection of the gateway version
Before you start any manipulation, you need to make sure that you have the third version of the gateway on your hands, as it is radically different from its predecessors: Visually, the ZNDMWG03LM (model for the global market) or the DNKS13/ZNDMWG02LM (Chinese version) look like a white circular washer with the Mi logo and a glowing rim. It is critical to check the marking on the bottom of the case, since it depends on the choice of the server for registration.
To operate the device, you will need a 5-Volt power supply and a micro-USB connector that comes with it. Also make sure your router supports 2.4GHz Wi-Fi standard, as the 5GHz higher frequency band is not supported by the gateway. If your router is dual-band and combines networks under one name, it can be difficult, so it is better to temporarily split them or create a guest network only at 2.4GHz.
- ๐ฆ Xiaomi Multimode Gateway (version 3)
- ๐ Micro-USB cable and power adapter 5V/1A
- ๐ฑ Smartphone with Mi Home app installed
- ๐ถ Stable Wi-Fi network 2.4 GHz
โ ๏ธ Attention: Chinese version of the gateway (CN) The new version requires the selection of the region โChinaโ in the Mi Home app, which can slow down the response of teams, whereas the global version (Global) runs faster on servers in Europe or the United States.
After being physically connected to the outlet, the indicator on the body should light up in orange, signaling a conjugation standby mode. If the indicator color is red, the device resets to factory settings, which is done by pressing the reset button on the end long. Make sure Bluetooth on your smartphone is on, as the initial setup often occurs through a phone. BLE-protocol.
Primary settings in the Mi Home app
The foundation of the entire system is to correctly register the device in the Xiaomi ecosystem. Open the Mi Home app and make sure that the correct region corresponding to your version of the gateway is selected in the top corner. Click on the plus in the top right corner and wait until the system automatically detects a new device nearby. If the automatic search does not work, select the gateway manually from the device directory.
The binding process takes a few minutes and requires a stable Internet connection. During the setup, the application will suggest updating the gateway firmware - be sure to agree to this action. New versions of firmware often contain patches for cloud compatibility bugs, including integration with Yandex.
โ๏ธ Checking before integration
Once successfully added, give the device a clear name, such as "Gateway in the corridor" or "Central hub." This name will be broadcast to other systems, so it's best to avoid special characters. Now your gateway is ready for further manipulation, but for now it only manages its own functions.
Activation of the skill in the Yandex application
In order for the voice assistant Alice to manage your smart home, you need to authorize your Xiaomi account in the Yandex or Alice Home app. Open the Yandex app on your smartphone, go to Devices and click the + button to add a new device. In the list of manufacturers, find โXiaomi Mi Homeโ or simply โXiaomiโ.
The system will redirect you to the Xiaomi account authorization page. It is extremely important to enter the username and password from the same account that was used in the Mi Home application during the initial setup stage. If you use two-factor authentication in a Xiaomi account, the confirmation code will come in the Mi Home application or via SMS, it will need to be entered in the Yandex authorization window.
Once you have successfully entered the data, you will see a list of devices found in your Xiaomi account. Select your gateway and any sensors or lamps you want to see on Yandex connected to it. Click Save or Link and the devices will appear in the smart homeโs shared list.
- ๐ Go to the "Devices" section in the Yandex app
- ๐ Find the manufacturer's list of Xiaomi Mi Homeยป
- ๐ Enter your Xiaomi account details (login/password)
- โ Confirm access and select devices for synchronization
๐ก
If the list of devices is empty after binding, check in the Mi Home app if the sensors are hidden in the gateway settings, and try to update the list of devices in Yandex through the profile menu.
Setting up scenarios and automation
One of the main things that you can do with the gateway and Alice is to create complex scenarios that go beyond just turning on a button. In Yandex, you can create automation where the trigger is an event from a sensor connected to the gateway. For example, when you activate a Xiaomi motion sensor, Alice can not only turn on the light, but also say a phrase or run music on a smart speaker.
To set up, go to the Scenarios section of the Yandex app and select If โ Devices. Find your gateway or sensor connected to it. Note that the gateway itself may act as a trigger (for example, when you press a button on the case), but more often peripherals are used.
| Type of trigger | Alice's action | Difficulty |
|---|---|---|
| Motion sensor | Turn on the light, say, "Someone has come." | Low. |
| Door opening sensor | Send notification to the phone | Medium |
| Lock button (single) | Launch the "Cinema" scene | Low. |
| Leak sensor | Say, "Leaking water!" | Tall. |
Using logic operators "I" and "OR" allows you to make scenarios smarter, for example, turn on the light only if the motion sensor is triggered And it's night (dusk time), but remember that the execution of complex chains depends on the response speed of cloud servers from both manufacturers.
Managing devices through voice commands
Once set up, you can control devices using voice. Commands can be both direct ("Alice, turn on the light in the hallway") and contextual. Xiaomi Gateway 3 is often used to control groups of devices, so it's convenient to name rooms or zones rather than individual light bulbs.
You can use standard Yandex phrases or create custom phrases in the "My Skills" section, which reduces long commands to one word, for example, the phrase "I'm at home" can run a chain of actions through the gateway: turn off security mode, turn on the lights and open smart curtains.
โ ๏ธ Warning: Voice control only works when there is active internet. If the router loses the connection, local scripts within the Mi Home app may continue to work, but Alice control will become unavailable.
To improve your response reliability, try to formulate commands clearly and pause a little after the word "Alice." It's also helpful to know that the gateway supports temperature control if you have a thermostat attached to it, which allows you to say, "Alice, set the temperature at 23 degrees."
Solving and eliminating errors
During operation, users may encounter a situation where devices become โUnavailableโ in the Yandex application, although Mi Home works properly. Most often this is due to desynchronization of authorization tokens. To solve the problem, you do not need to re-link your account completely - it is enough in the Yandex application to remove the device and add it again, or click the โUpdate the list of devicesโ button.
Another common problem is the delay in execution of commands, which can be caused by overloading of the Wi-Fi channel or weak signal, the distance between the router and the gateway should not exceed reasonable limits, and the number of intermediate walls should be minimized.
What if the gateway is constantly losing communication?
If voice commands are no longer executed, check the history of commands in the Yandex application. There may be a reason for the error, for example, โThe device does not support this commandโ or โThe service is temporarily unavailable.โ In the latter case, the problem is on the side of Xiaomi or Yandex servers, and you just need to wait.
- ๐ Update the list of devices in the Yandex application
- ๐ก Check the Wi-Fi signal level at the gateway installation site
- ๐ Reboot the router and the gateway itself
- ๐ Check the access rights in your Xiaomi account
๐ก
The stability of a smart home depends on the quality of your local Wi-Fi network and the state of manufacturersโ servers, so access problems are often solved by simply restarting the equipment.