Xiaomiβs air fresheners have long ceased to be just flavors β they have become part of the smart home ecosystem, able to interact with voice assistants. But if the connection to Google Assistant or Siri is more or less clear, the integration with Alice from Yandex raises questions even among experienced users. In this article, we will understand how to properly connect the air freshener Xiaomi (including models Mi Air Freshener, MiJia Smartmos). P1/P2 And others) with Alice, what nuances to consider, and what to do if something goes wrong.
It's important to understand that there's no direct connection of the freshener to Alice, because the interaction is done through an intermediary: first, the device is added to the Mi Home (or Xiaomi Home), and then synchronized with Yandex Smart Home. This process requires attention to detail, from choosing the right region in the application to setting access rights. We will go through all the steps in order to ensure that you do not have white spots.
If you've tried to plug in a freshener and Alice doesn't see it, don't be quick to blame the technique -- 90 percent of the time, the problem is with the wrong account or app settings. And for those who are just planning to buy, we've put together a table of models that are compatible with Alice so you can evaluate the device's capabilities in advance.
What Xiaomi Freshers Models Support Working With Alice
Not all Xiaomi air fresheners can interact with the voice assistant, the main requirement is support for the Mi Home protocol (or Mijia) and the ability to integrate through the Yandex Smart Home.
- πΏ Xiaomi Mi Air Freshener (first generation) β basic model with support for aromatic capsules and control through the app.
- π¬οΈ MiJia Smartmos P1 β freshener with air quality sensor and automatic spraying.
- π¨ MiJia Smartmos P2 β Improved version with enhanced intensity settings and schedule.
- πΈ Xiaomi Aroma Diffuser (some modifications) β devices positioned as aromadiffusers, but with support for smart control.
If your model is not included in this list, it does not mean that it can not be connected. For example, some fresheners from the Yeelight line (part of the Xiaomi ecosystem) also support integration, but require additional manipulation in the settings. To check compatibility, open the Mi Home app, find your device and see if it mentions working with Yandex Smart Home or Google Home.
Please note: Freshers purchased on AliExpress or other sites may have firmware for the Chinese market (CN), This will require a change of region to Mi Home (discussed below).
Preparing for the connection: what to do before setting up
Before you start a freshener with Alice, make sure all the preconditions are met, which will save you time and eliminate common mistakes.
β οΈ Note: If your freshener has previously been connected to another Mi Home account (such as a seller or previous owner), it should be reset to factory settings. To do this, hold the power button for 10 seconds until the indicator starts flashing yellow.
Here is the full preparation checklist:
Install the Mi Home app (version no lower than 6.0.100)
Create or log in to your Xiaomi account (preferably with a phone number attached)
Connect the refresher to a 2.4GHz Wi-Fi network (5GHz not supported!)
Update the freshener firmware to the latest version (check in Mi Home)
Install the Yandex application with Alice (version no lower than 23.12)
-->
Pay special attention to Wi-Fi networks. Xiaomi fresheners work only with frequencies 2.4 GHz β if your router broadcasts both frequencies under the same name (e.g, MyWiFi_2.4/5G), Separate them in your router settings, and make sure that there are no restrictions on connecting new devices on the network (e.g. filtering by router). MAC-address).
If you are using a freshener with Chinese firmware (CN), Change the region to Mi Home before connecting:
- Open Mi Home and go to profile (the icon in the lower right corner).
- Click on the country at the top of the screen (e.g. China).
- Choose Europe or Russia (depending on the model).
- Restart the app and try adding the device again.
Step-by-step: how to connect freshener to Mi Home
Now, the most important thing is to add freshener to the Mi Home ecosystem, which is critical because without it, Alice just won't see the device.
Follow the instructions:
- Turn the freshener on and wait until the indicator starts flashing blue (connection waiting mode).
- Open Mi Home and press + β Add the device.
- Choose the category Air Purifiers or Smart Home (depending on the model).
- Find your freshener (such as MiJia Smartmos) in the list. P2) and press it.
- Confirm the flashing indicator on the device and wait for the application to find it.
- Connect the freshener to your Wi-Fi network by entering a password from your 2.4GHz network.
- Wait until the setup is completed (may take until the 2-3 minute).
If you have a βfailed to connectβ error during the device search phase, try the following:
- π Reboot the freshener (remove the plug from the socket for 10 seconds).
- πΆ Reconnect your phone to a 2.4GHz network (sometimes shutting down helps) VPN).
- π± Update the Mi Home app to the latest version.
- π Check that the phone settings allow access to geodata for Mi Home.
After successful addition, the freshener will appear in the main menu of Mi Home.
- ποΈ Set up the spray intensity (e.g., Weak/Mediternary/Strong/Strong).
- β° Create a work schedule (for example, include morning and evening).
- π Update the firmware (if a new version is available).
π‘
If the freshener doesn't spray the fragrance after connecting, check the fluid level in the tank.Some models (e.g. Smartmos) P2) Blocking work at low levels, even if the indicator is green.
Link Mi Home with Yandex Smart Home
Now that the freshener is added to Mi Home, you need to sync it with Yandex Smart Home, a process called βaccount bindingβ and requires authorization in both services.
Follow the following steps:
- Open the Yandex app and go to the Smart Home section (home icon in the bottom menu).
- Click + β Add the device β Xiaomi.
- Enter the username and password from your Mi Home account (the same one that the freshener is connected to).
- Allow access to devices by clicking Confirm in the authorization window.
- Wait until the system finds your freshener and click Add.
If the device does not appear in the list, check:
- π Correct account binding (sometimes helps to untie and re-connect Mi Home with Yandex).
- π Model compatibility (some fresheners require manual addition through another device).
- π Update Freshing Firmware (Older Versions May Not Support Integration).
Once successfully added, the freshener will appear in the list of Yandex Smart Home devices, and now it can be controlled by voice via Alice.
- "Alice, turn on the kitchen air freshener."
- "Alice, set the average intensity in the freshener."
- "Alice, turn off the freshener in 30 minutes."
What if Alice doesnβt recognize the deviceβs name?
Configuring voice commands and scripts
And so, you can put a freshener on, and you can actually do it in a way that's really convenient, and you can set up voice commands and automatic scripts.
Here are some examples of useful commands for Alice:
| Purpose | Example of team | Note |
|---|---|---|
| Switching on/off | "Alice, turn on the freshener in the living room." | Make sure the device name indicates the room. |
| Intensity adjustment | "Alice, set maximum intensity in the freshener." | It only works for models with adjustment support (e.g. Smartmos). P2). |
| Timer setting | "Alice, turn off the freshener in 1 hour." | The timer works even if Alice is off. |
| Status check | "Alice, what is the fluid level in the freshener?" | It is only supported for models with a level sensor. |
To create scenarios (automatic action chains) go to Yandex Smart Home β Scripts β You can create a script. You can customize it, for example:
- π Morning ritual: when the alarm clock is triggered, a freshener is turned on at a medium intensity and curtains open.
- πͺ Coming home: When you return (by geolocation), the freshener is turned on for 5 minutes.
- π€ Night mode: at 23:00 the freshener is turned off, and the air conditioner goes into quiet mode.
β οΈ Warning: Some scenarios may not work if the refresher loses Wi-Fi connection. Check network stability or add a condition to the script "If freshener is available".
If you want Alice to offer to turn on the freshener herself (for example, in high humidity), you will need an additional device β an air quality sensor (for example, Xiaomi Mi Air Quality Monitor), which can be used as a trigger for scenarios.
Common mistakes and their solutions
Even with the right instructions, there can be failures, and we've collected the most common problems and ways to fix them.
| Problem. | Possible cause | Decision |
|---|---|---|
| Alice doesn't see the freshener | The device is not synchronized with Yandex Smart Home | Untie and re-connect the Mi Home account in Yandex settings. |
| Freshman connected but not responding to commands | The incorrect name of the device in Mi Home | Rename the freshener using only the Latin alphabet and the symbol. |
| Error "offline device" | Wi-Fi or power problems | Restart the freshener and router, check the connection to the 2.4 GHz network. |
| Intensity adjustment is not working. | The model does not support this function through Alice. | Check the deviceβs specs in Mi Home or control the intensity through the app. |
| The freshener spontaneously turns on | The script or timer worked. | Check the active scenarios in Yandex Smart Home and disable the unnecessary ones. |
If none of these things worked, try resetting the freshener to the factory settings and repeating the steps from scratch.
- Turn the device off the power.
- Press the power button and, without letting it go, connect the freshener to the socket.
- Hold the button. 10-15 seconds until the indicator starts to flash quickly.
Once reset, the device will be ready to reset, and remember that when you reset, all the stored schedules and settings in the Mi Home will be deleted.
π‘
If the refresher stopped responding to Alice's commands after updating the firmware, check if the rights to access Yandex Smart Home have been reset. Often after updates, you need to reauthorize your Mi Home account.
Additional features: integration with other services
Xiaomiβs air freshener can be connected not only to Alice, but also to other smart home platforms, which will expand control and automation capabilities.
Here are the most popular integration options:
- π€ Google Assistant: Add Freshman to Google Home and Control Voice via OK, Google".
- π Apple HomeKit: A bridge (such as Home Assistant or Aqara Hub) is required because direct integration is not supported.
- π Home Assistant: Add a refresher through the Xiaomi Miio component to manage it over a local network without the cloud.
- β‘ IFTTT: create applets for automation (for example, turning on the freshener when starting the vacuum cleaner).
To integrate with Home Assistant, you will need:
- Install Home Assistant on a Raspberry Pi or other server.
- Add to the configuration of miio: with the indication IP-freshener's address and token.
- Receive a device token through the Mi Home Token Extractor app (available for Android).
Example configuration for configuration.yaml:
fan.xiaomi_miio:
name:"Osvezhitel Spalni"
host: 192.168.1.100
token:"YOUR_DEVICE_TOKEN"
model: zhimi.airfresh.va2Once set up, the refresher will be available in the Home Assistant interface, and you can create complex automations, such as:
- π‘οΈ Turn on the freshener when the temperature rises above 25Β°C.
- π« Turn it off if the window is open (with the opening sensor).
- π Keep usage statistics in Grafana.