Mi air purifier 4 COMPACT

For xiaomi.airp.cpa4, the above-mentioned method did work for me.
It took a few seconds for the entities to appear, and there was no fan speed control.
It is possible to set the fan speed manually using a service call, e.g.:

service: xiaomi_miot.set_miot_property
data:
  entity_id: fan.xiaomi_cpa4_7865_air_purifier
  siid: 9
  piid: 11
  value: 4
1 Like

Thank you! It took a full day for me, lol, I thought I was gone completely mental. Thanks for the service, this helps!

Finally FAN button solve in latest version Xiaomi miot Auto for Air purifier 4 Compact! Comparing v1.0.16...v1.0.17 · al-one/hass-xiaomi-miot · GitHub

2 Likes

is it eligible apple homekit ?