How to connect a smart cube Xiaomi to the phone: instructions with photos and videos

The Xiaomi Mi Smart Home Cube (or Mi Cube) is a compact smart gesture-control device that has become a hit with fans of the Mi Home ecosystem, which can turn on lights, run scripts, or control music by simply turning or shaking, but before enjoying these features, you need to connect the cube correctly to your smartphone, a process that many people question.

In this article, we will discuss all the stages of pairing, from preparing the device to configuring scripts in the application, paying special attention to typical errors (for example, when the cube is not determined by the phone) and the nuances of working with different versions of the firmware. The instructions are valid for all Xiaomi Cube models (including the Mi Smart Home Cube 2 and Aqara Cube). T1), and also for smartphones on Android and iOS.

If you've tried to plug a cube in before, but you've failed, don't rush it back to the store. 90 percent of the time, the simple steps we've described below solve the problem. And for those of you who are just getting to know the Xiaomi ecosystem, we've prepared step-by-step screenshots and video instructions.

1.Preparation for connection: what to do before pairing

Before you start connecting, make sure you have everything you need, a stage that is often missed, causing problems with pairing.

Minimum requirements for successful connection:

  • ๐Ÿ“ฑ Smartphone on Android 6.0+ or iOS 12.0+ (Older versions may not have enough Bluetooth 4.2 support).
  • ๐Ÿ”‹ Smart cube Xiaomi with a battery charge of not less than 30% (at a discharge below 20%, the pairing can be interrupted).
  • ๐Ÿ“ถ Stable Wi-Fi connection 2.4 GHz (cube does not work with 5 GHz networks!).
  • ๐Ÿ“ฒ Installed Mi Home (or Mi Home Lite for restricted regions).

If you are using an Aqara Cube T1, Mi Home requires Aqara Home, which is similar in appearance, but uses different protocols, Aqara cubes are not compatible with Mi Home, and vice versa, they are a common cause of connection errors.

๐Ÿ“Š What a smart cube you got?
Xiaomi Mi Smart Home Cube
Xiaomi Mi Smart Home Cube 2
Aqara Cube T1
Other
I haven't bought it yet.

Compatibility check:

Model cubeSuitable annexRequired version of BluetoothSupport for Wi-Fi
Mi Smart Home Cube (1st generation)Mi Home / Mi Home Lite4.0+2.4 GHz
Mi Smart Home Cube 2Mi Home4.2+2.4 GHz
Aqara Cube T1Aqara Home5.0+2.4 GHz (via hub)

If your smartphone does not support Bluetooth 4.2, the cube may be delayed or not detected at all. Check the Bluetooth version on Android in the settings: Settings โ†’ The phone. โ†’ Bluetooth version. On iPhone: Settings โ†’ Mainstream โ†’ About this device. โ†’ Models (hereinafter Googlem by model).

โš ๏ธ Note: If you use Mi Home Lite (e.g. in Russia), some features of the cube may be limited, in particular, this version of the application does not support gesture automation for third-party devices.

2. Installation and configuration of the Mi Home app

Mi Home is the central control node for all Xiaomi devices, and you can't plug the cube without it, and even if you already have the program installed, we recommend upgrading to the latest version to avoid bugs.

Step-by-step installation:

  1. Download Mi Home from the official store: ๐Ÿค– Google Play for Android ๐ŸŽ App Store for iOS

Xiaomi

real-life email

China Mainland

Russia

Mi Home Lite

geolocation

Bluetooth

notice

If you choose China Mainland, the interface is in Chinese, but you can translate it through your phone settings, but in this region, all the functions of the cube are available, including advanced scripts, and in the Russian version (Mi Home Lite), some of the features can be reduced.

Update the application to the latest version|

Sign in to your Xiaomi | account

Select China Mainland (optional)|

Enable Bluetooth and geolocation on your phone |

Connect to 2.4GHz Wi-Fi

-->

Setting up a profile in Mi Home:

After registration, go to the Profile โ†’ Settings โ†’ If you want to use a cube with devices from other brands (such as Yeelight or Roborock), you should choose China Mainland.

โš ๏ธ Warning: If you've used Mi Home with another region and you already have connected devices, changing your region will result in you losing access to them.

3. Step-by-step connection of the Xiaomi cube to the phone

Now, the most important thing is to pair the cube with the smartphone, and it's going to take about 5 minutes if you follow the instructions.

Instructions for Mi Smart Home Cube (1 and 2 generations):

  1. Turn on the cube by pressing and holding the button on the case for 3 seconds until the indicator blinks.
  2. Open Mi Home and press + โ†’ Add the device.
  3. Choose the category of Smart Home โ†’ Ducks and remotes โ†’ Mi Smart Home Cube.
  4. Follow the on-screen hints: the app will ask you to shake the cube to confirm the pairing.
  5. Connect the cube to Wi-Fi by selecting your 2.4GHz network and entering the password.

Video instructions (if not available in the text):

๐ŸŽฅ Watch on YouTube: Xiaomi Cube Connection in 2 Minutes

What to do if the cube flashes red?
The red indicator means a connection error, most often it is associated with: Low battery power - charge the cube through the USB-C (Incompatible Wi-Fi network - the cube only works with 2.4 GHz. MAC-address in the router - check the filtering settings. If nothing helps, try resetting the cube to factory settings (hold the 15-second button until triple blinking).

Features of the Aqara Cube connection T1:

Aqara cubes do not connect directly to the phone, but via the Aqara hub (for example, Aqara Hub). M2). If you don't have a hub, the cube won't work:

  1. Connect the hub to the network and add it to the Aqara Home app.
  2. Press. + โ†’ Add the device โ†’ Cube T1.
  3. Bring the cube to the hub at a distance of less than 1 meter and wait for the signal.

๐Ÿ’ก

Xiaomi and Aqara cubes use different protocols and are not interchangeable. Before buying, check which app supports your model!

4. Customization of gestures and control scenarios

Once connected successfully, the cube will appear on the device list, but by default it does nothing. To get it to control the smart home, you need to adjust gestures and scripts.

The following are the Xiaomi Mi Smart Home Cube gestures:

  • ๐Ÿ”„ Turning / counterclockwise - adjusting brightness, volume.
  • โคต๏ธ Double-clicking on the side - on / off devices.
  • ๐Ÿ’ฅ Shaking โ€“ running a script (e.g., โ€œLeaving Home").
  • ๐Ÿ”€ Turning over 90ยฐ/180ยฐ โ€” switching.
  • ๐Ÿ›‘ A hit on the table โ€“ an emergency shutdown (for example, an alarm clock).

To tune the gesture:

  1. Open the cube in Mi Home and go to Settings โ†’ Gesture management.
  2. Select a gesture (e.g., โ€œturn to the rightโ€).
  3. Assign an action: turn on the lamp, start the robot vacuum cleaner or activate the script.

Examples of useful scenarios:

Gesture.Action.Example of use
ShakingTurn on all lampsEvening mode: one movement and the room is lit.
Double-pushLaunch a robot vacuum cleanerQuick cleaning before the guests arrive.
Turn leftReduce the volume of the columnIt's comfortable with your hands full.
Turn over at 180ยฐActivate the "Do Not Disturb" modeSleeping at night without notice.

To create complex scenarios (e.g., โ€œIf the cube is shaken and itโ€™s dark outside, turn on the lights and close the curtainsโ€), use the Automation section of Mi Home, where you can combine triggers from different devices.

๐Ÿ’ก

If the cube is not responsive to gestures, check the sensitivity of the sensors in the settings. Sometimes it helps to increase the trigger threshold (the "Sensitivity" option in advanced settings).

5. Typical errors and their solutions

Even with the right connection, users are facing problems, and we've collected some of the most common bugs and ways to fix them.

Problem 1: The cube is not defined in the Mi Home

  • ๐Ÿ”‹ Check the battery power (the indicator should burn blue, not red).
  • ๐Ÿ“ฑ Reboot the phone and the cube (hold the 10 seconds button).
  • ๐ŸŒ Check that the phone is connected to 2.4 GHz Wi-Fi (the cube does not see 5 GHz!).
  • ๐Ÿ”„ Change the region in Mi Home to China Mainland (sometimes helps).

Problem 2: Gestures are triggered with a delay

  • ๐Ÿ“ถ Check the quality of the Wi-Fi signal (the cube must be within a radius of 10 meters from the router).
  • ๐Ÿ”„ Reconnect the cube to the network in the Mi Home settings.
  • ๐Ÿ“ฑ Close background apps on your phone โ€“ they can slow down data transfer.

Problem 3: The cube spontaneously works

  • ๐Ÿ› ๏ธ Reduce sensor sensitivity in the cube settings.
  • ๐Ÿ  Place the cube on a flat and stable surface (not on a soft coating!).
  • ๐Ÿ”• Turn off unnecessary gestures in the control menu.

Problem 4: After updating the firmware, the cube stopped working

Sometimes updates break compatibility.

  1. Firmware rollback (if available in Mi Home).
  2. Reset the cube to factory settings (hold the 15-second button).
  3. Addressing Xiaomi with error logs (they can be exported in the application settings).

โš ๏ธ Note: If you use a cube with Home Assistant or other smart home systems, you may need to re-integrate through a firmware update. API. Check the documentation of your system!

Enhanced capabilities: integration with other systems

The Xiaomi Cube is not only available in the Mi Home ecosystem, it supports integration with popular smart home platforms such as Home Assistant, Google Home and Apple HomeKit (through workarounds).

Integration with Home Assistant:

  1. Install the Xiaomi Miio component via HACS or manually.
  2. Get the device token using the Mi Home app (instruction: official documentation).
  3. Add the cube to configuration.yaml: sensor: - platform: xiaomi_miio host: IP_ADRES CUBE TOKEN: YOUR_TOKEN name: "Xiaomi Cube"

Integration with Google Home:

The cube is not officially supported, but a workaround through the IFTTT:

  1. Create an applet in IFTTT with the trigger Xiaomi Mi Home (Gestiving cube).
  2. Select Google Assistant as an action (e.g., โ€œOK Google, turn on the lightsโ€).

Integration with Apple HomeKit:

You need a bridge, such as Home Assistant or HomeBridge with the homebridge-mi-aqara plugin.

  1. Install HomeBridge on Raspberry Pi or NAS.
  2. Add a plugin and specify the cube token (similar to Home Assistant).
  3. With HomeKit, find a new device and add it.

For power users: the cube can be programmed to execute custom commands through MQTT Or Node-RED. This allows you to send, for example, HTTP-server requests or manage devices not supported by Mi Home.

๐Ÿ’ก

Integration with third-party systems requires technical skills, and it is easier for beginners to limit themselves to standard Mi Home features.

7. Update firmware and reset settings

Regular firmware updates fix bugs and add new features, but sometimes they can break the stable work, let's figure out how to update the cube correctly and what to do if something goes wrong.

How to update firmware:

  1. Open Mi Home and select your cube.
  2. Go to Settings โ†’ Update firmware.
  3. If a new version is available, click Update and wait until it is completed (donโ€™t interrupt the process!).

What to do if the update is suspended:

  • ๐Ÿ•’ Wait. 15-20 Minutes โ€“ sometimes the process takes longer than specified.
  • ๐Ÿ”Œ If the indicator does not flash, reboot the cube (hold the button for 10 seconds).
  • ๐Ÿ“ก Check Wi-Fi connection โ€“ if signal is weak, update may be interrupted.

Resetting the cube to factory settings:

If the cube is glitching or you want to pass it to another user, reset:

  1. Hold the button on the cube for 15 seconds until the indicator blinks 3 times.
  2. After resetting the cube will be ready for a new connection.

โš ๏ธ Warning: Reset removes all gesture and script settings. Before the procedure, take screenshots of the configuration or export the settings via Mi Home (if available).

How to roll back firmware:

If the cube gets worse after the update, you can try to roll back to the previous version.

  1. Download the old firmware from the forum XDA Developers (Look for the theme of your model).
  2. Use the Mi Home Hack utility or ADB for manual firmware (instructions are available on the forums).

โš ๏ธ A firmware rollback can lead to a loss of warranty and unstable operation!

8. Alternative ways to use the cube

Xiaomiโ€™s cube can be used for more than just smart home management, but here are some non-obvious ways to use it:

1.Smart alarm clock

Set up the script:

  • ๐Ÿ•– Trigger: time (e.g. 7:00 a.m).
  • ๐Ÿ”” Action: The cube begins to vibrate (if supported) or turns on music through the column.
  • ๐Ÿ›‘ โ€œBlowing the tableโ€ gesture turns off the alarm clock.

2. Screen time control

For parents: adjust the cube so that when you turn it:

  • ๐Ÿ“บ Turned on the TV for 30 minutes.
  • โฑ๏ธ After 30 minutes, I automatically turned it off (via the script in Mi Home).

3. Remote control

If you have a Xiaomi Gateway, you can control the cube even from home:

  • ๐ŸŒ Set up a scenario that works by geolocation (for example, when you leave work).
  • ๐Ÿ”„ The cube is shaken automatically (through the hub) and turns on the heater.

4.The game controller

With Home Assistant or Node-RED, you can program the cube to control:

  • ๐ŸŽฎ Emulators (for example, turn flipping games in RetroArch).
  • ๐ŸŽต Musical Apps (shaking - the next track).

5. Alarms for the elderly

Then, set the cube so that when it falls (sharp movement) it:

  • ๐Ÿ†˜ Send a notification to the phone of relatives.
  • ๐Ÿšจ Turned on the siren (if connected to the smart home).

These scenarios may require additional hardware (such as the Xiaomi Gateway or Raspberry Pi), but the options are limited only by your imagination!

FAQ: Frequent questions about connecting the Xiaomi cube

๐Ÿ”น Can you connect the Xiaomi cube to the iPhone?
Yes, the cube is compatible with iOS 12.0 and later. Use the official Mi Home app from the App Store.+ (iPhones from all over the world 5S fit).
๐Ÿ”น Why does the cube flash red and not connect?
Red light signals an error. Causes: Battery discharged (charge through USB-C, Wi-Fi problems (check that the network is running at 2.4 GHz), firmware failure (try resetting the cube by holding the button for 15 seconds). If nothing helps, contact Xiaomi with a photo of the error.
๐Ÿ”น How to reset the Xiaomi cube to factory settings?
Hold the button on the cube for 15 seconds until the indicator blinks three times, and then the cube is ready for the new connection.
๐Ÿ”น Does Xiaomiโ€™s Cube Work Without Internet?
Yes, but with reservations: ๐Ÿ”„ Local commands (e.g., Yeelight lights) work without the internet. ๐ŸŒ Cloud scenarios (such as notifications to your phone) require a network connection. ๐Ÿ“ฑ The initial setup is mandatory, and if Wi-Fi goes down, the cube will only perform activities that don't require cloud processing.
๐Ÿ”น Can you use the Xiaomi Cube with Alexa or Google Assistant?
There is no direct integration, but there are workarounds: IFTTT: set up an applet, where the trigger will be the gesture of the cube, and the action is a command to Alexa/Google. With Home Assistant: connect the cube and voice assistant to the system, then create automation. Officially, Xiaomi does not support direct work with these platforms.