To retrieve the tokens of my Mi/Aqara hub (camera hub), i followed New Xiaomi aqara camera/gateway with success. I got 2 tokens, one for each device, a 32 character hex string (so 2*16).
Hl.
Reading your post it seems that there’s a way to get a key starting from token. You say 2*16.
I have extracted a token from file miio2.db. it is 32 bytes. I need a 16 byte key for inserting into configuration.yaml.
Can anybody help me please?
Thank you.
Ciao Giorgio, novità? anche io non riesco a recuperare il token.
Se installassi una versione precedene di Mi Home su un altro cellulare e poi condividessi il gateway con questo potrebbe funzionare?
Hi,
unfortunately i have no news.
I have an Aqara Hub that is connected to Mi Home App on android device.
Al works fine but on the recent versions there is not the menu voice “About” for getting the password.
Following some tutorial i have extracted the database Miio2.db from application and got the token (32 Byte).
Unfortunately i’ m not able to convert into a 16 byte key, if it is possible.
I have tried to install also old app versions but it seem they are not compatible with Aqara Hub v3. So i was unable to connect it.
So, at the moment my Hub is not connected to HA platform. And also other devices i have bought (Temperature, motion detection, ecc) are useless !