I’ve been putting this one off for a long time because from my research it seemed like there were several different methods for getting this to work.
Qingping Integration
There is a Home Assistant Qingping integration. This really didn’t do anything at first, with the Air Monitor having been previously set up via the iOS Qingping app and HomeKit. Home Assistant saw the device, but wasn’t getting any data.
It did start working after I set up the Air Monitor with the Mi Home app (Android), which involved resetting the Air Monitor. This requires that you set up a Xiaomi/Mi Home account and set your account region to China. If you use the US region, the Air Monitor is not available to set up.
This integration gives you the PM2.5/PM10, CO2, humidity, and temperature readings. It seems like it works locally? The issue is that the Air Monitor has already been set up with a Xiaomi account and presumably you would have to block internet access on your router to stop any further data transmission.
Xiaomi Miot for Home Assistant
This is a Home Assistant Community Store integration found on Github. The documentation says it supports local operation for certain devices but the Air Monitor Lite does not appear to be one of them. Compared to the Qingping integration, this additionally provides battery voltage and charge status data.
Install HACS and then install this integration. From the normal integration menu, add Xiaomi Miot Auto. From here you can either enter your Xiaomi account information or use an access token. I used the Get Mi Home Devices Token app. Since you’re entering your login info into software you don’t necessarily trust, I don’t know that one option is any better than the other. Setting up the Air Monitor via the second method involves providing an IP address, so I set that as static just in case.
Why the Qingping Air Monitor Lite in the first place?
At the time, maybe spring/summer 2022, it was one of the only cheap (~$100) CO2/PM2.5/PM10 air quality monitors that you didn’t have to DIY. I had a “smart” air purifier with built-in sensors that I didn’t really trust (it died later, which apparently is quite common) and wanted a separate unit. I just didn’t want to spend $250 on the Aranet4, though I eventually got one on sale.
The CO2 readings are low compared to the Aranet, but it does generally trend in the same direction. Unfortunately I don’t have anything to compare the particle readings to, but it spikes when you’d expect it to spike (wildfire smoke or frying/roasting).
I have found the battery-powered functionality useful when I’ve taken it in the car or to the office. The Qingping app is not good–it asks for login information constantly. You don’t have to register to use it, but it will keep asking. There are some issues with the Air Monitor storing settings, but with enough persistence it will eventually work.