You bought a Xiaomi hygrometer (for example, Mijia Bluetooth Temperature and Humidity Sensor 2 or ClearGrass). CGDK2), But you don't know how to get it to work with the voice assistant Alice? This guide will help integrate the device into the ecosystem of Yandex.Smart Home, even if you are new to IoT technologies. We will analyze all the ways of connection β from the standard via Mi Home to workarounds for unofficially supported models.
The main problem of users is that Alice does not see the Xiaomi hygrometer directly, because Yandex officially supports only a limited list of sensors. + Yandex IoT, using Home Assistant as a bridge or manual tethering over the Internet IFTTT. In this article, you can see step-by-step diagrams for each method, a table of model compatibility, and a breakdown of typical errors (such as βdevice does not respondβ or βno humidity data").
1.What Xiaomi hygrometers are compatible with Alice?
Not all Xiaomi humidity sensors can be connected to Yandex.Smart Home.Only models with the Mijia logo and Bluetooth Mesh protocol are officially supported (for example, only models with the Mijia logo and Bluetooth Mesh protocol are officially supported, LYWSD03MMC or MHO-C401). Complete list of verified devices:
| Hygrometer model | Protocol | Alice's support | Notes |
|---|---|---|---|
| Mijia Bluetooth Temperature and Humidity Sensor 2 (LYWSD03MMC) | Bluetooth 5.0 | β Yes (via Mi Home) | It requires firmware no lower. 1.4.1_0039 |
| ClearGrass CGDK2 | Bluetooth Mesh | β Yes (since 2023) | Maintains data history |
| Xiaomi Mi Temperature and Humidity Monitor (WSDCGQ11LM) | Zigbee | β No, only through HA) | Works with Mi Gateway |
| Aqara Temperature and Humidity Sensor (WSDCGQ11LM) | Zigbee | β οΈ Partially (via Aqara Hub) | We need to tie the hub to Yandex. |
If your model is not in the table, check it on the website Yandex.Smart Home or use the workaround methods from section 4 (MHO-C401) It is not officially supported, but it can be integrated through Home Assistant.
β οΈ Note: Battery-powered hygrometers (e.g, LYWSD02) No data transfer in real time β updates are made once in a while 10-60 This is a limitation of Bluetooth Low Energy, not Alice's problem.
2. Method 1: Connect via the Mi Home app
This is the easiest method for officially supported models.
- π± Smartphone with Mi Home (version no lower than 6.0.100)
- π Xiaomi account tied to Russia (or China for some sensors)
- π Stable Internet connection (Wi-Fi or mobile network)
Steps:
- Install a hygrometer in the room (no closer than 1 meter from the heat sources).
- Open Mi Home, press. + β Add the device β Sensors. β Temperature and humidity.
- Press and hold the button on the sensor for 5 seconds until the indicator blinks.
- Confirm the addition in the application and wait for synchronization (up to 2 minutes).
- Go to Profile. β Settings β Smart home Yandex and log in.
Install the latest version of Mi Home|Check the region of the Xiaomi account|Turn on Bluetooth on your phone|Place the sensor in the Wi-Fi coverage area|Charge the phone to 50%+
-->
After successful binding, the sensor will appear in the list of devices Yandex.Smart Home through 5-10 To check your work capacity, tell Alice:
Alice, what's the temperature in the living room?
Alice, show me the humidity in the kitchen.β οΈ Warning: If Alice says "Device is not responding" after the tether, check: π Sensor battery charge (replace the element) CR2032, lower voltage 2.8V). πΆ Distance to router (maximum 10 meters without obstacles). π Update the sensor firmware in Mi Home (Device Settings section) β Update of the PO).
Method 2: Integration through Home Assistant (for advanced)
If your hygrometer is not officially supported (e.g. Xiaomi) WSDCGQ01LM In Zigbee, use Home Assistant as a bridge:
- π₯οΈ Home Assistant Server (can be deployed to Raspberry Pi or Docker).
- π Xiaomi Gateway (for Zigbee sensors) or Bluetooth proxy (for Zigbee sensors) BLE).
- π Yandex Developer Account (to create a skill).
Instructions:
- Install Home Assistant and add Xiaomi Mi Home integration HACS.
- In the configuration.yaml file, please: xiaomi_miot: username:!secret mi_user password:!secret mi_pass country: ru
- Reboot. HA, sensor will appear in the list of devices.
- Create a skill for Yandex in Yandex Dialogs using Webhook from HA.
How to Get Tokens for Mi Home API
Advantages of the method:
- β Works with any Xiaomi sensors (including legacy models).
- β Flexible setting of triggers (for example, notifications at humidity) <40%).
- β Data history is stored locally (without depending on the Xiaomi cloud).
Disadvantages:
- β Requires technical knowledge (work with the YAML, Docker).
- β Need to maintain the server. HA working-age 24/7.
π‘
If Home Assistant seems complicated, try Athom Homey cloud service β it supports Xiaomi sensors out of the box and has integration with Yandex.Smart Home.
Method 3: Bypasses for informal models
If your hygrometer is not supported by either Mi Home or Home Assistant, there are 2 more options:
Option A: Use IFTTT
IFTTT (If This Then That is the Chain of Mi Home β Webhooks β Yandex.Smart Home.Algorithm:
- Create an applet in IFTTT with the Xiaomi Mi Home trigger (e.g., if humidity is <30%").
- As an action, select Webhooks and set up POST-request API yandex.
- In Yandex.Smart Home, add a virtual device through the Alice Developer Console.
Option B: Manual addition via Yandex IoT API
For experienced users: you can manually register the sensor in the cloud Yandex, sending JSON-request with device parameters. Example of payload:
{
"name": "Bedroom hygrometer,"
"type": "devices.types.sensor",
"properties": [
{
"type": "devices.properties.float",
"key": "humidity",
"name": "humidity,"
"unit": "percent"
}
]
}Send a request to endpoint. https://api.iot.yandex.net/v1.0/devices Authorization: Bearer {your token}.
π‘
Bypass methods (IFTTT, API) Requires to update tokens once in a while 1-3 Automate the process with scripts in Python or Zapier.
5. Typical errors and their solutions
Even with the right connection, users face problems.-5 errors and ways of correcting them:
| Mistake. | Reason. | Decision |
|---|---|---|
| "The Device is Not Responding" in Alice | Sensor shuts off Mi Home | Reboot the sensor (remove the battery for 10 seconds) and reconnect to Mi Home |
| Data is updated once an hour | Energy-saving regime BLE | Install Mi Home on Android 8 phone+ and turn on the background activity of the application |
| Alice shows wrong meanings | Disparity of units of measurement | In Mi Home set the temperature format in Β°C, humidity in % |
| "Failure to add the device" | The region of the account is not Russia | Change the region in Mi Home to Russia or China (settings) β region) |
| Sensor disappears from Alice after update | Resetting the connection between Mi Home and Yandex | Unplug and re-link your account to Profile β Yandex Smart House |
If the problem is not solved, check the device logs in Mi Home (Device section) β Three points. β Often, it contains error codes that will help diagnose the problem.
6. Optimization of work: tips and life hacks
To ensure that the hygrometer works stably and accurately:
- π Accommodation: Set the sensor 1.5 m from the floor, away from windows and batteries. Avoid the kitchen - steam from cooking distorts readings.
- π Software Update: In Mi Home, check firmware updates regularly (once in a week). 2-3 New versions fix synchronization bugs.
- π Calibration: If the humidity reading is overstated/understated, calibrate the sensor. Put it in a wet towel bag for 12 hours, then compare it to a reference hygrometer.
- π Battery: Use batteries CR2032 And it's from trusted brands (Duracell, Energizer), and cheap ones are being sold out. 2-3 month.
To automate, create scripts in Yandex.Smart Home. Examples:
- πΏ Moisturizer: βIf humidity is <40%, humidifier 30 minute".
- βοΈ Heater: βIf the temperature <20Β°C, heat up to 22Β°C".
- π² Notifications: βIf humidity >70%, send push about mold risk".
π‘
To make Alice voice the hygrometer data on schedule, create a routine in Yandex Assistant with a time trigger, such as: "Every day at 8:00 say the temperature in the nursery."
7.Alternative devices with native support for Alice
If the integration of Xiaomi hygrometer seems too complicated, consider the sensors with official support for Yandex.Smart Home:
| The device | Protocol | Price (2026) | Features |
|---|---|---|---|
| Redmond SkyWeather RWS-01 | Wi-Fi | ~3 500 β½ | Weather station with sensor COβ |
| Netatmo NWS01 | Wi-Fi | ~12 000 β½ | Support for multiple external sensors |
| Rubetek RV-3406 | Zigbee | ~2 200 β½ | Works with the Rubetek hub or Yandex Station |
These devices connect to Alice in 2 clicks (via the manufacturer's app), but cost more than Xiaomi.If the budget is limited, it is better to spend time setting up Home Assistant - this will give more options for automation.