-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TODO: Add air purifier support? #5
Comments
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) |
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 |
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. |
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 |
NVM, found it. will check if I can bring it up |
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 |
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
|
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 |
The code's already there in
miio
library, so, may as well?The text was updated successfully, but these errors were encountered: