-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot add back to mihome after flashing #73
Comments
The atc1441 firmware removes all keys. The current firmware uses information from publicly available sources. "Bindkey" allows you to encrypt ad packets, but not register with Mi-Home / Xiaomi cloud. |
cool. not that im really interested. but in this case, after restoring to back to original firmware , it still works with mihome ? anybody using an old android phone as a daemon for these sensors ? |
If the registration was made on the original firmware and the keys restored in custom-fw, plus "Advertising type: mi" and "Encrypted Mi beacon - enable" - Xiaomi Gateway 3 works, but unstable. Xiaomi Cloud stores one measurement point per hour. |
is there any way to manually restore the keys ? i have them (as picture) but they're not on the device :) |
Binding and re-registering will not take place without the original firmware. |
You can delete the thermometer in MiHome and re add it with the stock firmware |
Subscribing, exactly what i'm going through. What's the update interval on stock firmware? It's lagging a lot on stock firmware with gateway 3. That's why i'm looking for a custom firmware.. |
About 10 minutes.
Updating data in the cloud through a gateway - 1 hour. |
Registration procedures and examples of algorithms from mijia are in mi_api. The Mi-Home user license prohibits any reverse engineering. Copying keys and using the cloud is prohibited. To prevent users from violating licenses, you are required to publish key certificates in the public domain. Then they can be built into alternative firmware, but the problem with the cloud will not be solved. ... Demand termination of the "user agreement" in Mi-Home :) |
@pvvx I think there's an issue with send encrypted option. If i select mi advertisement along with encrypted checked, neither mi app nor passive ble integration on hass can see the device. I have actual registered beaconkey and secret installed on device. But, i found a really good workaround while tinkering: |
mijiatemp apk seems to be stable enough |
If you register a device with official firmware in mi-home, and then flash an alternative firmware and restore bindkey, then gateway 3 sees and logs the device in the cloud. |
mijiatemp uses the connection and shows open UUIDs. In the connection mode with the original Xiaomi LYWSD03MMC firmware, if the program does not adjust the connection intervals, the sensor will remove 10 times more energy than in the advertising mode. https://pvvx.github.io/ATC_MiThermometer/CustPower.html In BLE, the connection intervals are set by the client - the BT adapter. The settings described in the device are sometimes ignored. Depends on BT adapter. Once connected, the device may ask you to change the intervals. Acceptance of new settings depends on the BT adapter. |
is there a maximum working limit for the advertising interval ? thanks |
Measure delay
Measure delay
is it possible to have the sensor work again also in mihome ?
i first flashed the initial firmware (by atc1441) and then your version
Im getting couldn't verify in mihome app (-28) error
If i click 'show all my keys' i get no midevid, no mitoken and nomibindkey!
PS. I made a screenshot of the midevid mitoken and mibind key while flashing first atc firmware
The text was updated successfully, but these errors were encountered: