atc1441 / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type Error: GetDevVersion()

Trikos opened this issue · comments

commented

Hi,

I flash my T&H mi one years ago using your software, today I want to try to update the firmware in order to remove the battery icon and enable BTHome to connect on Home assistant but when I try to connect to it I get this error on console.
What should I do?
00:37:28: Searching for devices 00:37:44: Connecting to: ATC_XXXXXX 00:37:48: TypeError: getDevVersion(...).then is not a function 00:37:48: Reconnect 1 from 5 00:37:48: TypeError: getDevVersion(...).then is not a function 00:37:48: Reconnect 2 from 5 00:37:48: TypeError: getDevVersion(...).then is not a function 00:37:48: Reconnect 3 from 5 00:37:48: TypeError: getDevVersion(...).then is not a function 00:37:48: Reconnect 4 from 5 00:37:48: TypeError: getDevVersion(...).then is not a function 00:37:48: Reconnect 5 from 5 00:37:48: TypeError: getDevVersion(...).then is not a function 00:37:48: Something went wrong, too many reconnects 00:38:05: Disconnected.

I also tried following the tips in this issue: #22
So I tried using Android and let the device without battery for some minutes. But everytime I get this error

Thank you

commented

I have EXACTLY the same situation here... I tried to flash manually with bin rlease 70 and relase 78 but everytime same problem...

I can thus succesfully flash, but not connect...

15:39:05: Searching for devices
15:39:27: Connecting to: ATC_A36148
15:39:33: TypeError: getDevVersion(...).then is not a function
15:39:33: Reconnect 1 from 5
15:39:33: TypeError: getDevVersion(...).then is not a function
15:39:33: Reconnect 2 from 5
15:39:33: TypeError: getDevVersion(...).then is not a function
15:39:33: Reconnect 3 from 5
15:39:33: TypeError: getDevVersion(...).then is not a function
15:39:33: Reconnect 4 from 5
15:39:33: TypeError: getDevVersion(...).then is not a function
15:39:33: Reconnect 5 from 5
15:39:33: TypeError: getDevVersion(...).then is not a function
15:39:33: Something went wrong, too many reconnects
15:41:58: Disconnected.
15:41:58: Searching for devices
15:42:14: Connecting to: ATC_A36148
15:42:20: TypeError: getDevVersion(...).then is not a function
15:42:20: Reconnect 1 from 5
15:42:20: TypeError: getDevVersion(...).then is not a function
15:42:20: Reconnect 2 from 5
15:42:20: TypeError: getDevVersion(...).then is not a function
15:42:20: Reconnect 3 from 5
15:42:20: TypeError: getDevVersion(...).then is not a function
15:42:20: Reconnect 4 from 5
15:42:20: TypeError: getDevVersion(...).then is not a function
15:42:20: Reconnect 5 from 5
15:42:20: TypeError: getDevVersion(...).then is not a function
15:42:20: Something went wrong, too many reconnects

I had the same problem, i think it was because flashed firmware with hw flow control.
Fixed by this video https://www.youtube.com/watch?v=CympfXuwtyQ