xiaomi_airpurifier icon indicating copy to clipboard operation
xiaomi_airpurifier copied to clipboard

Add zhimi.airp.vb4 support

Open redding1 opened this issue 2 years ago • 5 comments

Device information:

Issue: Device Not Supported

Name(s) of the device: Xiaomi Smart Air Purifier 4 Pro Link: https://www.mi.com/global/product/xiaomi-smart-air-purifier-4-pro/ Model: zhimi.airp.vb4 Hardware version: esp32 Firmware version: 2.2.0

Additional context Not entirely sure why they have two purifiers "4 Pro" models (well, one has the "Smart" label), but the vb4 model seems different from the earlier va2 whose support was committed last week. The difference seems largely just an additional PM10 field and a "display device unit" service that seems to let you control the temperature unit on the display remotely.

See: https://home.miot-spec.com/spec/zhimi.airp.vb4

Had tried other models with no luck, if anyone has this running in Homeassistant please let me know.

redding1 avatar Mar 29 '22 07:03 redding1

Hi @syssi Is there any chance the homebridge addition can provide you with any support?

https://github.com/merdok/homebridge-miot/blob/3799be7a1a4e20b4beef629145678432a02dbaeb/lib/modules/airpurifier/devices/zhimi.airp.vb4.js

redding1 avatar Apr 21 '22 07:04 redding1

PR https://github.com/rytilahti/python-miio/pull/1399 merged

rperrell avatar Apr 26 '22 21:04 rperrell

Unfortunately, we still have to wait a while for the new python-miio version to be released on pypi. I have already added vb4 and rmb1 in my MR.

@rperrell Thank you for preparing the code for python-miio

jedziemyjedziemy avatar Apr 29 '22 16:04 jedziemyjedziemy

Thanks very much, @rperrell and @jedziemyjedziemy for getting this added. Greatly appreciate your work!

redding1 avatar May 06 '22 04:05 redding1

python-miio have done a release and the latest version has the changes. I can now control mine through the miio CLI :)

sitharus avatar Aug 03 '22 21:08 sitharus