Cheaterdev / clear_grass-ha

Xiaomi ClearGrass Air Detector integration into Home Assistant
59 stars 18 forks source link

Impossible to retrieve Token cause no more wifi devices in Mi Home #14

Open ZorK766 opened 1 year ago

ZorK766 commented 1 year ago

Hi, just bougt an QingPing ClearGrass CGS1 device. Product loks great but make me crazy cause I wanted to add it in HA but after 5 hours browsing the web and trying all i can't, I'm still unable to retrieve the Token. I ve try Mi Home 5.4.49 and all servers, settings, but it seems to have no more Xiaomi/QuinPing cleargrass Air Monitor in all their f****g apps. No more wifi devices at all. Also my device was received in version 4.1.8_0256, found a 4.1.8_0267 version. Finally mange to install it after a lot of error. Some menu changed but still can't make anuthing for the token. Any idea ?

ZorK766 commented 1 year ago

Finally manage to get it work in Ha. I had to force firmware with Quigping+ App --> Error Reset the device. Check for update, update to 4.1.8_0267 --> Success Create a MiHome account in China. In the device, settings, Automation, MiHome to get a QrCode. Scan this QrCode with the MiHome Android App launched with my "China" Account. Lauch Get.token.exe on windows with the same MiHome China credentials to retrieve the token. Note it. Finally don't use the token and retrieve the sensors value by using Xiaomi Miot Auto intégration from HACS.

I Hope this could be helpfull if someone fin this. Regards.

petron1e commented 1 year ago

Hello, just wondering is this integration still working for you in version 2023.3? Thx. P.