Xiaomi Humidifier support

@af950833 Could you test the strong mode?

# should return "ok"
mirobo --ip 192.168.0.25 --token 689c4056fe28ebb3a2e8c2fe350e51ba raw_command set_mode '["strong"]'
# should return "strong"
mirobo --ip 192.168.0.25 --token 689c4056fe28ebb3a2e8c2fe350e51ba raw_command get_prop '["mode"]'

You’re welcome :slight_smile:

It looks that the strong mode does not support my humidifier.
The firmware version is newest now(1.2.9_5033) and Mi Home is 5.1.1

(homeassistant) homeassistant@Tommy:/home/pi $ # should return “ok”
(homeassistant) homeassistant@Tommy:/home/pi $ mirobo --ip 192.168.0.25 --token 689c4056fe28ebb3a2e8c2fe350e51ba raw_command set_mode ‘[“strong”]’
Sending cmd set_mode with params [‘strong’]
{‘error’: {‘code’: -5001, ‘message’: ‘invaild_arg’}, ‘id’: 1}
(homeassistant) homeassistant@Tommy:/home/pi $ # should return “strong”
(homeassistant) homeassistant@Tommy:/home/pi $ mirobo --ip 192.168.0.25 --token 689c4056fe28ebb3a2e8c2fe350e51ba raw_command get_prop ‘[“mode”]’
Sending cmd get_prop with params [‘mode’]
[‘silent’]
(homeassistant) homeassistant@Tommy:/home/pi $

@af950833 Could you try to request some additional attributes and provide the output? Thanks in advance!

mirobo --ip 192.168.0.25 --token 689c4056fe28ebb3a2e8c2fe350e51ba raw_command get_prop '["speed", "depth", "dry", "use_time", "hw_version", "button_pressed", "dept"]'

Hi syssi,

The below is the result.

(homeassistant) homeassistant@Tommy:/home/pi $ mirobo --ip 192.168.0.25 --token 689c4056fe28ebb3a2e8c2fe350e51ba raw_command get_prop ‘[“speed”, “depth”, “dry”, “use_time”, “hw_version”, “button_pressed”, “dept”]’
Sending cmd get_prop with params [‘speed’, ‘depth’, ‘dry’, ‘use_time’, ‘hw_version’, ‘button_pressed’, ‘dept’]
[None, None, None, 941100, 0, ‘led’, None]
(homeassistant) homeassistant@Tommy:/home/pi $

1 Like

@syssi or anyone else… I am having an issue with a Smartmi Pure Humidifier where the metal connections are no longer recognizing the bottom tub and sensors. The top which has the power wire connected turns on and the fan runs but all the water indicator lights are showing full even though the tub has little or no water. I have tried various levels of water, no change. Also if you pull the top off of the tub and the metal connections separate, the top is supposed to turn off. It does not turn off. It stays on. So it seems the top thinks it is connected to the tub with a full tub of water no matter what. Everything else works such as controlling through the app and HA. But it is just the sensors and the metal connections. I have tried removing the device from the app, resetting the power. I do not know of a factory reset or way to reset the connections.

Would really love to salvage this thing as it is only a month old and I have opened a ticket with Gear Best. When it worked, it worked great.

Thanks!

Why do you assume the device is supposed to turn off if you remove the top? Could you provide a photo of the sensor?

Try to identify the type of the sensor. I can imagine an analog sensor. Two wires next to each other attached to the water container. A analog-digital converter measures the resistance in between. If the resistance is high the water tub is empty. If the resistance is low because of the contact to the water the tub is “full”. In this case I assume the contacts/wires are short closed may be somewhere at the top because you can detach the water tub and the device still indicates a full tub.

Anyone using new Evaporative Humidifier?

I just bought one and was wondering if this will be supported by home assistant.

I’m also wondering if this will be supported.

Guys,

how to connect Xiaomi Smartmi Pure Humidifier 2 to Home Assistant?

Standard component Xiaomi Air Purifier in Home Assistant with this humidifier does not work, I tried both available models in the component, but in no way:

  - platform: xiaomi_miio
    ...
    model: zhimi.humidifier.v1

and

  - platform: xiaomi_miio
    ...
    model: zhimi.humidifier.ca1

image

What’s the miio model name of the device?

Photo packaging will help answer your question?

image

No. The output of python-miio (miio info) would be interesting.

I have 2 humidifiers with IP addresses 192.168.0.114 and 192.168.0.115

That’s “Unknow” miio discover ; (

P.S. I am writing through Google translate, therefore clumsily

Video work through miioclio

I’m sorry. Please try miiocli info of python-miio.

1 Like

How did you get token for this humidifier?
Every tool is showing unknown device for me…

Model zhimi.humidifier.ca1

The system writes Error at the command status and turns off the humidifier

Video work through miioclio

P.S. As a new user, I am not allowed to write more than three messages, so I am writing from another account.

Thanks! I’m aware of this issue and will be fixed soon.

1 Like

Through the modified MiHome application for Android using Nox App Player for Mac, since there is no smartphone on Android.


https://github.com/rytilahti/python-miio/pull/388

3 Likes