atc1441 / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
2.71k stars 458 forks source link

GATT Server is disconnected. Cannot retrieve services. (Re)connect first with `device.gatt.connect`. Detected custom Firmware #306

Open sander816 opened 6 months ago

sander816 commented 6 months ago

any idea? I don;t know if i flashed this firmware or another version from somewhere else

15:05:16: Searching for devices 15:05:34: Connecting to: ATC_067765 15:05:42: NetworkError: Connection Error: Connection attempt failed. 15:05:42: Reconnect 1 from 5 15:05:49: Disconnected. 15:05:49: NetworkError: GATT Server is disconnected. Cannot retrieve services. (Re)connect first with device.gatt.connect. 15:05:49: Reconnect 2 from 5 15:05:53: Detected custom Firmware 15:16:22: Disconnected.

lobolobo commented 5 months ago

Same problem here. Any advise? Thanks in advance.

bepstein111 commented 5 months ago

Same problem on two brand new devices.

tfbrito commented 2 months ago

Same here with new devices. Mines got stuck after that and after removal/insert of battery ended bricked :(

sash2k commented 2 months ago

Same here

atc1441 commented 2 months ago

Please also try it with a different device for example an Android device.

If that should also fail its possible to recover them via the wired flashing https://github.com/atc1441/ATC_MiThermometer?tab=readme-ov-file#usb-to-uart

sash2k commented 2 months ago

Please also try it with a different device for example an Android device.

If that should also fail its possible to recover them via the wired flashing https://github.com/atc1441/ATC_MiThermometer?tab=readme-ov-file#usb-to-uart

I test W10 Edge and Android

The first device worked with the manual, second and third device i have the above situation.

Update: I test it again this morning over Android with Chrome Browser. After find the device and connecting, the connection not Interrupt and i can flash the zigbee image. After that i test it under W10 with Edge and it won't work. The first flash with custom firmware pass. After that the device lost connection after 2-3 seconds and is not flashable.