fison67 / mi_connector

Connector for Xiaomi Devices with Smartthings, Hubitat
MIT License
212 stars 597 forks source link

Xiaomi Air Purifier can't get token #65

Open krystian50 opened 3 years ago

krystian50 commented 3 years ago

I'm trying to add Xiaomi Air Purifier 3H. The Mi connector finds the device through search functionality. However, the token value is empty and the logs shows: Mi-Conector find new device(192.168.3.24, No Token) at Auto Mode. But can't get token from this!!!

It looks like there's just no token. Mi connector recognizes the auto mode and it should be able to connect.

Also, the device type is not recognized. It's just empty. I wonder if this is because I'm using the Europe server (my devices can only connect to that one)

krystian50 commented 3 years ago

I've got also Air Humidifier and I was able to connect it with mi-connector. The Air purifier is not possible to be added because app fails during token checking (I used a downgraded version, checked with multiple other versions).

I was missing information about providing tokens for each device during the setup. I don't know if there is any way to auto-setup all wifi devices. If not, the docs should contain info about manual token setup.

fison67 commented 3 years ago

Use a cloud analyzer on menu.