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

Airpurifier 3H #42

Open
xai1 opened this issue Jun 24, 2020 · 14 comments
Open

Airpurifier 3H #42

xai1 opened this issue Jun 24, 2020 · 14 comments

Comments

@xai1
Copy link

xai1 commented Jun 24, 2020

Hi

I have a Airpurifier 3H (zhimi.airpurifier.mb3)
If I start the adapter I get "Wrong device type" but I am able to at least start and stop the device with the following calls:
miio protocol call set_properties '[{"did":"MYDID","piid":2,"siid":2,"value":true}]'
miio protocol call set_properties '[{"did":"MYDID","piid":2,"siid":2,"value":false}]'

Is there any chance to add the device and if yes what information is needed to do so?

Thanks

@xai1 xai1 changed the title Airpurifier H3 Airpurifier 3H Jun 24, 2020
@Knacki
Copy link

Knacki commented Jun 24, 2020

Same problem here... miio discover finds following device.

Device ID: xxxxxxxxx (ID is commented out)
Model info: Unknown
Address: 192.168.0.32
Token: ???
Support: Unknown

Can't get a token...

@xai1
Copy link
Author

xai1 commented Jun 24, 2020

@Knacki you can get the token by using a modified russian version of the xiaomi home app (android only). I will have to look it up again and post the link to that version

@xai1
Copy link
Author

xai1 commented Jun 24, 2020

@Knacki here's the link https://www.loxwiki.eu/display/LOXBERRY/Token+extrahieren (german)
and that's the link to the russian website where u can get the apk: https://www.kapiba.ru/2017/11/mi-home.html

@Knacki
Copy link

Knacki commented Jun 24, 2020

@xai1: got the Token, but still not working

@xai1
Copy link
Author

xai1 commented Jun 24, 2020

I guess the device type needs to be added somehow and that's why I have opened that issue. Maybe someone knows how to do that or what needs to be done. Happy to test and assist.

@Knacki
Copy link

Knacki commented Jun 24, 2020

the Airpurifier 3 is using a new api... that's why its not working...
In this project https://github.com/rytilahti/python-miio it is already working.
My problem are my programming skills to help.. but would test if someone is able to fix it :-)

@maxpd1
Copy link

maxpd1 commented Jul 22, 2020

same here with Air Purifier 3H

@mabe1983
Copy link

mabe1983 commented Aug 4, 2020

Hey guys,

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)

https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Maybe some experience developer can have a look into the code of this plugin and port this to the IoBroker mihome-airpurifier plugin :)

Greetings

@janhp
Copy link

janhp commented Oct 15, 2020

push

@MrLee99
Copy link

MrLee99 commented Oct 19, 2020

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)

https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Install it to iobroker.ham.

Connect is ok and i am able to control on/off and auto/manual but not the vent-level or any other mode...

Is it the same for you or am I doing something wrong?

regards
Mr.Lee

@maxpd1
Copy link

maxpd1 commented Oct 19, 2020

I wonder why it's so difficult to make 3H smart home compatible. Should be also in interest of Xiaomi.
I'm thinking about selling it again due to missing iobroker implementation.

@mabe1983
Copy link

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)
https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Install it to iobroker.ham.

Connect is ok and i am able to control on/off and auto/manual but not the vent-level or any other mode...

Is it the same for you or am I doing something wrong?

regards
Mr.Lee

Hey Mr.Lee, yes I had the same issue. I use it now with a kind of workaround. I configured the fanspeed in manual mode to my preferred value with the xiomi app. And now I'm able to switch with iobroker between auto mode and manual mode with my configured fan speed.

@MrLee99
Copy link

MrLee99 commented Oct 22, 2020

there is currently a working javascript implementation for homebrige ;) I figured out that you can run this plugin also in IoBroker with the Homebridge Wrapper plugin ;)
https://github.com/rgavril/homebridge-xiaomi-air-purifier3#readme

Install it to iobroker.ham.
Connect is ok and i am able to control on/off and auto/manual but not the vent-level or any other mode...
Is it the same for you or am I doing something wrong?
regards
Mr.Lee

Hey Mr.Lee, yes I had the same issue. I use it now with a kind of workaround. I configured the fanspeed in manual mode to my preferred value with the xiomi app. And now I'm able to switch with iobroker between auto mode and manual mode with my configured fan speed.

Ok, so I`m not to stupid :-)
Using the same actual...

Thanks
Mr.Lee

@Pittini
Copy link

Pittini commented Dec 5, 2020

Hey everybody,
i've figured out, how to control the Purifier 3H inkl. Token retrieving. Maybe you want take a look at: https://github.com/Pittini/iobroker-nodemihome

Betatesters are welcome.

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

7 participants