Xiaomiโs smart buttons are compact devices that turn ordinary actions into automated scenarios, which can turn on lights, run a robot vacuum cleaner, control outlets, or even send notifications to a smartphone at a single click. But before enjoying the convenience, you need to connect the gadget correctly to the ecosystem. This article will help you understand all the nuances from model selection to integration with Apple HomeKit and Google Assistant.
We'll look at not only the standard Mi Home pairing procedure, but also alternative ways for users who have errors like "Device not found" or "Can't add" and how to make the button work with other smart home platforms without buying additional hubs.
Important: the instruction is relevant for all popular models - from the budget Xiaomi MiJia Wireless Switch to the advanced Aqara Opple 6-Button Switch. If your button isn't defined by the system, there's a section at the end of this article that addresses the most common problems.
What Xiaomi Smart Buttons Are and How They Differ
Xiaomi and its sub-brand Aqara are launching several types of smart buttons that differ in functionality, design and compatibility, and here are the main models that will be available in 2026:
- ๐ Xiaomi MiJia Wireless Switch is a classic ZigBee-enabled single-button model that only works through the Xiaomi Gateway hub.
- ๐ Aqara Opple Single Rocker โ stylish button with mechanical switch, compatible with HomeKit (requires Aqara Hub).
- ๐ Redmi Smart Wireless Switch โ budget version with Bluetooth, does not require a hub, but has limited functionality.
- ๐ Aqara Opple 6-Button Switch โ Multi-button panel for complex scenarios (e.g., managing multiple devices with one button).
The main difference between the models is the communication protocol:
- ๐ก ZigBee is reliable, energy efficient, but requires a hub (e.g. Xiaomi Gateway 3 or Aqara Hub) M2).
- ๐ถ Bluetooth โ works directly with your smartphone, but has a limited range (~10 meters) and discharges faster.
If you plan to use the button to control other devices (such as lamps or sockets), choose models with ZigBee. For simple tasks like sending notifications, a Bluetooth option will also work.
What you need to connect the Xiaomi smart button
Before you start setting up, make sure you have everything you need. Here's the full checklist:
Download the Mi Home app (or Aqara Home for related models)
Charge the button (if it is a model with a battery)
Connect the hub to the network (for ZigBee buttons)
Make sure your smartphone is connected to 2.4GHz Wi-Fi
Shut down. VPN Firewalls (they can block the connection)-->
Pay special attention to Wi-Fi frequency. Xiaomi smart devices only work with 2.4 GHz networks. If your router broadcasts both frequencies (2.4 and 5 GHz) under the same name, divide them in the router settings. Otherwise, the Mi Home application will not be able to find the button.
Also check the region in the app. By default, the Mi Home can be set to China, which will cause problems with adding devices.
- Open Mi Home and go to Profile โ Settings โ Region.
- Choose Russia (or Europe if there is no Russia).
- Restart the app.
โ ๏ธ Note: If you are using Aqara Opple and are planning to integrate with Apple HomeKit, add a button to the Aqara Home app first, not to the Mi Home.
Step-by-step: how to connect the Xiaomi smart button to the Mi Home
Consider the standard add-on process with the Xiaomi MiJia Wireless Switch (ZigBee), and the steps may vary slightly for other models.
Step 1: Hub preparation
If your button is running on ZigBee, first make sure that the hub (such as Xiaomi Gateway 3) is connected and working:
- Put the hub in the socket.
- Wait until the indicator starts flashing blue (pairing mode).
- Add a hub to Mi Home via Add Device โ Gateway.
Step 2: Activate the button pairing mode
To make the button visible to the hub, it must be switched to add mode:
- ๐ง For MiJia Wireless Switch: Press the button for 5 seconds until the indicator flashes quickly.
- ๐ง For Aqara Opple: Press and hold both buttons (if itโs a two-button model) for 10 seconds.
Step 3: Add to Mi Home
Now add a button to the app:
- Open Mi Home and press + โ Add the device.
- Choose the category of Smart Home โ Buttons.
- Click on your button model (e.g., Xiaomi Wireless Switch).
- Wait for the app to find the device (it can take up to 30 seconds).
- Assign a room and name to the button (e.g., โBedside buttonโ).
If the button is not located, try:
- ๐ Reboot the hub (remove from the socket for 10 seconds).
- ๐ฑ Reinstall the Mi Home app.
- ๐ Changing the region to China (sometimes helps with mistakes).
๐ก
If the button is defined but not added, try to bring it as close to the hub as possible (at a distance). 1-2 Sometimes interference from other devices interferes with pairing.
How to set up actions for a smart button
By itself, plugging a button is useless unless you configure the automation scenarios. In Mi Home, it's done through Automation.
Creating a simple scenario
Letโs say you want the Yeelight lamp to be turned on at the click of a button:
- At Mi Home, go to Automation. โ Create โ Smart button.
- Select your button and action (such as Single Press).
- Add the device to control (lamp, socket, etc.).
- Select the action (on/off).
- Save the script.
Advanced settings
Aqara Opple buttons support up to 6 different actions:
| Action. | Description | Example of use |
|---|---|---|
| Single tap | A brief touch | Turn on the lights |
| Double-push | Two quick touches | Launch a robot vacuum cleaner |
| Long press. | Retention 2+ seconds | Send notification to the phone |
| Triple press. | Three quick touches | Activate the No-Home mode |
To configure multi-button scenarios:
- In Mi Home, select your button.
- Go to the Device Settings โ Button management.
- Set an action for each type of press.
โ ๏ธ Note: If you use Redmi Smart Wireless Switch (Bluetooth), scripts will only work when you are actively connected to your smartphone. Once the phone is out of range, the button will become useless.
How to connect Xiaomiโs smart button to Apple HomeKit
If youโre using the Apple ecosystem, you can integrate a button into HomeKit, but only if you meet two conditions:
- You must have an Aqara Opple button (other Xiaomi models are not supported).
- You should use the Aqara Hub (not Xiaomi Gateway!) hub.
Instructions for connection:
- Add a button to the Aqara Home app (not in Mi Home!).
- Go to Profile. โ HomeKit.
- Click Add to HomeKit and scan. QR-code.
- In the app Home on the iPhone will appear a new device.
Now you can:
- ๐ Assign an action button through the Home app.
- ๐ Use it in automation scenarios (e.g., โWhen holding the button, close all curtainsยป).
- ๐ฑ Manage it via Siri (e.g., โHey Siri, activate the button at the doorยป).
What if HomeKit doesnโt see the button?
How to connect the Xiaomi button to Google Assistant or Alice
Integration with Google Assistant or Yandex Alice will require an intermediate solution, as direct support is not available.
Method 1: Through IFTTT
IFTTT (If This Then That โ a service for creating chains of automation between different platforms.
- Register at iftt.com.
- Connect Mi Home and Google Assistant.
- Create an applet using the template: If (If): Google Assistant โ Say a simple phrase (for example, "Activate the button"). โ Press a button (select your button and action).
Method 2: Through Home Assistant
Home Assistant is an open platform for smart homes that supports Xiaomi and voice assistants.
- Install Home Assistant on a Raspberry Pi or other computer.
- Add Xiaomi Mi Home integration (you will need a token from your account).
- Connect with Google Assistant via Google Home or Alice via Yandex Smart Home.
Both require initial adjustment, but you have flexibility to control, for example, you can set Alice to turn on the lights on the command "OK Yandex, press the button," even if you're not at home.
Common mistakes and their solutions
When connecting Xiaomi smart buttons, users often face typical problems, and here are the most common ones and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| No device found. | The button is too far from the hub or hub is not in pairing mode. | Bring the button closer to the hub and reboot it. |
| I couldn't add it. | Mi Home region mismatch or outdated hub firmware | Change the region to China or upgrade the hub. |
| The button works, but the scripts donโt work. | Incorrect automation settings or device conflict. | Recreate the script or check the logs in Mi Home. |
| Bluetooth button shuts down | The smartphone goes into energy saving mode or out of range. | Turn off battery optimization for Mi Home in Android settings. |
If the Aqara button is not added to HomeKit, check:
- ๐ Is the Aqara Hub connected to the 2.4 GHz network (not 5 GHz!).
- ๐ฑ Is Aqara Home Updated to the Latest Version.
- ๐ Does the antivirus block or VPN Connection to Aqara servers.
โ ๏ธ Note: Xiaomi buttons with the ZigBee protocol do not work directly with Google Home or Alexa โ only through intermediary services like Google Home and Alexa. IFTTT If you need native support, choose devices labeled Works with Google Assistant or Alexa Built-in.
FAQ: Frequent questions about Xiaomi smart buttons
Can I use the Xiaomi smart button without a hub?
How long does the battery last in the smart button?
Can I reassign actions for different types of clicks?
Why does the button sometimes not work?
Can you connect the Xiaomi button to multiple systems at the same time?
๐ก
If your Xiaomi smart button doesnโt connect, 90% of the time the problem is incorrect hub settings, Mi Home region settings, or Wi-Fi network conflict.