Closed stelectronic closed 1 year ago
Should this be marked? Appreciated for your guidance...
Everything is OK except Mihome app and Xiaomi gateway cannot receive its message, so I cannot do some auto-flow per the temperature....
It is necessary to restore the correct bindkey from MiHome. Receiving data in HomeAssistant from BT adapter: Getting data in HomeAssistant from Gateway 3:
MiHome will not connect to the thermometer. Works only through the gateway.
Should this be marked? Appreciated for your guidance...
@pvvx I noticed that you fill the blank of EEP Bindkey, should I use the value of Mi Band Key of original firmware here and then click Set EEP Bindkey? Thanks!
The bindkey written in Flash in Mi format takes precedence. If the Mi keys in Flash are removed, then the bindkey from the EEP is used.
Hi, I have trouble understanding the Bindkey part. I clicked on get EEP Bindkey and there was no key. I copy the Bindkey from above, paste and Set EEP Bindkey. But the thermometer does not send the information to gateway 3. I checked Mijia (mi home) and encrypted beacon. Rename the thermometer to LYWSD03MMC.
What am I doing wrong?
@stelectronic You have managed to make it work with the xiaomi gateway 3?
MiHome
TelinkMiFlasher
Home Assistant: Passive BLE Monitor integration
Home Assistant: Xiaomi Gateway 3
nRF Connect
I copy the Bindkey from above, paste and Set EEP Bindkey.
Bindkey must be registered in MiHome on a thermometer with official firmware. Only after that the device is flashed and the already registered bindkey is entered into it.
TelinkMiFlasher makes a new registration to open access to the device. If you already have a MiHome bindkey, then use "login" by entering the MiHome bindkey.
If there is no bindkey from MiHome, and the thermometer is registered in MiHome, then after "activation" in the list of keys, in the alternative firmware, the remote binlkey will be displayed in the log. If "activation" was performed 1 time, then the "Swap previous token + bindkey" button will automatically replace the key with the previous one.
You can take the bindkey from another thermometer registered in MiHome. Then you need to change the MAC of the device. And disable the old device registered in MiHome or ...
@pvvx Thank you for your answer, I understand the procedure better. Thank you for your awesome work.
If you already have a MiHome bindkey, then use "login" by entering the MiHome bindkey.
I did it this way, it works. You are a boss, thanks.
Hello.
Could I please get an instruction on how to correctly complete the identification of the original Mi Token and Mi Bind key?
This is what I have done so far in attempting to get FW1.6 flashed LYWSD03MMC to send data to the Gateway 3. Have I missed any steps? I don't seem to be getting any updates via the Gateway showing in the app after flashing. Thank you.
Marked as delete Key0: miToken: A2DB9C3<REDACTED>317668D, miBindKey: B9B2D6930C9C<REDACTED>5327B4EACDFDF
I see in above screenshot the BT5 and CSA2 mode is selected, do I need this? I can see different selection on my web ui "BT5+ PHY and LE Long Range (only for BT5.0+ adapters!)
Do I also need to uncheck AdFlags ?
I see in above screenshot the BT5 and CSA2 mode is selected, do I need this? I can see different selection on my web ui "BT5+ PHY and LE Long Range (only for BT5.0+ adapters!)
Do not install.
Do I also need to uncheck AdFlags ?
Select checked.
10, 11, 12 are not needed. Newer versions use only the "EEP bindkey".
Thank you for the confirmation.
I was able to get two LYWSD03MMC working with Gateway 3 following the steps posted above. I Ensured AdFlags was selected and un-ticked the BT5 settings.
I setup my third LYWSD03MMC later, and followed your suggestion of setting EPP bindkey only, however Gateway 3 would not show updated sensor readings. When I went back to the settings and completed steps 10, 11 and 12, Gateway 3 now gets sensor updates.
Thanks for your help.
I register the Xiaomi Mijia LYWSD03MMC in MiHome app and connected to Xiaomi gateway first. Then flash to custom firmware and restore the Mi Token & Mi Bind Key as original firmware. Then replacing the device name with "LYWSD03MMC" and setting the advertising type to "MIJIA (MiHome)" marked "encrypted". Everything is OK except Mihome app and Xiaomi gateway cannot receive its message, so I cannot do some auto-flow per the temperature....