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

Will it work with mi humidifier v.2? #16

Closed
Aekung opened this issue Oct 22, 2019 · 17 comments
Closed

Will it work with mi humidifier v.2? #16

Aekung opened this issue Oct 22, 2019 · 17 comments

Comments

@Aekung
Copy link

Aekung commented Oct 22, 2019

Hi,

I would like to ask if the plugin would work with xiaomi mi humidifier v.2 or only v.1 since there’s only v.1 model in your plugin setting according to the manual.

If possible, can u please post the picture of the one that work? xiaomi has so many humidifiers that I’m a but worrying I would end up buying the wrong one.

Thank you very much in advance.

@nt0xa
Copy link
Owner

nt0xa commented Oct 24, 2019

Hi,

It is known that it works with SmartMi Germocidal UV Humidifier (zhimi.humidifier.v1):

and using some hacks (see this comment) with SmartMi Evaporative Humidifier (zhimi.humidifier.ca1):

@Aekung
Copy link
Author

Aekung commented Oct 29, 2019

Dear Russtone,

Thank you for the reply.

Sadly I have already bought one of the Xiaomi Humidifier and its miio model is deerma.humidifier.mjjsq which doesn't work with the plugin (or any as far as I tried).

Wonder if you could have a plan on updating the plugin to work with this model? Up on googled, I found this information that might be useful somehow but since I know nothing about coding so I can't be sure of. It's mentioned by @rezmus

`it's new mi humidifier, miio model deerma.humidifier.mjjsq

https://www.xiaomiyoupin.com/detail?gid=109486
https://ibb.co/n1dwCgS

while i don't have device (yet?) i took a look at the plugin so i leave info here if anybody wants to add support. below you can find all props/methods supported by firmware.

{"method":"get_prop","params":["Humidifier_Gear","Humidity_Value","HumiSet_Value","Led_State","OnOff_State","TemperatureValue","TipSound_State","waterstatus","watertankstatus"]}

props

Humidifier_Gear - speed (1-4, 1 Low, 2 Medium, 3 High, 4 Humidity)
Humidity_Value - humidity value (0-100)
HumiSet_Value - desired humidity value? (not used by plugin atm)
Led_State - led state (0 - off, 1 - on)
OnOff_State - power state (0 - off, 1 - on)
TemperatureValue - temperature value
TipSound_State - sound state (0 - off, 1 - on)
waterstatus - water status (0 - insufficient, 1 - normal)
watertankstatus - water tank status (0 - detached, 1 - installed)

methods

{"method":"Set_HumidifierGears","params":[1-4]} - set speed (Humidifier_Gear prop)
{"method":"Set_OnOff","params":[0/1]} - set power off/on (OnOff_State prop)
{"method":"SetLedState","params":[0/1]} - set led off/on (Led_State prop)
{"method":"SetTipSound_Status","params":[0/1]} - set sound off/on (TipSound_State prop)
{"method":"Set_HumiValue","params":[0-100]} - set desired humidity value? (not used by plugin atm)`

I don't know if it can be useful to you if you are planning to upgrade the plugin to work with this new model. I am willing to help you test and try if you can guide me of what you need in order to do so.

Thank you and looking forward to seeing your reply.

@nt0xa
Copy link
Owner

nt0xa commented Oct 29, 2019

Hey Aekung,

This plugin is rely on miio library to control humidifiers. So I think it is better to add support for this model to the miio library.

@Aekung
Copy link
Author

Aekung commented Oct 29, 2019

Thank you very much for the reply.

I will try asking this in another thread which is about the miio library.

Again, thank you very much.

@rezmus
Copy link

rezmus commented Nov 2, 2019

@Aekung can you share this humidifier to me? i will like to check some things so i can add extended automation support.

@earlywaff
Copy link

It still doesn't work?

@Aekung
Copy link
Author

Aekung commented Jan 22, 2020

It still doesn't work?

It still doesn't work. I hope it is implemented later.

@ArielZgo
Copy link

ArielZgo commented Apr 8, 2020

Hi all, any news on that?

@nt0xa
Copy link
Owner

nt0xa commented Apr 9, 2020

Hi @ArielZgo, I've already implemented miio replacement for this project https://github.com/russtone/miio-api and I'm currently woking on plugin update

@Aekung
Copy link
Author

Aekung commented Apr 9, 2020

Hi @ArielZgo, I've already implemented miio replacement for this project https://github.com/russtone/miio-api and I'm currently woking on plugin update

Woahhhhhhhh!!! Really looking forward to the plugin.

Thanks with loads of lovesssss

@DJay-X
Copy link

DJay-X commented Apr 11, 2020

I just ordered the New SMARTMI Silent Smart Air Humidifier 2 (With Display) and hope it will work with your plugin @russtone
Thanks for the time you are investing, your work and sharing with the community. 👍

New-SMARTMI-Silent-Smart-Air-Humidifier-2-For-Home-Air-Damper-Aroma-Diffuser-Essential-Oil-Mist

@rezmus
Copy link

rezmus commented Apr 11, 2020

it won't work, because zhimi.humidifier.ca4 (with display) is miotspec device.

@DJay-X
Copy link

DJay-X commented Apr 11, 2020

But is there a plugin that works with zhimi.humidifier.ca4 and miotspec?
Or could @russtone extend this plugin to also work the protocol?
Sorry my newbie questions. :) Thx.

@ArielZgo
Copy link

Hi @ArielZgo, I've already implemented miio replacement for this project https://github.com/russtone/miio-api and I'm currently woking on plugin update

Can’t wait for it! When are you going to Release the plugin? :)

@Toxblh
Copy link

Toxblh commented Jul 26, 2020

Hey, I recent receive the hum and wrote PR in python-miio
Maybe it will be helpful for you rytilahti/python-miio#772

@malmentm
Copy link

@nt0xa
Copy link
Owner

nt0xa commented Jan 19, 2021

Both models deerma.humidifier.mjjsq and zhimi.humidifier.ca4 are supported by plugin, so I am closing this.

@nt0xa nt0xa closed this as completed Jan 19, 2021
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

8 participants