Xiaomi Air Purifier 4 Lite (zhimi.airp.rmb1) - Missing Custom Fan Speed and LED brightness
Describe the bug Xiaomi Air Purifier 4 Lite integration is properly recognized by Xiaomi Miio integration and supports almost all of the device's functionalities, except Custom Fan Speed levels and LED brightness.
Version information (please complete the following information):
- OS: Raspberry Pi 4
- Home Assistant version: 2023.3.0
- python-miio: [Use
miiocli --versionorpip show python-miio]
Device information:
If the issue is specific to a device [Use miiocli device --ip <ip address> --token <token> info]:
- Model: Air Purifier 4 Lite
- Hardware version: zhimi.airp.rmb1
- Firmware version: the latest available firmware - 2.2.1.0058
To Reproduce Steps to reproduce the behavior:
- Add Air Purifier 4 Lite through Xiaomi Miio integration
- Make sure the device got added correctly (don't forget about token)
- Check the available entities. Notice there is no fan speed and LED brightness available.

Expected behavior There should be a slider/option to control custom fan speed levels and LED brightness, just like with Air Purifier 3C (zhimi.airpurifier.mb4).

I'm trying to solve the same issue. I've tried to add features to supported features list of 4 LITE. However, it doesn't work. But I could set fan speed when I used old version of HA (probably 09.2022) and set the device as 3C or something like that.
Unfortunately, I'm not able to code, hence the ask for developers to look into this issue. Maybe there is a way to compare the code between older version of HA that you have mentioned @matchius with the newest code and see if the fix is possible. I'm happy to help with testing or any other non-coding activity.
The problem is still there, have you managed to get Custom Fan Speed and LED brightness
The problem is actually already fixed in the python-miio library itself, see: PR #1486. There is a reason as explained here https://github.com/home-assistant/core/pull/75949 why the feature is not merged, because there has been no new release on the python-miio package.
I suggest patching the bin yourselves on the container to get this working. I got this working for my setup on 4 lite.
@jonathantumboimbela thanks a lot for the info. Unfortunately, I have no clue how to patch it by myself :( Would you be able to help here?
The problem is actually already fixed in the python-miio library itself, see: PR #1486. There is a reason as explained here home-assistant/core#75949 why the feature is not merged, because there has been no new release on the python-miio package.
I suggest patching the bin yourselves on the container to get this working. I got this working for my setup on 4 lite.
i also have no clue how to patch it myself... is there any tutorial out there?
I have the 4 Lite zhimi.airp.rmb1) and the Air Purifier Elite (zhimi.airp.meb1)
The problem is actually already fixed in the python-miio library itself, see: PR #1486. There is a reason as explained here home-assistant/core#75949 why the feature is not merged, because there has been no new release on the python-miio package.
I suggest patching the bin yourselves on the container to get this working. I got this working for my setup on 4 lite.
I’m on the same boat, unfortunately I also have no clue how to do this, could you give us a little help please?
Thanks.
@jonathantumboimbela thanks a lot for the info. Unfortunately, I have no clue how to patch it by myself :(
Would you be able to help here?
Have you solved it? I need some help here please 🥺