Xiaomi Mijia Temperature and Humidity Sensor: How to Connect and Configure

Creating a complete smart home ecosystem is impossible without accurate measuring instruments, and Xiaomi Mijia offers some of the most affordable and reliable solutions on the market. Connecting this compact device opens up access to climate automation, allowing the air conditioner or heater to respond to changes in degrees in real time. Despite the simplicity of the design, the primary synchronization process often raises questions for beginners, especially when choosing the right gateway.

Successful integration of a gadget into the network depends on following the sequence of actions and understanding the principles of the ZigBee protocol, which is used for data transfer. Unlike Wi-Fi devices, the sensor necessarily requires a network coordinator, whose role is performed by a smart speaker, remote control or a special hub. In this guide, we will discuss in detail all the stages of installation, setting up scenarios and diagnosing possible errors to make your home truly smart.

Before starting the procedure, make sure you have a smartphone with installed Mi Home app and stable Internet access. It is also important to check the account region, as the list of available devices and the functionality of the server depends on this. Proper preparation will eliminate most of the problems with finding equipment and will allow you to complete the setup in minutes.

Selection of suitable lock and preparation of equipment

A key element of the system is a gateway, without which the Xiaomi temperature sensor will not be able to transmit data to your smartphone. This device acts as a bridge between the ZigBee local network and your router, providing stable communication. If you do not already have such equipment, you need to purchase it separately or choose a smart speaker model with a built-in hub.

Modern sensor models are compatible with gateways that support ZigBee 3.0 protocols, which allows for faster response speeds and lower power consumption. Older versions of gateways can also work, but functionality can be limited to basic monitoring without the ability to create complex scenarios. Always check the compatibility list on the package or in the official product description.

  • πŸ“‘ Xiaomi Smart Speaker with ZigBee support (often with built-in hub).
  • πŸŽ›οΈ Xiaomi Universal Remote Controller (black square or round).
  • 🏠 Xiaomi Gateway 3 or newer versions of the Mijia Hub.
  • πŸ’‘ Smart lamps of some series, acting as signal repeaters.

⚠️ Note: ZigBee series sensors won’t work directly with a Wi-Fi router without an intermediate gateway. Make sure your gateway is connected to the same 2.4GHz local Wi-Fi network that your app account is linked to.

It's important to understand that the distance between the sensor and the gateway is important, especially if there are thick concrete walls between them. Although the ZigBee protocol has good penetrating power, it is recommended to place devices at a distance of no more than 10-15 meters from each other in an apartment setting for stable operation. If the signal is weak, the system can show offline status or transmit data with a long delay.

πŸ“Š What gateway do you plan to use to connect?
Xiaomi Gateway 3
Xiaomi's smart speaker
Universal remote control
I already have another brand's gateway.

Installation and configuration of the Mi Home application

The main control center for all devices in the ecosystem is the Mi Home app (also known as Mijia). To work correctly, you need to download the current version of the program from the official Google Play store or the App Store. Using modified versions can lead to unstable work and authorization problems.

When you first launch the app, you'll need to create a Xiaomi account or log in to an existing one. The critical thing is to choose a region that matches the region your gateway and sensor are sharpened to. Most often, for devices purchased on the global market or in official retail, Russia or China is the right region, but you can't mix them in the same system.

The path to region settings: Profile (bottom right) β†’ Settings (top) β†’ Region

Once a region is selected, the application may require permission to use geolocation, Bluetooth, and local area network, which are necessary to find devices near the smartphone and their initial configuration. Without Bluetooth enabled, the search for new equipment may take much longer or not begin at all.

πŸ’‘

If you bought a device in China but want to use it in Russia, select China region when you register, which will give you access to the full functionality, but the application interface will be in English or Chinese, which can be changed in the profile settings.

The process of pairing the sensor with the system

The immediate connection procedure for the Xiaomi Mijia temperature sensor takes no more than a minute if all the preparatory steps are completed correctly. Open the Mi Home app and go to the Devices tab. Press the Add a new device button, usually located in the upper right corner of the screen.

The system will automatically start scanning available gadgets, and if the sensor is new and is next to the smartphone, it should appear in the "Device Found" list. If the automatic search does not work, you can use manual search by category or enter the device model in the search bar.

β˜‘οΈ Checklist before pairing

Done: 0 / 4

To activate the pairing mode, the sensor housing has a functional button. Press it once, and the LED indicator will flash blue, signaling readiness for connection, at which point the application should detect the device and suggest adding it to the system.

Once you've detected it successfully, follow the instructions on the screen: select a room where the sensor will be installed and give it a clear name, which will make it easier to manage and create scenarios in the future, especially if you have multiple identical devices in different rooms.

⚠️ Warning: If the indicator flashes red or doesn't light up, check the battery-operated protective film. Often factory insulation prevents contact and the device doesn't turn on.

Calibration and placement in the interior

The correct location of the sensor directly affects the accuracy of the data received. Xiaomi Mijia recommends placing the device at a height of about 1.5 meters from the floor, away from direct heat sources such as batteries, heaters or sunlight through the window.

For mounting, the kit usually comes with 3M double-sided tape. Before gluing, degrease the surface with an alcohol wipe to ensure reliable fixation.If you plan to move the sensor often, it is better to use special stands or simply put it on the shelf, since peeling off the wall can damage the case.

Place of installationRecommendationImpact on testimony
On the windowsillNot recommendedSolar heating distorts data
Over the battery.It is strictly prohibitedThe numbers will be significantly higher than the real
In the middle of the roomOptimally.The most accurate average data
In the corner by the floorUnwantedly.There's a lot of cold air.

Bathrooms and other high-humidity areas need to be especially careful, and although the sensor measures humidity, it is not a waterproof device (IP standard is not usually available), and condensation or direct water on electronics will cause permanent damage.

How often are the data updated?
The sensor does not send data continuously, but on a schedule or when readings change. Usually the interval is from 10 minutes to 1 hour in standby mode, but when the temperature changes sharply (more than 0.5 Β° C), data can be sent more often to respond quickly to scenarios.

Setup of automation and scenarios

The main value of a smart sensor is that it can create automatic scripts. Go to Auto or Scripts in the Mi Home app and click Create. Select "If the temperature is higher/lower..." and specify the thresholds at which the action should work.

The action you're going to do is to send a notification to your phone, turn on a smart socket with a heater, run the air conditioner through an IR remote, or change the color of a smart lamp, and you can combine the conditions to create complex logical chains, like turning on the humidifier only if the humidifier is below 40% and there's someone in the room.

  • 🌑️ Heating control: Turning on the heat head when the temperature drops below 20Β°C.
  • πŸ’§ Wet protection: Notification to smartphone if humidity exceeds 70% (mold risk).
  • ❄️ Winter mode: Signal of airing if the level CO2 (in conjunction with other sensors) high and the temperature has dropped.

Remember that to run scenarios, the gateway must be permanently connected to the Internet. If the gateway loses connection to the server, local scripts may stop running, although the basic measurement will continue.

πŸ’‘

The scripts are run on the side of Xiaomi’s cloud server, so having a stable internet connection on the router is critical for automation, even if the devices are on the same local network.

Diagnostics of problems and replacement of food elements

In the process of operation, you may encounter a situation where the sensor stops responding or shows the status of "Offline." First of all, check the battery power. The device is powered by a single battery, type CR2032, which lasts about 1-2 years depending on the frequency of data transfer.

To replace the battery, gently turn the bottom cover counterclockwise. Remove the old battery and install the new one while observing polarity (plus up). Once replaced, the sensor will automatically try to reconnect to the gateway, which can take up to 1-2 minutes.

If the battery replacement didn't work, try resetting the device to factory settings. To do this, press and hold the button on the case for 5-10 seconds until the indicator lights up orange or flashes quickly. After resetting, you will need to reset the connection procedure.

⚠️ Note: Use only high-quality batteries CR2032 Cheap analogues can have a smaller capacity and discharge faster in the cold if the sensor is used in an unheated room.

Problems can also arise from ZigBee network congestion, where more than 30 devices are connected to a single gateway, the stability of the operation may decrease, and in such cases it is recommended to split the devices into several gateways or use repeaters with constant power.

Frequently Asked Questions (FAQ)

Can you use a sensor without the Internet, only through a local network?
Basic display of temperature in the application is possible only with the Internet, since the data is processed on the Xiaomi server. However, some local scenarios can work through the gateway if the automation settings select the option "Execute locally", but for the initial setup the Internet is mandatory.
Why does the sensor show the temperature with a delay?
To save battery power, the sensor is not in constant monitoring mode; it wakes up at regular intervals (usually 10-60 minutes) or when the temperature changes abruptly. This is normal behavior for devices using the ZigBee protocol.
Is the sensor compatible with Yandex Alice or Google Home?
Yes, through the Mi Home skill in Yandex.Alice or Google Home integration, you can output temperature readings and use them in voice scripts, but for that, accounts must be linked, and the region in Mi Home must correspond to the region of the smart assistant.
What if the app doesn’t see the sensor when searching?
Make sure that Bluetooth is on, you're near the gateway, and the sensor has the insulation tape removed, try rebooting the app and the gateway itself, and also check if the device is already connected to another account, in which case it needs to be removed from there first.