homebridge-miio icon indicating copy to clipboard operation
homebridge-miio copied to clipboard

TODO: Add air purifier support?

Open Bluebie opened this issue 7 years ago • 8 comments

The code's already there in miio library, so, may as well?

Bluebie avatar Mar 29 '17 06:03 Bluebie

This would be quite awesome, since there is no option available at all if you want to control the Air Purifier via Homekit. (Except an official Xiaomi Router plugin which seems to have been pulled)

wadjj avatar Apr 06 '17 11:04 wadjj

anything we can do about it, i know xiao router somehow can support his, but is there anything stop us enbale this function by part of homebridge-miio? thanks

syu-lk4b avatar May 07 '17 04:05 syu-lk4b

It would be pretty easy for someone who has a purifier to add support. The underlying miio library already has some support for that device.

Bluebie avatar May 07 '17 09:05 Bluebie

can you help point me of some example, newbie at nodejs. but i can try since i have the purifier at home. thanks a lot

syu-lk4b avatar May 07 '17 13:05 syu-lk4b

NVM, found it. will check if I can bring it up

syu-lk4b avatar May 07 '17 13:05 syu-lk4b

some update here, I have tried the miio module with my zhimi.airpurifier.v1, but looks like the set_power function is not supported with this model. Tried wireshark the package, but somehow it doesn't work for some reason. pretty busy this week, will check this again this weekend if nothing else happen, hopefully someone can work with me together, so we can enable this function in this module for xiaomi airpurifier the issue I have rasied into miio, detail check this link https://github.com/aholstenson/miio/issues/35

syu-lk4b avatar May 31 '17 14:05 syu-lk4b

sure if you can figure out some code that controls the air purifier well, and decide what sort of homekit characteristics would map across well (like how to present it through homekit) then we can work together to integrate it in nicely and put out a new version for sure! <3

Bluebie avatar May 31 '17 15:05 Bluebie

Found this elsewhere that I’ve had working under a different node version. Anything useful that could help add it to the one plugin? https://www.npmjs.com/package/homebridge-mi-air-purifier

bencharlesrhys avatar Feb 05 '18 08:02 bencharlesrhys