Connection of Xiaomi hygrometer to Alice: a complete guide with pictures and life hacks

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 modelProtocolAlice's supportNotes
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 CGDK2Bluetooth 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:

  1. Install a hygrometer in the room (no closer than 1 meter from the heat sources).
  2. Open Mi Home, press. + β†’ Add the device β†’ Sensors. β†’ Temperature and humidity.
  3. Press and hold the button on the sensor for 5 seconds until the indicator blinks.
  4. Confirm the addition in the application and wait for synchronization (up to 2 minutes).
  5. 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).

πŸ“Š What kind of Xiaomi hygrometer do you have?
Mijia LYWSD03MMC
ClearGrass CGDK2
Aqara WSDCGQ11LM
Another model
I haven't bought it yet.

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:

  1. Install Home Assistant and add Xiaomi Mi Home integration HACS.
  2. In the configuration.yaml file, please: xiaomi_miot: username:!secret mi_user password:!secret mi_pass country: ru
  3. Reboot. HA, sensor will appear in the list of devices.
  4. Create a skill for Yandex in Yandex Dialogs using Webhook from HA.
How to Get Tokens for Mi Home API
1. Install the Mi Home Token Extractor extension for Chrome. 2. log in to account.xiaomi.com. 3. Open the developer tool (F12) β†’ application tab β†’ Local Storage. 4. Copy the token and userId values – you’ll need them for configuration.yaml.

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:

  1. Create an applet in IFTTT with the Xiaomi Mi Home trigger (e.g., if humidity is <30%").
  2. As an action, select Webhooks and set up POST-request API yandex.
  3. 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 AliceSensor shuts off Mi HomeReboot the sensor (remove the battery for 10 seconds) and reconnect to Mi Home
Data is updated once an hourEnergy-saving regime BLEInstall Mi Home on Android 8 phone+ and turn on the background activity of the application
Alice shows wrong meaningsDisparity of units of measurementIn Mi Home set the temperature format in Β°C, humidity in %
"Failure to add the device"The region of the account is not RussiaChange the region in Mi Home to Russia or China (settings) β†’ region)
Sensor disappears from Alice after updateResetting the connection between Mi Home and YandexUnplug 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 deviceProtocolPrice (2026)Features
Redmond SkyWeather RWS-01Wi-Fi~3 500 β‚½Weather station with sensor COβ‚‚
Netatmo NWS01Wi-Fi~12 000 β‚½Support for multiple external sensors
Rubetek RV-3406Zigbee~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.

FAQ: Frequent questions

❓ Why Alice shows the temperature with a delay in 10-15 minute?
This is a feature of the Bluetooth Low Energy protocol (BLE), The sensor is used by Xiaomi hygrometers, and it wakes up once in a while. 10-60 To reduce latency: Place the sensor closer to the router (maximum) 5 Use your Android phone as if it were BLE-proxy (turn on background Mi Home activity) Replace the battery with a new one (discharged increases the refresh interval).
❓ Can you connect the Xiaomi hygrometer to Alice without Mi Home?
Yes, but only through workarounds: Home Assistant + Xiaomi integration BLE (for Bluetooth sensors. Xiaomi Gateway + Mi Home Automations (for Zigbee sensors) Cloud services like IoT Mqtt Panel or Node-RED. Without Mi Home, you will lose the opportunity. OTA-sensor updates.
❓ Alice says, "The device is not supported." What to do?
This means that your hygrometer model is not included in the Yandex.Smart Home database.Solutions: Check the model in the list of supported devices. If the sensor is new, wait. 1-2 Weeks - Yandex can add support. Use Home Assistant or IFTTT as a mediator (see section) 4). Write in support of Yandex through the feedback form indicating the sensor model.
❓ How to reset Xiaomi hygrometer to factory settings?
For most models: Remove the battery for 30 seconds. Put the battery back in and press the button on the sensor immediately. Hold the button for 10 seconds until the indicator blinks 3 times. For ClearGrass CGDK2: Press the button 5 times in a row at intervals of 1 second. Wait for the double blinking - this is the reset signal. Once reset, the sensor will disappear from the Mi Home and you need to add it again.
❓ Can you use the same Xiaomi hygrometer with Alice and Google Assistant at the same time?
Yes, but with reservations: Mi Home allows you to link your account to only one voice assistant. If you use Home Assistant, you can duplicate data in Google Home and Yandex.Smart Home via NAbucasa Cloud. Google Assistant requires you to create a project in Actions Console. Please note: simultaneous use can increase the delay of updating data.