A smart home starts small, and a temperature sensor is often the first step in home automation. This compact device allows you not only to monitor the microclimate, but also to run scenarios: turn on the humidifier when dry or heater when cold snap. However, the initial setup of the Xiaomi Mi Home can seem confusing due to differences in communication protocols.
In this article, we will discuss the process of connecting sensors of different types, paying attention to the nuances of the operation of gateways and Bluetooth devices, you will learn how to choose the right server region for stable operation and understand why some devices are not visible in the general list without additional equipment.
Before you start pairing, make sure your smartphone has an active internet connection and Bluetooth enabled. It is also critical to determine the type of sensor you have in advance, as the algorithms for adding them to the Mi Home system are fundamentally different from each other.
Definition of sensor type and equipment preparation
The first step is visual identification of the device, because it depends on the further algorithm of actions. Most modern sensors from Xiaomi, Aqara or Qingping use one of two protocols: Bluetooth Low Energy (BLE) or ZigBee. The device body or instructions usually have a marking, but the easiest way to navigate by the presence of a separate gateway in the kit.
If your temperature sensor is part of a suite with a square or circular hub base, it's a ZigBee device that can't work on its own and requires a gateway connected to the router to be present all the time, and if it connects directly to the phone without intermediaries, it's a Bluetooth version.
Make sure that geolocation is enabled, as Android requires this permission to scan Bluetooth devices, and also check that the Mi Home app is updated to the latest version through the official store.
- π± Make sure that your Xiaomi account is authorized in the app.
- π‘ Check the 2.4GHz Wi-Fi network (for gateways).
- π Insert the insulating tape from the sensor battery compartment before setting up.
- π Place the gateway and sensor in one room while pairing.
β οΈ Note: ZigBee sensors cannot be added to the system without a pre-configured and online gateway. Bluetooth models require the smartphone to be located in close proximity (up to 1 meter) during the time of the device.
It's important to understand that the choice of server in the app affects the availability of devices, and if you have a global version of the gadget and your account is registered in China, the device may not be automatically determined, and in such cases, changing the region in the profile settings helps.
Connecting Bluetooth temperature sensors
The simplest scenario is to use Bluetooth LE devices. Models like the Xiaomi Temperature Humidity Sensor 2 transmit data directly to a phone or Bluetooth-enabled gateway (such as the Mi Smart Speaker or some Aqara gateway models), which are linear and do not require complex network manipulation.
Open the Mi Home app and go to the Devices tab. Click the Add button in the top right corner. The system will automatically start scanning the surrounding space. If the sensor is in pairing mode (usually it activates automatically when the insulation or reset button is removed), it will appear in the Local Devices list.
Click on the device you find. The app will tell you to select a room and assign a name. Once confirmed, the process of registering in the cloud will begin. At this point, the smartphone should be near the sensor. If the device is not found, try holding the phone close to the sensor and update the list.
Once successfully added, you'll see the current performance on the home screen. To work in the background when the phone is not at home, the Bluetooth sensor must be tied to a Bluetooth gateway with Bluetooth gateway support. Without a gateway, the data will only be updated when you're near the sensor with the application running.
- π Press Β«+Β» in-app.
- π² Hold the phone less than 30cm to the sensor.
- β Confirm the addition and select the room.
β οΈ Warning: If Xiaomi's temperature sensor isn't added over Bluetooth, try taking out and inserting the battery again to restart detection mode.Old batteries may not give enough voltage for a stable signal.
Setup ZigBee sensors through the gateway
ZigBee devices require a gateway, which can be a separate Aqara Hub, Xiaomi Smart Home Hub, or even some smart sockets and lamps, and the main condition is that the gateway must already be added to the Mi Home app and have an online status.
The addition process begins with entering the gateway card itself, and inside the hub interface, you need to find the option βAdd a child deviceβ or click on the β+β icon. After that, the gateway will go into search mode, which is usually accompanied by a flashing indicator or an audible signal.
Now you need to activate the pairing mode on the temperature sensor itself, which usually requires you to quickly press and hold the round button on the body for 5-7 seconds until the indicator flashes. If the button is not there, you may need to remove and quickly insert the battery.
βοΈ ZigBee Connection Checklist
The app will automatically identify the type of device and suggest adding it. Once successfully paired, the temperature sensor will appear in the gateway's device list. It's important to note that ZigBee creates a mesh network, so having other network-powered devices (sockets, switches) of the same brand can amplify the signal.
| Parameter | Bluetooth sensor | ZigBee sensor |
|---|---|---|
| The need for a lock | Only for remote access | Definitely a job. |
| Radio of action | Up to 10 metres (direct visibility) | Up to 30 meters (via relay) |
| Energy consumption | Low but higher in transmission | Very low (sleeping mode) |
| Stability | Depends on the phone/gateway | High, autonomous network |
If the system can't find the device for a long time, try to bring the sensor as close as possible to the gateway. Sometimes a distance of 5 meters can be critical at the time of initial setting, despite the declared range.
Solving Data Display Problems
A common problem for users is when the device is added but the data is not updated or the dashboards are displayed.This may be due to delayed telemetry transmission. Some Xiaomi temperature sensors send data not in real time, but only when the data is changed or on a schedule to save charge.
Another common reason is the wrong server region: If your account is on a Russia server and the sensor is for the Chinese market (or vice versa), the synchronization may not work properly, in which case it helps to create a second account with the right region and add the device there, then add it to the Family.
Also worth checking is the app's access rights. In the Mi Home smartphone settings, you must allow geolocation (always), Bluetooth, LAN and notifications. BLE-Android devices are not technically possible.
Why does the sensor show the wrong temperature?
If nothing works, reset the sensor completely, remove the battery for 10 seconds, insert it back in, and immediately press the reset button, remove the device from the application, and try adding it again, pre-deleting it from the gateway memory if ZigBee was used.
Automation and scripting
The main value of a smart temperature sensor is not to look at numbers, but to automate. In the Mi Home app, go to the Scenarios tab (or Smart Scenes), where you can create a condition: "If the temperature has dropped below 20 Β° C," and an action: "Enable a smart socket with a heater."
Scenarios can be local (run by a gateway without the Internet) or cloud-based. ZigBee devices prefer local scripting because they run instantly and are not dependent on Internet speed, which is especially important for security or climate control.
You can also combine data from other sensors, such as, "If the temperature is above 25Β°C" and "Humidity is below 40 percent" β Action: "Enable the humidifier." This logic allows you to maintain a perfect microclimate without human intervention.
π‘
Use the delay in scenarios, such as, "If the temperature stays below 18Β°C for 10 minutes, turn on the heat," which will prevent false alarms from short-term ventilation.
Remember that to run Bluetooth sensor scripts without a gateway, the phone must be at home and have an active application, so for serious automation, having a gateway with support for local scripting is a must.
Frequently Asked Questions (FAQ)
Can you connect the Xiaomi temperature sensor to Google Home or Yandex Alice directly?
Why is the sensor not found, even though the gateway is nearby?
How often should I change the battery in the sensor?
What if the sensor shows the temperature with a long delay?
π‘
Successful integration of the temperature sensor in the Mi Home depends on the correct choice of protocol (Bluetooth vs ZigBee) and the proximity of the device to the gateway at the time of setting.
So if you can get the temperature sensors right, you can make a home an adaptive environment, and by following these instructions, you can keep the climate control running smoothly and enjoy the comfort that you take control of.