MiTemperature2 icon indicating copy to clipboard operation
MiTemperature2 copied to clipboard

Connection lost loop

Open pristis opened this issue 2 years ago • 2 comments

Hello!

I have an issue with the script. I am using this command to get data from my temp and hum sensor:

python3.9 LYWSD03MMC.py -d A4:C1:38:B4:48:55 -r -b

And the answer from console is always this loop:

Trying to connect to A4:C1:38:B4:48:55
Connection lost
Waiting...
Trying to connect to A4:C1:38:B4:48:55
Connection lost
Waiting...

I can connect with gatttool -I with no issues, but with LYWSD03MMC.py I can't find a solution.

I will be glad for some help. Thanks for your time.

pristis avatar Aug 29 '22 19:08 pristis

Hi pristis,

which Firmware are you using? If not already ATC Firmware von there https://github.com/pvvx/ATC_MiThermometer I recommend using this Firmware. Connection mode is not recommended any more and support will be removed in a future version.

JsBergbau avatar Aug 30 '22 06:08 JsBergbau

hello, while trying to connect the sensor to domoticz, I updated the sensor. When trying to change the software, I get the message 10:16:48: Searching for devices 10:16:54: Connecting to: LYWSD03MMC 10:16:58: Hardware Revision String: B1.5 10:16:58: Software Revision String: 0159 10:16:58: Firmware Revision String: 2.1.1_0159 10:16:58: Detected Mi device 10:16:58: (!) Version: 2.1.1_0159 is temporarily not supported (!) 10:16:58: Disconnected.

Will he be able to change the software version in some way?

wojtekza avatar Oct 27 '23 08:10 wojtekza