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

Mi Air Purifier 3 not working #301

Open
Askeo opened this issue Jan 9, 2021 · 8 comments
Open

Mi Air Purifier 3 not working #301

Askeo opened this issue Jan 9, 2021 · 8 comments

Comments

@Askeo
Copy link

Askeo commented Jan 9, 2021

Mi Air Purifier 3 is not working with correct token and IP

Region: EU/DE

NAME: Mi Air Purifier 3/3H
ID: 313871411
IP: (censored)
TOKEN: (censored)
MODEL: zhimi.airpurifier.mb3

@salamwaddah
Copy link

check this alternative. i added support for you https://github.com/salamwaddah/mijia-io

@Askeo
Copy link
Author

Askeo commented Jan 9, 2021

@salamwaddah
Thank you very much but i think i have a bigger problem.

I use a Smart Home System called "Homey" and a guy use this repo here for creating the app in Homey

https://community.athom.com/t/xiaomi-mi-home-app-for-wifi-devices/118
https://homey.app/de-ch/app/com.xiaomi-miio/Xiaomi-Mi-Home/
https://github.com/Maxmudjon/com.xiaomi-miio
https://homey.app/

But he is not updating since February and miio (where he taked the stuff) is dead i think.

If you are creating a miio driver for Homey i would love it with ur updated stuff but i think when you dont use this smart home system its complete useless for you

Sorry my english is not the best :)

@salamwaddah
Copy link

@Askeo sorry about that. dead repos are frustrating. One of the PRs on this repo supports purifier 3 #277 see if it helps. I forked this repo for a home project and started to add simple device support hope it helps someone.

@Pittini
Copy link

Pittini commented Jan 9, 2021

Maybe you dont know, there is another projekt. I've intergrated it to the iobroker systems and its working, so maybe its helpful to know about:
https://github.com/maxinminax/node-mihome

@Askeo
Copy link
Author

Askeo commented Jan 9, 2021

Maybe you dont know, there is another projekt. I've intergrated it to the iobroker systems and its working, so maybe its helpful to know about:
https://github.com/maxinminax/node-mihome

Never used "iobroker" but sound amazing, can you explain that to me ? do you have discord, email or somthing else ?

@Pittini
Copy link

Pittini commented Jan 9, 2021

Never used "iobroker" but sound amazing, can you explain that to me ?

its similar to miio but also can miot, its a npm module, you dont need iobroker, but it works with it.

do you have discord, email or somthing else ?

discord Carlo Pittini

@Askeo
Copy link
Author

Askeo commented Jan 9, 2021

Never used "iobroker" but sound amazing, can you explain that to me ?

its similar to miio but also can miot, its a npm module, you dont need iobroker, but it works with it.

do you have discord, email or somthing else ?

discord Carlo Pittini

I need the correct user name for discord "exampleName#8487"

@jacklul
Copy link

jacklul commented Dec 5, 2021

check this alternative. i added support for you https://github.com/salamwaddah/mijia-io

@salamwaddah Thanks for this, unfortunately switching off does not work for 3C model

device
 .setPower(false)
 .then(state => console.log('Switched power to', state))
 .catch(error => console.log(error));

Outputs:

Switched power to true

And device is still ON.

Any chance to have this fixed?

Edit tracked it down:

file air-purifier3c.js: in changePower, the condition that sets mode to idle must be removed
Additionally the values in changeLEDBrightness are in reverse order, should be 2,1,0 instead of is 0,1,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

4 participants