How to connect Xiaomi Gateway 3 to Alice: full instructions

Integrating Xiaomi devices into the Yandex ecosystem has become the standard for many users looking to create a comfortable environment. Xiaomi Gateway 3 acts as a central node, connecting dozens of sensors and light bulbs into a single voice-controlled network. Properly configuring the gateway allows not only to turn on the lights on cotton, but also to run complex security scenarios.

The pairing process requires attention to detail, as errors at the initial stage can lead to unstable operation of the entire system. Unlike previous versions, Gateway 3 supports the Zigbee 3.0 protocol, which greatly expands compatibility with new equipment. Voice control through Alice adds another level of convenience, allowing you to control the house without using a smartphone.

In this article, we will take a detailed look at each setup step, from hardware preparation to automated scripting. You will learn how to avoid typical account-association errors and why devices are sometimes not visible in the Yandex app. Make sure your gateway has firmware version 1.4.7 or higher, as older versions may not work properly with cloud integrations.

Preparation of equipment and compatibility check

Before you start setting up, make sure all the system components are ready to go. Xiaomi Gateway 3 requires a stable connection to a 2.4 GHz Wi-Fi network. If your router is giving out a 5 GHz and 2.4 GHz signal under one name, it is recommended to temporarily split them or use a guest network for the gateway.

You will also need a Mi Home account, which should match the region selected in the Yandex app. Most often, for all functions, you should choose the China or Russia region, but it is important that the settings are identical in both applications.

πŸ’‘

Use a separate Wi-Fi network for smart home devices if you have more than 30 connected gadgets – this will reduce the load on the main network and improve response.

Make sure the gateway itself is connected to the power source via the original cable and power supply.Power shortages can cause the device to periodically shut down from the network, making it impossible for smart home systems to detect.

Primary Gateway Setting in the Mi Home App

The first step is to add the device to the manufacturer's native ecosystem. Launch the Mi Home app and press the add-on button. QR-code at the bottom of the device or find it automatically if Bluetooth on the smartphone is enabled.

During the setup process, you will be asked to select a name for the gateway and link it to a particular room, which is an important step, since the geolocation and the name of the room are often transferred to other systems when synchronized. Follow the instructions on the screen, waiting for the confirmation indicator to flash.

  • πŸ”Œ Connect the gateway to the socket and wait for the yellow flash of the indicator.
  • πŸ“± Open the Mi Home app and click on it Β«+Β» top-right.
  • πŸ“ Select a region (Russia or China) before searching for a device.
  • πŸ“Ά Connect the gateway to your 2.4GHz Wi-Fi network.

Once successfully added, the device will appear on the list of available ones. Now you can move on to a firmware update if the system suggests it, and updating firmware is critical to the stability of the Zigbee protocol and the correct display of status in third-party services.

β˜‘οΈ Checking before integration

Done: 0 / 4

Integration of Xiaomi account in Yandex

In order for Alice to manage the devices, you need to link the accounts of the two services. Open the Yandex or Yandex app and go to Devices. Click on plus and select Device from the directory.

In the list of manufacturers, find Xiaomi Mi Home. The system will redirect you to the login page, where you need to enter the username and password from the Mi Home account. This is where most problems arise if passwords have been changed or two-factor authorization is used.

⚠️ Note: When entering authorization data, make sure you use the same type of account (Mi Account or Xiaomi Account) that you specified when registering. An error in the account type will result in the message β€œIncorrect login or passwordΒ».

Once you have successfully authorized, Yandex will request permission to access the list of devices, confirm the action, and the synchronization process will begin. Depending on the number of sensors and lamps connected to the gateway, this can take anywhere from 10 seconds to several minutes.

ParameterValue for adjustmentNote
ManufacturerXiaomi Mi HomeOfficial Skill
Protocol of communicationWi-Fi / CloudInternet is required
Server regionMust match with Mi Home
Type of authorizationOAuth 2.0Safe entrance

If the synchronization is successful, Yandex will have all the devices found by the gateway, and you can rename them to Russian for more convenient voice control.

Setting up scenarios and automation

One of the main features of Gateway 3 and Alice is to create complex scenarios, so you can customize the system's response to different events, such as opening a door, moving or changing the light level.

Creating a script starts with a choice of a condition (β€œIf...”). For example, β€œIf the motion sensor has detected activity,” then an action (β€œ...that”) is selected. This can be turning on the lights, playing a message through the gateway speaker, or sending a notification to the phone.

Secret commands for scripts
You can use the phrase "I'm home" to activate a whole cascade of actions: turn on the lights, raise the curtains and start the music. To do this, create a script with a voice trigger.

It is important to consider the delay when executing commands through the cloud. Although Zigbee works quickly, transmitting a signal to Xiaomi server, then to Yandex and back to the device can take 1-3 seconds. For critical security scenarios (for example, a leak sensor), it is better to use local scenarios in the Mi Home application.

  • πŸŒ… Good Morning Scenario: Turning on the Lights and Opening the Curtains on the Alarm.
  • πŸ”’ The scenario of β€œSecurity”: turning off all outlets and turning on cameras when leaving the house.
  • πŸ’‘ Script of β€œCinema”: darkening the curtains and dimming the lights by voice command.

Experiment with combinations of conditions. Logical operators allow you to create flexible rules, like turning on the lights only when it's night and there's movement, and that will eliminate false positives during the day.

Solution: Devices are not located or managed

The most common problem is that there are no devices in the Yandex app after synchronization, which is often due to regional mismatches. If you choose China in Mi Home, and you try to log into Russia in Yandex, the devices won't show up.

Another reason could be data caching. Try disabling the Xiaomi Mi Home skill in the Yandex app, wait a minute and reconnect it, and the full logout from the Mi Home app and re-entry also helps.

⚠️ Note: Do not rename devices in the Mi Home app after syncing with Yandex.This may lead to desynchronization of names, and Alice will no longer understand commands for devices with new names.

If Gateway 3 is periodically inaccessible (β€œNo response”), check the stability of the Wi-Fi signal at the installation site. Walls and appliances can interfere, in which case using a Wi-Fi repeater or moving the gateway closer to the router helps.

πŸ“Š What type of device do you most often have problems with?
Light bulbs.
Motion sensors
Rosettes
Cameras
Lock out.

In rare cases, the problem is that the ISP or antivirus has blocked the ports. Make sure the devices have access to Xiaomi and Yandex external servers. Checking the router's lock lists can take time, but often is the only solution.

Advanced capabilities and voice control

Once you've set up successfully, you can have a lot of control, and you can ask Alice for the status of the devices, like, "Alice, is the light on in the hallway?" or "Alice, what's the temperature in the nursery?" Gateway 3 also has a built-in speaker that you can stream answers or messages through.

Use a group of devices to control it simultaneously. Create a group called the Bathroom and combine a light, an hood and a humidity sensor. One command, Alice, turn off the bathroom, will turn off all the appliances at once, which is especially convenient when you leave the house.

Remember, Alice understands context. If you just turned on the lights in the room, you can say, "Switch it off," and she'll know what device you're talking about, which makes smart home interactions more natural and quick.

πŸ’‘

Voice control is most effective when devices are named in simple, understandable words without special symbols and long composite names.

Check your applications and firmware updates regularly. Developers are constantly improving the Zigbee network algorithms and adding support for new device types. Follow these guidelines will keep your smart home system running smoothly for years to come.

Why doesn't Alice see the sensors connected to the gateway?
The problem is that the Xiaomi Mi Home skill doesn't update the device list. Try saying, "Alice, update the device." If that doesn't work, check if the sensors are visible in the Yandex app (Device section). If they're not there, the problem is synchronizing the accounts.
Can you operate a gateway without the internet?
Local scripts created in the Mi Home application can work without the Internet (if the gateway supports local execution), however, for management through Alice, the Internet is mandatory, since voice commands are processed on Yandex servers.
How many Zigbee devices does Gateway 3 support?
Officially, the gateway supports up to 32 Zigbee devices on a single network, but in practice, stable operation is observed when connecting up to 20-25 devices, and if you exceed the limit, network response delay can increase.
How to reset the gateway to factory settings?
To reset Gateway 3, you need to find a small hole on the body (usually at the bottom or side). Press and hold the button inside the hole with a paper clip for 5-10 seconds until the indicator lights up in yellow.