How to set up Xiaomi’s temperature and humidity sensor

A smart home today is impossible to imagine without climate control, and the key element here is Xiaomi’s climate sensor, which allows you to automatically control humidifiers, air conditioners and heaters, creating the perfect indoor climate. The right setup is the first step to a comfortable living and saving energy, as automation takes over the routine.

The process of integrating the sensor into the Mi Home ecosystem takes only a few minutes, but requires a certain algorithm of actions. In this article, we will discuss in detail all the stages of connection, from unpacking to creating complex automation scenarios, you will learn how to avoid common pairing errors and where to place the device for the most accurate readings.

Preparation for installation and unpacking

Before you start setting up, make sure you have all the necessary components and software on hand.The basic package usually includes the sensor itself, a protective case (in some models), a double-sided tape and a CR2032 battery-tablet, which is often already installed inside but is insulated with a plastic pad. To work, you will also need an Android or iOS smartphone with the Mi Home app installed and the Bluetooth module enabled.

It is important to determine the location of the device, as the accuracy of the measurements depends on it. The sensor should not be installed near direct heat sources, such as heating batteries, working appliances or windows where direct sun falls. Also avoid areas with high humidity, unless you use a specialized moisture-proof version designed for bathrooms.

⚠️ Warning: Do not attach the sensor to the surface permanently until setup and testing is complete.Make sure the location you choose provides a stable Bluetooth signal to the nearest gateway or phone.

Check the battery before installing it. Even if the device is new, the battery may have run out during long storage in the warehouse. A weak charge can cause the device to intermittently transmit data or completely abandon pairing with the phone. Insert a new battery if there is any doubt about its capacity.

Hidden functions of the reset button
There's a small hole on the back of the device. A short press (less than 1 second) turns on the pairing mode, and a long one (more than 5 seconds) resets the settings to factory settings. Be careful when resetting - the device will have to be added again.

Connecting the sensor through the Mi Home app

The main setup process is through a single smart home control center, the Mi Home app. Make sure you are logged in to your account and the region in the app settings matches the region of your device (usually "Russia" or "China", depending on the version of the gadget), the difference in regions can lead to the fact that the device simply will not be found on the network.

Launch the application and click on the symbol"+" In the upper right corner, you can add a new device. QR-code that is on the back of the sensor or in the instructions, or select the device from the list manually. If you use Android, the application can automatically detect the device through a pop-up if Bluetooth and geolocation are enabled.

β˜‘οΈ Checking before connection

Done: 0 / 5

Once you select a model from the list, you start the search process, and you press a button on the sensor body to put it in pairing mode, and the indicator (usually a flashing blue dot or orange light) signals you're ready to connect, and wait for the process to be completed, which can take 10 to 30 seconds.

When the device is listed, it needs to give it a name and select a room, which is critical to the proper operation of automation, so you can name the sensor clearly, like Living room temperature or bedroom humidity, so you don't get confused in the future, especially if you have multiple sensors.

ParameterDescriptionRecommendation
Name of deviceUnique name in the systemUse the name of the room + type
Room.Virtual roomChoose the exact match
LanguageLanguage of the notification interfaceRussian (for local models)
Update of the POFirmware versionAlways update to the last one.

πŸ’‘

Automatic firmware updates immediately after connection are a critical step for stable operation and early software bug fixes.

Setting up scenarios and automation

The most powerful feature of the sensor is the ability to create scenarios that turn a conventional meter into a full-fledged climate controller. In the Mi Home app, go to the Automation tab (Smart) and select Create. Here you set a condition (if) and an action (that).

For example, you can set the system up so that when the temperature rises above 25Β°C, the smart air conditioner turns on or the smart window opens. Another popular scenario is humidifier management: if the humidity drops below 40%, the humidifier turns on, and when it reaches 60%, it turns off, which allows you to maintain the optimal climate without you being involved.

  • 🌑️ If the temperature is above 26Β°C β†’ Turn on the air conditioner.
  • πŸ’§ If the humidity is below 35% β†’ Insert the air humidifier.
  • πŸ”” If the temperature drops below 15Β°C β†’ Send notification to your phone (freezing protection).
  • πŸŒ™ At night, if the humidity is high β†’ Insert the dehumidifier at minimum power.

When creating scenarios, it is important to consider delays and trigger thresholds so that devices do not turn on and off too often. Use the β€œonly once” function or set time intervals so that the system does not react to short-term fluctuations caused by, for example, ventilation.

πŸ’‘

Use virtual devices or delays in scenarios to avoid the pendulum effect, where the air conditioner and heater are running simultaneously due to a small sensor error.

Calibration and accuracy of readings

Factory calibration of Xiaomi sensors is usually accurate enough for household use, but in some cases, adjustment may be necessary. an error of 0.5 Β° C or 3-5% in humidity is considered normal for this class of devices. However, if you notice significant discrepancies with the reference device, it is worth checking the operating conditions.

A common cause of incorrect readings is heating the sensor itself. If the sensor is connected to the network (some models have a USB port for constant power), it can itself heat up and distort the data. For maximum accuracy, such models are better powered by a power bank or used only in battery mode when there is an active measurement.

⚠️ Warning: Do not calibrate immediately after turning the device on or transferring it from cold to heat. 20-30 minutes of acclimatization to a new environment.

The Mi Home app sometimes offers a Calibration offset feature that allows you to manually add or subtract a few degrees/percentages to readings, which is useful if you're comparing readings with professional weather equipment and want to synchronize data.

To test for accuracy, you can do a simple test: put the sensor next to another, serviceable sensor of the same model, the readings should be equalized within 15-20 minutes, if the discrepancy persists and is large, it may be a manufacturing defect.

Solving Connection and Work Problems

Despite the simplicity, users may experience difficulties in operation, most often problems are related to the loss of communication between the sensor and the gateway or phone. If the device is displayed as "Offline" in the application, first check the battery power. Low charge is the cause of 90% of problems with connection stability.

Another common problem is the distance to the gateway. The Zigbee or Bluetooth Mesh protocol (depending on the model) has range and penetration limitations. Walls, mirrors and metal furniture can shield the signal. Try moving the gateway closer to the problem sensor or installing an intermediate device that works as a repeater.

πŸ“Š What problem do you most often face?
Can't see the device.
The battery goes down fast.
Lies in the testimony.
Falling off the net
It's working fine.

If the sensor has stopped responding to presses or does not update the data, try to perform a full reset. To do this, press and hold the reset button for 5-7 seconds until the indicator lights up in orange.

It’s also worth checking if the Wi-Fi network is congested if the gateway is connected over Wi-Fi. Although the sensor itself uses a different protocol, the gateway may lose communication with the router, which will prevent data from coming to the cloud and showing up on your phone.

Places for optimal accommodation

The right location is what makes the data representative. The ideal place for the living room is a wall in the middle of the room at 1.5 meters from the floor. This is the level of breathing of the person, and the readings will be most comfortable for assessing well-being. Avoid corners where the air stagnates.

In the nursery, the sensor should be placed away from the crib so that the light of the indicator or sounds do not disturb the child, but close enough to monitor the climate in the sleep zone, and accuracy in controlling humidity for airway health is especially important.

  • 🏠 Living room: On the wall, away from windows and batteries, at eye level.
  • πŸ›οΈ Bedroom: On a bedside table or wall, but not closer than 1 meter from the bed.
  • 🚿 Bathroom: Only if the model is waterproof, away from the direct stream of water.
  • 🌑️ Greenhouse/Greenhouse: At the level of plant leaves, in the shade of the direct sun.

If you use a sensor to monitor storage conditions (such as in a media cabinet or in a winery), place it directly inside the cabinet or in close proximity to the storage facility. The microclimate inside the enclosed space can be significantly different from the general one in the room.

Use in the refrigerator
Some enthusiasts use Xiaomi sensors to monitor temperature in the refrigerator.This is possible, but a standard CR2032 battery at low temperatures (-5Β°C and below) can quickly lose capacity and the screen (if any) can dim.
What is the battery life in the Xiaomi sensor?
In standard use (transmitting data every 10-15 minutes), one CR2032 battery lasts for 1-2 years. In frequent survey mode or with a poor signal, the service life can be reduced to 6 months.
Does the sensor work without the internet?
Locally, the sensor continues to measure temperature, but you won't be able to receive remote notifications or control your smart home from your phone while you're away from home.
Can I use a sensor outside?
Standard models do not have protection from moisture and dust (IP rating), take out on the street is possible only in a special sealed case, otherwise condensate and water will quickly disable the electronics.
Why does the sensor show different temperatures during the day and at night?
This is normal if the room is changing light or running heating appliances, and the readings can also be affected by the heating of the housing itself from direct sunlight hitting the device.