pvvx / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometers and Telink Flasher
https://github.com/pvvx/pvvx.github.io/tree/master/ATC_MiThermometer
Other
2.9k stars 202 forks source link

TypeError: getDevVersion(...).then is not a function #409

Closed casperghst42 closed 10 months ago

casperghst42 commented 10 months ago

Hi,

I'm trying to update my BLE devices (Xiaomi Mijia (LYWSD03MMC)) which are running an old version of the ATC firmware.

When I connect to the device I get this:

2:22:16 PM: Searching for devices 2:22:20 PM: Connecting to: ATC 2:22:26 PM: TypeError: getDevVersion(...).then is not a function 2:22:26 PM: Reconnect 1 from 5 2:22:26 PM: TypeError: getDevVersion(...).then is not a function 2:22:26 PM: Reconnect 2 from 5 2:22:26 PM: TypeError: getDevVersion(...).then is not a function 2:22:26 PM: Reconnect 3 from 5 2:22:26 PM: TypeError: getDevVersion(...).then is not a function 2:22:26 PM: Reconnect 4 from 5 2:22:26 PM: TypeError: getDevVersion(...).then is not a function 2:22:26 PM: Reconnect 5 from 5 2:22:26 PM: TypeError: getDevVersion(...).then is not a function 2:22:26 PM: Something went wrong, too many reconnects

HW: MacBook Air M2 OS: MacOS 14.1 Browser: Chrome 119.0.6045.123

How can I resolve this?

Cheers.

pvvx commented 10 months ago

https://atc1441.github.io/TelinkFlasher.html