Skip to content
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

Support for zhimi.airpurifier.v7 #60

Open
rootsnet opened this issue Dec 7, 2018 · 2 comments
Open

Support for zhimi.airpurifier.v7 #60

rootsnet opened this issue Dec 7, 2018 · 2 comments

Comments

@rootsnet
Copy link

rootsnet commented Dec 7, 2018

I bought a xiaomi air purifier pro.
From the process what I get the tokern, I found that the model name is 'zhimi.airpurifier.v7'.
And then this plugin does not work for the 'zhimi.airpurifier.v7'.

@rootsnet
Copy link
Author

rootsnet commented Dec 8, 2018

I solved this issue myself temporarily from model information adding as below.

  1. Stop to upgrade miio
    docker exec -it marcoraddatz-homebridge1 /bin/bash
    vi /root/.homebridge/install.sh
    #npm install -g miio

  2. Add model info
    vi /usr/local/lib/node_modules/miio/lib/models.js
    'zhimi.airpurifier.v7': AirPurifier,

@chadman4
Copy link

chadman4 commented Jul 4, 2019

Hi,

how do I save the change after step 2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants