-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Incorrect water level of air humidifiers #1135
Comments
Ping @bieniu |
Why? Do we have any specification for this? |
We have the Mi Home application. If you change |
Not on my humidifier, I have 98-96% when depth is 120. |
Oh, really? What model do you have? I have two |
Really, my zhimi.humidifier.ca1 works that way. |
Right now, I have the following values: |
What are the |
What is the easiest way to print raw |
Add this to the
With this, the log will show full humidifier states, look for lines with text "Got new state". |
Thanks, that works. humidifier 1: depth: 68, water level: 54, mi home: 56 |
For your humidifiers |
Oh, I'm really sorry to hear that. That sounds awful! No rush: I have already workarounded this issue by a correction formula in HA. |
Just in case, one more observation: When the tank is full, |
I made research and probably you're right, the |
I tried to find some info in decompiled Mi Home app but with no success. I'm not familiar with decompiling apk files. @syssi You have shown snippets of app code in another thread. Maybe you can help? |
@bieniu Could you tell me the model names (f.e. |
@syssi |
|
|
Ping me if you have questions. |
@syssi Thank you! |
The water level of air humidifiers is incorrect (assuming that the value in Mi Home is correct).
You have the following code (https://github.com/rytilahti/python-miio/blob/master/miio/airhumidifier_miot.py#L135):
return int(self.data["water_level"] / 1.25)
1.25
here should be changed to1.2
. But you are right,125
still means the full (actually, overflowing) tank.UPDATE: The model of my air humidifiers is
zhimi.humidifier.ca1
.The text was updated successfully, but these errors were encountered: