Open antylama opened 5 years ago
Were you able to connect it to your local WiFi network, and communicate with it afterwards? I also have CB1, and I am not able to pair it with Mi Home app. I wanted to at least access to readings using my local network, but after "configure_wifi" command I am not able to speak with humidifier anymore (token rolled?)
At the moment if you want to get the token you have to use modified Mi Home app https://uploadfiles.io/5dnfi (be carefully it's not my mod, i have used it with backup phone and fake account). After that just change temp_dec to temperature !
it's my mod, kinda pitty they sell devices without support ;) btw: it's US model so there's also fahrenheit temperature supported by firmware.
public static final String MODEL = "zhimi.humidifier.cb1"; public static final String PROP_FAH = "fahrenheit";
in case you want to add support for ca2 model the only difference to ca1 is... yeah temperature prop. 3 models, 3 different prop names ;)
public static final String MODEL = "zhimi.humidifier.ca2"; public static final String PROP_TEMPERATURE = "temp";
My ca1 model almost works in Mi Home app on iPad (3 gen), works means: 1. detected and configure in manual mode (region: china), 2. only on/off device works, nothing else (error: 7, falling init device).
In the same time, on the same account android version of Mi Home (standard version, and beta on Android Pie), don't even display ca1 on list ;-).
Probably iPad version of app, just don't test version model, and this is why something is "working". I got token from iPad. Token from device not connected to wifi (accessed by device AP), isn't the same, but working in AP-mode.
ca1 is chinese version and should be fully supported by both ipad and android mi home, however cb1 (us version) is still missing on any region.
Still no adding of CB1 version to miio? I'm trying to add it via 'zhimi.humidifier.cb1' model in Home Assistance - no luck.
Cb1 works on US region
Please support zhimi.humidifier.cb2, too
Hi,
I posted this on wrong place. It's about python-miio, but in node miio cb1 isn't supported too.
I got Smartmi Evaporative Humidifier, with new return model version:
It's not really working on Mija Home App, so I grab the token, and run miiocli as "CA1". Everything working, except fetching status (temp_dec don't exists).
Fast path for python-miio: