-
Notifications
You must be signed in to change notification settings - Fork 16
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
Notes on Smartmi Evaporative Humidifier 2 (zhimi.humidifier.ca4) #26
Comments
Nice! |
PR is merged, do you feel like adding the instructions/hints/notes to the wiki? ;) |
I have the same dead level sensor, thus want to flash this,
Question: |
UART adapter TX to ESP RX, UART adapter RX to ESP TX, adapter GND to any of the two GND. |
So for flashing i don't need to do anything with STM TX and STM RX? |
No, you don't need STM TX and RX. |
So i got esphome flashed and connected to HA. When i switch the power ON and OFF i can see the response on the display of the humidifier. But still i cannot get the device running/blowing. |
No, because my "dead" water level sensor was in fact showing always 100% reading, not 0%. But...
Now, if none of these worked this is how I fixed mine: |
I did the 4 point you mentioned already, as a last resort i flashed esphome just to run the motor without the level sensor. But The heating the sensor for 3 minutes did the trick. Good advice. Now have a working level sensor again. Many thanks for the tips, I also came across this: |
Today opened my zhimi.humidifier.cb1 (version without screen) and find out proprietary MHCWB2P :( I hope someday somebody will create drop-in PCB replacement for those modules. |
Old Marvell controllers aren't that bad. At least they don't disconnect from wifi every 15 minutes when you block their MAC address from accessing WAN (I think this is the case, unless xiaomi decided to rework whole MCU firmware just for this specific device. Old ones such as AP 2S behave this way on any available firmware) |
Pins:
Commands used to backup stock firmware:
python esptool.py -p /dev/ttyUSB0 read_flash 0x0 0x400000 original-firmware.bin
(windows version, only one that worked)
esptool.exe -p COM9 read_flash 0x0 0x400000 original-firmware.bin
Do not power up the board via serial adapter. Use standard power brick provided with humidifier.
Bridge gpio0 and gpio2, then connect gpio2 to ground (for example gnd for STM serial)
Mobo is sealed with some slimy substance to prevent corrosion due to the vapor, hence little bit more heat for soldering is useful. I didn't find any test point that is connected gpio2. There is tiny gpio0 TP on the other side of mobo but it's not a hole and it's pretty far from gnd, so it's easier to solder all at the same side of board.
Working (for me) esp config. Replace "xxx" with your keys or just use the variable from secret.yaml.
Water level readings are broken for me, but this is due to long dead (probably shorted) sensor above the power port. Typical failure of this model. Speaking from experience if you get values above 100% (or "unknown" state in HA) that either means your sensor is dead or it's gonna die soon.
Source is temporary because repo's version doesn't compile. It's taken from one of the comments.
The text was updated successfully, but these errors were encountered: