ATC_MiThermometer icon indicating copy to clipboard operation
ATC_MiThermometer copied to clipboard

Can't activate LYWSD03MMC HW:B1.5 (Firmware version: 2.1.1_0159)

Open DonTihi opened this issue 1 year ago • 27 comments

Hi!

When I'm trying to activate my LYWSD03MMC it's stuck in Activating now, please wait...

This thermostat is already added to Mi Home, and refreshed it's firmware, and after that I deleted in Mi Home. But unfortunately its stucked again. I tried hard reset the thermostat as well. And only the thermostats with updated firmware is not working, others working well.

Could you suggest me a solution?

HW version: B1.5 Firmware version: 2.1.1_0159

Clipboard01

DonTihi avatar Sep 19 '23 07:09 DonTihi

Same problem here - I took them straight out of the box and tried to flash but it's not working.

"NotFoundError: No Services found in device."

andreas-bulling avatar Sep 19 '23 15:09 andreas-bulling

I don't have a file with the firmware version: 2.1.1_0159 and I can't check. I don't use MiHome. If someone puts the file with the firmware version 2.1.1_0159 in open access, then adaptation is possible.

pvvx avatar Sep 19 '23 16:09 pvvx

Thanks pvvx! :)

It's a very correct, clear, and quick answer! :) So there will be a solution, we just have to wait! :) Thank you!

DonTihi avatar Sep 20 '23 06:09 DonTihi

Ah, this is the same problem I described in #388. I will close my ticket and wait for this one.

@pvvx Do you have the firmware 2.1.1_0159 in the meanwhile? If not, how can we extract it from our device?

vdende avatar Oct 05 '23 14:10 vdende

Same issue here. B1.4 on 2.1.1_0159. Stuck on "Activating now...", so I can't even extract the bind key.

manulop avatar Oct 08 '23 20:10 manulop

It's great tool, but I have the same issue with latest, updated Firmware. Stuck on "Activating now" and missing flash firmware buttons.

Pancer1 avatar Oct 09 '23 19:10 Pancer1

image

The "activation" algorithm and "advertising interval" has been changed to 2100 m s.

Flashing requires keys from "MiHome". Set "Mi Token", "Mi Bind Key" and press "Login": image

pvvx avatar Oct 10 '23 03:10 pvvx

Hi @pvvx , Thanks for looking into this.

But I don't quite understand what to do. After I do 'Do Actiovation' the 'Device known id', 'Mi Token' and 'Mi Bind Key' are filled.

But When I press 'Login' it says 'Login Failed'.

image

vdende avatar Oct 10 '23 11:10 vdende

Same issue here. B1.4 on 2.1.1_0159. Stuck on "Activating now...". How can we get the MiHome keys?

thazro avatar Oct 10 '23 15:10 thazro

Same problem! Bindkey does not accept HA. Activating wait… Revision B1.7. Firmware 2.1.1_0159.

Infnuk avatar Oct 10 '23 19:10 Infnuk

Firmware LYWSD03MMC version 2.1.1_0159 is temporarily not supported! Xiaomi has implemented a new cipher or OTA firmware signature.

Additional discussion of the problem

pvvx avatar Oct 11 '23 04:10 pvvx

may be have any solution to downgrade firmware?

vasokot avatar Oct 29 '23 01:10 vasokot

I recently bought this thermometer from aliexpress. Is there any way to check firmware version without trying to flash it? And if I try to flash and it turns out it does have 2.1.1_0159 and the flashing fails will I still be able to extract the bind key and use it with stock firmware? Thanks

yaakovfeldman avatar Oct 30 '23 20:10 yaakovfeldman

To go back to the old version (Original_OTA_Xiaomi_LYWSD03MMC_v1.0.0_0130.bin ); To do this, you must remove your temperature sensor and connect it with the cables by following the steps below. This is how I solved my problem. I'm sorry for my bad english.

  1. https://github.com/pvvx/ATC_MiThermometer/blob/master/Original_OTA_Xiaomi_LYWSD03MMC_v1.0.0_0130.bin download
  2. https://pvvx.github.io/ATC_MiThermometer/USBCOMFlashTx.html
  3. image
  4. image
  5. File select Original_OTA_Xiaomi_LYWSD03MMC_v1.0.0_0130.bin
  6. Write to flash

VonalOrdu avatar Nov 02 '23 18:11 VonalOrdu

The USB-COM adapter writes the firmware in explorer. Web version. Connect only TX-SWS and GND wires. USBCOMFlashTx.html

d

In difficult cases, when an written unknown FW , it is necessary to use a chip reset or power supply during "activation". At the same time, take into account that the chip can be powered from the TX output. This is solved by connecting TX and +Vbat during "activation".

pvvx avatar Nov 02 '23 20:11 pvvx

Hi, any news about firmware 2.1.1_0159 ?

mesut3000 avatar Nov 28 '23 03:11 mesut3000

https://github.com/atc1441/ATC_MiThermometer/issues/298

pvvx avatar Nov 28 '23 18:11 pvvx

Hi, I've bought what I thought was a LYWSD03MMC. It had the new firmware so I bought a USB <--> Serial adapter to be able to flash. But lo and behold the chip looks nothing like [VonalOrdu's](https://github.com/pvvx/ATC_MiThermometer/issues/378#issuecomment-1791370165) above.

Does anyone know what this is and which soldering points correspond to VonalOrdu's?

Thanks all! My Temp Humidity Sensor

gnr8shn avatar Feb 01 '24 05:02 gnr8shn

@gnr8shn - This device does not have BLE.

pvvx avatar Feb 01 '24 06:02 pvvx

Ah what a shame thanks for the confirmation pvvx.

gnr8shn avatar Feb 01 '24 06:02 gnr8shn

Do we know when this new encryption/verification has been introduced ? I'm looking to buy LYWSD03MMC produced in 09/2023 and I'm afraid they won't allow me to upload your custom firmware.

Thanks

ioukos avatar Feb 25 '24 13:02 ioukos

hi, @yaakovfeldman what is the date written at the back of the box ? I've found some on a 2nd hand shop webside, date is 09/2023. I'm afraid it will embed new cypher.

ioukos avatar Feb 26 '24 19:02 ioukos

"advertising interval" has been changed to 2100 m s.

what was the advertising interval in the previous original firmware?

gfan94 avatar Jun 10 '24 05:06 gfan94

any solution to OTA flash to Zigbee?

DittmannCz avatar Jul 12 '24 19:07 DittmannCz